autotool.patch 1.7 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421484224842348424484254842648427484284842948430484314843248433484344843548436484374843848439484404844148442484434844448445484464844748448484494845048451484524845348454484554845648457484584845948460484614846248463484644846548466484674846848469484704847148472484734847448475484764847748478484794848048481484824848348484484854848648487484884848948490484914849248493484944849548496484974849848499485004850148502485034850448505485064850748508485094851048511485124851348514485154851648517485184851948520485214852248523485244852548526485274852848529485304853148532485334853448535485364853748538485394854048541485424854348544485454854648547485484854948550485514855248553485544855548556485574855848559485604856148562485634856448565485664856748568485694857048571485724857348574485754857648577485784857948580485814858248583485844858548586485874858848589485904859148592485934859448595485964859748598485994860048601486024860348604486054860648607486084860948610486114861248613486144861548616486174861848619486204862148622486234862448625486264862748628486294863048631486324863348634486354863648637486384863948640486414864248643486444864548646486474864848649486504865148652486534865448655486564865748658486594866048661486624866348664486654866648667486684866948670486714867248673486744867548676486774867848679486804868148682486834868448685486864868748688486894869048691486924869348694486954869648697486984869948700487014870248703487044870548706487074870848709487104871148712487134871448715487164871748718487194872048721487224872348724487254872648727487284872948730487314873248733487344873548736487374873848739487404874148742487434874448745487464874748748487494875048751487524875348754487554875648757487584875948760487614876248763487644876548766487674876848769487704877148772487734877448775487764877748778487794878048781487824878348784487854878648787487884878948790487914879248793487944879548796487974879848799488004880148802488034880448805488064880748808488094881048811488124881348814488154881648817488184881948820488214882248823488244882548826488274882848829488304883148832488334883448835488364883748838488394884048841488424884348844488454884648847488484884948850488514885248853488544885548856488574885848859488604886148862488634886448865488664886748868488694887048871488724887348874488754887648877488784887948880488814888248883488844888548886488874888848889488904889148892488934889448895488964889748898488994890048901489024890348904489054890648907489084890948910489114891248913489144891548916489174891848919489204892148922489234892448925489264892748928489294893048931489324893348934489354893648937489384893948940489414894248943489444894548946489474894848949489504895148952489534895448955489564895748958489594896048961489624896348964489654896648967489684896948970489714897248973489744897548976489774897848979489804898148982489834898448985489864898748988489894899048991489924899348994489954899648997489984899949000490014900249003490044900549006490074900849009490104901149012490134901449015490164901749018490194902049021490224902349024490254902649027490284902949030490314903249033490344903549036490374903849039490404904149042490434904449045490464904749048490494905049051490524905349054490554905649057490584905949060490614906249063490644906549066490674906849069490704907149072490734907449075490764907749078490794908049081490824908349084490854908649087490884908949090490914909249093490944909549096490974909849099491004910149102491034910449105491064910749108491094911049111491124911349114491154911649117491184911949120491214912249123491244912549126491274912849129491304913149132491334913449135491364913749138491394914049141491424914349144491454914649147491484914949150491514915249153491544915549156491574915849159491604916149162491634916449165491664916749168491694917049171491724917349174491754917649177491784917949180491814918249183491844918549186491874918849189491904919149192491934919449195491964919749198491994920049201492024920349204492054920649207492084920949210492114921249213492144921549216492174921849219492204922149222492234922449225492264922749228492294923049231492324923349234492354923649237492384923949240492414924249243492444924549246492474924849249492504925149252492534925449255492564925749258492594926049261492624926349264492654926649267492684926949270492714927249273492744927549276492774927849279492804928149282492834928449285492864928749288492894929049291492924929349294492954929649297492984929949300493014930249303493044930549306493074930849309493104931149312493134931449315493164931749318493194932049321493224932349324493254932649327493284932949330493314933249333493344933549336493374933849339493404934149342493434934449345493464934749348493494935049351493524935349354493554935649357493584935949360493614936249363493644936549366493674936849369493704937149372493734937449375493764937749378493794938049381493824938349384493854938649387493884938949390493914939249393493944939549396493974939849399494004940149402494034940449405494064940749408494094941049411494124941349414494154941649417494184941949420494214942249423494244942549426494274942849429494304943149432494334943449435494364943749438494394944049441494424944349444494454944649447494484944949450494514945249453494544945549456494574945849459494604946149462494634946449465494664946749468494694947049471494724947349474494754947649477494784947949480494814948249483494844948549486494874948849489494904949149492494934949449495494964949749498494994950049501495024950349504495054950649507495084950949510495114951249513495144951549516495174951849519495204952149522495234952449525495264952749528495294953049531495324953349534495354953649537495384953949540495414954249543495444954549546495474954849549495504955149552495534955449555495564955749558495594956049561495624956349564495654956649567495684956949570495714957249573495744957549576495774957849579495804958149582495834958449585495864958749588495894959049591495924959349594495954959649597495984959949600496014960249603496044960549606496074960849609496104961149612496134961449615496164961749618496194962049621496224962349624496254962649627496284962949630496314963249633496344963549636496374963849639496404964149642496434964449645496464964749648496494965049651496524965349654496554965649657496584965949660496614966249663496644966549666496674966849669496704967149672496734967449675496764967749678496794968049681496824968349684496854968649687496884968949690496914969249693496944969549696496974969849699497004970149702497034970449705497064970749708497094971049711497124971349714497154971649717497184971949720497214972249723497244972549726497274972849729497304973149732497334973449735497364973749738497394974049741497424974349744497454974649747497484974949750497514975249753497544975549756497574975849759497604976149762497634976449765497664976749768497694977049771497724977349774497754977649777497784977949780497814978249783497844978549786497874978849789497904979149792497934979449795497964979749798497994980049801498024980349804498054980649807498084980949810498114981249813498144981549816498174981849819498204982149822498234982449825498264982749828498294983049831498324983349834498354983649837498384983949840498414984249843498444984549846498474984849849498504985149852498534985449855498564985749858498594986049861498624986349864498654986649867498684986949870498714987249873498744987549876498774987849879498804988149882498834988449885498864988749888498894989049891498924989349894498954989649897498984989949900499014990249903499044990549906499074990849909499104991149912499134991449915499164991749918499194992049921499224992349924499254992649927499284992949930499314993249933499344993549936499374993849939499404994149942499434994449945499464994749948499494995049951499524995349954499554995649957499584995949960499614996249963499644996549966499674996849969499704997149972499734997449975499764997749978499794998049981499824998349984499854998649987499884998949990499914999249993499944999549996499974999849999500005000150002500035000450005500065000750008500095001050011500125001350014500155001650017500185001950020500215002250023500245002550026500275002850029500305003150032500335003450035500365003750038500395004050041500425004350044500455004650047500485004950050500515005250053500545005550056500575005850059500605006150062500635006450065500665006750068500695007050071500725007350074500755007650077500785007950080500815008250083500845008550086500875008850089500905009150092500935009450095500965009750098500995010050101501025010350104501055010650107501085010950110501115011250113501145011550116501175011850119501205012150122501235012450125501265012750128501295013050131501325013350134501355013650137501385013950140501415014250143501445014550146501475014850149501505015150152501535015450155501565015750158501595016050161501625016350164501655016650167501685016950170501715017250173501745017550176501775017850179501805018150182501835018450185501865018750188501895019050191501925019350194501955019650197501985019950200502015020250203502045020550206502075020850209502105021150212502135021450215502165021750218502195022050221502225022350224502255022650227502285022950230502315023250233502345023550236502375023850239502405024150242502435024450245502465024750248502495025050251502525025350254502555025650257502585025950260502615026250263502645026550266502675026850269502705027150272502735027450275502765027750278502795028050281502825028350284502855028650287502885028950290502915029250293502945029550296502975029850299503005030150302503035030450305503065030750308503095031050311503125031350314503155031650317503185031950320503215032250323503245032550326503275032850329503305033150332503335033450335503365033750338503395034050341503425034350344503455034650347503485034950350503515035250353503545035550356503575035850359503605036150362503635036450365503665036750368503695037050371503725037350374503755037650377503785037950380503815038250383503845038550386503875038850389503905039150392503935039450395503965039750398503995040050401504025040350404504055040650407504085040950410504115041250413504145041550416504175041850419504205042150422504235042450425504265042750428504295043050431504325043350434504355043650437504385043950440504415044250443504445044550446504475044850449504505045150452504535045450455504565045750458504595046050461504625046350464504655046650467504685046950470504715047250473504745047550476504775047850479504805048150482504835048450485504865048750488504895049050491504925049350494504955049650497504985049950500505015050250503505045050550506505075050850509505105051150512505135051450515505165051750518505195052050521505225052350524505255052650527505285052950530505315053250533505345053550536505375053850539505405054150542505435054450545505465054750548505495055050551505525055350554505555055650557505585055950560505615056250563505645056550566505675056850569505705057150572505735057450575505765057750578505795058050581505825058350584505855058650587505885058950590505915059250593505945059550596505975059850599506005060150602506035060450605506065060750608506095061050611506125061350614506155061650617506185061950620506215062250623506245062550626506275062850629506305063150632506335063450635506365063750638506395064050641506425064350644506455064650647506485064950650506515065250653506545065550656506575065850659506605066150662506635066450665506665066750668506695067050671506725067350674506755067650677506785067950680506815068250683506845068550686506875068850689506905069150692506935069450695506965069750698506995070050701507025070350704507055070650707507085070950710507115071250713507145071550716507175071850719507205072150722507235072450725507265072750728507295073050731507325073350734507355073650737507385073950740507415074250743507445074550746507475074850749507505075150752507535075450755507565075750758507595076050761507625076350764507655076650767507685076950770507715077250773507745077550776507775077850779507805078150782507835078450785507865078750788507895079050791507925079350794507955079650797507985079950800508015080250803508045080550806508075080850809508105081150812508135081450815508165081750818508195082050821508225082350824508255082650827508285082950830508315083250833508345083550836508375083850839508405084150842508435084450845508465084750848508495085050851508525085350854508555085650857508585085950860508615086250863508645086550866508675086850869508705087150872508735087450875508765087750878508795088050881508825088350884508855088650887508885088950890508915089250893508945089550896508975089850899509005090150902509035090450905509065090750908509095091050911509125091350914509155091650917509185091950920509215092250923509245092550926509275092850929509305093150932509335093450935509365093750938509395094050941509425094350944509455094650947509485094950950509515095250953509545095550956509575095850959509605096150962509635096450965509665096750968509695097050971509725097350974509755097650977509785097950980509815098250983509845098550986509875098850989509905099150992509935099450995509965099750998509995100051001510025100351004510055100651007510085100951010510115101251013510145101551016510175101851019510205102151022510235102451025510265102751028510295103051031510325103351034510355103651037510385103951040510415104251043510445104551046510475104851049510505105151052510535105451055510565105751058510595106051061510625106351064510655106651067510685106951070510715107251073510745107551076510775107851079510805108151082510835108451085510865108751088510895109051091510925109351094510955109651097510985109951100511015110251103511045110551106511075110851109511105111151112511135111451115511165111751118511195112051121511225112351124511255112651127511285112951130511315113251133511345113551136511375113851139511405114151142511435114451145511465114751148511495115051151511525115351154511555115651157511585115951160511615116251163511645116551166511675116851169511705117151172511735117451175511765117751178511795118051181511825118351184511855118651187511885118951190511915119251193511945119551196511975119851199512005120151202512035120451205512065120751208512095121051211512125121351214512155121651217512185121951220512215122251223512245122551226512275122851229512305123151232512335123451235512365123751238512395124051241512425124351244512455124651247512485124951250512515125251253512545125551256512575125851259512605126151262512635126451265512665126751268512695127051271512725127351274512755127651277512785127951280512815128251283512845128551286512875128851289512905129151292512935129451295512965129751298512995130051301513025130351304513055130651307513085130951310513115131251313513145131551316513175131851319513205132151322513235132451325513265132751328513295133051331513325133351334513355133651337513385133951340513415134251343513445134551346513475134851349513505135151352513535135451355513565135751358513595136051361513625136351364513655136651367513685136951370513715137251373513745137551376513775137851379513805138151382513835138451385513865138751388513895139051391513925139351394513955139651397513985139951400514015140251403514045140551406514075140851409514105141151412514135141451415514165141751418514195142051421514225142351424514255142651427514285142951430514315143251433514345143551436514375143851439514405144151442514435144451445514465144751448514495145051451514525145351454514555145651457514585145951460514615146251463514645146551466514675146851469514705147151472514735147451475514765147751478514795148051481514825148351484514855148651487514885148951490514915149251493514945149551496514975149851499515005150151502515035150451505515065150751508515095151051511515125151351514515155151651517515185151951520515215152251523515245152551526515275152851529515305153151532515335153451535515365153751538515395154051541515425154351544515455154651547515485154951550515515155251553515545155551556515575155851559515605156151562515635156451565515665156751568515695157051571515725157351574515755157651577515785157951580515815158251583515845158551586515875158851589515905159151592515935159451595515965159751598515995160051601516025160351604516055160651607516085160951610516115161251613516145161551616516175161851619516205162151622516235162451625516265162751628516295163051631516325163351634516355163651637516385163951640516415164251643516445164551646516475164851649516505165151652516535165451655516565165751658516595166051661516625166351664516655166651667516685166951670516715167251673516745167551676516775167851679516805168151682516835168451685516865168751688516895169051691516925169351694516955169651697516985169951700517015170251703517045170551706517075170851709517105171151712517135171451715517165171751718517195172051721517225172351724517255172651727517285172951730517315173251733517345173551736517375173851739517405174151742517435174451745517465174751748517495175051751517525175351754517555175651757517585175951760517615176251763517645176551766517675176851769517705177151772517735177451775517765177751778517795178051781517825178351784517855178651787517885178951790517915179251793517945179551796517975179851799518005180151802518035180451805518065180751808518095181051811518125181351814518155181651817518185181951820518215182251823518245182551826518275182851829518305183151832518335183451835518365183751838518395184051841518425184351844518455184651847518485184951850518515185251853518545185551856518575185851859518605186151862518635186451865518665186751868518695187051871518725187351874518755187651877518785187951880518815188251883518845188551886518875188851889518905189151892518935189451895518965189751898518995190051901519025190351904519055190651907519085190951910519115191251913519145191551916519175191851919519205192151922519235192451925519265192751928519295193051931519325193351934519355193651937519385193951940519415194251943519445194551946519475194851949519505195151952519535195451955519565195751958519595196051961519625196351964519655196651967519685196951970519715197251973519745197551976519775197851979519805198151982519835198451985519865198751988519895199051991519925199351994519955199651997519985199952000520015200252003520045200552006520075200852009520105201152012520135201452015520165201752018520195202052021520225202352024520255202652027520285202952030520315203252033520345203552036520375203852039520405204152042520435204452045520465204752048520495205052051520525205352054520555205652057520585205952060520615206252063520645206552066520675206852069520705207152072520735207452075520765207752078520795208052081520825208352084520855208652087520885208952090520915209252093520945209552096520975209852099521005210152102521035210452105521065210752108521095211052111521125211352114521155211652117521185211952120521215212252123521245212552126521275212852129521305213152132521335213452135521365213752138521395214052141521425214352144521455214652147521485214952150521515215252153521545215552156521575215852159521605216152162521635216452165521665216752168521695217052171521725217352174521755217652177521785217952180521815218252183521845218552186521875218852189521905219152192521935219452195521965219752198521995220052201522025220352204522055220652207522085220952210522115221252213522145221552216522175221852219522205222152222522235222452225522265222752228522295223052231522325223352234522355223652237522385223952240522415224252243522445224552246522475224852249522505225152252522535225452255522565225752258522595226052261522625226352264522655226652267522685226952270522715227252273522745227552276522775227852279522805228152282522835228452285522865228752288522895229052291522925229352294522955229652297522985229952300523015230252303523045230552306523075230852309523105231152312523135231452315523165231752318523195232052321523225232352324523255232652327523285232952330523315233252333523345233552336523375233852339523405234152342523435234452345523465234752348523495235052351523525235352354523555235652357523585235952360523615236252363523645236552366523675236852369523705237152372523735237452375523765237752378523795238052381523825238352384523855238652387523885238952390523915239252393523945239552396523975239852399524005240152402524035240452405524065240752408524095241052411524125241352414524155241652417524185241952420524215242252423524245242552426524275242852429524305243152432524335243452435524365243752438524395244052441524425244352444524455244652447524485244952450524515245252453524545245552456524575245852459524605246152462524635246452465524665246752468524695247052471524725247352474524755247652477524785247952480524815248252483524845248552486524875248852489524905249152492524935249452495524965249752498524995250052501525025250352504525055250652507525085250952510525115251252513525145251552516525175251852519525205252152522525235252452525525265252752528525295253052531525325253352534525355253652537525385253952540525415254252543525445254552546525475254852549525505255152552525535255452555525565255752558525595256052561525625256352564525655256652567525685256952570525715257252573525745257552576525775257852579525805258152582525835258452585525865258752588525895259052591525925259352594525955259652597525985259952600526015260252603526045260552606526075260852609526105261152612526135261452615526165261752618526195262052621526225262352624526255262652627526285262952630526315263252633526345263552636526375263852639526405264152642526435264452645526465264752648526495265052651526525265352654526555265652657526585265952660526615266252663526645266552666526675266852669526705267152672526735267452675526765267752678526795268052681526825268352684526855268652687526885268952690526915269252693526945269552696526975269852699527005270152702527035270452705527065270752708527095271052711527125271352714527155271652717527185271952720527215272252723527245272552726527275272852729527305273152732527335273452735527365273752738527395274052741527425274352744527455274652747527485274952750527515275252753527545275552756527575275852759527605276152762527635276452765527665276752768527695277052771527725277352774527755277652777527785277952780527815278252783527845278552786527875278852789527905279152792527935279452795527965279752798527995280052801528025280352804528055280652807528085280952810528115281252813528145281552816528175281852819528205282152822528235282452825528265282752828528295283052831528325283352834528355283652837528385283952840528415284252843528445284552846528475284852849528505285152852528535285452855528565285752858528595286052861528625286352864528655286652867528685286952870528715287252873528745287552876528775287852879528805288152882528835288452885528865288752888528895289052891528925289352894528955289652897528985289952900529015290252903529045290552906529075290852909529105291152912529135291452915529165291752918529195292052921529225292352924529255292652927529285292952930529315293252933529345293552936529375293852939529405294152942529435294452945529465294752948529495295052951529525295352954529555295652957529585295952960529615296252963529645296552966529675296852969529705297152972529735297452975529765297752978529795298052981529825298352984529855298652987529885298952990529915299252993529945299552996529975299852999530005300153002530035300453005530065300753008530095301053011530125301353014530155301653017530185301953020530215302253023530245302553026530275302853029530305303153032530335303453035530365303753038530395304053041530425304353044530455304653047530485304953050530515305253053530545305553056530575305853059530605306153062530635306453065530665306753068530695307053071530725307353074530755307653077530785307953080530815308253083530845308553086530875308853089530905309153092530935309453095530965309753098530995310053101531025310353104531055310653107531085310953110531115311253113531145311553116531175311853119531205312153122531235312453125531265312753128531295313053131531325313353134531355313653137531385313953140531415314253143531445314553146531475314853149531505315153152531535315453155531565315753158531595316053161531625316353164531655316653167531685316953170531715317253173531745317553176531775317853179531805318153182531835318453185531865318753188531895319053191531925319353194531955319653197531985319953200532015320253203532045320553206532075320853209532105321153212532135321453215532165321753218532195322053221532225322353224532255322653227532285322953230532315323253233532345323553236532375323853239532405324153242532435324453245532465324753248532495325053251532525325353254532555325653257532585325953260532615326253263532645326553266532675326853269532705327153272532735327453275532765327753278532795328053281532825328353284532855328653287532885328953290532915329253293532945329553296532975329853299533005330153302533035330453305533065330753308533095331053311533125331353314533155331653317533185331953320533215332253323533245332553326533275332853329533305333153332533335333453335533365333753338533395334053341533425334353344533455334653347533485334953350533515335253353533545335553356533575335853359533605336153362533635336453365533665336753368533695337053371533725337353374533755337653377533785337953380533815338253383533845338553386533875338853389533905339153392533935339453395533965339753398533995340053401534025340353404534055340653407534085340953410534115341253413534145341553416534175341853419534205342153422534235342453425534265342753428534295343053431534325343353434534355343653437534385343953440534415344253443534445344553446534475344853449534505345153452534535345453455534565345753458534595346053461534625346353464534655346653467534685346953470534715347253473534745347553476534775347853479534805348153482534835348453485534865348753488534895349053491534925349353494534955349653497534985349953500535015350253503535045350553506535075350853509535105351153512535135351453515535165351753518535195352053521535225352353524535255352653527535285352953530535315353253533535345353553536535375353853539535405354153542535435354453545535465354753548535495355053551535525355353554535555355653557535585355953560535615356253563535645356553566535675356853569535705357153572535735357453575535765357753578535795358053581535825358353584535855358653587535885358953590535915359253593535945359553596535975359853599536005360153602536035360453605536065360753608536095361053611536125361353614536155361653617536185361953620536215362253623536245362553626536275362853629536305363153632536335363453635536365363753638536395364053641536425364353644536455364653647536485364953650536515365253653536545365553656536575365853659536605366153662536635366453665536665366753668536695367053671536725367353674536755367653677536785367953680536815368253683536845368553686536875368853689536905369153692536935369453695536965369753698536995370053701537025370353704537055370653707537085370953710537115371253713537145371553716537175371853719537205372153722537235372453725537265372753728537295373053731537325373353734537355373653737537385373953740537415374253743537445374553746537475374853749537505375153752537535375453755537565375753758537595376053761537625376353764537655376653767537685376953770537715377253773537745377553776537775377853779537805378153782537835378453785537865378753788537895379053791537925379353794537955379653797537985379953800538015380253803538045380553806538075380853809538105381153812538135381453815538165381753818538195382053821538225382353824538255382653827538285382953830538315383253833538345383553836538375383853839538405384153842538435384453845538465384753848538495385053851538525385353854538555385653857538585385953860538615386253863538645386553866538675386853869538705387153872538735387453875538765387753878538795388053881538825388353884538855388653887538885388953890538915389253893538945389553896538975389853899539005390153902539035390453905539065390753908539095391053911539125391353914539155391653917539185391953920539215392253923539245392553926539275392853929539305393153932539335393453935539365393753938539395394053941539425394353944539455394653947539485394953950539515395253953539545395553956539575395853959539605396153962539635396453965539665396753968539695397053971539725397353974539755397653977539785397953980539815398253983539845398553986539875398853989539905399153992539935399453995539965399753998539995400054001540025400354004540055400654007540085400954010540115401254013540145401554016540175401854019540205402154022540235402454025540265402754028540295403054031540325403354034540355403654037540385403954040540415404254043540445404554046540475404854049540505405154052540535405454055540565405754058540595406054061540625406354064540655406654067540685406954070540715407254073540745407554076540775407854079540805408154082540835408454085540865408754088540895409054091540925409354094540955409654097540985409954100541015410254103541045410554106541075410854109541105411154112541135411454115541165411754118541195412054121541225412354124541255412654127541285412954130541315413254133541345413554136541375413854139541405414154142541435414454145541465414754148541495415054151541525415354154541555415654157541585415954160541615416254163541645416554166541675416854169541705417154172541735417454175541765417754178541795418054181541825418354184541855418654187541885418954190541915419254193541945419554196541975419854199542005420154202542035420454205542065420754208542095421054211542125421354214542155421654217542185421954220542215422254223542245422554226542275422854229542305423154232542335423454235542365423754238542395424054241542425424354244542455424654247542485424954250542515425254253542545425554256542575425854259542605426154262542635426454265542665426754268542695427054271542725427354274542755427654277542785427954280542815428254283542845428554286542875428854289542905429154292542935429454295542965429754298542995430054301543025430354304543055430654307543085430954310543115431254313543145431554316543175431854319543205432154322543235432454325543265432754328543295433054331543325433354334543355433654337543385433954340543415434254343543445434554346543475434854349543505435154352543535435454355543565435754358543595436054361543625436354364543655436654367543685436954370543715437254373543745437554376543775437854379543805438154382543835438454385543865438754388543895439054391543925439354394543955439654397543985439954400544015440254403544045440554406544075440854409544105441154412544135441454415544165441754418544195442054421544225442354424544255442654427544285442954430544315443254433544345443554436544375443854439544405444154442544435444454445544465444754448544495445054451544525445354454544555445654457544585445954460544615446254463544645446554466544675446854469544705447154472544735447454475544765447754478544795448054481544825448354484544855448654487544885448954490544915449254493544945449554496544975449854499545005450154502545035450454505545065450754508545095451054511545125451354514545155451654517545185451954520545215452254523545245452554526545275452854529545305453154532545335453454535545365453754538545395454054541545425454354544545455454654547545485454954550545515455254553545545455554556545575455854559545605456154562545635456454565545665456754568545695457054571545725457354574545755457654577545785457954580545815458254583545845458554586545875458854589545905459154592545935459454595545965459754598545995460054601546025460354604546055460654607546085460954610546115461254613546145461554616546175461854619546205462154622546235462454625546265462754628546295463054631546325463354634546355463654637546385463954640546415464254643546445464554646546475464854649546505465154652546535465454655546565465754658546595466054661546625466354664546655466654667546685466954670546715467254673546745467554676546775467854679546805468154682546835468454685546865468754688546895469054691546925469354694546955469654697546985469954700547015470254703547045470554706547075470854709547105471154712547135471454715547165471754718547195472054721547225472354724547255472654727547285472954730547315473254733547345473554736547375473854739547405474154742547435474454745547465474754748547495475054751547525475354754547555475654757547585475954760547615476254763547645476554766547675476854769547705477154772547735477454775547765477754778547795478054781547825478354784547855478654787547885478954790547915479254793547945479554796547975479854799548005480154802548035480454805548065480754808548095481054811548125481354814548155481654817548185481954820548215482254823548245482554826548275482854829548305483154832548335483454835548365483754838548395484054841548425484354844548455484654847548485484954850548515485254853548545485554856548575485854859548605486154862548635486454865548665486754868548695487054871548725487354874548755487654877548785487954880548815488254883548845488554886548875488854889548905489154892548935489454895548965489754898548995490054901549025490354904549055490654907549085490954910549115491254913549145491554916549175491854919549205492154922549235492454925549265492754928549295493054931549325493354934549355493654937549385493954940549415494254943549445494554946549475494854949549505495154952549535495454955549565495754958549595496054961549625496354964549655496654967549685496954970549715497254973549745497554976549775497854979549805498154982549835498454985549865498754988549895499054991549925499354994549955499654997549985499955000550015500255003550045500555006550075500855009550105501155012550135501455015550165501755018550195502055021550225502355024550255502655027550285502955030550315503255033550345503555036550375503855039550405504155042550435504455045550465504755048550495505055051550525505355054550555505655057550585505955060550615506255063550645506555066550675506855069550705507155072550735507455075550765507755078550795508055081550825508355084550855508655087550885508955090550915509255093550945509555096550975509855099551005510155102551035510455105551065510755108551095511055111551125511355114551155511655117551185511955120551215512255123551245512555126551275512855129551305513155132551335513455135551365513755138551395514055141551425514355144551455514655147551485514955150551515515255153551545515555156551575515855159551605516155162551635516455165551665516755168551695517055171551725517355174551755517655177551785517955180551815518255183551845518555186551875518855189551905519155192551935519455195551965519755198551995520055201552025520355204552055520655207552085520955210552115521255213552145521555216552175521855219552205522155222552235522455225552265522755228552295523055231552325523355234552355523655237552385523955240552415524255243552445524555246552475524855249552505525155252552535525455255552565525755258552595526055261552625526355264552655526655267552685526955270552715527255273552745527555276552775527855279552805528155282552835528455285552865528755288552895529055291552925529355294552955529655297552985529955300553015530255303553045530555306553075530855309553105531155312553135531455315553165531755318553195532055321553225532355324553255532655327553285532955330553315533255333553345533555336553375533855339553405534155342553435534455345553465534755348553495535055351553525535355354553555535655357553585535955360553615536255363553645536555366553675536855369553705537155372553735537455375553765537755378553795538055381553825538355384553855538655387553885538955390553915539255393553945539555396553975539855399554005540155402554035540455405554065540755408554095541055411554125541355414554155541655417554185541955420554215542255423554245542555426554275542855429554305543155432554335543455435554365543755438554395544055441554425544355444554455544655447554485544955450554515545255453554545545555456554575545855459554605546155462554635546455465554665546755468554695547055471554725547355474554755547655477554785547955480554815548255483554845548555486554875548855489554905549155492554935549455495554965549755498554995550055501555025550355504555055550655507555085550955510555115551255513555145551555516555175551855519555205552155522555235552455525555265552755528555295553055531555325553355534555355553655537555385553955540555415554255543555445554555546555475554855549555505555155552555535555455555555565555755558555595556055561555625556355564555655556655567555685556955570555715557255573555745557555576555775557855579555805558155582555835558455585555865558755588555895559055591555925559355594555955559655597555985559955600556015560255603556045560555606556075560855609556105561155612556135561455615556165561755618556195562055621556225562355624556255562655627556285562955630556315563255633556345563555636556375563855639556405564155642556435564455645556465564755648556495565055651556525565355654556555565655657556585565955660556615566255663556645566555666556675566855669556705567155672556735567455675556765567755678556795568055681556825568355684556855568655687556885568955690556915569255693556945569555696556975569855699557005570155702557035570455705557065570755708557095571055711557125571355714557155571655717557185571955720557215572255723557245572555726557275572855729557305573155732557335573455735557365573755738557395574055741557425574355744557455574655747557485574955750557515575255753557545575555756557575575855759557605576155762557635576455765557665576755768557695577055771557725577355774557755577655777557785577955780557815578255783557845578555786557875578855789557905579155792557935579455795557965579755798557995580055801558025580355804558055580655807558085580955810558115581255813558145581555816558175581855819558205582155822558235582455825558265582755828558295583055831558325583355834558355583655837558385583955840558415584255843558445584555846558475584855849558505585155852558535585455855558565585755858558595586055861558625586355864558655586655867558685586955870558715587255873558745587555876558775587855879558805588155882558835588455885558865588755888558895589055891558925589355894558955589655897558985589955900559015590255903559045590555906559075590855909559105591155912559135591455915559165591755918559195592055921559225592355924559255592655927559285592955930559315593255933559345593555936559375593855939559405594155942559435594455945559465594755948559495595055951559525595355954559555595655957559585595955960559615596255963559645596555966559675596855969559705597155972559735597455975559765597755978559795598055981559825598355984559855598655987559885598955990559915599255993559945599555996559975599855999560005600156002560035600456005560065600756008560095601056011560125601356014560155601656017560185601956020560215602256023560245602556026560275602856029560305603156032560335603456035560365603756038560395604056041560425604356044560455604656047560485604956050560515605256053560545605556056
  1. diff -Nur gpsd-2.39.orig/aclocal.m4 gpsd-2.39/aclocal.m4
  2. --- gpsd-2.39.orig/aclocal.m4 2009-03-18 22:10:27.000000000 +0100
  3. +++ gpsd-2.39/aclocal.m4 2010-02-18 21:41:59.068861441 +0100
  4. @@ -1,7 +1,7 @@
  5. -# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
  6. +# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
  7. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  8. -# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  9. +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  10. # This file is free software; the Free Software Foundation
  11. # gives unlimited permission to copy and/or distribute it,
  12. # with or without modifications, as long as this notice is preserved.
  13. @@ -13,8 +13,8 @@
  14. m4_ifndef([AC_AUTOCONF_VERSION],
  15. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  16. -m4_if(AC_AUTOCONF_VERSION, [2.61],,
  17. -[m4_warning([this file was generated for autoconf 2.61.
  18. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
  19. +[m4_warning([this file was generated for autoconf 2.65.
  20. You have another version of autoconf. It may work, but is not guaranteed to.
  21. If you have problems, you may need to regenerate the build system entirely.
  22. To do so, use the procedure documented by the package, typically `autoreconf'.])])
  23. @@ -395,12 +395,12 @@
  24. # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
  25. # ---------------------------------------------------
  26. m4_define([lt_decl_varnames_tagged],
  27. -[_$0(m4_quote(m4_default([$1], [[, ]])),
  28. - m4_quote(m4_if([$2], [],
  29. - m4_quote(lt_decl_tag_varnames),
  30. - m4_quote(m4_shift($@)))),
  31. - m4_split(m4_normalize(m4_quote(_LT_TAGS))))])
  32. -m4_define([_lt_decl_varnames_tagged], [lt_combine([$1], [$2], [_], $3)])
  33. +[m4_assert([$# <= 2])dnl
  34. +_$0(m4_quote(m4_default([$1], [[, ]])),
  35. + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
  36. + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
  37. +m4_define([_lt_decl_varnames_tagged],
  38. +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
  39. # lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
  40. @@ -960,10 +960,10 @@
  41. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  42. darwin1.*)
  43. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  44. - darwin*) # darwin 5.x on
  45. + darwin*) # darwin 5.x on
  46. # if running on 10.5 or later, the deployment target defaults
  47. # to the OS version, if on x86, and 10.4, the deployment
  48. - # target defaults to 10.4. Don't you love it?
  49. + # target defaults to 10.4. Don't you love it?
  50. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  51. 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
  52. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  53. @@ -1005,7 +1005,11 @@
  54. _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  55. _LT_TAGVAR(link_all_deplibs, $1)=yes
  56. _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  57. - if test "$GCC" = "yes"; then
  58. + case $cc_basename in
  59. + ifort*) _lt_dar_can_shared=yes ;;
  60. + *) _lt_dar_can_shared=$GCC ;;
  61. + esac
  62. + if test "$_lt_dar_can_shared" = "yes"; then
  63. output_verbose_link_cmd=echo
  64. _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  65. _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  66. @@ -1527,7 +1531,7 @@
  67. lt_cv_sys_max_cmd_len=-1;
  68. ;;
  69. - cygwin* | mingw*)
  70. + cygwin* | mingw* | cegcc*)
  71. # On Win9x/ME, this test blows up -- it succeeds, but takes
  72. # about 5 minutes as the teststring grows exponentially.
  73. # Worse, since 9x/ME are not pre-emptively multitasking,
  74. @@ -1695,10 +1699,6 @@
  75. # endif
  76. #endif
  77. -#ifdef __cplusplus
  78. -extern "C" void exit (int);
  79. -#endif
  80. -
  81. void fnord() { int i=42;}
  82. int main ()
  83. {
  84. @@ -1714,7 +1714,7 @@
  85. else
  86. puts (dlerror ());
  87. - exit (status);
  88. + return status;
  89. }]
  90. _LT_EOF
  91. if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  92. @@ -1753,7 +1753,7 @@
  93. lt_cv_dlopen_self=yes
  94. ;;
  95. - mingw* | pw32*)
  96. + mingw* | pw32* | cegcc*)
  97. lt_cv_dlopen="LoadLibrary"
  98. lt_cv_dlopen_libs=
  99. ;;
  100. @@ -2050,6 +2050,7 @@
  101. [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  102. m4_require([_LT_DECL_EGREP])dnl
  103. m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  104. +m4_require([_LT_DECL_OBJDUMP])dnl
  105. m4_require([_LT_DECL_SED])dnl
  106. AC_MSG_CHECKING([dynamic linker characteristics])
  107. m4_if([$1],
  108. @@ -2214,14 +2215,14 @@
  109. # libtool to hard-code these into programs
  110. ;;
  111. -cygwin* | mingw* | pw32*)
  112. +cygwin* | mingw* | pw32* | cegcc*)
  113. version_type=windows
  114. shrext_cmds=".dll"
  115. need_version=no
  116. need_lib_prefix=no
  117. case $GCC,$host_os in
  118. - yes,cygwin* | yes,mingw* | yes,pw32*)
  119. + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  120. library_names_spec='$libname.dll.a'
  121. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  122. postinstall_cmds='base_file=`basename \${file}`~
  123. @@ -2244,7 +2245,7 @@
  124. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  125. sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  126. ;;
  127. - mingw*)
  128. + mingw* | cegcc*)
  129. # MinGW DLLs use traditional 'lib' prefix
  130. soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  131. sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  132. @@ -2459,7 +2460,7 @@
  133. ;;
  134. # This must be Linux ELF.
  135. -linux* | k*bsd*-gnu)
  136. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  137. version_type=linux
  138. need_lib_prefix=no
  139. need_version=no
  140. @@ -2682,7 +2683,7 @@
  141. version_type=linux
  142. need_lib_prefix=no
  143. need_version=no
  144. - library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  145. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  146. shlibpath_var=LD_LIBRARY_PATH
  147. shlibpath_overrides_runpath=no
  148. hardcode_into_libs=yes
  149. @@ -2706,7 +2707,7 @@
  150. if test "$GCC" = yes; then
  151. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  152. fi
  153. -
  154. +
  155. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  156. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  157. fi
  158. @@ -2983,6 +2984,7 @@
  159. # -- PORTME fill in with the dynamic library characteristics
  160. m4_defun([_LT_CHECK_MAGIC_METHOD],
  161. [m4_require([_LT_DECL_EGREP])
  162. +m4_require([_LT_DECL_OBJDUMP])
  163. AC_CACHE_CHECK([how to recognize dependent libraries],
  164. lt_cv_deplibs_check_method,
  165. [lt_cv_file_magic_cmd='$MAGIC_CMD'
  166. @@ -3033,6 +3035,12 @@
  167. fi
  168. ;;
  169. +cegcc)
  170. + # use the weaker test based on 'objdump'. See mingw*.
  171. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  172. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  173. + ;;
  174. +
  175. darwin* | rhapsody*)
  176. lt_cv_deplibs_check_method=pass_all
  177. ;;
  178. @@ -3091,7 +3099,7 @@
  179. ;;
  180. # This must be Linux ELF.
  181. -linux* | k*bsd*-gnu)
  182. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  183. lt_cv_deplibs_check_method=pass_all
  184. ;;
  185. @@ -3344,7 +3352,7 @@
  186. aix*)
  187. symcode='[[BCDT]]'
  188. ;;
  189. -cygwin* | mingw* | pw32*)
  190. +cygwin* | mingw* | pw32* | cegcc*)
  191. symcode='[[ABCDGISTW]]'
  192. ;;
  193. hpux*)
  194. @@ -3590,7 +3598,7 @@
  195. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  196. # PIC is the default for these OSes.
  197. ;;
  198. - mingw* | cygwin* | os2* | pw32*)
  199. + mingw* | cygwin* | os2* | pw32* | cegcc*)
  200. # This hack is so that the source file can tell whether it is being
  201. # built for inclusion in a dll (and should export symbols for example).
  202. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  203. @@ -3617,10 +3625,11 @@
  204. fi
  205. ;;
  206. hpux*)
  207. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  208. - # not for PA HP-UX.
  209. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  210. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  211. + # sets the default TLS model and affects inlining.
  212. case $host_cpu in
  213. - hppa*64*|ia64*)
  214. + hppa*64*)
  215. ;;
  216. *)
  217. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  218. @@ -3711,19 +3720,26 @@
  219. ;;
  220. esac
  221. ;;
  222. - linux* | k*bsd*-gnu)
  223. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  224. case $cc_basename in
  225. KCC*)
  226. # KAI C++ Compiler
  227. _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  228. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  229. ;;
  230. - icpc* | ecpc* )
  231. - # Intel C++
  232. + ecpc* )
  233. + # old Intel C++ for x86_64 which still supported -KPIC.
  234. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  235. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  236. _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  237. ;;
  238. + icpc* )
  239. + # Intel C++, used to be incompatible with GCC.
  240. + # ICC 10 doesn't accept -KPIC any more.
  241. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  242. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  243. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  244. + ;;
  245. pgCC* | pgcpp*)
  246. # Portland Group C++ compiler
  247. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  248. @@ -3889,7 +3905,7 @@
  249. # PIC is the default for these OSes.
  250. ;;
  251. - mingw* | cygwin* | pw32* | os2*)
  252. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  253. # This hack is so that the source file can tell whether it is being
  254. # built for inclusion in a dll (and should export symbols for example).
  255. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  256. @@ -3905,10 +3921,11 @@
  257. ;;
  258. hpux*)
  259. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  260. - # not for PA HP-UX.
  261. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  262. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  263. + # sets the default TLS model and affects inlining.
  264. case $host_cpu in
  265. - hppa*64*|ia64*)
  266. + hppa*64*)
  267. # +Z the default
  268. ;;
  269. *)
  270. @@ -3958,7 +3975,7 @@
  271. fi
  272. ;;
  273. - mingw* | cygwin* | pw32* | os2*)
  274. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  275. # This hack is so that the source file can tell whether it is being
  276. # built for inclusion in a dll (and should export symbols for example).
  277. m4_if([$1], [GCJ], [],
  278. @@ -3987,13 +4004,27 @@
  279. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  280. ;;
  281. - linux* | k*bsd*-gnu)
  282. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  283. case $cc_basename in
  284. - icc* | ecc* | ifort*)
  285. + # old Intel for x86_64 which still supported -KPIC.
  286. + ecc*)
  287. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  288. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  289. _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  290. ;;
  291. + # icc used to be incompatible with GCC.
  292. + # ICC 10 doesn't accept -KPIC any more.
  293. + icc* | ifort*)
  294. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  295. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  296. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  297. + ;;
  298. + # Lahey Fortran 8.1.
  299. + lf95*)
  300. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  301. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
  302. + _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
  303. + ;;
  304. pgcc* | pgf77* | pgf90* | pgf95*)
  305. # Portland Group compilers (*not* the Pentium gcc compiler,
  306. # which looks to be a dead project)
  307. @@ -4175,7 +4206,7 @@
  308. pw32*)
  309. _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  310. ;;
  311. - cygwin* | mingw*)
  312. + cygwin* | mingw* | cegcc*)
  313. _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
  314. ;;
  315. linux* | k*bsd*-gnu)
  316. @@ -4230,7 +4261,7 @@
  317. extract_expsyms_cmds=
  318. case $host_os in
  319. - cygwin* | mingw* | pw32*)
  320. + cygwin* | mingw* | pw32* | cegcc*)
  321. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  322. # When not using gcc, we currently assume that we are using
  323. # Microsoft Visual C++.
  324. @@ -4245,6 +4276,9 @@
  325. openbsd*)
  326. with_gnu_ld=no
  327. ;;
  328. + linux* | k*bsd*-gnu)
  329. + _LT_TAGVAR(link_all_deplibs, $1)=no
  330. + ;;
  331. esac
  332. _LT_TAGVAR(ld_shlibs, $1)=yes
  333. @@ -4266,6 +4300,7 @@
  334. fi
  335. supports_anon_versioning=no
  336. case `$LD -v 2>&1` in
  337. + *GNU\ gold*) supports_anon_versioning=yes ;;
  338. *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  339. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  340. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  341. @@ -4317,7 +4352,7 @@
  342. fi
  343. ;;
  344. - cygwin* | mingw* | pw32*)
  345. + cygwin* | mingw* | pw32* | cegcc*)
  346. # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  347. # as there is no search path for DLLs.
  348. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  349. @@ -4357,7 +4392,7 @@
  350. _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  351. ;;
  352. - gnu* | linux* | tpf* | k*bsd*-gnu)
  353. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  354. tmp_diet=no
  355. if test "$host_os" = linux-dietlibc; then
  356. case $cc_basename in
  357. @@ -4383,6 +4418,9 @@
  358. tmp_addflag=' -i_dynamic -nofor_main' ;;
  359. ifc* | ifort*) # Intel Fortran compiler
  360. tmp_addflag=' -nofor_main' ;;
  361. + lf95*) # Lahey Fortran 8.1
  362. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  363. + tmp_sharedflag='--shared' ;;
  364. xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  365. tmp_sharedflag='-qmkshrobj'
  366. tmp_addflag= ;;
  367. @@ -4615,6 +4653,7 @@
  368. fi
  369. fi
  370. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  371. # It seems that -bexpall does not export symbols beginning with
  372. # underscore (_), so it is better to generate a list of symbols to export.
  373. _LT_TAGVAR(always_export_symbols, $1)=yes
  374. @@ -4669,7 +4708,7 @@
  375. _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  376. ;;
  377. - cygwin* | mingw* | pw32*)
  378. + cygwin* | mingw* | pw32* | cegcc*)
  379. # When not using gcc, we currently assume that we are using
  380. # Microsoft Visual C++.
  381. # hardcode_libdir_flag_spec is actually meaningless, as there is
  382. @@ -4773,7 +4812,7 @@
  383. _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  384. ;;
  385. ia64*)
  386. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  387. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  388. ;;
  389. *)
  390. _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  391. @@ -5554,6 +5593,7 @@
  392. fi
  393. fi
  394. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  395. # It seems that -bexpall does not export symbols beginning with
  396. # underscore (_), so it is better to generate a list of symbols to
  397. # export.
  398. @@ -5612,7 +5652,7 @@
  399. esac
  400. ;;
  401. - cygwin* | mingw* | pw32*)
  402. + cygwin* | mingw* | pw32* | cegcc*)
  403. # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  404. # as there is no search path for DLLs.
  405. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  406. @@ -5832,7 +5872,7 @@
  407. _LT_TAGVAR(inherit_rpath, $1)=yes
  408. ;;
  409. - linux* | k*bsd*-gnu)
  410. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  411. case $cc_basename in
  412. KCC*)
  413. # Kuck and Associates, Inc. (KAI) C++ Compiler
  414. @@ -6993,6 +7033,18 @@
  415. ])
  416. +# _LT_DECL_OBJDUMP
  417. +# --------------
  418. +# If we don't have a new enough Autoconf to choose the best objdump
  419. +# available, choose the one first in the user's PATH.
  420. +m4_defun([_LT_DECL_OBJDUMP],
  421. +[AC_CHECK_TOOL(OBJDUMP, objdump, false)
  422. +test -z "$OBJDUMP" && OBJDUMP=objdump
  423. +_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
  424. +AC_SUBST([OBJDUMP])
  425. +])
  426. +
  427. +
  428. # _LT_DECL_SED
  429. # ------------
  430. # Check for a fully-functional sed program, that truncates
  431. @@ -7453,7 +7505,7 @@
  432. [enable_win32_dll=yes
  433. case $host in
  434. -*-*-cygwin* | *-*-mingw* | *-*-pw32*)
  435. +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  436. AC_CHECK_TOOL(AS, as, false)
  437. AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  438. AC_CHECK_TOOL(OBJDUMP, objdump, false)
  439. @@ -7694,14 +7746,14 @@
  440. # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
  441. #
  442. -# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
  443. -# Written by Gary V. Vaughan, 2004
  444. +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  445. +# Written by Gary V. Vaughan, 2004
  446. #
  447. # This file is free software; the Free Software Foundation gives
  448. # unlimited permission to copy and/or distribute it, with or without
  449. # modifications, as long as this notice is preserved.
  450. -# serial 5 ltsugar.m4
  451. +# serial 6 ltsugar.m4
  452. # This is to help aclocal find these macros, as it can't see m4_define.
  453. AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
  454. @@ -7757,14 +7809,14 @@
  455. # Produce a SEP delimited list of all paired combinations of elements of
  456. # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
  457. # has the form PREFIXmINFIXSUFFIXn.
  458. +# Needed until we can rely on m4_combine added in Autoconf 2.62.
  459. m4_define([lt_combine],
  460. -[m4_if([$2], [], [],
  461. - [m4_if([$4], [], [],
  462. - [lt_join(m4_quote(m4_default([$1], [[, ]])),
  463. - lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_prefix, [$2],
  464. - [m4_foreach(_Lt_suffix, lt_car([m4_shiftn(3, $@)]),
  465. - [_Lt_prefix[]$3[]_Lt_suffix ])])))))])])dnl
  466. -])
  467. +[m4_if(m4_eval([$# > 3]), [1],
  468. + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
  469. +[[m4_foreach([_Lt_prefix], [$2],
  470. + [m4_foreach([_Lt_suffix],
  471. + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
  472. + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
  473. # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
  474. @@ -7827,15 +7879,15 @@
  475. # Generated from ltversion.in.
  476. -# serial 2976 ltversion.m4
  477. +# serial 3017 ltversion.m4
  478. # This file is part of GNU Libtool
  479. -m4_define([LT_PACKAGE_VERSION], [2.2.4])
  480. -m4_define([LT_PACKAGE_REVISION], [1.2976])
  481. +m4_define([LT_PACKAGE_VERSION], [2.2.6b])
  482. +m4_define([LT_PACKAGE_REVISION], [1.3017])
  483. AC_DEFUN([LTVERSION_VERSION],
  484. -[macro_version='2.2.4'
  485. -macro_revision='1.2976'
  486. +[macro_version='2.2.6b'
  487. +macro_revision='1.3017'
  488. _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  489. _LT_DECL(, macro_revision, 0)
  490. ])
  491. @@ -7933,7 +7985,7 @@
  492. m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
  493. m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
  494. -# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
  495. +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  496. #
  497. # This file is free software; the Free Software Foundation
  498. # gives unlimited permission to copy and/or distribute it,
  499. @@ -7945,10 +7997,10 @@
  500. # generated from the m4 files accompanying Automake X.Y.
  501. # (This private macro should not be called outside this file.)
  502. AC_DEFUN([AM_AUTOMAKE_VERSION],
  503. -[am__api_version='1.10'
  504. +[am__api_version='1.11'
  505. dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  506. dnl require some minimum version. Point them to the right macro.
  507. -m4_if([$1], [1.10.1], [],
  508. +m4_if([$1], [1.11.1], [],
  509. [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  510. ])
  511. @@ -7962,12 +8014,12 @@
  512. # AM_SET_CURRENT_AUTOMAKE_VERSION
  513. # -------------------------------
  514. # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  515. -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
  516. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  517. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  518. -[AM_AUTOMAKE_VERSION([1.10.1])dnl
  519. +[AM_AUTOMAKE_VERSION([1.11.1])dnl
  520. m4_ifndef([AC_AUTOCONF_VERSION],
  521. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  522. -_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
  523. +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  524. # AM_AUX_DIR_EXPAND -*- Autoconf -*-
  525. @@ -8024,14 +8076,14 @@
  526. # AM_CONDITIONAL -*- Autoconf -*-
  527. -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
  528. +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  529. # Free Software Foundation, Inc.
  530. #
  531. # This file is free software; the Free Software Foundation
  532. # gives unlimited permission to copy and/or distribute it,
  533. # with or without modifications, as long as this notice is preserved.
  534. -# serial 8
  535. +# serial 9
  536. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  537. # -------------------------------------
  538. @@ -8044,6 +8096,7 @@
  539. AC_SUBST([$1_FALSE])dnl
  540. _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  541. _AM_SUBST_NOTMAKE([$1_FALSE])dnl
  542. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  543. if $2; then
  544. $1_TRUE=
  545. $1_FALSE='#'
  546. @@ -8057,14 +8110,14 @@
  547. Usually this means the macro was only invoked conditionally.]])
  548. fi])])
  549. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
  550. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
  551. # Free Software Foundation, Inc.
  552. #
  553. # This file is free software; the Free Software Foundation
  554. # gives unlimited permission to copy and/or distribute it,
  555. # with or without modifications, as long as this notice is preserved.
  556. -# serial 9
  557. +# serial 10
  558. # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  559. # written in clear, in which case automake, when reading aclocal.m4,
  560. @@ -8121,6 +8174,16 @@
  561. if test "$am_compiler_list" = ""; then
  562. am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  563. fi
  564. + am__universal=false
  565. + m4_case([$1], [CC],
  566. + [case " $depcc " in #(
  567. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  568. + esac],
  569. + [CXX],
  570. + [case " $depcc " in #(
  571. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  572. + esac])
  573. +
  574. for depmode in $am_compiler_list; do
  575. # Setup a source with many dependencies, because some compilers
  576. # like to wrap large dependency lists on column 80 (with \), and
  577. @@ -8138,7 +8201,17 @@
  578. done
  579. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  580. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  581. + # mode. It turns out that the SunPro C++ compiler does not properly
  582. + # handle `-M -o', and we need to detect this. Also, some Intel
  583. + # versions had trouble with output in subdirs
  584. + am__obj=sub/conftest.${OBJEXT-o}
  585. + am__minus_obj="-o $am__obj"
  586. case $depmode in
  587. + gcc)
  588. + # This depmode causes a compiler race in universal mode.
  589. + test "$am__universal" = false || continue
  590. + ;;
  591. nosideeffect)
  592. # after this tag, mechanisms are not by side-effect, so they'll
  593. # only be used when explicitly requested
  594. @@ -8148,19 +8221,23 @@
  595. break
  596. fi
  597. ;;
  598. + msvisualcpp | msvcmsys)
  599. + # This compiler won't grok `-c -o', but also, the minuso test has
  600. + # not run yet. These depmodes are late enough in the game, and
  601. + # so weak that their functioning should not be impacted.
  602. + am__obj=conftest.${OBJEXT-o}
  603. + am__minus_obj=
  604. + ;;
  605. none) break ;;
  606. esac
  607. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  608. - # mode. It turns out that the SunPro C++ compiler does not properly
  609. - # handle `-M -o', and we need to detect this.
  610. if depmode=$depmode \
  611. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  612. + source=sub/conftest.c object=$am__obj \
  613. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  614. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  615. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  616. >/dev/null 2>conftest.err &&
  617. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  618. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  619. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  620. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  621. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  622. # icc doesn't choke on unknown options, it will just issue warnings
  623. # or remarks (even with -Werror). So we grep stderr for any message
  624. @@ -8217,57 +8294,68 @@
  625. # Generate code to set up dependency tracking. -*- Autoconf -*-
  626. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
  627. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  628. # Free Software Foundation, Inc.
  629. #
  630. # This file is free software; the Free Software Foundation
  631. # gives unlimited permission to copy and/or distribute it,
  632. # with or without modifications, as long as this notice is preserved.
  633. -#serial 3
  634. +#serial 5
  635. # _AM_OUTPUT_DEPENDENCY_COMMANDS
  636. # ------------------------------
  637. AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  638. -[for mf in $CONFIG_FILES; do
  639. - # Strip MF so we end up with the name of the file.
  640. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  641. - # Check whether this is an Automake generated Makefile or not.
  642. - # We used to match only the files named `Makefile.in', but
  643. - # some people rename them; so instead we look at the file content.
  644. - # Grep'ing the first line is not enough: some people post-process
  645. - # each Makefile.in and add a new line on top of each file to say so.
  646. - # Grep'ing the whole file is not good either: AIX grep has a line
  647. - # limit of 2048, but all sed's we know have understand at least 4000.
  648. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  649. - dirpart=`AS_DIRNAME("$mf")`
  650. - else
  651. - continue
  652. - fi
  653. - # Extract the definition of DEPDIR, am__include, and am__quote
  654. - # from the Makefile without running `make'.
  655. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  656. - test -z "$DEPDIR" && continue
  657. - am__include=`sed -n 's/^am__include = //p' < "$mf"`
  658. - test -z "am__include" && continue
  659. - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  660. - # When using ansi2knr, U may be empty or an underscore; expand it
  661. - U=`sed -n 's/^U = //p' < "$mf"`
  662. - # Find all dependency output files, they are included files with
  663. - # $(DEPDIR) in their names. We invoke sed twice because it is the
  664. - # simplest approach to changing $(DEPDIR) to its actual value in the
  665. - # expansion.
  666. - for file in `sed -n "
  667. - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  668. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  669. - # Make sure the directory exists.
  670. - test -f "$dirpart/$file" && continue
  671. - fdir=`AS_DIRNAME(["$file"])`
  672. - AS_MKDIR_P([$dirpart/$fdir])
  673. - # echo "creating $dirpart/$file"
  674. - echo '# dummy' > "$dirpart/$file"
  675. +[{
  676. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  677. + # are listed without --file. Let's play safe and only enable the eval
  678. + # if we detect the quoting.
  679. + case $CONFIG_FILES in
  680. + *\'*) eval set x "$CONFIG_FILES" ;;
  681. + *) set x $CONFIG_FILES ;;
  682. + esac
  683. + shift
  684. + for mf
  685. + do
  686. + # Strip MF so we end up with the name of the file.
  687. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  688. + # Check whether this is an Automake generated Makefile or not.
  689. + # We used to match only the files named `Makefile.in', but
  690. + # some people rename them; so instead we look at the file content.
  691. + # Grep'ing the first line is not enough: some people post-process
  692. + # each Makefile.in and add a new line on top of each file to say so.
  693. + # Grep'ing the whole file is not good either: AIX grep has a line
  694. + # limit of 2048, but all sed's we know have understand at least 4000.
  695. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  696. + dirpart=`AS_DIRNAME("$mf")`
  697. + else
  698. + continue
  699. + fi
  700. + # Extract the definition of DEPDIR, am__include, and am__quote
  701. + # from the Makefile without running `make'.
  702. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  703. + test -z "$DEPDIR" && continue
  704. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  705. + test -z "am__include" && continue
  706. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  707. + # When using ansi2knr, U may be empty or an underscore; expand it
  708. + U=`sed -n 's/^U = //p' < "$mf"`
  709. + # Find all dependency output files, they are included files with
  710. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  711. + # simplest approach to changing $(DEPDIR) to its actual value in the
  712. + # expansion.
  713. + for file in `sed -n "
  714. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  715. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  716. + # Make sure the directory exists.
  717. + test -f "$dirpart/$file" && continue
  718. + fdir=`AS_DIRNAME(["$file"])`
  719. + AS_MKDIR_P([$dirpart/$fdir])
  720. + # echo "creating $dirpart/$file"
  721. + echo '# dummy' > "$dirpart/$file"
  722. + done
  723. done
  724. -done
  725. +}
  726. ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
  727. @@ -8299,13 +8387,13 @@
  728. # Do all the work for Automake. -*- Autoconf -*-
  729. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  730. -# 2005, 2006, 2008 Free Software Foundation, Inc.
  731. +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  732. #
  733. # This file is free software; the Free Software Foundation
  734. # gives unlimited permission to copy and/or distribute it,
  735. # with or without modifications, as long as this notice is preserved.
  736. -# serial 13
  737. +# serial 16
  738. # This macro actually does too much. Some checks are only needed if
  739. # your package does certain things. But this isn't really a big deal.
  740. @@ -8322,7 +8410,7 @@
  741. # arguments mandatory, and then we can depend on a new Autoconf
  742. # release and drop the old call support.
  743. AC_DEFUN([AM_INIT_AUTOMAKE],
  744. -[AC_PREREQ([2.60])dnl
  745. +[AC_PREREQ([2.62])dnl
  746. dnl Autoconf wants to disallow AM_ names. We explicitly allow
  747. dnl the ones we care about.
  748. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  749. @@ -8373,8 +8461,8 @@
  750. AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  751. AM_MISSING_PROG(AUTOHEADER, autoheader)
  752. AM_MISSING_PROG(MAKEINFO, makeinfo)
  753. -AM_PROG_INSTALL_SH
  754. -AM_PROG_INSTALL_STRIP
  755. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  756. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  757. AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  758. # We need awk for the "check" target. The system "awk" is bad on
  759. # some platforms.
  760. @@ -8382,23 +8470,36 @@
  761. AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  762. AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  763. _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  764. - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  765. - [_AM_PROG_TAR([v7])])])
  766. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  767. + [_AM_PROG_TAR([v7])])])
  768. _AM_IF_OPTION([no-dependencies],,
  769. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  770. - [_AM_DEPENDENCIES(CC)],
  771. - [define([AC_PROG_CC],
  772. - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  773. + [_AM_DEPENDENCIES(CC)],
  774. + [define([AC_PROG_CC],
  775. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  776. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  777. - [_AM_DEPENDENCIES(CXX)],
  778. - [define([AC_PROG_CXX],
  779. - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  780. + [_AM_DEPENDENCIES(CXX)],
  781. + [define([AC_PROG_CXX],
  782. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  783. AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  784. - [_AM_DEPENDENCIES(OBJC)],
  785. - [define([AC_PROG_OBJC],
  786. - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  787. -])
  788. -])
  789. + [_AM_DEPENDENCIES(OBJC)],
  790. + [define([AC_PROG_OBJC],
  791. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  792. +])
  793. +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  794. +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  795. +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  796. +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  797. +AC_CONFIG_COMMANDS_PRE(dnl
  798. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  799. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  800. +])
  801. +
  802. +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  803. +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  804. +dnl mangled by Autoconf and run in a shell conditional statement.
  805. +m4_define([_AC_COMPILER_EXEEXT],
  806. +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  807. # When config.status generates a header, we must update the stamp-h file.
  808. @@ -8422,7 +8523,7 @@
  809. done
  810. echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  811. -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  812. +# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
  813. #
  814. # This file is free software; the Free Software Foundation
  815. # gives unlimited permission to copy and/or distribute it,
  816. @@ -8433,7 +8534,14 @@
  817. # Define $install_sh.
  818. AC_DEFUN([AM_PROG_INSTALL_SH],
  819. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  820. -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
  821. +if test x"${install_sh}" != xset; then
  822. + case $am_aux_dir in
  823. + *\ * | *\ *)
  824. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  825. + *)
  826. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  827. + esac
  828. +fi
  829. AC_SUBST(install_sh)])
  830. # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  831. @@ -8459,13 +8567,13 @@
  832. # Check to see how 'make' treats includes. -*- Autoconf -*-
  833. -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
  834. +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
  835. #
  836. # This file is free software; the Free Software Foundation
  837. # gives unlimited permission to copy and/or distribute it,
  838. # with or without modifications, as long as this notice is preserved.
  839. -# serial 3
  840. +# serial 4
  841. # AM_MAKE_INCLUDE()
  842. # -----------------
  843. @@ -8474,7 +8582,7 @@
  844. [am_make=${MAKE-make}
  845. cat > confinc << 'END'
  846. am__doit:
  847. - @echo done
  848. + @echo this is the am__doit target
  849. .PHONY: am__doit
  850. END
  851. # If we don't find an include directive, just comment out the code.
  852. @@ -8484,24 +8592,24 @@
  853. _am_result=none
  854. # First try GNU make style include.
  855. echo "include confinc" > confmf
  856. -# We grep out `Entering directory' and `Leaving directory'
  857. -# messages which can occur if `w' ends up in MAKEFLAGS.
  858. -# In particular we don't look at `^make:' because GNU make might
  859. -# be invoked under some other name (usually "gmake"), in which
  860. -# case it prints its new name instead of `make'.
  861. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  862. - am__include=include
  863. - am__quote=
  864. - _am_result=GNU
  865. -fi
  866. +# Ignore all kinds of additional output from `make'.
  867. +case `$am_make -s -f confmf 2> /dev/null` in #(
  868. +*the\ am__doit\ target*)
  869. + am__include=include
  870. + am__quote=
  871. + _am_result=GNU
  872. + ;;
  873. +esac
  874. # Now try BSD make style include.
  875. if test "$am__include" = "#"; then
  876. echo '.include "confinc"' > confmf
  877. - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  878. - am__include=.include
  879. - am__quote="\""
  880. - _am_result=BSD
  881. - fi
  882. + case `$am_make -s -f confmf 2> /dev/null` in #(
  883. + *the\ am__doit\ target*)
  884. + am__include=.include
  885. + am__quote="\""
  886. + _am_result=BSD
  887. + ;;
  888. + esac
  889. fi
  890. AC_SUBST([am__include])
  891. AC_SUBST([am__quote])
  892. @@ -8511,14 +8619,14 @@
  893. # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  894. -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
  895. +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  896. # Free Software Foundation, Inc.
  897. #
  898. # This file is free software; the Free Software Foundation
  899. # gives unlimited permission to copy and/or distribute it,
  900. # with or without modifications, as long as this notice is preserved.
  901. -# serial 5
  902. +# serial 6
  903. # AM_MISSING_PROG(NAME, PROGRAM)
  904. # ------------------------------
  905. @@ -8535,7 +8643,14 @@
  906. AC_DEFUN([AM_MISSING_HAS_RUN],
  907. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  908. AC_REQUIRE_AUX_FILE([missing])dnl
  909. -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  910. +if test x"${MISSING+set}" != xset; then
  911. + case $am_aux_dir in
  912. + *\ * | *\ *)
  913. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  914. + *)
  915. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  916. + esac
  917. +fi
  918. # Use eval to expand $SHELL
  919. if eval "$MISSING --run true"; then
  920. am_missing_run="$MISSING --run "
  921. @@ -8573,13 +8688,13 @@
  922. # Helper functions for option handling. -*- Autoconf -*-
  923. -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
  924. +# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
  925. #
  926. # This file is free software; the Free Software Foundation
  927. # gives unlimited permission to copy and/or distribute it,
  928. # with or without modifications, as long as this notice is preserved.
  929. -# serial 3
  930. +# serial 4
  931. # _AM_MANGLE_OPTION(NAME)
  932. # -----------------------
  933. @@ -8596,7 +8711,7 @@
  934. # ----------------------------------
  935. # OPTIONS is a space-separated list of Automake options.
  936. AC_DEFUN([_AM_SET_OPTIONS],
  937. -[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  938. +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  939. # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
  940. # -------------------------------------------
  941. @@ -8604,180 +8719,16 @@
  942. AC_DEFUN([_AM_IF_OPTION],
  943. [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  944. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
  945. -# Free Software Foundation, Inc.
  946. -#
  947. -# This file is free software; the Free Software Foundation
  948. -# gives unlimited permission to copy and/or distribute it,
  949. -# with or without modifications, as long as this notice is preserved.
  950. -
  951. -# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
  952. -# ---------------------------------------------------------------------------
  953. -# Adds support for distributing Python modules and packages. To
  954. -# install modules, copy them to $(pythondir), using the python_PYTHON
  955. -# automake variable. To install a package with the same name as the
  956. -# automake package, install to $(pkgpythondir), or use the
  957. -# pkgpython_PYTHON automake variable.
  958. -#
  959. -# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as
  960. -# locations to install python extension modules (shared libraries).
  961. -# Another macro is required to find the appropriate flags to compile
  962. -# extension modules.
  963. -#
  964. -# If your package is configured with a different prefix to python,
  965. -# users will have to add the install directory to the PYTHONPATH
  966. -# environment variable, or create a .pth file (see the python
  967. -# documentation for details).
  968. -#
  969. -# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will
  970. -# cause an error if the version of python installed on the system
  971. -# doesn't meet the requirement. MINIMUM-VERSION should consist of
  972. -# numbers and dots only.
  973. -AC_DEFUN([AM_PATH_PYTHON],
  974. - [
  975. - dnl Find a Python interpreter. Python versions prior to 1.5 are not
  976. - dnl supported because the default installation locations changed from
  977. - dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages
  978. - dnl in 1.5.
  979. - m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
  980. - [python python2 python2.5 python2.4 python2.3 python2.2 dnl
  981. -python2.1 python2.0 python1.6 python1.5])
  982. -
  983. - m4_if([$1],[],[
  984. - dnl No version check is needed.
  985. - # Find any Python interpreter.
  986. - if test -z "$PYTHON"; then
  987. - AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :)
  988. - fi
  989. - am_display_PYTHON=python
  990. - ], [
  991. - dnl A version check is needed.
  992. - if test -n "$PYTHON"; then
  993. - # If the user set $PYTHON, use it and don't search something else.
  994. - AC_MSG_CHECKING([whether $PYTHON version >= $1])
  995. - AM_PYTHON_CHECK_VERSION([$PYTHON], [$1],
  996. - [AC_MSG_RESULT(yes)],
  997. - [AC_MSG_ERROR(too old)])
  998. - am_display_PYTHON=$PYTHON
  999. - else
  1000. - # Otherwise, try each interpreter until we find one that satisfies
  1001. - # VERSION.
  1002. - AC_CACHE_CHECK([for a Python interpreter with version >= $1],
  1003. - [am_cv_pathless_PYTHON],[
  1004. - for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do
  1005. - test "$am_cv_pathless_PYTHON" = none && break
  1006. - AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break])
  1007. - done])
  1008. - # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
  1009. - if test "$am_cv_pathless_PYTHON" = none; then
  1010. - PYTHON=:
  1011. - else
  1012. - AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
  1013. - fi
  1014. - am_display_PYTHON=$am_cv_pathless_PYTHON
  1015. - fi
  1016. - ])
  1017. -
  1018. - if test "$PYTHON" = :; then
  1019. - dnl Run any user-specified action, or abort.
  1020. - m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])])
  1021. - else
  1022. -
  1023. - dnl Query Python for its version number. Getting [:3] seems to be
  1024. - dnl the best way to do this; it's what "site.py" does in the standard
  1025. - dnl library.
  1026. -
  1027. - AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
  1028. - [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`])
  1029. - AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
  1030. -
  1031. - dnl Use the values of $prefix and $exec_prefix for the corresponding
  1032. - dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made
  1033. - dnl distinct variables so they can be overridden if need be. However,
  1034. - dnl general consensus is that you shouldn't need this ability.
  1035. -
  1036. - AC_SUBST([PYTHON_PREFIX], ['${prefix}'])
  1037. - AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
  1038. -
  1039. - dnl At times (like when building shared libraries) you may want
  1040. - dnl to know which OS platform Python thinks this is.
  1041. -
  1042. - AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],
  1043. - [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`])
  1044. - AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])
  1045. -
  1046. -
  1047. - dnl Set up 4 directories:
  1048. -
  1049. - dnl pythondir -- where to install python scripts. This is the
  1050. - dnl site-packages directory, not the python standard library
  1051. - dnl directory like in previous automake betas. This behavior
  1052. - dnl is more consistent with lispdir.m4 for example.
  1053. - dnl Query distutils for this directory. distutils does not exist in
  1054. - dnl Python 1.5, so we fall back to the hardcoded directory if it
  1055. - dnl doesn't work.
  1056. - AC_CACHE_CHECK([for $am_display_PYTHON script directory],
  1057. - [am_cv_python_pythondir],
  1058. - [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
  1059. - echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`])
  1060. - AC_SUBST([pythondir], [$am_cv_python_pythondir])
  1061. -
  1062. - dnl pkgpythondir -- $PACKAGE directory under pythondir. Was
  1063. - dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is
  1064. - dnl more consistent with the rest of automake.
  1065. -
  1066. - AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
  1067. -
  1068. - dnl pyexecdir -- directory for installing python extension modules
  1069. - dnl (shared libraries)
  1070. - dnl Query distutils for this directory. distutils does not exist in
  1071. - dnl Python 1.5, so we fall back to the hardcoded directory if it
  1072. - dnl doesn't work.
  1073. - AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
  1074. - [am_cv_python_pyexecdir],
  1075. - [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
  1076. - echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`])
  1077. - AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
  1078. -
  1079. - dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)
  1080. -
  1081. - AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE])
  1082. -
  1083. - dnl Run any user-specified action.
  1084. - $2
  1085. - fi
  1086. -
  1087. -])
  1088. -
  1089. -
  1090. -# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
  1091. -# ---------------------------------------------------------------------------
  1092. -# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION.
  1093. -# Run ACTION-IF-FALSE otherwise.
  1094. -# This test uses sys.hexversion instead of the string equivalent (first
  1095. -# word of sys.version), in order to cope with versions such as 2.2c1.
  1096. -# hexversion has been introduced in Python 1.5.2; it's probably not
  1097. -# worth to support older versions (1.5.1 was released on October 31, 1998).
  1098. -AC_DEFUN([AM_PYTHON_CHECK_VERSION],
  1099. - [prog="import sys, string
  1100. -# split strings by '.' and convert to numeric. Append some zeros
  1101. -# because we need at least 4 digits for the hex conversion.
  1102. -minver = map(int, string.split('$2', '.')) + [[0, 0, 0]]
  1103. -minverhex = 0
  1104. -for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[[i]]
  1105. -sys.exit(sys.hexversion < minverhex)"
  1106. - AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
  1107. -
  1108. # Check to make sure that the build environment is sane. -*- Autoconf -*-
  1109. -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
  1110. +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  1111. # Free Software Foundation, Inc.
  1112. #
  1113. # This file is free software; the Free Software Foundation
  1114. # gives unlimited permission to copy and/or distribute it,
  1115. # with or without modifications, as long as this notice is preserved.
  1116. -# serial 4
  1117. +# serial 5
  1118. # AM_SANITY_CHECK
  1119. # ---------------
  1120. @@ -8786,16 +8737,29 @@
  1121. # Just in case
  1122. sleep 1
  1123. echo timestamp > conftest.file
  1124. +# Reject unsafe characters in $srcdir or the absolute working directory
  1125. +# name. Accept space and tab only in the latter.
  1126. +am_lf='
  1127. +'
  1128. +case `pwd` in
  1129. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  1130. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  1131. +esac
  1132. +case $srcdir in
  1133. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  1134. + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  1135. +esac
  1136. +
  1137. # Do `set' in a subshell so we don't clobber the current shell's
  1138. # arguments. Must try -L first in case configure is actually a
  1139. # symlink; some systems play weird games with the mod time of symlinks
  1140. # (eg FreeBSD returns the mod time of the symlink's containing
  1141. # directory).
  1142. if (
  1143. - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1144. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  1145. if test "$[*]" = "X"; then
  1146. # -L didn't work.
  1147. - set X `ls -t $srcdir/configure conftest.file`
  1148. + set X `ls -t "$srcdir/configure" conftest.file`
  1149. fi
  1150. rm -f conftest.file
  1151. if test "$[*]" != "X $srcdir/configure conftest.file" \
  1152. @@ -8848,18 +8812,25 @@
  1153. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  1154. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  1155. -# Copyright (C) 2006 Free Software Foundation, Inc.
  1156. +# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
  1157. #
  1158. # This file is free software; the Free Software Foundation
  1159. # gives unlimited permission to copy and/or distribute it,
  1160. # with or without modifications, as long as this notice is preserved.
  1161. +# serial 2
  1162. +
  1163. # _AM_SUBST_NOTMAKE(VARIABLE)
  1164. # ---------------------------
  1165. # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  1166. # This macro is traced by Automake.
  1167. AC_DEFUN([_AM_SUBST_NOTMAKE])
  1168. +# AM_SUBST_NOTMAKE(VARIABLE)
  1169. +# ---------------------------
  1170. +# Public sister of _AM_SUBST_NOTMAKE.
  1171. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  1172. +
  1173. # Check how to create a tarball. -*- Autoconf -*-
  1174. # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
  1175. diff -Nur gpsd-2.39.orig/cgps.1 gpsd-2.39/cgps.1
  1176. --- gpsd-2.39.orig/cgps.1 2009-03-18 17:50:54.000000000 +0100
  1177. +++ gpsd-2.39/cgps.1 1970-01-01 01:00:00.000000000 +0100
  1178. @@ -1 +0,0 @@
  1179. -.so man1/gps.1
  1180. diff -Nur gpsd-2.39.orig/cgpxlogger.1 gpsd-2.39/cgpxlogger.1
  1181. --- gpsd-2.39.orig/cgpxlogger.1 2009-03-18 17:50:54.000000000 +0100
  1182. +++ gpsd-2.39/cgpxlogger.1 1970-01-01 01:00:00.000000000 +0100
  1183. @@ -1 +0,0 @@
  1184. -.so man1/gps.1
  1185. diff -Nur gpsd-2.39.orig/config.log gpsd-2.39/config.log
  1186. --- gpsd-2.39.orig/config.log 1970-01-01 01:00:00.000000000 +0100
  1187. +++ gpsd-2.39/config.log 2010-02-18 21:44:19.552855777 +0100
  1188. @@ -0,0 +1,2768 @@
  1189. +This file contains any messages produced by compilers while
  1190. +running configure, to aid debugging if configure makes a mistake.
  1191. +
  1192. +It was created by configure, which was
  1193. +generated by GNU Autoconf 2.65. Invocation command line was
  1194. +
  1195. + $ ./configure
  1196. +
  1197. +## --------- ##
  1198. +## Platform. ##
  1199. +## --------- ##
  1200. +
  1201. +hostname = hydrogenium
  1202. +uname -m = i686
  1203. +uname -r = 2.6.32-13-generic
  1204. +uname -s = Linux
  1205. +uname -v = #18-Ubuntu SMP Wed Feb 10 21:24:20 UTC 2010
  1206. +
  1207. +/usr/bin/uname -p = unknown
  1208. +/bin/uname -X = unknown
  1209. +
  1210. +/bin/arch = unknown
  1211. +/usr/bin/arch -k = unknown
  1212. +/usr/convex/getsysinfo = unknown
  1213. +/usr/bin/hostinfo = unknown
  1214. +/bin/machine = unknown
  1215. +/usr/bin/oslevel = unknown
  1216. +/bin/universe = unknown
  1217. +
  1218. +PATH: /home/wbx/bin
  1219. +PATH: /usr/local/sbin
  1220. +PATH: /usr/local/bin
  1221. +PATH: /usr/sbin
  1222. +PATH: /usr/bin
  1223. +PATH: /sbin
  1224. +PATH: /bin
  1225. +PATH: /usr/games
  1226. +PATH: /home/wbx/bin
  1227. +
  1228. +
  1229. +## ----------- ##
  1230. +## Core tests. ##
  1231. +## ----------- ##
  1232. +
  1233. +configure:2863: checking for a BSD-compatible install
  1234. +configure:2931: result: /usr/bin/install -c
  1235. +configure:2942: checking whether build environment is sane
  1236. +configure:2992: result: yes
  1237. +configure:3133: checking for a thread-safe mkdir -p
  1238. +configure:3172: result: /bin/mkdir -p
  1239. +configure:3185: checking for gawk
  1240. +configure:3201: found /usr/bin/gawk
  1241. +configure:3212: result: gawk
  1242. +configure:3223: checking whether make sets $(MAKE)
  1243. +configure:3245: result: yes
  1244. +configure:3334: checking whether ln -s works
  1245. +configure:3338: result: yes
  1246. +configure:3345: checking whether make sets $(MAKE)
  1247. +configure:3367: result: yes
  1248. +configure:3406: checking build system type
  1249. +configure:3420: result: i686-pc-linux-gnu
  1250. +configure:3440: checking host system type
  1251. +configure:3453: result: i686-pc-linux-gnu
  1252. +configure:3485: checking for style of include used by make
  1253. +configure:3513: result: GNU
  1254. +configure:3583: checking for gcc
  1255. +configure:3599: found /usr/bin/gcc
  1256. +configure:3610: result: gcc
  1257. +configure:3839: checking for C compiler version
  1258. +configure:3848: gcc --version >&5
  1259. +gcc (Ubuntu 4.4.3-2ubuntu1) 4.4.3
  1260. +Copyright (C) 2010 Free Software Foundation, Inc.
  1261. +This is free software; see the source for copying conditions. There is NO
  1262. +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1263. +
  1264. +configure:3859: $? = 0
  1265. +configure:3848: gcc -v >&5
  1266. +Using built-in specs.
  1267. +Target: i486-linux-gnu
  1268. +Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
  1269. +Thread model: posix
  1270. +gcc version 4.4.3 (Ubuntu 4.4.3-2ubuntu1)
  1271. +configure:3859: $? = 0
  1272. +configure:3848: gcc -V >&5
  1273. +gcc: '-V' option must have argument
  1274. +configure:3859: $? = 1
  1275. +configure:3848: gcc -qversion >&5
  1276. +gcc: unrecognized option '-qversion'
  1277. +gcc: no input files
  1278. +configure:3859: $? = 1
  1279. +configure:3879: checking whether the C compiler works
  1280. +configure:3901: gcc conftest.c >&5
  1281. +configure:3905: $? = 0
  1282. +configure:3954: result: yes
  1283. +configure:3957: checking for C compiler default output file name
  1284. +configure:3959: result: a.out
  1285. +configure:3965: checking for suffix of executables
  1286. +configure:3972: gcc -o conftest conftest.c >&5
  1287. +configure:3976: $? = 0
  1288. +configure:3998: result:
  1289. +configure:4020: checking whether we are cross compiling
  1290. +configure:4028: gcc -o conftest conftest.c >&5
  1291. +configure:4032: $? = 0
  1292. +configure:4039: ./conftest
  1293. +configure:4043: $? = 0
  1294. +configure:4058: result: no
  1295. +configure:4063: checking for suffix of object files
  1296. +configure:4085: gcc -c conftest.c >&5
  1297. +configure:4089: $? = 0
  1298. +configure:4110: result: o
  1299. +configure:4114: checking whether we are using the GNU C compiler
  1300. +configure:4133: gcc -c conftest.c >&5
  1301. +configure:4133: $? = 0
  1302. +configure:4142: result: yes
  1303. +configure:4151: checking whether gcc accepts -g
  1304. +configure:4171: gcc -c -g conftest.c >&5
  1305. +configure:4171: $? = 0
  1306. +configure:4212: result: yes
  1307. +configure:4229: checking for gcc option to accept ISO C89
  1308. +configure:4293: gcc -c -g -O2 conftest.c >&5
  1309. +configure:4293: $? = 0
  1310. +configure:4306: result: none needed
  1311. +configure:4328: checking dependency style of gcc
  1312. +configure:4438: result: gcc3
  1313. +configure:4453: checking for a sed that does not truncate output
  1314. +configure:4517: result: /bin/sed
  1315. +configure:4535: checking for grep that handles long lines and -e
  1316. +configure:4593: result: /bin/grep
  1317. +configure:4598: checking for egrep
  1318. +configure:4660: result: /bin/grep -E
  1319. +configure:4665: checking for fgrep
  1320. +configure:4727: result: /bin/grep -F
  1321. +configure:4762: checking for ld used by gcc
  1322. +configure:4829: result: /usr/bin/ld
  1323. +configure:4836: checking if the linker (/usr/bin/ld) is GNU ld
  1324. +configure:4851: result: yes
  1325. +configure:4863: checking for BSD- or MS-compatible name lister (nm)
  1326. +configure:4912: result: /usr/bin/nm -B
  1327. +configure:5030: checking the name lister (/usr/bin/nm -B) interface
  1328. +configure:5037: gcc -c -g -O2 conftest.c >&5
  1329. +configure:5040: /usr/bin/nm -B "conftest.o"
  1330. +configure:5043: output
  1331. +00000000 B some_variable
  1332. +configure:5050: result: BSD nm
  1333. +configure:5054: checking the maximum length of command line arguments
  1334. +configure:5174: result: 1572864
  1335. +configure:5191: checking whether the shell understands some XSI constructs
  1336. +configure:5201: result: yes
  1337. +configure:5205: checking whether the shell understands "+="
  1338. +configure:5211: result: yes
  1339. +configure:5246: checking for /usr/bin/ld option to reload object files
  1340. +configure:5253: result: -r
  1341. +configure:5322: checking for objdump
  1342. +configure:5338: found /usr/bin/objdump
  1343. +configure:5349: result: objdump
  1344. +configure:5381: checking how to recognize dependent libraries
  1345. +configure:5577: result: pass_all
  1346. +configure:5637: checking for ar
  1347. +configure:5653: found /usr/bin/ar
  1348. +configure:5664: result: ar
  1349. +configure:5742: checking for strip
  1350. +configure:5758: found /usr/bin/strip
  1351. +configure:5769: result: strip
  1352. +configure:5841: checking for ranlib
  1353. +configure:5857: found /usr/bin/ranlib
  1354. +configure:5868: result: ranlib
  1355. +configure:5958: checking command to parse /usr/bin/nm -B output from gcc object
  1356. +configure:6076: gcc -c -g -O2 conftest.c >&5
  1357. +configure:6079: $? = 0
  1358. +configure:6083: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
  1359. +configure:6086: $? = 0
  1360. +configure:6140: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
  1361. +configure:6143: $? = 0
  1362. +configure:6181: result: ok
  1363. +configure:6990: checking how to run the C preprocessor
  1364. +configure:7021: gcc -E conftest.c
  1365. +configure:7021: $? = 0
  1366. +configure:7035: gcc -E conftest.c
  1367. +conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
  1368. +configure:7035: $? = 1
  1369. +configure: failed program was:
  1370. +| /* confdefs.h */
  1371. +| #define PACKAGE_NAME ""
  1372. +| #define PACKAGE_TARNAME ""
  1373. +| #define PACKAGE_VERSION ""
  1374. +| #define PACKAGE_STRING ""
  1375. +| #define PACKAGE_BUGREPORT ""
  1376. +| #define PACKAGE_URL ""
  1377. +| #define PACKAGE "gpsd"
  1378. +| #define VERSION "2.39"
  1379. +| /* end confdefs.h. */
  1380. +| #include <ac_nonexistent.h>
  1381. +configure:7060: result: gcc -E
  1382. +configure:7080: gcc -E conftest.c
  1383. +configure:7080: $? = 0
  1384. +configure:7094: gcc -E conftest.c
  1385. +conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
  1386. +configure:7094: $? = 1
  1387. +configure: failed program was:
  1388. +| /* confdefs.h */
  1389. +| #define PACKAGE_NAME ""
  1390. +| #define PACKAGE_TARNAME ""
  1391. +| #define PACKAGE_VERSION ""
  1392. +| #define PACKAGE_STRING ""
  1393. +| #define PACKAGE_BUGREPORT ""
  1394. +| #define PACKAGE_URL ""
  1395. +| #define PACKAGE "gpsd"
  1396. +| #define VERSION "2.39"
  1397. +| /* end confdefs.h. */
  1398. +| #include <ac_nonexistent.h>
  1399. +configure:7123: checking for ANSI C header files
  1400. +configure:7143: gcc -c -g -O2 conftest.c >&5
  1401. +configure:7143: $? = 0
  1402. +configure:7216: gcc -o conftest -g -O2 conftest.c >&5
  1403. +configure:7216: $? = 0
  1404. +configure:7216: ./conftest
  1405. +configure:7216: $? = 0
  1406. +configure:7227: result: yes
  1407. +configure:7240: checking for sys/types.h
  1408. +configure:7240: gcc -c -g -O2 conftest.c >&5
  1409. +configure:7240: $? = 0
  1410. +configure:7240: result: yes
  1411. +configure:7240: checking for sys/stat.h
  1412. +configure:7240: gcc -c -g -O2 conftest.c >&5
  1413. +configure:7240: $? = 0
  1414. +configure:7240: result: yes
  1415. +configure:7240: checking for stdlib.h
  1416. +configure:7240: gcc -c -g -O2 conftest.c >&5
  1417. +configure:7240: $? = 0
  1418. +configure:7240: result: yes
  1419. +configure:7240: checking for string.h
  1420. +configure:7240: gcc -c -g -O2 conftest.c >&5
  1421. +configure:7240: $? = 0
  1422. +configure:7240: result: yes
  1423. +configure:7240: checking for memory.h
  1424. +configure:7240: gcc -c -g -O2 conftest.c >&5
  1425. +configure:7240: $? = 0
  1426. +configure:7240: result: yes
  1427. +configure:7240: checking for strings.h
  1428. +configure:7240: gcc -c -g -O2 conftest.c >&5
  1429. +configure:7240: $? = 0
  1430. +configure:7240: result: yes
  1431. +configure:7240: checking for inttypes.h
  1432. +configure:7240: gcc -c -g -O2 conftest.c >&5
  1433. +configure:7240: $? = 0
  1434. +configure:7240: result: yes
  1435. +configure:7240: checking for stdint.h
  1436. +configure:7240: gcc -c -g -O2 conftest.c >&5
  1437. +configure:7240: $? = 0
  1438. +configure:7240: result: yes
  1439. +configure:7240: checking for unistd.h
  1440. +configure:7240: gcc -c -g -O2 conftest.c >&5
  1441. +configure:7240: $? = 0
  1442. +configure:7240: result: yes
  1443. +configure:7255: checking for dlfcn.h
  1444. +configure:7255: gcc -c -g -O2 conftest.c >&5
  1445. +configure:7255: $? = 0
  1446. +configure:7255: result: yes
  1447. +configure:7439: checking for objdir
  1448. +configure:7454: result: .libs
  1449. +configure:7746: checking if gcc supports -fno-rtti -fno-exceptions
  1450. +configure:7764: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
  1451. +cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
  1452. +configure:7768: $? = 0
  1453. +configure:7781: result: no
  1454. +configure:7801: checking for gcc option to produce PIC
  1455. +configure:8073: result: -fPIC -DPIC
  1456. +configure:8085: checking if gcc PIC flag -fPIC -DPIC works
  1457. +configure:8103: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
  1458. +configure:8107: $? = 0
  1459. +configure:8120: result: yes
  1460. +configure:8144: checking if gcc static flag -static works
  1461. +configure:8172: result: yes
  1462. +configure:8187: checking if gcc supports -c -o file.o
  1463. +configure:8208: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
  1464. +configure:8212: $? = 0
  1465. +configure:8234: result: yes
  1466. +configure:8242: checking if gcc supports -c -o file.o
  1467. +configure:8289: result: yes
  1468. +configure:8322: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
  1469. +configure:9313: result: yes
  1470. +configure:9350: checking whether -lc should be explicitly linked in
  1471. +configure:9355: gcc -c -g -O2 conftest.c >&5
  1472. +configure:9358: $? = 0
  1473. +configure:9373: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
  1474. +configure:9376: $? = 0
  1475. +configure:9388: result: no
  1476. +configure:9552: checking dynamic linker characteristics
  1477. +configure:9985: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
  1478. +configure:9985: $? = 0
  1479. +configure:10215: result: GNU/Linux ld.so
  1480. +configure:10317: checking how to hardcode library paths into programs
  1481. +configure:10342: result: immediate
  1482. +configure:10862: checking whether stripping libraries is possible
  1483. +configure:10867: result: yes
  1484. +configure:10902: checking if libtool supports shared libraries
  1485. +configure:10904: result: yes
  1486. +configure:10907: checking whether to build shared libraries
  1487. +configure:10928: result: yes
  1488. +configure:10931: checking whether to build static libraries
  1489. +configure:10935: result: yes
  1490. +configure:11028: checking for g++
  1491. +configure:11044: found /usr/bin/g++
  1492. +configure:11055: result: g++
  1493. +configure:11082: checking for C++ compiler version
  1494. +configure:11091: g++ --version >&5
  1495. +g++ (Ubuntu 4.4.3-2ubuntu1) 4.4.3
  1496. +Copyright (C) 2010 Free Software Foundation, Inc.
  1497. +This is free software; see the source for copying conditions. There is NO
  1498. +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1499. +
  1500. +configure:11102: $? = 0
  1501. +configure:11091: g++ -v >&5
  1502. +Using built-in specs.
  1503. +Target: i486-linux-gnu
  1504. +Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
  1505. +Thread model: posix
  1506. +gcc version 4.4.3 (Ubuntu 4.4.3-2ubuntu1)
  1507. +configure:11102: $? = 0
  1508. +configure:11091: g++ -V >&5
  1509. +g++: '-V' option must have argument
  1510. +configure:11102: $? = 1
  1511. +configure:11091: g++ -qversion >&5
  1512. +g++: unrecognized option '-qversion'
  1513. +g++: no input files
  1514. +configure:11102: $? = 1
  1515. +configure:11106: checking whether we are using the GNU C++ compiler
  1516. +configure:11125: g++ -c conftest.cpp >&5
  1517. +configure:11125: $? = 0
  1518. +configure:11134: result: yes
  1519. +configure:11143: checking whether g++ accepts -g
  1520. +configure:11163: g++ -c -g conftest.cpp >&5
  1521. +configure:11163: $? = 0
  1522. +configure:11204: result: yes
  1523. +configure:11229: checking dependency style of g++
  1524. +configure:11339: result: gcc3
  1525. +configure:11467: checking for C++ compiler version
  1526. +configure:11476: g++ --version >&5
  1527. +g++ (Ubuntu 4.4.3-2ubuntu1) 4.4.3
  1528. +Copyright (C) 2010 Free Software Foundation, Inc.
  1529. +This is free software; see the source for copying conditions. There is NO
  1530. +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1531. +
  1532. +configure:11487: $? = 0
  1533. +configure:11476: g++ -v >&5
  1534. +Using built-in specs.
  1535. +Target: i486-linux-gnu
  1536. +Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
  1537. +Thread model: posix
  1538. +gcc version 4.4.3 (Ubuntu 4.4.3-2ubuntu1)
  1539. +configure:11487: $? = 0
  1540. +configure:11476: g++ -V >&5
  1541. +g++: '-V' option must have argument
  1542. +configure:11487: $? = 1
  1543. +configure:11476: g++ -qversion >&5
  1544. +g++: unrecognized option '-qversion'
  1545. +g++: no input files
  1546. +configure:11487: $? = 1
  1547. +configure:11491: checking whether we are using the GNU C++ compiler
  1548. +configure:11519: result: yes
  1549. +configure:11528: checking whether g++ accepts -g
  1550. +configure:11589: result: yes
  1551. +configure:11614: checking dependency style of g++
  1552. +configure:11724: result: gcc3
  1553. +configure:11747: checking how to run the C++ preprocessor
  1554. +configure:11774: g++ -E conftest.cpp
  1555. +configure:11774: $? = 0
  1556. +configure:11788: g++ -E conftest.cpp
  1557. +conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory
  1558. +configure:11788: $? = 1
  1559. +configure: failed program was:
  1560. +| /* confdefs.h */
  1561. +| #define PACKAGE_NAME ""
  1562. +| #define PACKAGE_TARNAME ""
  1563. +| #define PACKAGE_VERSION ""
  1564. +| #define PACKAGE_STRING ""
  1565. +| #define PACKAGE_BUGREPORT ""
  1566. +| #define PACKAGE_URL ""
  1567. +| #define PACKAGE "gpsd"
  1568. +| #define VERSION "2.39"
  1569. +| #define STDC_HEADERS 1
  1570. +| #define HAVE_SYS_TYPES_H 1
  1571. +| #define HAVE_SYS_STAT_H 1
  1572. +| #define HAVE_STDLIB_H 1
  1573. +| #define HAVE_STRING_H 1
  1574. +| #define HAVE_MEMORY_H 1
  1575. +| #define HAVE_STRINGS_H 1
  1576. +| #define HAVE_INTTYPES_H 1
  1577. +| #define HAVE_STDINT_H 1
  1578. +| #define HAVE_UNISTD_H 1
  1579. +| #define HAVE_DLFCN_H 1
  1580. +| #define LT_OBJDIR ".libs/"
  1581. +| /* end confdefs.h. */
  1582. +| #include <ac_nonexistent.h>
  1583. +configure:11813: result: g++ -E
  1584. +configure:11833: g++ -E conftest.cpp
  1585. +configure:11833: $? = 0
  1586. +configure:11847: g++ -E conftest.cpp
  1587. +conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory
  1588. +configure:11847: $? = 1
  1589. +configure: failed program was:
  1590. +| /* confdefs.h */
  1591. +| #define PACKAGE_NAME ""
  1592. +| #define PACKAGE_TARNAME ""
  1593. +| #define PACKAGE_VERSION ""
  1594. +| #define PACKAGE_STRING ""
  1595. +| #define PACKAGE_BUGREPORT ""
  1596. +| #define PACKAGE_URL ""
  1597. +| #define PACKAGE "gpsd"
  1598. +| #define VERSION "2.39"
  1599. +| #define STDC_HEADERS 1
  1600. +| #define HAVE_SYS_TYPES_H 1
  1601. +| #define HAVE_SYS_STAT_H 1
  1602. +| #define HAVE_STDLIB_H 1
  1603. +| #define HAVE_STRING_H 1
  1604. +| #define HAVE_MEMORY_H 1
  1605. +| #define HAVE_STRINGS_H 1
  1606. +| #define HAVE_INTTYPES_H 1
  1607. +| #define HAVE_STDINT_H 1
  1608. +| #define HAVE_UNISTD_H 1
  1609. +| #define HAVE_DLFCN_H 1
  1610. +| #define LT_OBJDIR ".libs/"
  1611. +| /* end confdefs.h. */
  1612. +| #include <ac_nonexistent.h>
  1613. +configure:12015: checking for ld used by g++
  1614. +configure:12082: result: /usr/bin/ld
  1615. +configure:12089: checking if the linker (/usr/bin/ld) is GNU ld
  1616. +configure:12104: result: yes
  1617. +configure:12159: checking whether the g++ linker (/usr/bin/ld) supports shared libraries
  1618. +configure:13072: result: yes
  1619. +configure:13100: g++ -c -g -O2 conftest.cpp >&5
  1620. +configure:13103: $? = 0
  1621. +configure:13285: checking for g++ option to produce PIC
  1622. +configure:13602: result: -fPIC -DPIC
  1623. +configure:13611: checking if g++ PIC flag -fPIC -DPIC works
  1624. +configure:13629: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5
  1625. +configure:13633: $? = 0
  1626. +configure:13646: result: yes
  1627. +configure:13667: checking if g++ static flag -static works
  1628. +configure:13695: result: yes
  1629. +configure:13707: checking if g++ supports -c -o file.o
  1630. +configure:13728: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5
  1631. +configure:13732: $? = 0
  1632. +configure:13754: result: yes
  1633. +configure:13759: checking if g++ supports -c -o file.o
  1634. +configure:13806: result: yes
  1635. +configure:13836: checking whether the g++ linker (/usr/bin/ld) supports shared libraries
  1636. +configure:13865: result: yes
  1637. +configure:14002: checking dynamic linker characteristics
  1638. +configure:14383: g++ -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.cpp >&5
  1639. +configure:14383: $? = 0
  1640. +configure:14613: result: GNU/Linux ld.so
  1641. +configure:14664: checking how to hardcode library paths into programs
  1642. +configure:14689: result: immediate
  1643. +configure:14728: checking whether byte ordering is bigendian
  1644. +configure:14743: gcc -c -g -O2 conftest.c >&5
  1645. +conftest.c:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
  1646. +configure:14743: $? = 1
  1647. +configure: failed program was:
  1648. +| /* confdefs.h */
  1649. +| #define PACKAGE_NAME ""
  1650. +| #define PACKAGE_TARNAME ""
  1651. +| #define PACKAGE_VERSION ""
  1652. +| #define PACKAGE_STRING ""
  1653. +| #define PACKAGE_BUGREPORT ""
  1654. +| #define PACKAGE_URL ""
  1655. +| #define PACKAGE "gpsd"
  1656. +| #define VERSION "2.39"
  1657. +| #define STDC_HEADERS 1
  1658. +| #define HAVE_SYS_TYPES_H 1
  1659. +| #define HAVE_SYS_STAT_H 1
  1660. +| #define HAVE_STDLIB_H 1
  1661. +| #define HAVE_STRING_H 1
  1662. +| #define HAVE_MEMORY_H 1
  1663. +| #define HAVE_STRINGS_H 1
  1664. +| #define HAVE_INTTYPES_H 1
  1665. +| #define HAVE_STDINT_H 1
  1666. +| #define HAVE_UNISTD_H 1
  1667. +| #define HAVE_DLFCN_H 1
  1668. +| #define LT_OBJDIR ".libs/"
  1669. +| /* end confdefs.h. */
  1670. +| #ifndef __APPLE_CC__
  1671. +| not a universal capable compiler
  1672. +| #endif
  1673. +| typedef int dummy;
  1674. +|
  1675. +configure:14788: gcc -c -g -O2 conftest.c >&5
  1676. +configure:14788: $? = 0
  1677. +configure:14806: gcc -c -g -O2 conftest.c >&5
  1678. +conftest.c: In function 'main':
  1679. +conftest.c:30: error: 'not' undeclared (first use in this function)
  1680. +conftest.c:30: error: (Each undeclared identifier is reported only once
  1681. +conftest.c:30: error: for each function it appears in.)
  1682. +conftest.c:30: error: expected ';' before 'big'
  1683. +configure:14806: $? = 1
  1684. +configure: failed program was:
  1685. +| /* confdefs.h */
  1686. +| #define PACKAGE_NAME ""
  1687. +| #define PACKAGE_TARNAME ""
  1688. +| #define PACKAGE_VERSION ""
  1689. +| #define PACKAGE_STRING ""
  1690. +| #define PACKAGE_BUGREPORT ""
  1691. +| #define PACKAGE_URL ""
  1692. +| #define PACKAGE "gpsd"
  1693. +| #define VERSION "2.39"
  1694. +| #define STDC_HEADERS 1
  1695. +| #define HAVE_SYS_TYPES_H 1
  1696. +| #define HAVE_SYS_STAT_H 1
  1697. +| #define HAVE_STDLIB_H 1
  1698. +| #define HAVE_STRING_H 1
  1699. +| #define HAVE_MEMORY_H 1
  1700. +| #define HAVE_STRINGS_H 1
  1701. +| #define HAVE_INTTYPES_H 1
  1702. +| #define HAVE_STDINT_H 1
  1703. +| #define HAVE_UNISTD_H 1
  1704. +| #define HAVE_DLFCN_H 1
  1705. +| #define LT_OBJDIR ".libs/"
  1706. +| /* end confdefs.h. */
  1707. +| #include <sys/types.h>
  1708. +| #include <sys/param.h>
  1709. +|
  1710. +| int
  1711. +| main ()
  1712. +| {
  1713. +| #if BYTE_ORDER != BIG_ENDIAN
  1714. +| not big endian
  1715. +| #endif
  1716. +|
  1717. +| ;
  1718. +| return 0;
  1719. +| }
  1720. +configure:14934: result: no
  1721. +configure:14957: checking size of char
  1722. +configure:14962: gcc -o conftest -g -O2 conftest.c >&5
  1723. +configure:14962: $? = 0
  1724. +configure:14962: ./conftest
  1725. +configure:14962: $? = 0
  1726. +configure:14977: result: 1
  1727. +configure:14991: checking size of short
  1728. +configure:14996: gcc -o conftest -g -O2 conftest.c >&5
  1729. +configure:14996: $? = 0
  1730. +configure:14996: ./conftest
  1731. +configure:14996: $? = 0
  1732. +configure:15011: result: 2
  1733. +configure:15025: checking size of int
  1734. +configure:15030: gcc -o conftest -g -O2 conftest.c >&5
  1735. +configure:15030: $? = 0
  1736. +configure:15030: ./conftest
  1737. +configure:15030: $? = 0
  1738. +configure:15045: result: 4
  1739. +configure:15059: checking size of long
  1740. +configure:15064: gcc -o conftest -g -O2 conftest.c >&5
  1741. +configure:15064: $? = 0
  1742. +configure:15064: ./conftest
  1743. +configure:15064: $? = 0
  1744. +configure:15079: result: 4
  1745. +configure:15093: checking size of long long
  1746. +configure:15098: gcc -o conftest -g -O2 conftest.c >&5
  1747. +configure:15098: $? = 0
  1748. +configure:15098: ./conftest
  1749. +configure:15098: $? = 0
  1750. +configure:15113: result: 8
  1751. +configure:15127: checking size of float
  1752. +configure:15132: gcc -o conftest -g -O2 conftest.c >&5
  1753. +configure:15132: $? = 0
  1754. +configure:15132: ./conftest
  1755. +configure:15132: $? = 0
  1756. +configure:15147: result: 4
  1757. +configure:15161: checking size of double
  1758. +configure:15166: gcc -o conftest -g -O2 conftest.c >&5
  1759. +configure:15166: $? = 0
  1760. +configure:15166: ./conftest
  1761. +configure:15166: $? = 0
  1762. +configure:15181: result: 8
  1763. +configure:15227: checking for working alloca.h
  1764. +configure:15244: gcc -o conftest -g -O2 conftest.c >&5
  1765. +configure:15244: $? = 0
  1766. +configure:15252: result: yes
  1767. +configure:15260: checking for alloca
  1768. +configure:15297: gcc -o conftest -g -O2 conftest.c >&5
  1769. +configure:15297: $? = 0
  1770. +configure:15305: result: yes
  1771. +configure:15415: checking for ANSI C header files
  1772. +configure:15519: result: yes
  1773. +configure:15527: checking for an ANSI C-conforming const
  1774. +configure:15592: gcc -c -g -O2 conftest.c >&5
  1775. +configure:15592: $? = 0
  1776. +configure:15599: result: yes
  1777. +configure:15608: checking for properly working floating point implementation
  1778. +configure:15613: result: yes
  1779. +configure:15642: checking sys/termios.h usability
  1780. +configure:15642: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  1781. +configure:15642: $? = 0
  1782. +configure:15642: result: yes
  1783. +configure:15642: checking sys/termios.h presence
  1784. +configure:15642: gcc -E conftest.c
  1785. +configure:15642: $? = 0
  1786. +configure:15642: result: yes
  1787. +configure:15642: checking for sys/termios.h
  1788. +configure:15642: result: yes
  1789. +configure:15642: checking sys/select.h usability
  1790. +configure:15642: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  1791. +configure:15642: $? = 0
  1792. +configure:15642: result: yes
  1793. +configure:15642: checking sys/select.h presence
  1794. +configure:15642: gcc -E conftest.c
  1795. +configure:15642: $? = 0
  1796. +configure:15642: result: yes
  1797. +configure:15642: checking for sys/select.h
  1798. +configure:15642: result: yes
  1799. +configure:15642: checking sys/time.h usability
  1800. +configure:15642: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  1801. +configure:15642: $? = 0
  1802. +configure:15642: result: yes
  1803. +configure:15642: checking sys/time.h presence
  1804. +configure:15642: gcc -E conftest.c
  1805. +configure:15642: $? = 0
  1806. +configure:15642: result: yes
  1807. +configure:15642: checking for sys/time.h
  1808. +configure:15642: result: yes
  1809. +configure:15642: checking sys/modem.h usability
  1810. +configure:15642: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  1811. +conftest.c:69:23: error: sys/modem.h: No such file or directory
  1812. +configure:15642: $? = 1
  1813. +configure: failed program was:
  1814. +| /* confdefs.h */
  1815. +| #define PACKAGE_NAME ""
  1816. +| #define PACKAGE_TARNAME ""
  1817. +| #define PACKAGE_VERSION ""
  1818. +| #define PACKAGE_STRING ""
  1819. +| #define PACKAGE_BUGREPORT ""
  1820. +| #define PACKAGE_URL ""
  1821. +| #define PACKAGE "gpsd"
  1822. +| #define VERSION "2.39"
  1823. +| #define STDC_HEADERS 1
  1824. +| #define HAVE_SYS_TYPES_H 1
  1825. +| #define HAVE_SYS_STAT_H 1
  1826. +| #define HAVE_STDLIB_H 1
  1827. +| #define HAVE_STRING_H 1
  1828. +| #define HAVE_MEMORY_H 1
  1829. +| #define HAVE_STRINGS_H 1
  1830. +| #define HAVE_INTTYPES_H 1
  1831. +| #define HAVE_STDINT_H 1
  1832. +| #define HAVE_UNISTD_H 1
  1833. +| #define HAVE_DLFCN_H 1
  1834. +| #define LT_OBJDIR ".libs/"
  1835. +| #define SIZEOF_CHAR 1
  1836. +| #define SIZEOF_SHORT 2
  1837. +| #define SIZEOF_INT 4
  1838. +| #define SIZEOF_LONG 4
  1839. +| #define SIZEOF_LONG_LONG 8
  1840. +| #define SIZEOF_FLOAT 4
  1841. +| #define SIZEOF_DOUBLE 8
  1842. +| #define HAVE_ALLOCA_H 1
  1843. +| #define HAVE_ALLOCA 1
  1844. +| #define STDC_HEADERS 1
  1845. +| #define HAVE_SYS_TERMIOS_H 1
  1846. +| #define HAVE_SYS_SELECT_H 1
  1847. +| #define HAVE_SYS_TIME_H 1
  1848. +| /* end confdefs.h. */
  1849. +| #include <stdio.h>
  1850. +| #ifdef HAVE_SYS_TYPES_H
  1851. +| # include <sys/types.h>
  1852. +| #endif
  1853. +| #ifdef HAVE_SYS_STAT_H
  1854. +| # include <sys/stat.h>
  1855. +| #endif
  1856. +| #ifdef STDC_HEADERS
  1857. +| # include <stdlib.h>
  1858. +| # include <stddef.h>
  1859. +| #else
  1860. +| # ifdef HAVE_STDLIB_H
  1861. +| # include <stdlib.h>
  1862. +| # endif
  1863. +| #endif
  1864. +| #ifdef HAVE_STRING_H
  1865. +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1866. +| # include <memory.h>
  1867. +| # endif
  1868. +| # include <string.h>
  1869. +| #endif
  1870. +| #ifdef HAVE_STRINGS_H
  1871. +| # include <strings.h>
  1872. +| #endif
  1873. +| #ifdef HAVE_INTTYPES_H
  1874. +| # include <inttypes.h>
  1875. +| #endif
  1876. +| #ifdef HAVE_STDINT_H
  1877. +| # include <stdint.h>
  1878. +| #endif
  1879. +| #ifdef HAVE_UNISTD_H
  1880. +| # include <unistd.h>
  1881. +| #endif
  1882. +| #include <sys/modem.h>
  1883. +configure:15642: result: no
  1884. +configure:15642: checking sys/modem.h presence
  1885. +configure:15642: gcc -E conftest.c
  1886. +conftest.c:36:23: error: sys/modem.h: No such file or directory
  1887. +configure:15642: $? = 1
  1888. +configure: failed program was:
  1889. +| /* confdefs.h */
  1890. +| #define PACKAGE_NAME ""
  1891. +| #define PACKAGE_TARNAME ""
  1892. +| #define PACKAGE_VERSION ""
  1893. +| #define PACKAGE_STRING ""
  1894. +| #define PACKAGE_BUGREPORT ""
  1895. +| #define PACKAGE_URL ""
  1896. +| #define PACKAGE "gpsd"
  1897. +| #define VERSION "2.39"
  1898. +| #define STDC_HEADERS 1
  1899. +| #define HAVE_SYS_TYPES_H 1
  1900. +| #define HAVE_SYS_STAT_H 1
  1901. +| #define HAVE_STDLIB_H 1
  1902. +| #define HAVE_STRING_H 1
  1903. +| #define HAVE_MEMORY_H 1
  1904. +| #define HAVE_STRINGS_H 1
  1905. +| #define HAVE_INTTYPES_H 1
  1906. +| #define HAVE_STDINT_H 1
  1907. +| #define HAVE_UNISTD_H 1
  1908. +| #define HAVE_DLFCN_H 1
  1909. +| #define LT_OBJDIR ".libs/"
  1910. +| #define SIZEOF_CHAR 1
  1911. +| #define SIZEOF_SHORT 2
  1912. +| #define SIZEOF_INT 4
  1913. +| #define SIZEOF_LONG 4
  1914. +| #define SIZEOF_LONG_LONG 8
  1915. +| #define SIZEOF_FLOAT 4
  1916. +| #define SIZEOF_DOUBLE 8
  1917. +| #define HAVE_ALLOCA_H 1
  1918. +| #define HAVE_ALLOCA 1
  1919. +| #define STDC_HEADERS 1
  1920. +| #define HAVE_SYS_TERMIOS_H 1
  1921. +| #define HAVE_SYS_SELECT_H 1
  1922. +| #define HAVE_SYS_TIME_H 1
  1923. +| /* end confdefs.h. */
  1924. +| #include <sys/modem.h>
  1925. +configure:15642: result: no
  1926. +configure:15642: checking for sys/modem.h
  1927. +configure:15642: result: no
  1928. +configure:15642: checking sys/ipc.h usability
  1929. +configure:15642: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  1930. +configure:15642: $? = 0
  1931. +configure:15642: result: yes
  1932. +configure:15642: checking sys/ipc.h presence
  1933. +configure:15642: gcc -E conftest.c
  1934. +configure:15642: $? = 0
  1935. +configure:15642: result: yes
  1936. +configure:15642: checking for sys/ipc.h
  1937. +configure:15642: result: yes
  1938. +configure:15642: checking sys/shm.h usability
  1939. +configure:15642: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  1940. +configure:15642: $? = 0
  1941. +configure:15642: result: yes
  1942. +configure:15642: checking sys/shm.h presence
  1943. +configure:15642: gcc -E conftest.c
  1944. +configure:15642: $? = 0
  1945. +configure:15642: result: yes
  1946. +configure:15642: checking for sys/shm.h
  1947. +configure:15642: result: yes
  1948. +configure:15642: checking sys/socket.h usability
  1949. +configure:15642: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  1950. +configure:15642: $? = 0
  1951. +configure:15642: result: yes
  1952. +configure:15642: checking sys/socket.h presence
  1953. +configure:15642: gcc -E conftest.c
  1954. +configure:15642: $? = 0
  1955. +configure:15642: result: yes
  1956. +configure:15642: checking for sys/socket.h
  1957. +configure:15642: result: yes
  1958. +configure:15656: checking arpa/inet.h usability
  1959. +configure:15656: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  1960. +configure:15656: $? = 0
  1961. +configure:15656: result: yes
  1962. +configure:15656: checking arpa/inet.h presence
  1963. +configure:15656: gcc -E conftest.c
  1964. +configure:15656: $? = 0
  1965. +configure:15656: result: yes
  1966. +configure:15656: checking for arpa/inet.h
  1967. +configure:15656: result: yes
  1968. +configure:15656: checking netinet/in_systm.h usability
  1969. +configure:15656: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  1970. +configure:15656: $? = 0
  1971. +configure:15656: result: yes
  1972. +configure:15656: checking netinet/in_systm.h presence
  1973. +configure:15656: gcc -E conftest.c
  1974. +configure:15656: $? = 0
  1975. +configure:15656: result: yes
  1976. +configure:15656: checking for netinet/in_systm.h
  1977. +configure:15656: result: yes
  1978. +configure:15656: checking netinet/in.h usability
  1979. +configure:15656: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  1980. +configure:15656: $? = 0
  1981. +configure:15656: result: yes
  1982. +configure:15656: checking netinet/in.h presence
  1983. +configure:15656: gcc -E conftest.c
  1984. +configure:15656: $? = 0
  1985. +configure:15656: result: yes
  1986. +configure:15656: checking for netinet/in.h
  1987. +configure:15656: result: yes
  1988. +configure:15656: checking netinet/tcp.h usability
  1989. +configure:15656: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  1990. +configure:15656: $? = 0
  1991. +configure:15656: result: yes
  1992. +configure:15656: checking netinet/tcp.h presence
  1993. +configure:15656: gcc -E conftest.c
  1994. +configure:15656: $? = 0
  1995. +configure:15656: result: yes
  1996. +configure:15656: checking for netinet/tcp.h
  1997. +configure:15656: result: yes
  1998. +configure:15669: checking for netinet/ip.h
  1999. +configure:15669: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2000. +conftest.c:44:10: error: #include expects "FILENAME" or <FILENAME>
  2001. +configure:15669: $? = 1
  2002. +configure: failed program was:
  2003. +| /* confdefs.h */
  2004. +| #define PACKAGE_NAME ""
  2005. +| #define PACKAGE_TARNAME ""
  2006. +| #define PACKAGE_VERSION ""
  2007. +| #define PACKAGE_STRING ""
  2008. +| #define PACKAGE_BUGREPORT ""
  2009. +| #define PACKAGE_URL ""
  2010. +| #define PACKAGE "gpsd"
  2011. +| #define VERSION "2.39"
  2012. +| #define STDC_HEADERS 1
  2013. +| #define HAVE_SYS_TYPES_H 1
  2014. +| #define HAVE_SYS_STAT_H 1
  2015. +| #define HAVE_STDLIB_H 1
  2016. +| #define HAVE_STRING_H 1
  2017. +| #define HAVE_MEMORY_H 1
  2018. +| #define HAVE_STRINGS_H 1
  2019. +| #define HAVE_INTTYPES_H 1
  2020. +| #define HAVE_STDINT_H 1
  2021. +| #define HAVE_UNISTD_H 1
  2022. +| #define HAVE_DLFCN_H 1
  2023. +| #define LT_OBJDIR ".libs/"
  2024. +| #define SIZEOF_CHAR 1
  2025. +| #define SIZEOF_SHORT 2
  2026. +| #define SIZEOF_INT 4
  2027. +| #define SIZEOF_LONG 4
  2028. +| #define SIZEOF_LONG_LONG 8
  2029. +| #define SIZEOF_FLOAT 4
  2030. +| #define SIZEOF_DOUBLE 8
  2031. +| #define HAVE_ALLOCA_H 1
  2032. +| #define HAVE_ALLOCA 1
  2033. +| #define STDC_HEADERS 1
  2034. +| #define HAVE_SYS_TERMIOS_H 1
  2035. +| #define HAVE_SYS_SELECT_H 1
  2036. +| #define HAVE_SYS_TIME_H 1
  2037. +| #define HAVE_SYS_IPC_H 1
  2038. +| #define HAVE_SYS_SHM_H 1
  2039. +| #define HAVE_SYS_SOCKET_H 1
  2040. +| #define HAVE_ARPA_INET_H 1
  2041. +| #define HAVE_NETINET_IN_SYSTM_H 1
  2042. +| #define HAVE_NETINET_IN_H 1
  2043. +| #define HAVE_NETINET_TCP_H 1
  2044. +| /* end confdefs.h. */
  2045. +| #if HAVE_NETINET_IN_SYSTM_H && HAVE_NETINET_IN_H
  2046. +| #include netinet/ip.h
  2047. +| #endif
  2048. +|
  2049. +|
  2050. +| #include <netinet/ip.h>
  2051. +configure:15669: result: no
  2052. +configure:15686: checking termios.h usability
  2053. +configure:15686: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2054. +configure:15686: $? = 0
  2055. +configure:15686: result: yes
  2056. +configure:15686: checking termios.h presence
  2057. +configure:15686: gcc -E conftest.c
  2058. +configure:15686: $? = 0
  2059. +configure:15686: result: yes
  2060. +configure:15686: checking for termios.h
  2061. +configure:15686: result: yes
  2062. +configure:15686: checking for strings.h
  2063. +configure:15686: result: yes
  2064. +configure:15686: checking getopt.h usability
  2065. +configure:15686: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2066. +configure:15686: $? = 0
  2067. +configure:15686: result: yes
  2068. +configure:15686: checking getopt.h presence
  2069. +configure:15686: gcc -E conftest.c
  2070. +configure:15686: $? = 0
  2071. +configure:15686: result: yes
  2072. +configure:15686: checking for getopt.h
  2073. +configure:15686: result: yes
  2074. +configure:15686: checking netdb.h usability
  2075. +configure:15686: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2076. +configure:15686: $? = 0
  2077. +configure:15686: result: yes
  2078. +configure:15686: checking netdb.h presence
  2079. +configure:15686: gcc -E conftest.c
  2080. +configure:15686: $? = 0
  2081. +configure:15686: result: yes
  2082. +configure:15686: checking for netdb.h
  2083. +configure:15686: result: yes
  2084. +configure:15700: checking for round
  2085. +configure:15700: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2086. +conftest.c:70: warning: function declaration isn't a prototype
  2087. +conftest.c:70: warning: conflicting types for built-in function 'round'
  2088. +conftest.c:80: warning: function declaration isn't a prototype
  2089. +/tmp/cc78TMSB.o: In function `main':
  2090. +/home/wbx/openadk/gpsd-2.39/conftest.c:81: undefined reference to `round'
  2091. +collect2: ld returned 1 exit status
  2092. +configure:15700: $? = 1
  2093. +configure: failed program was:
  2094. +| /* confdefs.h */
  2095. +| #define PACKAGE_NAME ""
  2096. +| #define PACKAGE_TARNAME ""
  2097. +| #define PACKAGE_VERSION ""
  2098. +| #define PACKAGE_STRING ""
  2099. +| #define PACKAGE_BUGREPORT ""
  2100. +| #define PACKAGE_URL ""
  2101. +| #define PACKAGE "gpsd"
  2102. +| #define VERSION "2.39"
  2103. +| #define STDC_HEADERS 1
  2104. +| #define HAVE_SYS_TYPES_H 1
  2105. +| #define HAVE_SYS_STAT_H 1
  2106. +| #define HAVE_STDLIB_H 1
  2107. +| #define HAVE_STRING_H 1
  2108. +| #define HAVE_MEMORY_H 1
  2109. +| #define HAVE_STRINGS_H 1
  2110. +| #define HAVE_INTTYPES_H 1
  2111. +| #define HAVE_STDINT_H 1
  2112. +| #define HAVE_UNISTD_H 1
  2113. +| #define HAVE_DLFCN_H 1
  2114. +| #define LT_OBJDIR ".libs/"
  2115. +| #define SIZEOF_CHAR 1
  2116. +| #define SIZEOF_SHORT 2
  2117. +| #define SIZEOF_INT 4
  2118. +| #define SIZEOF_LONG 4
  2119. +| #define SIZEOF_LONG_LONG 8
  2120. +| #define SIZEOF_FLOAT 4
  2121. +| #define SIZEOF_DOUBLE 8
  2122. +| #define HAVE_ALLOCA_H 1
  2123. +| #define HAVE_ALLOCA 1
  2124. +| #define STDC_HEADERS 1
  2125. +| #define HAVE_SYS_TERMIOS_H 1
  2126. +| #define HAVE_SYS_SELECT_H 1
  2127. +| #define HAVE_SYS_TIME_H 1
  2128. +| #define HAVE_SYS_IPC_H 1
  2129. +| #define HAVE_SYS_SHM_H 1
  2130. +| #define HAVE_SYS_SOCKET_H 1
  2131. +| #define HAVE_ARPA_INET_H 1
  2132. +| #define HAVE_NETINET_IN_SYSTM_H 1
  2133. +| #define HAVE_NETINET_IN_H 1
  2134. +| #define HAVE_NETINET_TCP_H 1
  2135. +| #define HAVE_TERMIOS_H 1
  2136. +| #define HAVE_STRINGS_H 1
  2137. +| #define HAVE_GETOPT_H 1
  2138. +| #define HAVE_NETDB_H 1
  2139. +| /* end confdefs.h. */
  2140. +| /* Define round to an innocuous variant, in case <limits.h> declares round.
  2141. +| For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2142. +| #define round innocuous_round
  2143. +|
  2144. +| /* System header to define __stub macros and hopefully few prototypes,
  2145. +| which can conflict with char round (); below.
  2146. +| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2147. +| <limits.h> exists even on freestanding compilers. */
  2148. +|
  2149. +| #ifdef __STDC__
  2150. +| # include <limits.h>
  2151. +| #else
  2152. +| # include <assert.h>
  2153. +| #endif
  2154. +|
  2155. +| #undef round
  2156. +|
  2157. +| /* Override any GCC internal prototype to avoid an error.
  2158. +| Use char because int might match the return type of a GCC
  2159. +| builtin and then its argument prototype would still apply. */
  2160. +| #ifdef __cplusplus
  2161. +| extern "C"
  2162. +| #endif
  2163. +| char round ();
  2164. +| /* The GNU C library defines this for functions which it implements
  2165. +| to always fail with ENOSYS. Some functions are actually named
  2166. +| something starting with __ and the normal name is an alias. */
  2167. +| #if defined __stub_round || defined __stub___round
  2168. +| choke me
  2169. +| #endif
  2170. +|
  2171. +| int
  2172. +| main ()
  2173. +| {
  2174. +| return round ();
  2175. +| ;
  2176. +| return 0;
  2177. +| }
  2178. +configure:15700: result: no
  2179. +configure:15711: checking for strlcpy
  2180. +configure:15711: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2181. +conftest.c:70: warning: function declaration isn't a prototype
  2182. +conftest.c:80: warning: function declaration isn't a prototype
  2183. +/tmp/ccZ48PlN.o: In function `main':
  2184. +/home/wbx/openadk/gpsd-2.39/conftest.c:81: undefined reference to `strlcpy'
  2185. +collect2: ld returned 1 exit status
  2186. +configure:15711: $? = 1
  2187. +configure: failed program was:
  2188. +| /* confdefs.h */
  2189. +| #define PACKAGE_NAME ""
  2190. +| #define PACKAGE_TARNAME ""
  2191. +| #define PACKAGE_VERSION ""
  2192. +| #define PACKAGE_STRING ""
  2193. +| #define PACKAGE_BUGREPORT ""
  2194. +| #define PACKAGE_URL ""
  2195. +| #define PACKAGE "gpsd"
  2196. +| #define VERSION "2.39"
  2197. +| #define STDC_HEADERS 1
  2198. +| #define HAVE_SYS_TYPES_H 1
  2199. +| #define HAVE_SYS_STAT_H 1
  2200. +| #define HAVE_STDLIB_H 1
  2201. +| #define HAVE_STRING_H 1
  2202. +| #define HAVE_MEMORY_H 1
  2203. +| #define HAVE_STRINGS_H 1
  2204. +| #define HAVE_INTTYPES_H 1
  2205. +| #define HAVE_STDINT_H 1
  2206. +| #define HAVE_UNISTD_H 1
  2207. +| #define HAVE_DLFCN_H 1
  2208. +| #define LT_OBJDIR ".libs/"
  2209. +| #define SIZEOF_CHAR 1
  2210. +| #define SIZEOF_SHORT 2
  2211. +| #define SIZEOF_INT 4
  2212. +| #define SIZEOF_LONG 4
  2213. +| #define SIZEOF_LONG_LONG 8
  2214. +| #define SIZEOF_FLOAT 4
  2215. +| #define SIZEOF_DOUBLE 8
  2216. +| #define HAVE_ALLOCA_H 1
  2217. +| #define HAVE_ALLOCA 1
  2218. +| #define STDC_HEADERS 1
  2219. +| #define HAVE_SYS_TERMIOS_H 1
  2220. +| #define HAVE_SYS_SELECT_H 1
  2221. +| #define HAVE_SYS_TIME_H 1
  2222. +| #define HAVE_SYS_IPC_H 1
  2223. +| #define HAVE_SYS_SHM_H 1
  2224. +| #define HAVE_SYS_SOCKET_H 1
  2225. +| #define HAVE_ARPA_INET_H 1
  2226. +| #define HAVE_NETINET_IN_SYSTM_H 1
  2227. +| #define HAVE_NETINET_IN_H 1
  2228. +| #define HAVE_NETINET_TCP_H 1
  2229. +| #define HAVE_TERMIOS_H 1
  2230. +| #define HAVE_STRINGS_H 1
  2231. +| #define HAVE_GETOPT_H 1
  2232. +| #define HAVE_NETDB_H 1
  2233. +| /* end confdefs.h. */
  2234. +| /* Define strlcpy to an innocuous variant, in case <limits.h> declares strlcpy.
  2235. +| For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2236. +| #define strlcpy innocuous_strlcpy
  2237. +|
  2238. +| /* System header to define __stub macros and hopefully few prototypes,
  2239. +| which can conflict with char strlcpy (); below.
  2240. +| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2241. +| <limits.h> exists even on freestanding compilers. */
  2242. +|
  2243. +| #ifdef __STDC__
  2244. +| # include <limits.h>
  2245. +| #else
  2246. +| # include <assert.h>
  2247. +| #endif
  2248. +|
  2249. +| #undef strlcpy
  2250. +|
  2251. +| /* Override any GCC internal prototype to avoid an error.
  2252. +| Use char because int might match the return type of a GCC
  2253. +| builtin and then its argument prototype would still apply. */
  2254. +| #ifdef __cplusplus
  2255. +| extern "C"
  2256. +| #endif
  2257. +| char strlcpy ();
  2258. +| /* The GNU C library defines this for functions which it implements
  2259. +| to always fail with ENOSYS. Some functions are actually named
  2260. +| something starting with __ and the normal name is an alias. */
  2261. +| #if defined __stub_strlcpy || defined __stub___strlcpy
  2262. +| choke me
  2263. +| #endif
  2264. +|
  2265. +| int
  2266. +| main ()
  2267. +| {
  2268. +| return strlcpy ();
  2269. +| ;
  2270. +| return 0;
  2271. +| }
  2272. +configure:15711: result: no
  2273. +configure:15722: checking for strlcat
  2274. +configure:15722: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2275. +conftest.c:70: warning: function declaration isn't a prototype
  2276. +conftest.c:80: warning: function declaration isn't a prototype
  2277. +/tmp/cc4rVTOW.o: In function `main':
  2278. +/home/wbx/openadk/gpsd-2.39/conftest.c:81: undefined reference to `strlcat'
  2279. +collect2: ld returned 1 exit status
  2280. +configure:15722: $? = 1
  2281. +configure: failed program was:
  2282. +| /* confdefs.h */
  2283. +| #define PACKAGE_NAME ""
  2284. +| #define PACKAGE_TARNAME ""
  2285. +| #define PACKAGE_VERSION ""
  2286. +| #define PACKAGE_STRING ""
  2287. +| #define PACKAGE_BUGREPORT ""
  2288. +| #define PACKAGE_URL ""
  2289. +| #define PACKAGE "gpsd"
  2290. +| #define VERSION "2.39"
  2291. +| #define STDC_HEADERS 1
  2292. +| #define HAVE_SYS_TYPES_H 1
  2293. +| #define HAVE_SYS_STAT_H 1
  2294. +| #define HAVE_STDLIB_H 1
  2295. +| #define HAVE_STRING_H 1
  2296. +| #define HAVE_MEMORY_H 1
  2297. +| #define HAVE_STRINGS_H 1
  2298. +| #define HAVE_INTTYPES_H 1
  2299. +| #define HAVE_STDINT_H 1
  2300. +| #define HAVE_UNISTD_H 1
  2301. +| #define HAVE_DLFCN_H 1
  2302. +| #define LT_OBJDIR ".libs/"
  2303. +| #define SIZEOF_CHAR 1
  2304. +| #define SIZEOF_SHORT 2
  2305. +| #define SIZEOF_INT 4
  2306. +| #define SIZEOF_LONG 4
  2307. +| #define SIZEOF_LONG_LONG 8
  2308. +| #define SIZEOF_FLOAT 4
  2309. +| #define SIZEOF_DOUBLE 8
  2310. +| #define HAVE_ALLOCA_H 1
  2311. +| #define HAVE_ALLOCA 1
  2312. +| #define STDC_HEADERS 1
  2313. +| #define HAVE_SYS_TERMIOS_H 1
  2314. +| #define HAVE_SYS_SELECT_H 1
  2315. +| #define HAVE_SYS_TIME_H 1
  2316. +| #define HAVE_SYS_IPC_H 1
  2317. +| #define HAVE_SYS_SHM_H 1
  2318. +| #define HAVE_SYS_SOCKET_H 1
  2319. +| #define HAVE_ARPA_INET_H 1
  2320. +| #define HAVE_NETINET_IN_SYSTM_H 1
  2321. +| #define HAVE_NETINET_IN_H 1
  2322. +| #define HAVE_NETINET_TCP_H 1
  2323. +| #define HAVE_TERMIOS_H 1
  2324. +| #define HAVE_STRINGS_H 1
  2325. +| #define HAVE_GETOPT_H 1
  2326. +| #define HAVE_NETDB_H 1
  2327. +| /* end confdefs.h. */
  2328. +| /* Define strlcat to an innocuous variant, in case <limits.h> declares strlcat.
  2329. +| For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2330. +| #define strlcat innocuous_strlcat
  2331. +|
  2332. +| /* System header to define __stub macros and hopefully few prototypes,
  2333. +| which can conflict with char strlcat (); below.
  2334. +| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2335. +| <limits.h> exists even on freestanding compilers. */
  2336. +|
  2337. +| #ifdef __STDC__
  2338. +| # include <limits.h>
  2339. +| #else
  2340. +| # include <assert.h>
  2341. +| #endif
  2342. +|
  2343. +| #undef strlcat
  2344. +|
  2345. +| /* Override any GCC internal prototype to avoid an error.
  2346. +| Use char because int might match the return type of a GCC
  2347. +| builtin and then its argument prototype would still apply. */
  2348. +| #ifdef __cplusplus
  2349. +| extern "C"
  2350. +| #endif
  2351. +| char strlcat ();
  2352. +| /* The GNU C library defines this for functions which it implements
  2353. +| to always fail with ENOSYS. Some functions are actually named
  2354. +| something starting with __ and the normal name is an alias. */
  2355. +| #if defined __stub_strlcat || defined __stub___strlcat
  2356. +| choke me
  2357. +| #endif
  2358. +|
  2359. +| int
  2360. +| main ()
  2361. +| {
  2362. +| return strlcat ();
  2363. +| ;
  2364. +| return 0;
  2365. +| }
  2366. +configure:15722: result: no
  2367. +configure:15733: checking for strtonum
  2368. +configure:15733: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2369. +conftest.c:70: warning: function declaration isn't a prototype
  2370. +conftest.c:80: warning: function declaration isn't a prototype
  2371. +/tmp/ccusql25.o: In function `main':
  2372. +/home/wbx/openadk/gpsd-2.39/conftest.c:81: undefined reference to `strtonum'
  2373. +collect2: ld returned 1 exit status
  2374. +configure:15733: $? = 1
  2375. +configure: failed program was:
  2376. +| /* confdefs.h */
  2377. +| #define PACKAGE_NAME ""
  2378. +| #define PACKAGE_TARNAME ""
  2379. +| #define PACKAGE_VERSION ""
  2380. +| #define PACKAGE_STRING ""
  2381. +| #define PACKAGE_BUGREPORT ""
  2382. +| #define PACKAGE_URL ""
  2383. +| #define PACKAGE "gpsd"
  2384. +| #define VERSION "2.39"
  2385. +| #define STDC_HEADERS 1
  2386. +| #define HAVE_SYS_TYPES_H 1
  2387. +| #define HAVE_SYS_STAT_H 1
  2388. +| #define HAVE_STDLIB_H 1
  2389. +| #define HAVE_STRING_H 1
  2390. +| #define HAVE_MEMORY_H 1
  2391. +| #define HAVE_STRINGS_H 1
  2392. +| #define HAVE_INTTYPES_H 1
  2393. +| #define HAVE_STDINT_H 1
  2394. +| #define HAVE_UNISTD_H 1
  2395. +| #define HAVE_DLFCN_H 1
  2396. +| #define LT_OBJDIR ".libs/"
  2397. +| #define SIZEOF_CHAR 1
  2398. +| #define SIZEOF_SHORT 2
  2399. +| #define SIZEOF_INT 4
  2400. +| #define SIZEOF_LONG 4
  2401. +| #define SIZEOF_LONG_LONG 8
  2402. +| #define SIZEOF_FLOAT 4
  2403. +| #define SIZEOF_DOUBLE 8
  2404. +| #define HAVE_ALLOCA_H 1
  2405. +| #define HAVE_ALLOCA 1
  2406. +| #define STDC_HEADERS 1
  2407. +| #define HAVE_SYS_TERMIOS_H 1
  2408. +| #define HAVE_SYS_SELECT_H 1
  2409. +| #define HAVE_SYS_TIME_H 1
  2410. +| #define HAVE_SYS_IPC_H 1
  2411. +| #define HAVE_SYS_SHM_H 1
  2412. +| #define HAVE_SYS_SOCKET_H 1
  2413. +| #define HAVE_ARPA_INET_H 1
  2414. +| #define HAVE_NETINET_IN_SYSTM_H 1
  2415. +| #define HAVE_NETINET_IN_H 1
  2416. +| #define HAVE_NETINET_TCP_H 1
  2417. +| #define HAVE_TERMIOS_H 1
  2418. +| #define HAVE_STRINGS_H 1
  2419. +| #define HAVE_GETOPT_H 1
  2420. +| #define HAVE_NETDB_H 1
  2421. +| /* end confdefs.h. */
  2422. +| /* Define strtonum to an innocuous variant, in case <limits.h> declares strtonum.
  2423. +| For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2424. +| #define strtonum innocuous_strtonum
  2425. +|
  2426. +| /* System header to define __stub macros and hopefully few prototypes,
  2427. +| which can conflict with char strtonum (); below.
  2428. +| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2429. +| <limits.h> exists even on freestanding compilers. */
  2430. +|
  2431. +| #ifdef __STDC__
  2432. +| # include <limits.h>
  2433. +| #else
  2434. +| # include <assert.h>
  2435. +| #endif
  2436. +|
  2437. +| #undef strtonum
  2438. +|
  2439. +| /* Override any GCC internal prototype to avoid an error.
  2440. +| Use char because int might match the return type of a GCC
  2441. +| builtin and then its argument prototype would still apply. */
  2442. +| #ifdef __cplusplus
  2443. +| extern "C"
  2444. +| #endif
  2445. +| char strtonum ();
  2446. +| /* The GNU C library defines this for functions which it implements
  2447. +| to always fail with ENOSYS. Some functions are actually named
  2448. +| something starting with __ and the normal name is an alias. */
  2449. +| #if defined __stub_strtonum || defined __stub___strtonum
  2450. +| choke me
  2451. +| #endif
  2452. +|
  2453. +| int
  2454. +| main ()
  2455. +| {
  2456. +| return strtonum ();
  2457. +| ;
  2458. +| return 0;
  2459. +| }
  2460. +configure:15733: result: no
  2461. +configure:15744: checking for setlocale
  2462. +configure:15744: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2463. +conftest.c:70: warning: function declaration isn't a prototype
  2464. +conftest.c:80: warning: function declaration isn't a prototype
  2465. +configure:15744: $? = 0
  2466. +configure:15744: result: yes
  2467. +configure:15755: checking for vsnprintf
  2468. +configure:15755: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2469. +conftest.c:71: warning: function declaration isn't a prototype
  2470. +conftest.c:71: warning: conflicting types for built-in function 'vsnprintf'
  2471. +conftest.c:81: warning: function declaration isn't a prototype
  2472. +configure:15755: $? = 0
  2473. +configure:15755: result: yes
  2474. +configure:15765: checking whether time.h and sys/time.h may both be included
  2475. +configure:15785: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2476. +conftest.c:55: warning: function declaration isn't a prototype
  2477. +configure:15785: $? = 0
  2478. +configure:15792: result: yes
  2479. +configure:15800: checking whether struct tm is in sys/time.h or time.h
  2480. +configure:15820: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2481. +conftest.c:55: warning: function declaration isn't a prototype
  2482. +configure:15820: $? = 0
  2483. +configure:15827: result: time.h
  2484. +configure:15835: checking for struct tm.tm_zone
  2485. +configure:15835: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2486. +conftest.c:56: warning: function declaration isn't a prototype
  2487. +configure:15835: $? = 0
  2488. +configure:15835: result: yes
  2489. +configure:15903: checking for timezone variable
  2490. +configure:15923: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2491. +conftest.c:57: warning: function declaration isn't a prototype
  2492. +configure:15923: $? = 0
  2493. +configure:15930: result: yes
  2494. +configure:15976: checking for daylight external
  2495. +configure:15992: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2496. +conftest.c:56: warning: function declaration isn't a prototype
  2497. +configure:15992: $? = 0
  2498. +configure:16001: result: yes
  2499. +configure:16009: checking for gethostbyname in -lnsl
  2500. +configure:16034: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lnsl >&5
  2501. +conftest.c:61: warning: function declaration isn't a prototype
  2502. +conftest.c:64: warning: function declaration isn't a prototype
  2503. +configure:16034: $? = 0
  2504. +configure:16043: result: yes
  2505. +configure:16050: checking for socket in -lsocket
  2506. +configure:16075: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lsocket >&5
  2507. +conftest.c:61: warning: function declaration isn't a prototype
  2508. +conftest.c:64: warning: function declaration isn't a prototype
  2509. +/usr/bin/ld: cannot find -lsocket
  2510. +collect2: ld returned 1 exit status
  2511. +configure:16075: $? = 1
  2512. +configure: failed program was:
  2513. +| /* confdefs.h */
  2514. +| #define PACKAGE_NAME ""
  2515. +| #define PACKAGE_TARNAME ""
  2516. +| #define PACKAGE_VERSION ""
  2517. +| #define PACKAGE_STRING ""
  2518. +| #define PACKAGE_BUGREPORT ""
  2519. +| #define PACKAGE_URL ""
  2520. +| #define PACKAGE "gpsd"
  2521. +| #define VERSION "2.39"
  2522. +| #define STDC_HEADERS 1
  2523. +| #define HAVE_SYS_TYPES_H 1
  2524. +| #define HAVE_SYS_STAT_H 1
  2525. +| #define HAVE_STDLIB_H 1
  2526. +| #define HAVE_STRING_H 1
  2527. +| #define HAVE_MEMORY_H 1
  2528. +| #define HAVE_STRINGS_H 1
  2529. +| #define HAVE_INTTYPES_H 1
  2530. +| #define HAVE_STDINT_H 1
  2531. +| #define HAVE_UNISTD_H 1
  2532. +| #define HAVE_DLFCN_H 1
  2533. +| #define LT_OBJDIR ".libs/"
  2534. +| #define SIZEOF_CHAR 1
  2535. +| #define SIZEOF_SHORT 2
  2536. +| #define SIZEOF_INT 4
  2537. +| #define SIZEOF_LONG 4
  2538. +| #define SIZEOF_LONG_LONG 8
  2539. +| #define SIZEOF_FLOAT 4
  2540. +| #define SIZEOF_DOUBLE 8
  2541. +| #define HAVE_ALLOCA_H 1
  2542. +| #define HAVE_ALLOCA 1
  2543. +| #define STDC_HEADERS 1
  2544. +| #define HAVE_SYS_TERMIOS_H 1
  2545. +| #define HAVE_SYS_SELECT_H 1
  2546. +| #define HAVE_SYS_TIME_H 1
  2547. +| #define HAVE_SYS_IPC_H 1
  2548. +| #define HAVE_SYS_SHM_H 1
  2549. +| #define HAVE_SYS_SOCKET_H 1
  2550. +| #define HAVE_ARPA_INET_H 1
  2551. +| #define HAVE_NETINET_IN_SYSTM_H 1
  2552. +| #define HAVE_NETINET_IN_H 1
  2553. +| #define HAVE_NETINET_TCP_H 1
  2554. +| #define HAVE_TERMIOS_H 1
  2555. +| #define HAVE_STRINGS_H 1
  2556. +| #define HAVE_GETOPT_H 1
  2557. +| #define HAVE_NETDB_H 1
  2558. +| #define HAVE_SETLOCALE 1
  2559. +| #define HAVE_VSNPRINTF 1
  2560. +| #define TIME_WITH_SYS_TIME 1
  2561. +| #define HAVE_STRUCT_TM_TM_ZONE 1
  2562. +| #define HAVE_TM_ZONE 1
  2563. +| #define HAVE_TIMEZONE /**/
  2564. +| #define HAVE_DAYLIGHT 1
  2565. +| /* end confdefs.h. */
  2566. +|
  2567. +| /* Override any GCC internal prototype to avoid an error.
  2568. +| Use char because int might match the return type of a GCC
  2569. +| builtin and then its argument prototype would still apply. */
  2570. +| #ifdef __cplusplus
  2571. +| extern "C"
  2572. +| #endif
  2573. +| char socket ();
  2574. +| int
  2575. +| main ()
  2576. +| {
  2577. +| return socket ();
  2578. +| ;
  2579. +| return 0;
  2580. +| }
  2581. +configure:16084: result: no
  2582. +configure:16091: checking for rint in -lm
  2583. +configure:16116: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lm >&5
  2584. +conftest.c:61: warning: function declaration isn't a prototype
  2585. +conftest.c:61: warning: conflicting types for built-in function 'rint'
  2586. +conftest.c:64: warning: function declaration isn't a prototype
  2587. +configure:16116: $? = 0
  2588. +configure:16125: result: yes
  2589. +configure:16132: checking for open in -lc
  2590. +configure:16157: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lc >&5
  2591. +conftest.c:61: warning: function declaration isn't a prototype
  2592. +conftest.c:64: warning: function declaration isn't a prototype
  2593. +configure:16157: $? = 0
  2594. +configure:16166: result: yes
  2595. +configure:16173: checking for pthread_setcancelstate in -lpthread
  2596. +configure:16198: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lpthread >&5
  2597. +conftest.c:61: warning: function declaration isn't a prototype
  2598. +conftest.c:64: warning: function declaration isn't a prototype
  2599. +configure:16198: $? = 0
  2600. +configure:16207: result: yes
  2601. +configure:16226: checking X11/xpm.h usability
  2602. +configure:16226: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2603. +conftest.c:88:21: error: X11/xpm.h: No such file or directory
  2604. +configure:16226: $? = 1
  2605. +configure: failed program was:
  2606. +| /* confdefs.h */
  2607. +| #define PACKAGE_NAME ""
  2608. +| #define PACKAGE_TARNAME ""
  2609. +| #define PACKAGE_VERSION ""
  2610. +| #define PACKAGE_STRING ""
  2611. +| #define PACKAGE_BUGREPORT ""
  2612. +| #define PACKAGE_URL ""
  2613. +| #define PACKAGE "gpsd"
  2614. +| #define VERSION "2.39"
  2615. +| #define STDC_HEADERS 1
  2616. +| #define HAVE_SYS_TYPES_H 1
  2617. +| #define HAVE_SYS_STAT_H 1
  2618. +| #define HAVE_STDLIB_H 1
  2619. +| #define HAVE_STRING_H 1
  2620. +| #define HAVE_MEMORY_H 1
  2621. +| #define HAVE_STRINGS_H 1
  2622. +| #define HAVE_INTTYPES_H 1
  2623. +| #define HAVE_STDINT_H 1
  2624. +| #define HAVE_UNISTD_H 1
  2625. +| #define HAVE_DLFCN_H 1
  2626. +| #define LT_OBJDIR ".libs/"
  2627. +| #define SIZEOF_CHAR 1
  2628. +| #define SIZEOF_SHORT 2
  2629. +| #define SIZEOF_INT 4
  2630. +| #define SIZEOF_LONG 4
  2631. +| #define SIZEOF_LONG_LONG 8
  2632. +| #define SIZEOF_FLOAT 4
  2633. +| #define SIZEOF_DOUBLE 8
  2634. +| #define HAVE_ALLOCA_H 1
  2635. +| #define HAVE_ALLOCA 1
  2636. +| #define STDC_HEADERS 1
  2637. +| #define HAVE_SYS_TERMIOS_H 1
  2638. +| #define HAVE_SYS_SELECT_H 1
  2639. +| #define HAVE_SYS_TIME_H 1
  2640. +| #define HAVE_SYS_IPC_H 1
  2641. +| #define HAVE_SYS_SHM_H 1
  2642. +| #define HAVE_SYS_SOCKET_H 1
  2643. +| #define HAVE_ARPA_INET_H 1
  2644. +| #define HAVE_NETINET_IN_SYSTM_H 1
  2645. +| #define HAVE_NETINET_IN_H 1
  2646. +| #define HAVE_NETINET_TCP_H 1
  2647. +| #define HAVE_TERMIOS_H 1
  2648. +| #define HAVE_STRINGS_H 1
  2649. +| #define HAVE_GETOPT_H 1
  2650. +| #define HAVE_NETDB_H 1
  2651. +| #define HAVE_SETLOCALE 1
  2652. +| #define HAVE_VSNPRINTF 1
  2653. +| #define TIME_WITH_SYS_TIME 1
  2654. +| #define HAVE_STRUCT_TM_TM_ZONE 1
  2655. +| #define HAVE_TM_ZONE 1
  2656. +| #define HAVE_TIMEZONE /**/
  2657. +| #define HAVE_DAYLIGHT 1
  2658. +| #define HAVE_LIBPTHREAD /**/
  2659. +| /* end confdefs.h. */
  2660. +| #include <stdio.h>
  2661. +| #ifdef HAVE_SYS_TYPES_H
  2662. +| # include <sys/types.h>
  2663. +| #endif
  2664. +| #ifdef HAVE_SYS_STAT_H
  2665. +| # include <sys/stat.h>
  2666. +| #endif
  2667. +| #ifdef STDC_HEADERS
  2668. +| # include <stdlib.h>
  2669. +| # include <stddef.h>
  2670. +| #else
  2671. +| # ifdef HAVE_STDLIB_H
  2672. +| # include <stdlib.h>
  2673. +| # endif
  2674. +| #endif
  2675. +| #ifdef HAVE_STRING_H
  2676. +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2677. +| # include <memory.h>
  2678. +| # endif
  2679. +| # include <string.h>
  2680. +| #endif
  2681. +| #ifdef HAVE_STRINGS_H
  2682. +| # include <strings.h>
  2683. +| #endif
  2684. +| #ifdef HAVE_INTTYPES_H
  2685. +| # include <inttypes.h>
  2686. +| #endif
  2687. +| #ifdef HAVE_STDINT_H
  2688. +| # include <stdint.h>
  2689. +| #endif
  2690. +| #ifdef HAVE_UNISTD_H
  2691. +| # include <unistd.h>
  2692. +| #endif
  2693. +| #include <X11/xpm.h>
  2694. +configure:16226: result: no
  2695. +configure:16226: checking X11/xpm.h presence
  2696. +configure:16226: gcc -E conftest.c
  2697. +conftest.c:55:21: error: X11/xpm.h: No such file or directory
  2698. +configure:16226: $? = 1
  2699. +configure: failed program was:
  2700. +| /* confdefs.h */
  2701. +| #define PACKAGE_NAME ""
  2702. +| #define PACKAGE_TARNAME ""
  2703. +| #define PACKAGE_VERSION ""
  2704. +| #define PACKAGE_STRING ""
  2705. +| #define PACKAGE_BUGREPORT ""
  2706. +| #define PACKAGE_URL ""
  2707. +| #define PACKAGE "gpsd"
  2708. +| #define VERSION "2.39"
  2709. +| #define STDC_HEADERS 1
  2710. +| #define HAVE_SYS_TYPES_H 1
  2711. +| #define HAVE_SYS_STAT_H 1
  2712. +| #define HAVE_STDLIB_H 1
  2713. +| #define HAVE_STRING_H 1
  2714. +| #define HAVE_MEMORY_H 1
  2715. +| #define HAVE_STRINGS_H 1
  2716. +| #define HAVE_INTTYPES_H 1
  2717. +| #define HAVE_STDINT_H 1
  2718. +| #define HAVE_UNISTD_H 1
  2719. +| #define HAVE_DLFCN_H 1
  2720. +| #define LT_OBJDIR ".libs/"
  2721. +| #define SIZEOF_CHAR 1
  2722. +| #define SIZEOF_SHORT 2
  2723. +| #define SIZEOF_INT 4
  2724. +| #define SIZEOF_LONG 4
  2725. +| #define SIZEOF_LONG_LONG 8
  2726. +| #define SIZEOF_FLOAT 4
  2727. +| #define SIZEOF_DOUBLE 8
  2728. +| #define HAVE_ALLOCA_H 1
  2729. +| #define HAVE_ALLOCA 1
  2730. +| #define STDC_HEADERS 1
  2731. +| #define HAVE_SYS_TERMIOS_H 1
  2732. +| #define HAVE_SYS_SELECT_H 1
  2733. +| #define HAVE_SYS_TIME_H 1
  2734. +| #define HAVE_SYS_IPC_H 1
  2735. +| #define HAVE_SYS_SHM_H 1
  2736. +| #define HAVE_SYS_SOCKET_H 1
  2737. +| #define HAVE_ARPA_INET_H 1
  2738. +| #define HAVE_NETINET_IN_SYSTM_H 1
  2739. +| #define HAVE_NETINET_IN_H 1
  2740. +| #define HAVE_NETINET_TCP_H 1
  2741. +| #define HAVE_TERMIOS_H 1
  2742. +| #define HAVE_STRINGS_H 1
  2743. +| #define HAVE_GETOPT_H 1
  2744. +| #define HAVE_NETDB_H 1
  2745. +| #define HAVE_SETLOCALE 1
  2746. +| #define HAVE_VSNPRINTF 1
  2747. +| #define TIME_WITH_SYS_TIME 1
  2748. +| #define HAVE_STRUCT_TM_TM_ZONE 1
  2749. +| #define HAVE_TM_ZONE 1
  2750. +| #define HAVE_TIMEZONE /**/
  2751. +| #define HAVE_DAYLIGHT 1
  2752. +| #define HAVE_LIBPTHREAD /**/
  2753. +| /* end confdefs.h. */
  2754. +| #include <X11/xpm.h>
  2755. +configure:16226: result: no
  2756. +configure:16226: checking for X11/xpm.h
  2757. +configure:16226: result: no
  2758. +configure:16226: checking xpm.h usability
  2759. +configure:16226: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2760. +conftest.c:88:17: error: xpm.h: No such file or directory
  2761. +configure:16226: $? = 1
  2762. +configure: failed program was:
  2763. +| /* confdefs.h */
  2764. +| #define PACKAGE_NAME ""
  2765. +| #define PACKAGE_TARNAME ""
  2766. +| #define PACKAGE_VERSION ""
  2767. +| #define PACKAGE_STRING ""
  2768. +| #define PACKAGE_BUGREPORT ""
  2769. +| #define PACKAGE_URL ""
  2770. +| #define PACKAGE "gpsd"
  2771. +| #define VERSION "2.39"
  2772. +| #define STDC_HEADERS 1
  2773. +| #define HAVE_SYS_TYPES_H 1
  2774. +| #define HAVE_SYS_STAT_H 1
  2775. +| #define HAVE_STDLIB_H 1
  2776. +| #define HAVE_STRING_H 1
  2777. +| #define HAVE_MEMORY_H 1
  2778. +| #define HAVE_STRINGS_H 1
  2779. +| #define HAVE_INTTYPES_H 1
  2780. +| #define HAVE_STDINT_H 1
  2781. +| #define HAVE_UNISTD_H 1
  2782. +| #define HAVE_DLFCN_H 1
  2783. +| #define LT_OBJDIR ".libs/"
  2784. +| #define SIZEOF_CHAR 1
  2785. +| #define SIZEOF_SHORT 2
  2786. +| #define SIZEOF_INT 4
  2787. +| #define SIZEOF_LONG 4
  2788. +| #define SIZEOF_LONG_LONG 8
  2789. +| #define SIZEOF_FLOAT 4
  2790. +| #define SIZEOF_DOUBLE 8
  2791. +| #define HAVE_ALLOCA_H 1
  2792. +| #define HAVE_ALLOCA 1
  2793. +| #define STDC_HEADERS 1
  2794. +| #define HAVE_SYS_TERMIOS_H 1
  2795. +| #define HAVE_SYS_SELECT_H 1
  2796. +| #define HAVE_SYS_TIME_H 1
  2797. +| #define HAVE_SYS_IPC_H 1
  2798. +| #define HAVE_SYS_SHM_H 1
  2799. +| #define HAVE_SYS_SOCKET_H 1
  2800. +| #define HAVE_ARPA_INET_H 1
  2801. +| #define HAVE_NETINET_IN_SYSTM_H 1
  2802. +| #define HAVE_NETINET_IN_H 1
  2803. +| #define HAVE_NETINET_TCP_H 1
  2804. +| #define HAVE_TERMIOS_H 1
  2805. +| #define HAVE_STRINGS_H 1
  2806. +| #define HAVE_GETOPT_H 1
  2807. +| #define HAVE_NETDB_H 1
  2808. +| #define HAVE_SETLOCALE 1
  2809. +| #define HAVE_VSNPRINTF 1
  2810. +| #define TIME_WITH_SYS_TIME 1
  2811. +| #define HAVE_STRUCT_TM_TM_ZONE 1
  2812. +| #define HAVE_TM_ZONE 1
  2813. +| #define HAVE_TIMEZONE /**/
  2814. +| #define HAVE_DAYLIGHT 1
  2815. +| #define HAVE_LIBPTHREAD /**/
  2816. +| /* end confdefs.h. */
  2817. +| #include <stdio.h>
  2818. +| #ifdef HAVE_SYS_TYPES_H
  2819. +| # include <sys/types.h>
  2820. +| #endif
  2821. +| #ifdef HAVE_SYS_STAT_H
  2822. +| # include <sys/stat.h>
  2823. +| #endif
  2824. +| #ifdef STDC_HEADERS
  2825. +| # include <stdlib.h>
  2826. +| # include <stddef.h>
  2827. +| #else
  2828. +| # ifdef HAVE_STDLIB_H
  2829. +| # include <stdlib.h>
  2830. +| # endif
  2831. +| #endif
  2832. +| #ifdef HAVE_STRING_H
  2833. +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2834. +| # include <memory.h>
  2835. +| # endif
  2836. +| # include <string.h>
  2837. +| #endif
  2838. +| #ifdef HAVE_STRINGS_H
  2839. +| # include <strings.h>
  2840. +| #endif
  2841. +| #ifdef HAVE_INTTYPES_H
  2842. +| # include <inttypes.h>
  2843. +| #endif
  2844. +| #ifdef HAVE_STDINT_H
  2845. +| # include <stdint.h>
  2846. +| #endif
  2847. +| #ifdef HAVE_UNISTD_H
  2848. +| # include <unistd.h>
  2849. +| #endif
  2850. +| #include <xpm.h>
  2851. +configure:16226: result: no
  2852. +configure:16226: checking xpm.h presence
  2853. +configure:16226: gcc -E conftest.c
  2854. +conftest.c:55:17: error: xpm.h: No such file or directory
  2855. +configure:16226: $? = 1
  2856. +configure: failed program was:
  2857. +| /* confdefs.h */
  2858. +| #define PACKAGE_NAME ""
  2859. +| #define PACKAGE_TARNAME ""
  2860. +| #define PACKAGE_VERSION ""
  2861. +| #define PACKAGE_STRING ""
  2862. +| #define PACKAGE_BUGREPORT ""
  2863. +| #define PACKAGE_URL ""
  2864. +| #define PACKAGE "gpsd"
  2865. +| #define VERSION "2.39"
  2866. +| #define STDC_HEADERS 1
  2867. +| #define HAVE_SYS_TYPES_H 1
  2868. +| #define HAVE_SYS_STAT_H 1
  2869. +| #define HAVE_STDLIB_H 1
  2870. +| #define HAVE_STRING_H 1
  2871. +| #define HAVE_MEMORY_H 1
  2872. +| #define HAVE_STRINGS_H 1
  2873. +| #define HAVE_INTTYPES_H 1
  2874. +| #define HAVE_STDINT_H 1
  2875. +| #define HAVE_UNISTD_H 1
  2876. +| #define HAVE_DLFCN_H 1
  2877. +| #define LT_OBJDIR ".libs/"
  2878. +| #define SIZEOF_CHAR 1
  2879. +| #define SIZEOF_SHORT 2
  2880. +| #define SIZEOF_INT 4
  2881. +| #define SIZEOF_LONG 4
  2882. +| #define SIZEOF_LONG_LONG 8
  2883. +| #define SIZEOF_FLOAT 4
  2884. +| #define SIZEOF_DOUBLE 8
  2885. +| #define HAVE_ALLOCA_H 1
  2886. +| #define HAVE_ALLOCA 1
  2887. +| #define STDC_HEADERS 1
  2888. +| #define HAVE_SYS_TERMIOS_H 1
  2889. +| #define HAVE_SYS_SELECT_H 1
  2890. +| #define HAVE_SYS_TIME_H 1
  2891. +| #define HAVE_SYS_IPC_H 1
  2892. +| #define HAVE_SYS_SHM_H 1
  2893. +| #define HAVE_SYS_SOCKET_H 1
  2894. +| #define HAVE_ARPA_INET_H 1
  2895. +| #define HAVE_NETINET_IN_SYSTM_H 1
  2896. +| #define HAVE_NETINET_IN_H 1
  2897. +| #define HAVE_NETINET_TCP_H 1
  2898. +| #define HAVE_TERMIOS_H 1
  2899. +| #define HAVE_STRINGS_H 1
  2900. +| #define HAVE_GETOPT_H 1
  2901. +| #define HAVE_NETDB_H 1
  2902. +| #define HAVE_SETLOCALE 1
  2903. +| #define HAVE_VSNPRINTF 1
  2904. +| #define TIME_WITH_SYS_TIME 1
  2905. +| #define HAVE_STRUCT_TM_TM_ZONE 1
  2906. +| #define HAVE_TM_ZONE 1
  2907. +| #define HAVE_TIMEZONE /**/
  2908. +| #define HAVE_DAYLIGHT 1
  2909. +| #define HAVE_LIBPTHREAD /**/
  2910. +| /* end confdefs.h. */
  2911. +| #include <xpm.h>
  2912. +configure:16226: result: no
  2913. +configure:16226: checking for xpm.h
  2914. +configure:16226: result: no
  2915. +configure:16239: WARNING: xpm.h problem - xgps won't be built.
  2916. +configure:16242: checking for X
  2917. +configure:16350: gcc -E conftest.c
  2918. +configure:16350: $? = 0
  2919. +configure:16381: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lX11 >&5
  2920. +conftest.c:58: warning: function declaration isn't a prototype
  2921. +configure:16381: $? = 0
  2922. +configure:16431: result: libraries , headers
  2923. +configure:16530: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lX11 >&5
  2924. +conftest.c:62: warning: function declaration isn't a prototype
  2925. +conftest.c:65: warning: function declaration isn't a prototype
  2926. +configure:16530: $? = 0
  2927. +configure:16628: checking for gethostbyname
  2928. +configure:16628: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2929. +conftest.c:78: warning: function declaration isn't a prototype
  2930. +conftest.c:88: warning: function declaration isn't a prototype
  2931. +configure:16628: $? = 0
  2932. +configure:16628: result: yes
  2933. +configure:16725: checking for connect
  2934. +configure:16725: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2935. +conftest.c:78: warning: function declaration isn't a prototype
  2936. +conftest.c:88: warning: function declaration isn't a prototype
  2937. +configure:16725: $? = 0
  2938. +configure:16725: result: yes
  2939. +configure:16774: checking for remove
  2940. +configure:16774: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2941. +conftest.c:78: warning: function declaration isn't a prototype
  2942. +conftest.c:88: warning: function declaration isn't a prototype
  2943. +configure:16774: $? = 0
  2944. +configure:16774: result: yes
  2945. +configure:16823: checking for shmat
  2946. +configure:16823: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2947. +conftest.c:78: warning: function declaration isn't a prototype
  2948. +conftest.c:88: warning: function declaration isn't a prototype
  2949. +configure:16823: $? = 0
  2950. +configure:16823: result: yes
  2951. +configure:16881: checking for IceConnectionNumber in -lICE
  2952. +configure:16906: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lICE >&5
  2953. +conftest.c:62: warning: function declaration isn't a prototype
  2954. +conftest.c:65: warning: function declaration isn't a prototype
  2955. +configure:16906: $? = 0
  2956. +configure:16915: result: yes
  2957. +configure:16937: checking for XtToolkitInitialize in -lXt
  2958. +configure:16962: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lXt -lSM -lICE >&5
  2959. +conftest.c:62: warning: function declaration isn't a prototype
  2960. +conftest.c:65: warning: function declaration isn't a prototype
  2961. +configure:16962: $? = 0
  2962. +configure:16971: result: yes
  2963. +configure:16982: checking X11/Xaw/Label.h usability
  2964. +configure:16982: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  2965. +conftest.c:88:27: error: X11/Xaw/Label.h: No such file or directory
  2966. +configure:16982: $? = 1
  2967. +configure: failed program was:
  2968. +| /* confdefs.h */
  2969. +| #define PACKAGE_NAME ""
  2970. +| #define PACKAGE_TARNAME ""
  2971. +| #define PACKAGE_VERSION ""
  2972. +| #define PACKAGE_STRING ""
  2973. +| #define PACKAGE_BUGREPORT ""
  2974. +| #define PACKAGE_URL ""
  2975. +| #define PACKAGE "gpsd"
  2976. +| #define VERSION "2.39"
  2977. +| #define STDC_HEADERS 1
  2978. +| #define HAVE_SYS_TYPES_H 1
  2979. +| #define HAVE_SYS_STAT_H 1
  2980. +| #define HAVE_STDLIB_H 1
  2981. +| #define HAVE_STRING_H 1
  2982. +| #define HAVE_MEMORY_H 1
  2983. +| #define HAVE_STRINGS_H 1
  2984. +| #define HAVE_INTTYPES_H 1
  2985. +| #define HAVE_STDINT_H 1
  2986. +| #define HAVE_UNISTD_H 1
  2987. +| #define HAVE_DLFCN_H 1
  2988. +| #define LT_OBJDIR ".libs/"
  2989. +| #define SIZEOF_CHAR 1
  2990. +| #define SIZEOF_SHORT 2
  2991. +| #define SIZEOF_INT 4
  2992. +| #define SIZEOF_LONG 4
  2993. +| #define SIZEOF_LONG_LONG 8
  2994. +| #define SIZEOF_FLOAT 4
  2995. +| #define SIZEOF_DOUBLE 8
  2996. +| #define HAVE_ALLOCA_H 1
  2997. +| #define HAVE_ALLOCA 1
  2998. +| #define STDC_HEADERS 1
  2999. +| #define HAVE_SYS_TERMIOS_H 1
  3000. +| #define HAVE_SYS_SELECT_H 1
  3001. +| #define HAVE_SYS_TIME_H 1
  3002. +| #define HAVE_SYS_IPC_H 1
  3003. +| #define HAVE_SYS_SHM_H 1
  3004. +| #define HAVE_SYS_SOCKET_H 1
  3005. +| #define HAVE_ARPA_INET_H 1
  3006. +| #define HAVE_NETINET_IN_SYSTM_H 1
  3007. +| #define HAVE_NETINET_IN_H 1
  3008. +| #define HAVE_NETINET_TCP_H 1
  3009. +| #define HAVE_TERMIOS_H 1
  3010. +| #define HAVE_STRINGS_H 1
  3011. +| #define HAVE_GETOPT_H 1
  3012. +| #define HAVE_NETDB_H 1
  3013. +| #define HAVE_SETLOCALE 1
  3014. +| #define HAVE_VSNPRINTF 1
  3015. +| #define TIME_WITH_SYS_TIME 1
  3016. +| #define HAVE_STRUCT_TM_TM_ZONE 1
  3017. +| #define HAVE_TM_ZONE 1
  3018. +| #define HAVE_TIMEZONE /**/
  3019. +| #define HAVE_DAYLIGHT 1
  3020. +| #define HAVE_LIBPTHREAD /**/
  3021. +| /* end confdefs.h. */
  3022. +| #include <stdio.h>
  3023. +| #ifdef HAVE_SYS_TYPES_H
  3024. +| # include <sys/types.h>
  3025. +| #endif
  3026. +| #ifdef HAVE_SYS_STAT_H
  3027. +| # include <sys/stat.h>
  3028. +| #endif
  3029. +| #ifdef STDC_HEADERS
  3030. +| # include <stdlib.h>
  3031. +| # include <stddef.h>
  3032. +| #else
  3033. +| # ifdef HAVE_STDLIB_H
  3034. +| # include <stdlib.h>
  3035. +| # endif
  3036. +| #endif
  3037. +| #ifdef HAVE_STRING_H
  3038. +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  3039. +| # include <memory.h>
  3040. +| # endif
  3041. +| # include <string.h>
  3042. +| #endif
  3043. +| #ifdef HAVE_STRINGS_H
  3044. +| # include <strings.h>
  3045. +| #endif
  3046. +| #ifdef HAVE_INTTYPES_H
  3047. +| # include <inttypes.h>
  3048. +| #endif
  3049. +| #ifdef HAVE_STDINT_H
  3050. +| # include <stdint.h>
  3051. +| #endif
  3052. +| #ifdef HAVE_UNISTD_H
  3053. +| # include <unistd.h>
  3054. +| #endif
  3055. +| #include <X11/Xaw/Label.h>
  3056. +configure:16982: result: no
  3057. +configure:16982: checking X11/Xaw/Label.h presence
  3058. +configure:16982: gcc -E conftest.c
  3059. +conftest.c:55:27: error: X11/Xaw/Label.h: No such file or directory
  3060. +configure:16982: $? = 1
  3061. +configure: failed program was:
  3062. +| /* confdefs.h */
  3063. +| #define PACKAGE_NAME ""
  3064. +| #define PACKAGE_TARNAME ""
  3065. +| #define PACKAGE_VERSION ""
  3066. +| #define PACKAGE_STRING ""
  3067. +| #define PACKAGE_BUGREPORT ""
  3068. +| #define PACKAGE_URL ""
  3069. +| #define PACKAGE "gpsd"
  3070. +| #define VERSION "2.39"
  3071. +| #define STDC_HEADERS 1
  3072. +| #define HAVE_SYS_TYPES_H 1
  3073. +| #define HAVE_SYS_STAT_H 1
  3074. +| #define HAVE_STDLIB_H 1
  3075. +| #define HAVE_STRING_H 1
  3076. +| #define HAVE_MEMORY_H 1
  3077. +| #define HAVE_STRINGS_H 1
  3078. +| #define HAVE_INTTYPES_H 1
  3079. +| #define HAVE_STDINT_H 1
  3080. +| #define HAVE_UNISTD_H 1
  3081. +| #define HAVE_DLFCN_H 1
  3082. +| #define LT_OBJDIR ".libs/"
  3083. +| #define SIZEOF_CHAR 1
  3084. +| #define SIZEOF_SHORT 2
  3085. +| #define SIZEOF_INT 4
  3086. +| #define SIZEOF_LONG 4
  3087. +| #define SIZEOF_LONG_LONG 8
  3088. +| #define SIZEOF_FLOAT 4
  3089. +| #define SIZEOF_DOUBLE 8
  3090. +| #define HAVE_ALLOCA_H 1
  3091. +| #define HAVE_ALLOCA 1
  3092. +| #define STDC_HEADERS 1
  3093. +| #define HAVE_SYS_TERMIOS_H 1
  3094. +| #define HAVE_SYS_SELECT_H 1
  3095. +| #define HAVE_SYS_TIME_H 1
  3096. +| #define HAVE_SYS_IPC_H 1
  3097. +| #define HAVE_SYS_SHM_H 1
  3098. +| #define HAVE_SYS_SOCKET_H 1
  3099. +| #define HAVE_ARPA_INET_H 1
  3100. +| #define HAVE_NETINET_IN_SYSTM_H 1
  3101. +| #define HAVE_NETINET_IN_H 1
  3102. +| #define HAVE_NETINET_TCP_H 1
  3103. +| #define HAVE_TERMIOS_H 1
  3104. +| #define HAVE_STRINGS_H 1
  3105. +| #define HAVE_GETOPT_H 1
  3106. +| #define HAVE_NETDB_H 1
  3107. +| #define HAVE_SETLOCALE 1
  3108. +| #define HAVE_VSNPRINTF 1
  3109. +| #define TIME_WITH_SYS_TIME 1
  3110. +| #define HAVE_STRUCT_TM_TM_ZONE 1
  3111. +| #define HAVE_TM_ZONE 1
  3112. +| #define HAVE_TIMEZONE /**/
  3113. +| #define HAVE_DAYLIGHT 1
  3114. +| #define HAVE_LIBPTHREAD /**/
  3115. +| /* end confdefs.h. */
  3116. +| #include <X11/Xaw/Label.h>
  3117. +configure:16982: result: no
  3118. +configure:16982: checking for X11/Xaw/Label.h
  3119. +configure:16982: result: no
  3120. +configure:16990: checking for XawInitializeWidgetSet in -lXaw8
  3121. +configure:17015: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lXaw8 -lSM -lICE >&5
  3122. +conftest.c:62: warning: function declaration isn't a prototype
  3123. +conftest.c:65: warning: function declaration isn't a prototype
  3124. +/usr/bin/ld: cannot find -lXaw8
  3125. +collect2: ld returned 1 exit status
  3126. +configure:17015: $? = 1
  3127. +configure: failed program was:
  3128. +| /* confdefs.h */
  3129. +| #define PACKAGE_NAME ""
  3130. +| #define PACKAGE_TARNAME ""
  3131. +| #define PACKAGE_VERSION ""
  3132. +| #define PACKAGE_STRING ""
  3133. +| #define PACKAGE_BUGREPORT ""
  3134. +| #define PACKAGE_URL ""
  3135. +| #define PACKAGE "gpsd"
  3136. +| #define VERSION "2.39"
  3137. +| #define STDC_HEADERS 1
  3138. +| #define HAVE_SYS_TYPES_H 1
  3139. +| #define HAVE_SYS_STAT_H 1
  3140. +| #define HAVE_STDLIB_H 1
  3141. +| #define HAVE_STRING_H 1
  3142. +| #define HAVE_MEMORY_H 1
  3143. +| #define HAVE_STRINGS_H 1
  3144. +| #define HAVE_INTTYPES_H 1
  3145. +| #define HAVE_STDINT_H 1
  3146. +| #define HAVE_UNISTD_H 1
  3147. +| #define HAVE_DLFCN_H 1
  3148. +| #define LT_OBJDIR ".libs/"
  3149. +| #define SIZEOF_CHAR 1
  3150. +| #define SIZEOF_SHORT 2
  3151. +| #define SIZEOF_INT 4
  3152. +| #define SIZEOF_LONG 4
  3153. +| #define SIZEOF_LONG_LONG 8
  3154. +| #define SIZEOF_FLOAT 4
  3155. +| #define SIZEOF_DOUBLE 8
  3156. +| #define HAVE_ALLOCA_H 1
  3157. +| #define HAVE_ALLOCA 1
  3158. +| #define STDC_HEADERS 1
  3159. +| #define HAVE_SYS_TERMIOS_H 1
  3160. +| #define HAVE_SYS_SELECT_H 1
  3161. +| #define HAVE_SYS_TIME_H 1
  3162. +| #define HAVE_SYS_IPC_H 1
  3163. +| #define HAVE_SYS_SHM_H 1
  3164. +| #define HAVE_SYS_SOCKET_H 1
  3165. +| #define HAVE_ARPA_INET_H 1
  3166. +| #define HAVE_NETINET_IN_SYSTM_H 1
  3167. +| #define HAVE_NETINET_IN_H 1
  3168. +| #define HAVE_NETINET_TCP_H 1
  3169. +| #define HAVE_TERMIOS_H 1
  3170. +| #define HAVE_STRINGS_H 1
  3171. +| #define HAVE_GETOPT_H 1
  3172. +| #define HAVE_NETDB_H 1
  3173. +| #define HAVE_SETLOCALE 1
  3174. +| #define HAVE_VSNPRINTF 1
  3175. +| #define TIME_WITH_SYS_TIME 1
  3176. +| #define HAVE_STRUCT_TM_TM_ZONE 1
  3177. +| #define HAVE_TM_ZONE 1
  3178. +| #define HAVE_TIMEZONE /**/
  3179. +| #define HAVE_DAYLIGHT 1
  3180. +| #define HAVE_LIBPTHREAD /**/
  3181. +| /* end confdefs.h. */
  3182. +|
  3183. +| /* Override any GCC internal prototype to avoid an error.
  3184. +| Use char because int might match the return type of a GCC
  3185. +| builtin and then its argument prototype would still apply. */
  3186. +| #ifdef __cplusplus
  3187. +| extern "C"
  3188. +| #endif
  3189. +| char XawInitializeWidgetSet ();
  3190. +| int
  3191. +| main ()
  3192. +| {
  3193. +| return XawInitializeWidgetSet ();
  3194. +| ;
  3195. +| return 0;
  3196. +| }
  3197. +configure:17024: result: no
  3198. +configure:17029: checking for XawInitializeWidgetSet in -lXaw7
  3199. +configure:17054: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lXaw7 -lSM -lICE >&5
  3200. +conftest.c:62: warning: function declaration isn't a prototype
  3201. +conftest.c:65: warning: function declaration isn't a prototype
  3202. +/usr/bin/ld: cannot find -lXaw7
  3203. +collect2: ld returned 1 exit status
  3204. +configure:17054: $? = 1
  3205. +configure: failed program was:
  3206. +| /* confdefs.h */
  3207. +| #define PACKAGE_NAME ""
  3208. +| #define PACKAGE_TARNAME ""
  3209. +| #define PACKAGE_VERSION ""
  3210. +| #define PACKAGE_STRING ""
  3211. +| #define PACKAGE_BUGREPORT ""
  3212. +| #define PACKAGE_URL ""
  3213. +| #define PACKAGE "gpsd"
  3214. +| #define VERSION "2.39"
  3215. +| #define STDC_HEADERS 1
  3216. +| #define HAVE_SYS_TYPES_H 1
  3217. +| #define HAVE_SYS_STAT_H 1
  3218. +| #define HAVE_STDLIB_H 1
  3219. +| #define HAVE_STRING_H 1
  3220. +| #define HAVE_MEMORY_H 1
  3221. +| #define HAVE_STRINGS_H 1
  3222. +| #define HAVE_INTTYPES_H 1
  3223. +| #define HAVE_STDINT_H 1
  3224. +| #define HAVE_UNISTD_H 1
  3225. +| #define HAVE_DLFCN_H 1
  3226. +| #define LT_OBJDIR ".libs/"
  3227. +| #define SIZEOF_CHAR 1
  3228. +| #define SIZEOF_SHORT 2
  3229. +| #define SIZEOF_INT 4
  3230. +| #define SIZEOF_LONG 4
  3231. +| #define SIZEOF_LONG_LONG 8
  3232. +| #define SIZEOF_FLOAT 4
  3233. +| #define SIZEOF_DOUBLE 8
  3234. +| #define HAVE_ALLOCA_H 1
  3235. +| #define HAVE_ALLOCA 1
  3236. +| #define STDC_HEADERS 1
  3237. +| #define HAVE_SYS_TERMIOS_H 1
  3238. +| #define HAVE_SYS_SELECT_H 1
  3239. +| #define HAVE_SYS_TIME_H 1
  3240. +| #define HAVE_SYS_IPC_H 1
  3241. +| #define HAVE_SYS_SHM_H 1
  3242. +| #define HAVE_SYS_SOCKET_H 1
  3243. +| #define HAVE_ARPA_INET_H 1
  3244. +| #define HAVE_NETINET_IN_SYSTM_H 1
  3245. +| #define HAVE_NETINET_IN_H 1
  3246. +| #define HAVE_NETINET_TCP_H 1
  3247. +| #define HAVE_TERMIOS_H 1
  3248. +| #define HAVE_STRINGS_H 1
  3249. +| #define HAVE_GETOPT_H 1
  3250. +| #define HAVE_NETDB_H 1
  3251. +| #define HAVE_SETLOCALE 1
  3252. +| #define HAVE_VSNPRINTF 1
  3253. +| #define TIME_WITH_SYS_TIME 1
  3254. +| #define HAVE_STRUCT_TM_TM_ZONE 1
  3255. +| #define HAVE_TM_ZONE 1
  3256. +| #define HAVE_TIMEZONE /**/
  3257. +| #define HAVE_DAYLIGHT 1
  3258. +| #define HAVE_LIBPTHREAD /**/
  3259. +| /* end confdefs.h. */
  3260. +|
  3261. +| /* Override any GCC internal prototype to avoid an error.
  3262. +| Use char because int might match the return type of a GCC
  3263. +| builtin and then its argument prototype would still apply. */
  3264. +| #ifdef __cplusplus
  3265. +| extern "C"
  3266. +| #endif
  3267. +| char XawInitializeWidgetSet ();
  3268. +| int
  3269. +| main ()
  3270. +| {
  3271. +| return XawInitializeWidgetSet ();
  3272. +| ;
  3273. +| return 0;
  3274. +| }
  3275. +configure:17063: result: no
  3276. +configure:17068: checking for XawInitializeWidgetSet in -lXaw
  3277. +configure:17093: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lXaw -lSM -lICE >&5
  3278. +conftest.c:62: warning: function declaration isn't a prototype
  3279. +conftest.c:65: warning: function declaration isn't a prototype
  3280. +/usr/bin/ld: cannot find -lXaw
  3281. +collect2: ld returned 1 exit status
  3282. +configure:17093: $? = 1
  3283. +configure: failed program was:
  3284. +| /* confdefs.h */
  3285. +| #define PACKAGE_NAME ""
  3286. +| #define PACKAGE_TARNAME ""
  3287. +| #define PACKAGE_VERSION ""
  3288. +| #define PACKAGE_STRING ""
  3289. +| #define PACKAGE_BUGREPORT ""
  3290. +| #define PACKAGE_URL ""
  3291. +| #define PACKAGE "gpsd"
  3292. +| #define VERSION "2.39"
  3293. +| #define STDC_HEADERS 1
  3294. +| #define HAVE_SYS_TYPES_H 1
  3295. +| #define HAVE_SYS_STAT_H 1
  3296. +| #define HAVE_STDLIB_H 1
  3297. +| #define HAVE_STRING_H 1
  3298. +| #define HAVE_MEMORY_H 1
  3299. +| #define HAVE_STRINGS_H 1
  3300. +| #define HAVE_INTTYPES_H 1
  3301. +| #define HAVE_STDINT_H 1
  3302. +| #define HAVE_UNISTD_H 1
  3303. +| #define HAVE_DLFCN_H 1
  3304. +| #define LT_OBJDIR ".libs/"
  3305. +| #define SIZEOF_CHAR 1
  3306. +| #define SIZEOF_SHORT 2
  3307. +| #define SIZEOF_INT 4
  3308. +| #define SIZEOF_LONG 4
  3309. +| #define SIZEOF_LONG_LONG 8
  3310. +| #define SIZEOF_FLOAT 4
  3311. +| #define SIZEOF_DOUBLE 8
  3312. +| #define HAVE_ALLOCA_H 1
  3313. +| #define HAVE_ALLOCA 1
  3314. +| #define STDC_HEADERS 1
  3315. +| #define HAVE_SYS_TERMIOS_H 1
  3316. +| #define HAVE_SYS_SELECT_H 1
  3317. +| #define HAVE_SYS_TIME_H 1
  3318. +| #define HAVE_SYS_IPC_H 1
  3319. +| #define HAVE_SYS_SHM_H 1
  3320. +| #define HAVE_SYS_SOCKET_H 1
  3321. +| #define HAVE_ARPA_INET_H 1
  3322. +| #define HAVE_NETINET_IN_SYSTM_H 1
  3323. +| #define HAVE_NETINET_IN_H 1
  3324. +| #define HAVE_NETINET_TCP_H 1
  3325. +| #define HAVE_TERMIOS_H 1
  3326. +| #define HAVE_STRINGS_H 1
  3327. +| #define HAVE_GETOPT_H 1
  3328. +| #define HAVE_NETDB_H 1
  3329. +| #define HAVE_SETLOCALE 1
  3330. +| #define HAVE_VSNPRINTF 1
  3331. +| #define TIME_WITH_SYS_TIME 1
  3332. +| #define HAVE_STRUCT_TM_TM_ZONE 1
  3333. +| #define HAVE_TM_ZONE 1
  3334. +| #define HAVE_TIMEZONE /**/
  3335. +| #define HAVE_DAYLIGHT 1
  3336. +| #define HAVE_LIBPTHREAD /**/
  3337. +| /* end confdefs.h. */
  3338. +|
  3339. +| /* Override any GCC internal prototype to avoid an error.
  3340. +| Use char because int might match the return type of a GCC
  3341. +| builtin and then its argument prototype would still apply. */
  3342. +| #ifdef __cplusplus
  3343. +| extern "C"
  3344. +| #endif
  3345. +| char XawInitializeWidgetSet ();
  3346. +| int
  3347. +| main ()
  3348. +| {
  3349. +| return XawInitializeWidgetSet ();
  3350. +| ;
  3351. +| return 0;
  3352. +| }
  3353. +configure:17102: result: no
  3354. +configure:17114: WARNING: libXaw problem - xgpsspeed won't be built.
  3355. +configure:17134: checking for XShapeQueryVersion in -lXext
  3356. +configure:17159: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lXext -lSM -lICE >&5
  3357. +conftest.c:62: warning: function declaration isn't a prototype
  3358. +conftest.c:65: warning: function declaration isn't a prototype
  3359. +configure:17159: $? = 0
  3360. +configure:17168: result: yes
  3361. +configure:17179: checking for XpmCreatePixmapFromXpmImage in -lXpm
  3362. +configure:17204: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lXpm -lSM -lICE >&5
  3363. +conftest.c:62: warning: function declaration isn't a prototype
  3364. +conftest.c:65: warning: function declaration isn't a prototype
  3365. +/usr/bin/ld: cannot find -lXpm
  3366. +collect2: ld returned 1 exit status
  3367. +configure:17204: $? = 1
  3368. +configure: failed program was:
  3369. +| /* confdefs.h */
  3370. +| #define PACKAGE_NAME ""
  3371. +| #define PACKAGE_TARNAME ""
  3372. +| #define PACKAGE_VERSION ""
  3373. +| #define PACKAGE_STRING ""
  3374. +| #define PACKAGE_BUGREPORT ""
  3375. +| #define PACKAGE_URL ""
  3376. +| #define PACKAGE "gpsd"
  3377. +| #define VERSION "2.39"
  3378. +| #define STDC_HEADERS 1
  3379. +| #define HAVE_SYS_TYPES_H 1
  3380. +| #define HAVE_SYS_STAT_H 1
  3381. +| #define HAVE_STDLIB_H 1
  3382. +| #define HAVE_STRING_H 1
  3383. +| #define HAVE_MEMORY_H 1
  3384. +| #define HAVE_STRINGS_H 1
  3385. +| #define HAVE_INTTYPES_H 1
  3386. +| #define HAVE_STDINT_H 1
  3387. +| #define HAVE_UNISTD_H 1
  3388. +| #define HAVE_DLFCN_H 1
  3389. +| #define LT_OBJDIR ".libs/"
  3390. +| #define SIZEOF_CHAR 1
  3391. +| #define SIZEOF_SHORT 2
  3392. +| #define SIZEOF_INT 4
  3393. +| #define SIZEOF_LONG 4
  3394. +| #define SIZEOF_LONG_LONG 8
  3395. +| #define SIZEOF_FLOAT 4
  3396. +| #define SIZEOF_DOUBLE 8
  3397. +| #define HAVE_ALLOCA_H 1
  3398. +| #define HAVE_ALLOCA 1
  3399. +| #define STDC_HEADERS 1
  3400. +| #define HAVE_SYS_TERMIOS_H 1
  3401. +| #define HAVE_SYS_SELECT_H 1
  3402. +| #define HAVE_SYS_TIME_H 1
  3403. +| #define HAVE_SYS_IPC_H 1
  3404. +| #define HAVE_SYS_SHM_H 1
  3405. +| #define HAVE_SYS_SOCKET_H 1
  3406. +| #define HAVE_ARPA_INET_H 1
  3407. +| #define HAVE_NETINET_IN_SYSTM_H 1
  3408. +| #define HAVE_NETINET_IN_H 1
  3409. +| #define HAVE_NETINET_TCP_H 1
  3410. +| #define HAVE_TERMIOS_H 1
  3411. +| #define HAVE_STRINGS_H 1
  3412. +| #define HAVE_GETOPT_H 1
  3413. +| #define HAVE_NETDB_H 1
  3414. +| #define HAVE_SETLOCALE 1
  3415. +| #define HAVE_VSNPRINTF 1
  3416. +| #define TIME_WITH_SYS_TIME 1
  3417. +| #define HAVE_STRUCT_TM_TM_ZONE 1
  3418. +| #define HAVE_TM_ZONE 1
  3419. +| #define HAVE_TIMEZONE /**/
  3420. +| #define HAVE_DAYLIGHT 1
  3421. +| #define HAVE_LIBPTHREAD /**/
  3422. +| /* end confdefs.h. */
  3423. +|
  3424. +| /* Override any GCC internal prototype to avoid an error.
  3425. +| Use char because int might match the return type of a GCC
  3426. +| builtin and then its argument prototype would still apply. */
  3427. +| #ifdef __cplusplus
  3428. +| extern "C"
  3429. +| #endif
  3430. +| char XpmCreatePixmapFromXpmImage ();
  3431. +| int
  3432. +| main ()
  3433. +| {
  3434. +| return XpmCreatePixmapFromXpmImage ();
  3435. +| ;
  3436. +| return 0;
  3437. +| }
  3438. +configure:17213: result: no
  3439. +configure:17224: WARNING: libXpm problem - xgps won't be built.
  3440. +configure:17353: checking ncurses.h usability
  3441. +configure:17353: gcc -c -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c >&5
  3442. +configure:17353: $? = 0
  3443. +configure:17353: result: yes
  3444. +configure:17353: checking ncurses.h presence
  3445. +configure:17353: gcc -E conftest.c
  3446. +configure:17353: $? = 0
  3447. +configure:17353: result: yes
  3448. +configure:17353: checking for ncurses.h
  3449. +configure:17353: result: yes
  3450. +configure:17363: checking for initscr in -lncurses
  3451. +configure:17388: gcc -o conftest -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE conftest.c -lncurses >&5
  3452. +conftest.c:63: warning: function declaration isn't a prototype
  3453. +conftest.c:66: warning: function declaration isn't a prototype
  3454. +configure:17388: $? = 0
  3455. +configure:17397: result: yes
  3456. +configure:17435: checking for NMEA support
  3457. +configure:17438: result: yes
  3458. +configure:17455: checking for SiRF support
  3459. +configure:17458: result: yes
  3460. +configure:17475: checking for SuperStarII support
  3461. +configure:17478: result: yes
  3462. +configure:17495: checking for Trimble TSIP support
  3463. +configure:17498: result: yes
  3464. +configure:17515: checking for FV-18 support
  3465. +configure:17519: result: yes
  3466. +configure:17539: checking for Tripmate support
  3467. +configure:17542: result: yes
  3468. +configure:17559: checking for EarthMate support
  3469. +configure:17562: result: yes
  3470. +configure:17579: checking for iTrax support
  3471. +configure:17582: result: yes
  3472. +configure:17599: checking for Ashtech support
  3473. +configure:17602: result: yes
  3474. +configure:17619: checking for Navcom support
  3475. +configure:17622: result: yes
  3476. +configure:17639: checking for Garmin support
  3477. +configure:17642: result: yes
  3478. +configure:17659: checking for Garmin Simple Text support
  3479. +configure:17668: result: no
  3480. +configure:17679: checking for True North support
  3481. +configure:17692: result: no
  3482. +configure:17703: checking for OceanServer support
  3483. +configure:17716: result: no
  3484. +configure:17727: checking for UBX support
  3485. +configure:17730: result: yes
  3486. +configure:17747: checking for EverMore support
  3487. +configure:17750: result: yes
  3488. +configure:17767: checking for MKT-3301 support
  3489. +configure:17771: result: yes
  3490. +configure:17791: checking for GPSClock support
  3491. +configure:17794: result: yes
  3492. +configure:17811: checking for rtcm104v2 support
  3493. +configure:17817: result: yes
  3494. +configure:17843: checking for rtcm104v3 support
  3495. +configure:17849: result: yes
  3496. +configure:17875: checking for NTRIP support
  3497. +configure:17878: result: yes
  3498. +configure:17904: checking for AIVDM support
  3499. +configure:17907: result: yes
  3500. +configure:17924: checking for profiling support
  3501. +configure:17933: result: no
  3502. +configure:17944: checking for NTP time hinting support
  3503. +configure:17947: result: yes
  3504. +configure:17964: checking for PPS time syncing support
  3505. +configure:17967: result: yes
  3506. +configure:17984: checking for PPS pulse on CTS rather than DCD
  3507. +configure:17993: result: no
  3508. +configure:18004: checking privilege revokation user
  3509. +configure:18015: result: nobody
  3510. +configure:18026: checking for fixed port speed
  3511. +configure:18038: result: no
  3512. +configure:18049: checking for DBUS support
  3513. +configure:18068: result: no
  3514. +configure:18079: checking for limited max clients
  3515. +configure:18091: result: no
  3516. +configure:18102: checking for max devices
  3517. +configure:18114: result: no
  3518. +configure:18125: checking if device reconfiguration is allowed
  3519. +configure:18128: result: yes
  3520. +configure:18145: checking if control sending is allowed
  3521. +configure:18148: result: yes
  3522. +configure:18174: checking for disabled logging
  3523. +configure:18183: result: no
  3524. +configure:18189: checking for xsltproc
  3525. +configure:18205: found /usr/bin/xsltproc
  3526. +configure:18217: result: yes
  3527. +configure:18229: checking whether xsltproc knows about docbook xsl
  3528. +configure:18249: result: yes
  3529. +configure:18565: creating ./config.status
  3530. +
  3531. +## ---------------------- ##
  3532. +## Running config.status. ##
  3533. +## ---------------------- ##
  3534. +
  3535. +This file was extended by config.status, which was
  3536. +generated by GNU Autoconf 2.65. Invocation command line was
  3537. +
  3538. + CONFIG_FILES =
  3539. + CONFIG_HEADERS =
  3540. + CONFIG_LINKS =
  3541. + CONFIG_COMMANDS =
  3542. + $ ./config.status
  3543. +
  3544. +on hydrogenium
  3545. +
  3546. +config.status:1229: creating Makefile
  3547. +config.status:1229: creating packaging/gpsd.spec
  3548. +config.status:1229: creating libgps.pc
  3549. +config.status:1229: creating libgpsd.pc
  3550. +config.status:1229: creating gpsd_config.h
  3551. +config.status:1449: executing depfiles commands
  3552. +config.status:1449: executing libtool commands
  3553. +
  3554. +## ---------------- ##
  3555. +## Cache variables. ##
  3556. +## ---------------- ##
  3557. +
  3558. +ac_cv_build=i686-pc-linux-gnu
  3559. +ac_cv_c_bigendian=no
  3560. +ac_cv_c_compiler_gnu=yes
  3561. +ac_cv_c_const=yes
  3562. +ac_cv_cxx_compiler_gnu=yes
  3563. +ac_cv_env_CCC_set=
  3564. +ac_cv_env_CCC_value=
  3565. +ac_cv_env_CC_set=
  3566. +ac_cv_env_CC_value=
  3567. +ac_cv_env_CFLAGS_set=
  3568. +ac_cv_env_CFLAGS_value=
  3569. +ac_cv_env_CPPFLAGS_set=
  3570. +ac_cv_env_CPPFLAGS_value=
  3571. +ac_cv_env_CPP_set=
  3572. +ac_cv_env_CPP_value=
  3573. +ac_cv_env_CXXCPP_set=
  3574. +ac_cv_env_CXXCPP_value=
  3575. +ac_cv_env_CXXFLAGS_set=
  3576. +ac_cv_env_CXXFLAGS_value=
  3577. +ac_cv_env_CXX_set=
  3578. +ac_cv_env_CXX_value=
  3579. +ac_cv_env_LDFLAGS_set=
  3580. +ac_cv_env_LDFLAGS_value=
  3581. +ac_cv_env_LIBS_set=
  3582. +ac_cv_env_LIBS_value=
  3583. +ac_cv_env_XMKMF_set=
  3584. +ac_cv_env_XMKMF_value=
  3585. +ac_cv_env_build_alias_set=
  3586. +ac_cv_env_build_alias_value=
  3587. +ac_cv_env_host_alias_set=
  3588. +ac_cv_env_host_alias_value=
  3589. +ac_cv_env_target_alias_set=
  3590. +ac_cv_env_target_alias_value=
  3591. +ac_cv_func_alloca_works=yes
  3592. +ac_cv_func_connect=yes
  3593. +ac_cv_func_gethostbyname=yes
  3594. +ac_cv_func_remove=yes
  3595. +ac_cv_func_round=no
  3596. +ac_cv_func_setlocale=yes
  3597. +ac_cv_func_shmat=yes
  3598. +ac_cv_func_strlcat=no
  3599. +ac_cv_func_strlcpy=no
  3600. +ac_cv_func_strtonum=no
  3601. +ac_cv_func_vsnprintf=yes
  3602. +ac_cv_have_x='have_x=yes ac_x_includes='\'''\'' ac_x_libraries='\'''\'''
  3603. +ac_cv_header_X11_Xaw_Label_h=no
  3604. +ac_cv_header_X11_xpm_h=no
  3605. +ac_cv_header_arpa_inet_h=yes
  3606. +ac_cv_header_dlfcn_h=yes
  3607. +ac_cv_header_getopt_h=yes
  3608. +ac_cv_header_inttypes_h=yes
  3609. +ac_cv_header_memory_h=yes
  3610. +ac_cv_header_ncurses_h=yes
  3611. +ac_cv_header_netdb_h=yes
  3612. +ac_cv_header_netinet_in_h=yes
  3613. +ac_cv_header_netinet_in_systm_h=yes
  3614. +ac_cv_header_netinet_ip_h=no
  3615. +ac_cv_header_netinet_tcp_h=yes
  3616. +ac_cv_header_stdc=yes
  3617. +ac_cv_header_stdint_h=yes
  3618. +ac_cv_header_stdlib_h=yes
  3619. +ac_cv_header_string_h=yes
  3620. +ac_cv_header_strings_h=yes
  3621. +ac_cv_header_sys_ipc_h=yes
  3622. +ac_cv_header_sys_modem_h=no
  3623. +ac_cv_header_sys_select_h=yes
  3624. +ac_cv_header_sys_shm_h=yes
  3625. +ac_cv_header_sys_socket_h=yes
  3626. +ac_cv_header_sys_stat_h=yes
  3627. +ac_cv_header_sys_termios_h=yes
  3628. +ac_cv_header_sys_time_h=yes
  3629. +ac_cv_header_sys_types_h=yes
  3630. +ac_cv_header_termios_h=yes
  3631. +ac_cv_header_time=yes
  3632. +ac_cv_header_unistd_h=yes
  3633. +ac_cv_header_xpm_h=no
  3634. +ac_cv_host=i686-pc-linux-gnu
  3635. +ac_cv_lib_ICE_IceConnectionNumber=yes
  3636. +ac_cv_lib_Xaw7_XawInitializeWidgetSet=no
  3637. +ac_cv_lib_Xaw8_XawInitializeWidgetSet=no
  3638. +ac_cv_lib_Xaw_XawInitializeWidgetSet=no
  3639. +ac_cv_lib_Xext_XShapeQueryVersion=yes
  3640. +ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage=no
  3641. +ac_cv_lib_Xt_XtToolkitInitialize=yes
  3642. +ac_cv_lib_c_open=yes
  3643. +ac_cv_lib_m_rint=yes
  3644. +ac_cv_lib_ncurses_initscr=yes
  3645. +ac_cv_lib_nsl_gethostbyname=yes
  3646. +ac_cv_lib_pthread_pthread_setcancelstate=yes
  3647. +ac_cv_lib_socket_socket=no
  3648. +ac_cv_member_struct_tm_tm_zone=yes
  3649. +ac_cv_objext=o
  3650. +ac_cv_path_EGREP='/bin/grep -E'
  3651. +ac_cv_path_FGREP='/bin/grep -F'
  3652. +ac_cv_path_GREP=/bin/grep
  3653. +ac_cv_path_SED=/bin/sed
  3654. +ac_cv_path_install='/usr/bin/install -c'
  3655. +ac_cv_path_mkdir=/bin/mkdir
  3656. +ac_cv_prog_AWK=gawk
  3657. +ac_cv_prog_CPP='gcc -E'
  3658. +ac_cv_prog_CXXCPP='g++ -E'
  3659. +ac_cv_prog_WITH_XSLTPROC=yes
  3660. +ac_cv_prog_ac_ct_AR=ar
  3661. +ac_cv_prog_ac_ct_CC=gcc
  3662. +ac_cv_prog_ac_ct_CXX=g++
  3663. +ac_cv_prog_ac_ct_OBJDUMP=objdump
  3664. +ac_cv_prog_ac_ct_RANLIB=ranlib
  3665. +ac_cv_prog_ac_ct_STRIP=strip
  3666. +ac_cv_prog_cc_c89=
  3667. +ac_cv_prog_cc_g=yes
  3668. +ac_cv_prog_cxx_g=yes
  3669. +ac_cv_prog_make_make_set=yes
  3670. +ac_cv_sizeof_char=1
  3671. +ac_cv_sizeof_double=8
  3672. +ac_cv_sizeof_float=4
  3673. +ac_cv_sizeof_int=4
  3674. +ac_cv_sizeof_long=4
  3675. +ac_cv_sizeof_long_long=8
  3676. +ac_cv_sizeof_short=2
  3677. +ac_cv_struct_tm=time.h
  3678. +ac_cv_var_timezone=yes
  3679. +ac_cv_working_alloca_h=yes
  3680. +am_cv_CC_dependencies_compiler_type=gcc3
  3681. +am_cv_CXX_dependencies_compiler_type=gcc3
  3682. +lt_cv_deplibs_check_method=pass_all
  3683. +lt_cv_file_magic_cmd='$MAGIC_CMD'
  3684. +lt_cv_file_magic_test_file=
  3685. +lt_cv_ld_reload_flag=-r
  3686. +lt_cv_nm_interface='BSD nm'
  3687. +lt_cv_objdir=.libs
  3688. +lt_cv_path_LD=/usr/bin/ld
  3689. +lt_cv_path_LDCXX=/usr/bin/ld
  3690. +lt_cv_path_NM='/usr/bin/nm -B'
  3691. +lt_cv_prog_compiler_c_o=yes
  3692. +lt_cv_prog_compiler_c_o_CXX=yes
  3693. +lt_cv_prog_compiler_pic_works=yes
  3694. +lt_cv_prog_compiler_pic_works_CXX=yes
  3695. +lt_cv_prog_compiler_rtti_exceptions=no
  3696. +lt_cv_prog_compiler_static_works=yes
  3697. +lt_cv_prog_compiler_static_works_CXX=yes
  3698. +lt_cv_prog_gnu_ld=yes
  3699. +lt_cv_prog_gnu_ldcxx=yes
  3700. +lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
  3701. +lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
  3702. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
  3703. +lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  3704. +lt_cv_sys_max_cmd_len=1572864
  3705. +mb_cv_var_daylight=yes
  3706. +
  3707. +## ----------------- ##
  3708. +## Output variables. ##
  3709. +## ----------------- ##
  3710. +
  3711. +ACLOCAL='${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run aclocal-1.11'
  3712. +ALLOCA=''
  3713. +AMDEPBACKSLASH='\'
  3714. +AMDEP_FALSE='#'
  3715. +AMDEP_TRUE=''
  3716. +AMTAR='${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run tar'
  3717. +AR='ar'
  3718. +AUTOCONF='${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run autoconf'
  3719. +AUTOHEADER='${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run autoheader'
  3720. +AUTOMAKE='${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run automake-1.11'
  3721. +AWK='gawk'
  3722. +CC='gcc'
  3723. +CCDEPMODE='depmode=gcc3'
  3724. +CFLAGS='-g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE '
  3725. +CPP='gcc -E'
  3726. +CPPFLAGS=' '
  3727. +CXX='g++'
  3728. +CXXCPP='g++ -E'
  3729. +CXXDEPMODE='depmode=gcc3'
  3730. +CXXFLAGS='-g -O2'
  3731. +CYGPATH_W='echo'
  3732. +DBUS_CFLAGS=''
  3733. +DBUS_GLIB_CFLAGS=''
  3734. +DBUS_GLIB_LIBS=''
  3735. +DBUS_LIBS=''
  3736. +DEFS='-DHAVE_CONFIG_H'
  3737. +DEPDIR='.deps'
  3738. +DSYMUTIL=''
  3739. +DUMPBIN=''
  3740. +ECHO_C=''
  3741. +ECHO_N='-n'
  3742. +ECHO_T=''
  3743. +EGREP='/bin/grep -E'
  3744. +EXEEXT=''
  3745. +FGREP='/bin/grep -F'
  3746. +GREP='/bin/grep'
  3747. +HAVE_DBUS_FALSE=''
  3748. +HAVE_DBUS_TRUE='#'
  3749. +HAVE_MOTIF_FALSE=''
  3750. +HAVE_MOTIF_TRUE='#'
  3751. +HAVE_NCURSES_FALSE='#'
  3752. +HAVE_NCURSES_TRUE=''
  3753. +HAVE_NTRIP_FALSE='#'
  3754. +HAVE_NTRIP_TRUE=''
  3755. +HAVE_RTCM104V2_FALSE='#'
  3756. +HAVE_RTCM104V2_TRUE=''
  3757. +HAVE_RTCM104V3_FALSE='#'
  3758. +HAVE_RTCM104V3_TRUE=''
  3759. +HAVE_XAW_FALSE=''
  3760. +HAVE_XAW_TRUE='#'
  3761. +HAVE_XSLT_PROCESSOR_FALSE='#'
  3762. +HAVE_XSLT_PROCESSOR_TRUE=''
  3763. +INSTALL_DATA='${INSTALL} -m 644'
  3764. +INSTALL_PROGRAM='${INSTALL}'
  3765. +INSTALL_SCRIPT='${INSTALL}'
  3766. +INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
  3767. +LD='/usr/bin/ld'
  3768. +LDFLAGS=' '
  3769. +LIBC='-lc'
  3770. +LIBM='-lm'
  3771. +LIBNSL='-lnsl'
  3772. +LIBOBJS=''
  3773. +LIBPTHREAD='-lpthread'
  3774. +LIBS=' '
  3775. +LIBSOCKET=''
  3776. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  3777. +LIPO=''
  3778. +LN_S='ln -s'
  3779. +LTLIBOBJS=''
  3780. +MAKEINFO='${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run makeinfo'
  3781. +MANFLAGS='--nonet'
  3782. +MANGENERATOR='xsltproc'
  3783. +MANTARGET='http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'
  3784. +MKDIR_P='/bin/mkdir -p'
  3785. +NCURSES_LIBS='-lncurses'
  3786. +NM='/usr/bin/nm -B'
  3787. +NMEDIT=''
  3788. +OBJDUMP='objdump'
  3789. +OBJEXT='o'
  3790. +OTOOL64=''
  3791. +OTOOL=''
  3792. +PACKAGE='gpsd'
  3793. +PACKAGE_BUGREPORT=''
  3794. +PACKAGE_NAME=''
  3795. +PACKAGE_STRING=''
  3796. +PACKAGE_TARNAME=''
  3797. +PACKAGE_URL=''
  3798. +PACKAGE_VERSION=''
  3799. +PATH_SEPARATOR=':'
  3800. +RANLIB='ranlib'
  3801. +SED='/bin/sed'
  3802. +SET_MAKE=''
  3803. +SHELL='/bin/bash'
  3804. +STRIP='strip'
  3805. +VERSION='2.39'
  3806. +WITH_XMLTO=''
  3807. +WITH_XSLTPROC='yes'
  3808. +X11_LIBS=''
  3809. +XAW_LIBS=''
  3810. +XEXT_LIBS='-lXext'
  3811. +XMKMF=''
  3812. +XM_LIBS=''
  3813. +XPM_LIBS=''
  3814. +XP_LIBS=''
  3815. +XT_LIBS='-lXt'
  3816. +X_CFLAGS=''
  3817. +X_EXTRA_LIBS=''
  3818. +X_LIBS=''
  3819. +X_PRE_LIBS=' -lSM -lICE'
  3820. +ac_ct_CC='gcc'
  3821. +ac_ct_CXX='g++'
  3822. +ac_ct_DUMPBIN=''
  3823. +am__EXEEXT_FALSE=''
  3824. +am__EXEEXT_TRUE='#'
  3825. +am__fastdepCC_FALSE='#'
  3826. +am__fastdepCC_TRUE=''
  3827. +am__fastdepCXX_FALSE='#'
  3828. +am__fastdepCXX_TRUE=''
  3829. +am__include='include'
  3830. +am__isrc=''
  3831. +am__leading_dot='.'
  3832. +am__quote=''
  3833. +am__tar='${AMTAR} chof - "$$tardir"'
  3834. +am__untar='${AMTAR} xf -'
  3835. +bindir='${exec_prefix}/bin'
  3836. +build='i686-pc-linux-gnu'
  3837. +build_alias=''
  3838. +build_cpu='i686'
  3839. +build_os='linux-gnu'
  3840. +build_vendor='pc'
  3841. +datadir='${datarootdir}'
  3842. +datarootdir='${prefix}/share'
  3843. +docdir='${datarootdir}/doc/${PACKAGE}'
  3844. +dvidir='${docdir}'
  3845. +exec_prefix='${prefix}'
  3846. +host='i686-pc-linux-gnu'
  3847. +host_alias=''
  3848. +host_cpu='i686'
  3849. +host_os='linux-gnu'
  3850. +host_vendor='pc'
  3851. +htmldir='${docdir}'
  3852. +includedir='${prefix}/include'
  3853. +infodir='${datarootdir}/info'
  3854. +install_sh='${SHELL} /home/wbx/openadk/gpsd-2.39/install-sh'
  3855. +libdir='${exec_prefix}/lib'
  3856. +libexecdir='${exec_prefix}/libexec'
  3857. +localedir='${datarootdir}/locale'
  3858. +localstatedir='${prefix}/var'
  3859. +lt_ECHO='echo'
  3860. +mandir='${datarootdir}/man'
  3861. +mkdir_p='/bin/mkdir -p'
  3862. +oldincludedir='/usr/include'
  3863. +pdfdir='${docdir}'
  3864. +prefix='/usr/local'
  3865. +program_transform_name='s,x,x,'
  3866. +psdir='${docdir}'
  3867. +sbindir='${exec_prefix}/sbin'
  3868. +sharedstatedir='${prefix}/com'
  3869. +sysconfdir='${prefix}/etc'
  3870. +target_alias=''
  3871. +
  3872. +## ----------- ##
  3873. +## confdefs.h. ##
  3874. +## ----------- ##
  3875. +
  3876. +/* confdefs.h */
  3877. +#define PACKAGE_NAME ""
  3878. +#define PACKAGE_TARNAME ""
  3879. +#define PACKAGE_VERSION ""
  3880. +#define PACKAGE_STRING ""
  3881. +#define PACKAGE_BUGREPORT ""
  3882. +#define PACKAGE_URL ""
  3883. +#define PACKAGE "gpsd"
  3884. +#define VERSION "2.39"
  3885. +#define STDC_HEADERS 1
  3886. +#define HAVE_SYS_TYPES_H 1
  3887. +#define HAVE_SYS_STAT_H 1
  3888. +#define HAVE_STDLIB_H 1
  3889. +#define HAVE_STRING_H 1
  3890. +#define HAVE_MEMORY_H 1
  3891. +#define HAVE_STRINGS_H 1
  3892. +#define HAVE_INTTYPES_H 1
  3893. +#define HAVE_STDINT_H 1
  3894. +#define HAVE_UNISTD_H 1
  3895. +#define HAVE_DLFCN_H 1
  3896. +#define LT_OBJDIR ".libs/"
  3897. +#define SIZEOF_CHAR 1
  3898. +#define SIZEOF_SHORT 2
  3899. +#define SIZEOF_INT 4
  3900. +#define SIZEOF_LONG 4
  3901. +#define SIZEOF_LONG_LONG 8
  3902. +#define SIZEOF_FLOAT 4
  3903. +#define SIZEOF_DOUBLE 8
  3904. +#define HAVE_ALLOCA_H 1
  3905. +#define HAVE_ALLOCA 1
  3906. +#define STDC_HEADERS 1
  3907. +#define HAVE_SYS_TERMIOS_H 1
  3908. +#define HAVE_SYS_SELECT_H 1
  3909. +#define HAVE_SYS_TIME_H 1
  3910. +#define HAVE_SYS_IPC_H 1
  3911. +#define HAVE_SYS_SHM_H 1
  3912. +#define HAVE_SYS_SOCKET_H 1
  3913. +#define HAVE_ARPA_INET_H 1
  3914. +#define HAVE_NETINET_IN_SYSTM_H 1
  3915. +#define HAVE_NETINET_IN_H 1
  3916. +#define HAVE_NETINET_TCP_H 1
  3917. +#define HAVE_TERMIOS_H 1
  3918. +#define HAVE_STRINGS_H 1
  3919. +#define HAVE_GETOPT_H 1
  3920. +#define HAVE_NETDB_H 1
  3921. +#define HAVE_SETLOCALE 1
  3922. +#define HAVE_VSNPRINTF 1
  3923. +#define TIME_WITH_SYS_TIME 1
  3924. +#define HAVE_STRUCT_TM_TM_ZONE 1
  3925. +#define HAVE_TM_ZONE 1
  3926. +#define HAVE_TIMEZONE /**/
  3927. +#define HAVE_DAYLIGHT 1
  3928. +#define HAVE_LIBPTHREAD /**/
  3929. +#define HAVE_NCURSES_H 1
  3930. +#define NMEA_ENABLE 1
  3931. +#define SIRF_ENABLE 1
  3932. +#define SUPERSTAR2_ENABLE 1
  3933. +#define TSIP_ENABLE 1
  3934. +#define FV18_ENABLE 1
  3935. +#define NMEA_ENABLE 1
  3936. +#define TRIPMATE_ENABLE 1
  3937. +#define EARTHMATE_ENABLE 1
  3938. +#define ITRAX_ENABLE 1
  3939. +#define ASHTECH_ENABLE 1
  3940. +#define NAVCOM_ENABLE 1
  3941. +#define GARMIN_ENABLE 1
  3942. +#define UBX_ENABLE 1
  3943. +#define EVERMORE_ENABLE 1
  3944. +#define MKT3301_ENABLE 1
  3945. +#define NMEA_ENABLE 1
  3946. +#define GPSCLOCK_ENABLE 1
  3947. +#define RTCM104V2_ENABLE 1
  3948. +#define RTCM104V3_ENABLE 1
  3949. +#define NTRIP_ENABLE 1
  3950. +#define AIVDM_ENABLE 1
  3951. +#define NTPSHM_ENABLE 1
  3952. +#define PPS_ENABLE 1
  3953. +#define ALLOW_RECONFIGURE 1
  3954. +#define ALLOW_CONTROLSEND 1
  3955. +
  3956. +configure: exit 0
  3957. diff -Nur gpsd-2.39.orig/config.status gpsd-2.39/config.status
  3958. --- gpsd-2.39.orig/config.status 1970-01-01 01:00:00.000000000 +0100
  3959. +++ gpsd-2.39/config.status 2010-02-18 21:44:18.568855580 +0100
  3960. @@ -0,0 +1,2358 @@
  3961. +#! /bin/bash
  3962. +# Generated by configure.
  3963. +# Run this file to recreate the current configuration.
  3964. +# Compiler output produced by configure, useful for debugging
  3965. +# configure, is in config.log if it exists.
  3966. +
  3967. +debug=false
  3968. +ac_cs_recheck=false
  3969. +ac_cs_silent=false
  3970. +
  3971. +SHELL=${CONFIG_SHELL-/bin/bash}
  3972. +export SHELL
  3973. +## -------------------- ##
  3974. +## M4sh Initialization. ##
  3975. +## -------------------- ##
  3976. +
  3977. +# Be more Bourne compatible
  3978. +DUALCASE=1; export DUALCASE # for MKS sh
  3979. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  3980. + emulate sh
  3981. + NULLCMD=:
  3982. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  3983. + # is contrary to our usage. Disable this feature.
  3984. + alias -g '${1+"$@"}'='"$@"'
  3985. + setopt NO_GLOB_SUBST
  3986. +else
  3987. + case `(set -o) 2>/dev/null` in #(
  3988. + *posix*) :
  3989. + set -o posix ;; #(
  3990. + *) :
  3991. + ;;
  3992. +esac
  3993. +fi
  3994. +
  3995. +
  3996. +as_nl='
  3997. +'
  3998. +export as_nl
  3999. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  4000. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  4001. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  4002. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  4003. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  4004. +# but without wasting forks for bash or zsh.
  4005. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  4006. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  4007. + as_echo='print -r --'
  4008. + as_echo_n='print -rn --'
  4009. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  4010. + as_echo='printf %s\n'
  4011. + as_echo_n='printf %s'
  4012. +else
  4013. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  4014. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  4015. + as_echo_n='/usr/ucb/echo -n'
  4016. + else
  4017. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  4018. + as_echo_n_body='eval
  4019. + arg=$1;
  4020. + case $arg in #(
  4021. + *"$as_nl"*)
  4022. + expr "X$arg" : "X\\(.*\\)$as_nl";
  4023. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  4024. + esac;
  4025. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  4026. + '
  4027. + export as_echo_n_body
  4028. + as_echo_n='sh -c $as_echo_n_body as_echo'
  4029. + fi
  4030. + export as_echo_body
  4031. + as_echo='sh -c $as_echo_body as_echo'
  4032. +fi
  4033. +
  4034. +# The user is always right.
  4035. +if test "${PATH_SEPARATOR+set}" != set; then
  4036. + PATH_SEPARATOR=:
  4037. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  4038. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  4039. + PATH_SEPARATOR=';'
  4040. + }
  4041. +fi
  4042. +
  4043. +
  4044. +# IFS
  4045. +# We need space, tab and new line, in precisely that order. Quoting is
  4046. +# there to prevent editors from complaining about space-tab.
  4047. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  4048. +# splitting by setting IFS to empty value.)
  4049. +IFS=" "" $as_nl"
  4050. +
  4051. +# Find who we are. Look in the path if we contain no directory separator.
  4052. +case $0 in #((
  4053. + *[\\/]* ) as_myself=$0 ;;
  4054. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4055. +for as_dir in $PATH
  4056. +do
  4057. + IFS=$as_save_IFS
  4058. + test -z "$as_dir" && as_dir=.
  4059. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  4060. + done
  4061. +IFS=$as_save_IFS
  4062. +
  4063. + ;;
  4064. +esac
  4065. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  4066. +# in which case we are not to be found in the path.
  4067. +if test "x$as_myself" = x; then
  4068. + as_myself=$0
  4069. +fi
  4070. +if test ! -f "$as_myself"; then
  4071. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  4072. + exit 1
  4073. +fi
  4074. +
  4075. +# Unset variables that we do not need and which cause bugs (e.g. in
  4076. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  4077. +# suppresses any "Segmentation fault" message there. '((' could
  4078. +# trigger a bug in pdksh 5.2.14.
  4079. +for as_var in BASH_ENV ENV MAIL MAILPATH
  4080. +do eval test x\${$as_var+set} = xset \
  4081. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  4082. +done
  4083. +PS1='$ '
  4084. +PS2='> '
  4085. +PS4='+ '
  4086. +
  4087. +# NLS nuisances.
  4088. +LC_ALL=C
  4089. +export LC_ALL
  4090. +LANGUAGE=C
  4091. +export LANGUAGE
  4092. +
  4093. +# CDPATH.
  4094. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  4095. +
  4096. +
  4097. +# as_fn_error ERROR [LINENO LOG_FD]
  4098. +# ---------------------------------
  4099. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  4100. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  4101. +# script with status $?, using 1 if that was 0.
  4102. +as_fn_error ()
  4103. +{
  4104. + as_status=$?; test $as_status -eq 0 && as_status=1
  4105. + if test "$3"; then
  4106. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4107. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  4108. + fi
  4109. + $as_echo "$as_me: error: $1" >&2
  4110. + as_fn_exit $as_status
  4111. +} # as_fn_error
  4112. +
  4113. +
  4114. +# as_fn_set_status STATUS
  4115. +# -----------------------
  4116. +# Set $? to STATUS, without forking.
  4117. +as_fn_set_status ()
  4118. +{
  4119. + return $1
  4120. +} # as_fn_set_status
  4121. +
  4122. +# as_fn_exit STATUS
  4123. +# -----------------
  4124. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  4125. +as_fn_exit ()
  4126. +{
  4127. + set +e
  4128. + as_fn_set_status $1
  4129. + exit $1
  4130. +} # as_fn_exit
  4131. +
  4132. +# as_fn_unset VAR
  4133. +# ---------------
  4134. +# Portably unset VAR.
  4135. +as_fn_unset ()
  4136. +{
  4137. + { eval $1=; unset $1;}
  4138. +}
  4139. +as_unset=as_fn_unset
  4140. +# as_fn_append VAR VALUE
  4141. +# ----------------------
  4142. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  4143. +# advantage of any shell optimizations that allow amortized linear growth over
  4144. +# repeated appends, instead of the typical quadratic growth present in naive
  4145. +# implementations.
  4146. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  4147. + eval 'as_fn_append ()
  4148. + {
  4149. + eval $1+=\$2
  4150. + }'
  4151. +else
  4152. + as_fn_append ()
  4153. + {
  4154. + eval $1=\$$1\$2
  4155. + }
  4156. +fi # as_fn_append
  4157. +
  4158. +# as_fn_arith ARG...
  4159. +# ------------------
  4160. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  4161. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  4162. +# must be portable across $(()) and expr.
  4163. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  4164. + eval 'as_fn_arith ()
  4165. + {
  4166. + as_val=$(( $* ))
  4167. + }'
  4168. +else
  4169. + as_fn_arith ()
  4170. + {
  4171. + as_val=`expr "$@" || test $? -eq 1`
  4172. + }
  4173. +fi # as_fn_arith
  4174. +
  4175. +
  4176. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  4177. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  4178. + as_expr=expr
  4179. +else
  4180. + as_expr=false
  4181. +fi
  4182. +
  4183. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  4184. + as_basename=basename
  4185. +else
  4186. + as_basename=false
  4187. +fi
  4188. +
  4189. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  4190. + as_dirname=dirname
  4191. +else
  4192. + as_dirname=false
  4193. +fi
  4194. +
  4195. +as_me=`$as_basename -- "$0" ||
  4196. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  4197. + X"$0" : 'X\(//\)$' \| \
  4198. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  4199. +$as_echo X/"$0" |
  4200. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  4201. + s//\1/
  4202. + q
  4203. + }
  4204. + /^X\/\(\/\/\)$/{
  4205. + s//\1/
  4206. + q
  4207. + }
  4208. + /^X\/\(\/\).*/{
  4209. + s//\1/
  4210. + q
  4211. + }
  4212. + s/.*/./; q'`
  4213. +
  4214. +# Avoid depending upon Character Ranges.
  4215. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  4216. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  4217. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  4218. +as_cr_digits='0123456789'
  4219. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  4220. +
  4221. +ECHO_C= ECHO_N= ECHO_T=
  4222. +case `echo -n x` in #(((((
  4223. +-n*)
  4224. + case `echo 'xy\c'` in
  4225. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  4226. + xy) ECHO_C='\c';;
  4227. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  4228. + ECHO_T=' ';;
  4229. + esac;;
  4230. +*)
  4231. + ECHO_N='-n';;
  4232. +esac
  4233. +
  4234. +rm -f conf$$ conf$$.exe conf$$.file
  4235. +if test -d conf$$.dir; then
  4236. + rm -f conf$$.dir/conf$$.file
  4237. +else
  4238. + rm -f conf$$.dir
  4239. + mkdir conf$$.dir 2>/dev/null
  4240. +fi
  4241. +if (echo >conf$$.file) 2>/dev/null; then
  4242. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  4243. + as_ln_s='ln -s'
  4244. + # ... but there are two gotchas:
  4245. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  4246. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  4247. + # In both cases, we have to default to `cp -p'.
  4248. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  4249. + as_ln_s='cp -p'
  4250. + elif ln conf$$.file conf$$ 2>/dev/null; then
  4251. + as_ln_s=ln
  4252. + else
  4253. + as_ln_s='cp -p'
  4254. + fi
  4255. +else
  4256. + as_ln_s='cp -p'
  4257. +fi
  4258. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  4259. +rmdir conf$$.dir 2>/dev/null
  4260. +
  4261. +
  4262. +# as_fn_mkdir_p
  4263. +# -------------
  4264. +# Create "$as_dir" as a directory, including parents if necessary.
  4265. +as_fn_mkdir_p ()
  4266. +{
  4267. +
  4268. + case $as_dir in #(
  4269. + -*) as_dir=./$as_dir;;
  4270. + esac
  4271. + test -d "$as_dir" || eval $as_mkdir_p || {
  4272. + as_dirs=
  4273. + while :; do
  4274. + case $as_dir in #(
  4275. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  4276. + *) as_qdir=$as_dir;;
  4277. + esac
  4278. + as_dirs="'$as_qdir' $as_dirs"
  4279. + as_dir=`$as_dirname -- "$as_dir" ||
  4280. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4281. + X"$as_dir" : 'X\(//\)[^/]' \| \
  4282. + X"$as_dir" : 'X\(//\)$' \| \
  4283. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  4284. +$as_echo X"$as_dir" |
  4285. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4286. + s//\1/
  4287. + q
  4288. + }
  4289. + /^X\(\/\/\)[^/].*/{
  4290. + s//\1/
  4291. + q
  4292. + }
  4293. + /^X\(\/\/\)$/{
  4294. + s//\1/
  4295. + q
  4296. + }
  4297. + /^X\(\/\).*/{
  4298. + s//\1/
  4299. + q
  4300. + }
  4301. + s/.*/./; q'`
  4302. + test -d "$as_dir" && break
  4303. + done
  4304. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  4305. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  4306. +
  4307. +
  4308. +} # as_fn_mkdir_p
  4309. +if mkdir -p . 2>/dev/null; then
  4310. + as_mkdir_p='mkdir -p "$as_dir"'
  4311. +else
  4312. + test -d ./-p && rmdir ./-p
  4313. + as_mkdir_p=false
  4314. +fi
  4315. +
  4316. +if test -x / >/dev/null 2>&1; then
  4317. + as_test_x='test -x'
  4318. +else
  4319. + if ls -dL / >/dev/null 2>&1; then
  4320. + as_ls_L_option=L
  4321. + else
  4322. + as_ls_L_option=
  4323. + fi
  4324. + as_test_x='
  4325. + eval sh -c '\''
  4326. + if test -d "$1"; then
  4327. + test -d "$1/.";
  4328. + else
  4329. + case $1 in #(
  4330. + -*)set "./$1";;
  4331. + esac;
  4332. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  4333. + ???[sx]*):;;*)false;;esac;fi
  4334. + '\'' sh
  4335. + '
  4336. +fi
  4337. +as_executable_p=$as_test_x
  4338. +
  4339. +# Sed expression to map a string onto a valid CPP name.
  4340. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  4341. +
  4342. +# Sed expression to map a string onto a valid variable name.
  4343. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  4344. +
  4345. +
  4346. +exec 6>&1
  4347. +## ----------------------------------- ##
  4348. +## Main body of $CONFIG_STATUS script. ##
  4349. +## ----------------------------------- ##
  4350. +# Save the log message, to keep $0 and so on meaningful, and to
  4351. +# report actual input values of CONFIG_FILES etc. instead of their
  4352. +# values after options handling.
  4353. +ac_log="
  4354. +This file was extended by $as_me, which was
  4355. +generated by GNU Autoconf 2.65. Invocation command line was
  4356. +
  4357. + CONFIG_FILES = $CONFIG_FILES
  4358. + CONFIG_HEADERS = $CONFIG_HEADERS
  4359. + CONFIG_LINKS = $CONFIG_LINKS
  4360. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  4361. + $ $0 $@
  4362. +
  4363. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  4364. +"
  4365. +
  4366. +# Files that config.status was made for.
  4367. +config_files=" Makefile packaging/gpsd.spec libgps.pc libgpsd.pc"
  4368. +config_headers=" gpsd_config.h"
  4369. +config_commands=" depfiles libtool"
  4370. +
  4371. +ac_cs_usage="\
  4372. +\`$as_me' instantiates files and other configuration actions
  4373. +from templates according to the current configuration. Unless the files
  4374. +and actions are specified as TAGs, all are instantiated by default.
  4375. +
  4376. +Usage: $0 [OPTION]... [TAG]...
  4377. +
  4378. + -h, --help print this help, then exit
  4379. + -V, --version print version number and configuration settings, then exit
  4380. + --config print configuration, then exit
  4381. + -q, --quiet, --silent
  4382. + do not print progress messages
  4383. + -d, --debug don't remove temporary files
  4384. + --recheck update $as_me by reconfiguring in the same conditions
  4385. + --file=FILE[:TEMPLATE]
  4386. + instantiate the configuration file FILE
  4387. + --header=FILE[:TEMPLATE]
  4388. + instantiate the configuration header FILE
  4389. +
  4390. +Configuration files:
  4391. +$config_files
  4392. +
  4393. +Configuration headers:
  4394. +$config_headers
  4395. +
  4396. +Configuration commands:
  4397. +$config_commands
  4398. +
  4399. +Report bugs to the package provider."
  4400. +
  4401. +ac_cs_config=""
  4402. +ac_cs_version="\
  4403. +config.status
  4404. +configured by ./configure, generated by GNU Autoconf 2.65,
  4405. + with options \"$ac_cs_config\"
  4406. +
  4407. +Copyright (C) 2009 Free Software Foundation, Inc.
  4408. +This config.status script is free software; the Free Software Foundation
  4409. +gives unlimited permission to copy, distribute and modify it."
  4410. +
  4411. +ac_pwd='/home/wbx/openadk/gpsd-2.39'
  4412. +srcdir='.'
  4413. +INSTALL='/usr/bin/install -c'
  4414. +MKDIR_P='/bin/mkdir -p'
  4415. +AWK='gawk'
  4416. +test -n "$AWK" || AWK=awk
  4417. +# The default lists apply if the user does not specify any file.
  4418. +ac_need_defaults=:
  4419. +while test $# != 0
  4420. +do
  4421. + case $1 in
  4422. + --*=*)
  4423. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  4424. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  4425. + ac_shift=:
  4426. + ;;
  4427. + *)
  4428. + ac_option=$1
  4429. + ac_optarg=$2
  4430. + ac_shift=shift
  4431. + ;;
  4432. + esac
  4433. +
  4434. + case $ac_option in
  4435. + # Handling of the options.
  4436. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  4437. + ac_cs_recheck=: ;;
  4438. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  4439. + $as_echo "$ac_cs_version"; exit ;;
  4440. + --config | --confi | --conf | --con | --co | --c )
  4441. + $as_echo "$ac_cs_config"; exit ;;
  4442. + --debug | --debu | --deb | --de | --d | -d )
  4443. + debug=: ;;
  4444. + --file | --fil | --fi | --f )
  4445. + $ac_shift
  4446. + case $ac_optarg in
  4447. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  4448. + esac
  4449. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  4450. + ac_need_defaults=false;;
  4451. + --header | --heade | --head | --hea )
  4452. + $ac_shift
  4453. + case $ac_optarg in
  4454. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  4455. + esac
  4456. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  4457. + ac_need_defaults=false;;
  4458. + --he | --h)
  4459. + # Conflict between --help and --header
  4460. + as_fn_error "ambiguous option: \`$1'
  4461. +Try \`$0 --help' for more information.";;
  4462. + --help | --hel | -h )
  4463. + $as_echo "$ac_cs_usage"; exit ;;
  4464. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  4465. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  4466. + ac_cs_silent=: ;;
  4467. +
  4468. + # This is an error.
  4469. + -*) as_fn_error "unrecognized option: \`$1'
  4470. +Try \`$0 --help' for more information." ;;
  4471. +
  4472. + *) as_fn_append ac_config_targets " $1"
  4473. + ac_need_defaults=false ;;
  4474. +
  4475. + esac
  4476. + shift
  4477. +done
  4478. +
  4479. +ac_configure_extra_args=
  4480. +
  4481. +if $ac_cs_silent; then
  4482. + exec 6>/dev/null
  4483. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  4484. +fi
  4485. +
  4486. +if $ac_cs_recheck; then
  4487. + set X '/bin/bash' './configure' $ac_configure_extra_args --no-create --no-recursion
  4488. + shift
  4489. + $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
  4490. + CONFIG_SHELL='/bin/bash'
  4491. + export CONFIG_SHELL
  4492. + exec "$@"
  4493. +fi
  4494. +
  4495. +exec 5>>config.log
  4496. +{
  4497. + echo
  4498. + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  4499. +## Running $as_me. ##
  4500. +_ASBOX
  4501. + $as_echo "$ac_log"
  4502. +} >&5
  4503. +
  4504. +#
  4505. +# INIT-COMMANDS
  4506. +#
  4507. +AMDEP_TRUE="" ac_aux_dir="."
  4508. +
  4509. +
  4510. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  4511. +# if CDPATH is set.
  4512. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  4513. +
  4514. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  4515. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  4516. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  4517. +macro_version='2.2.6b'
  4518. +macro_revision='1.3017'
  4519. +enable_shared='yes'
  4520. +enable_static='yes'
  4521. +pic_mode='default'
  4522. +enable_fast_install='yes'
  4523. +host_alias=''
  4524. +host='i686-pc-linux-gnu'
  4525. +host_os='linux-gnu'
  4526. +build_alias=''
  4527. +build='i686-pc-linux-gnu'
  4528. +build_os='linux-gnu'
  4529. +SED='/bin/sed'
  4530. +Xsed='/bin/sed -e 1s/^X//'
  4531. +GREP='/bin/grep'
  4532. +EGREP='/bin/grep -E'
  4533. +FGREP='/bin/grep -F'
  4534. +LD='/usr/bin/ld'
  4535. +NM='/usr/bin/nm -B'
  4536. +LN_S='ln -s'
  4537. +max_cmd_len='1572864'
  4538. +ac_objext='o'
  4539. +exeext=''
  4540. +lt_unset='unset'
  4541. +lt_SP2NL='tr \040 \012'
  4542. +lt_NL2SP='tr \015\012 \040\040'
  4543. +reload_flag=' -r'
  4544. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4545. +OBJDUMP='objdump'
  4546. +deplibs_check_method='pass_all'
  4547. +file_magic_cmd='$MAGIC_CMD'
  4548. +AR='ar'
  4549. +AR_FLAGS='cru'
  4550. +STRIP='strip'
  4551. +RANLIB='ranlib'
  4552. +old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
  4553. +old_postuninstall_cmds=''
  4554. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
  4555. +CC='gcc'
  4556. +CFLAGS='-g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE '
  4557. +compiler='g++'
  4558. +GCC='yes'
  4559. +lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
  4560. +lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  4561. +lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
  4562. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
  4563. +objdir='.libs'
  4564. +SHELL='/bin/bash'
  4565. +ECHO='echo'
  4566. +MAGIC_CMD='file'
  4567. +lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  4568. +lt_prog_compiler_wl='-Wl,'
  4569. +lt_prog_compiler_pic=' -fPIC -DPIC'
  4570. +lt_prog_compiler_static='-static'
  4571. +lt_cv_prog_compiler_c_o='yes'
  4572. +need_locks='no'
  4573. +DSYMUTIL=''
  4574. +NMEDIT=''
  4575. +LIPO=''
  4576. +OTOOL=''
  4577. +OTOOL64=''
  4578. +libext='a'
  4579. +shrext_cmds='.so'
  4580. +extract_expsyms_cmds=''
  4581. +archive_cmds_need_lc='no'
  4582. +enable_shared_with_static_runtimes='no'
  4583. +export_dynamic_flag_spec='${wl}--export-dynamic'
  4584. +whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  4585. +compiler_needs_object='no'
  4586. +old_archive_from_new_cmds=''
  4587. +old_archive_from_expsyms_cmds=''
  4588. +archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4589. +archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  4590. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  4591. + echo "local: *; };" >> $output_objdir/$libname.ver~
  4592. + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  4593. +module_cmds=''
  4594. +module_expsym_cmds=''
  4595. +with_gnu_ld='yes'
  4596. +allow_undefined_flag=''
  4597. +no_undefined_flag=''
  4598. +hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  4599. +hardcode_libdir_flag_spec_ld=''
  4600. +hardcode_libdir_separator=''
  4601. +hardcode_direct='no'
  4602. +hardcode_direct_absolute='no'
  4603. +hardcode_minus_L='no'
  4604. +hardcode_shlibpath_var='unsupported'
  4605. +hardcode_automatic='no'
  4606. +inherit_rpath='no'
  4607. +link_all_deplibs='no'
  4608. +fix_srcfile_path=''
  4609. +always_export_symbols='no'
  4610. +export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  4611. +exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  4612. +include_expsyms=''
  4613. +prelink_cmds=''
  4614. +file_list_spec=''
  4615. +variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
  4616. +need_lib_prefix='no'
  4617. +need_version='no'
  4618. +version_type='linux'
  4619. +runpath_var='LD_RUN_PATH'
  4620. +shlibpath_var='LD_LIBRARY_PATH'
  4621. +shlibpath_overrides_runpath='no'
  4622. +libname_spec='lib$name'
  4623. +library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  4624. +soname_spec='${libname}${release}${shared_ext}$major'
  4625. +postinstall_cmds=''
  4626. +postuninstall_cmds=''
  4627. +finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  4628. +finish_eval=''
  4629. +hardcode_into_libs='yes'
  4630. +sys_lib_search_path_spec='/usr/lib/gcc/i486-linux-gnu/4.4.3 /usr/lib /lib /usr/lib/i486-linux-gnu'
  4631. +sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib/mesa /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/lib/alsa-lib /usr/local/lib '
  4632. +hardcode_action='immediate'
  4633. +enable_dlopen='unknown'
  4634. +enable_dlopen_self='unknown'
  4635. +enable_dlopen_self_static='unknown'
  4636. +old_striplib='strip --strip-debug'
  4637. +striplib='strip --strip-unneeded'
  4638. +compiler_lib_search_dirs=''
  4639. +predep_objects=''
  4640. +postdep_objects=''
  4641. +predeps=''
  4642. +postdeps=''
  4643. +compiler_lib_search_path=''
  4644. +LD_CXX='/usr/bin/ld'
  4645. +old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
  4646. +compiler_CXX='g++'
  4647. +GCC_CXX='yes'
  4648. +lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  4649. +lt_prog_compiler_wl_CXX='-Wl,'
  4650. +lt_prog_compiler_pic_CXX=' -fPIC -DPIC'
  4651. +lt_prog_compiler_static_CXX='-static'
  4652. +lt_cv_prog_compiler_c_o_CXX='yes'
  4653. +archive_cmds_need_lc_CXX='no'
  4654. +enable_shared_with_static_runtimes_CXX='no'
  4655. +export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  4656. +whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  4657. +compiler_needs_object_CXX='no'
  4658. +old_archive_from_new_cmds_CXX=''
  4659. +old_archive_from_expsyms_cmds_CXX=''
  4660. +archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4661. +archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4662. +module_cmds_CXX=''
  4663. +module_expsym_cmds_CXX=''
  4664. +with_gnu_ld_CXX='yes'
  4665. +allow_undefined_flag_CXX=''
  4666. +no_undefined_flag_CXX=''
  4667. +hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  4668. +hardcode_libdir_flag_spec_ld_CXX=''
  4669. +hardcode_libdir_separator_CXX=''
  4670. +hardcode_direct_CXX='no'
  4671. +hardcode_direct_absolute_CXX='no'
  4672. +hardcode_minus_L_CXX='no'
  4673. +hardcode_shlibpath_var_CXX='unsupported'
  4674. +hardcode_automatic_CXX='no'
  4675. +inherit_rpath_CXX='no'
  4676. +link_all_deplibs_CXX='no'
  4677. +fix_srcfile_path_CXX=''
  4678. +always_export_symbols_CXX='no'
  4679. +export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  4680. +exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  4681. +include_expsyms_CXX=''
  4682. +prelink_cmds_CXX=''
  4683. +file_list_spec_CXX=''
  4684. +hardcode_action_CXX='immediate'
  4685. +compiler_lib_search_dirs_CXX='/usr/lib/gcc/i486-linux-gnu/4.4.3 /usr/lib/gcc/i486-linux-gnu/4.4.3 /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib /lib/../lib /usr/lib/../lib /usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. /usr/lib/i486-linux-gnu'
  4686. +predep_objects_CXX='/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o'
  4687. +postdep_objects_CXX='/usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o'
  4688. +predeps_CXX=''
  4689. +postdeps_CXX='-lstdc++ -lm -lgcc_s -lc -lgcc_s'
  4690. +compiler_lib_search_path_CXX='-L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. -L/usr/lib/i486-linux-gnu'
  4691. +
  4692. +LTCC='gcc'
  4693. +LTCFLAGS='-g -O2'
  4694. +compiler='gcc'
  4695. +
  4696. +# Quote evaled strings.
  4697. +for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd AR AR_FLAGS STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix SHELL ECHO lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_flag_spec_ld hardcode_libdir_separator fix_srcfile_path exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec finish_eval old_striplib striplib compiler_lib_search_dirs predep_objects postdep_objects predeps postdeps compiler_lib_search_path LD_CXX compiler_CXX lt_prog_compiler_no_builtin_flag_CXX lt_prog_compiler_wl_CXX lt_prog_compiler_pic_CXX lt_prog_compiler_static_CXX lt_cv_prog_compiler_c_o_CXX export_dynamic_flag_spec_CXX whole_archive_flag_spec_CXX compiler_needs_object_CXX with_gnu_ld_CXX allow_undefined_flag_CXX no_undefined_flag_CXX hardcode_libdir_flag_spec_CXX hardcode_libdir_flag_spec_ld_CXX hardcode_libdir_separator_CXX fix_srcfile_path_CXX exclude_expsyms_CXX include_expsyms_CXX file_list_spec_CXX compiler_lib_search_dirs_CXX predep_objects_CXX postdep_objects_CXX predeps_CXX postdeps_CXX compiler_lib_search_path_CXX; do
  4698. + case `eval \\$ECHO "X\\$$var"` in
  4699. + *[\\\`\"\$]*)
  4700. + eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  4701. + ;;
  4702. + *)
  4703. + eval "lt_$var=\\\"\$$var\\\""
  4704. + ;;
  4705. + esac
  4706. +done
  4707. +
  4708. +# Double-quote double-evaled strings.
  4709. +for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec old_archive_cmds_CXX old_archive_from_new_cmds_CXX old_archive_from_expsyms_cmds_CXX archive_cmds_CXX archive_expsym_cmds_CXX module_cmds_CXX module_expsym_cmds_CXX export_symbols_cmds_CXX prelink_cmds_CXX; do
  4710. + case `eval \\$ECHO "X\\$$var"` in
  4711. + *[\\\`\"\$]*)
  4712. + eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  4713. + ;;
  4714. + *)
  4715. + eval "lt_$var=\\\"\$$var\\\""
  4716. + ;;
  4717. + esac
  4718. +done
  4719. +
  4720. +# Fix-up fallback echo if it was mangled by the above quoting rules.
  4721. +case $lt_ECHO in
  4722. +*'\$0 --fallback-echo"') lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  4723. + ;;
  4724. +esac
  4725. +
  4726. +ac_aux_dir='.'
  4727. +xsi_shell='yes'
  4728. +lt_shell_append='yes'
  4729. +
  4730. +# See if we are running on zsh, and set the options which allow our
  4731. +# commands through without removal of \ escapes INIT.
  4732. +if test -n "${ZSH_VERSION+set}" ; then
  4733. + setopt NO_GLOB_SUBST
  4734. +fi
  4735. +
  4736. +
  4737. + PACKAGE='gpsd'
  4738. + VERSION='2.39'
  4739. + TIMESTAMP=''
  4740. + RM='rm -f'
  4741. + ofile='libtool'
  4742. +
  4743. +
  4744. +
  4745. +
  4746. +
  4747. +
  4748. +
  4749. +# Handling of arguments.
  4750. +for ac_config_target in $ac_config_targets
  4751. +do
  4752. + case $ac_config_target in
  4753. + "gpsd_config.h") CONFIG_HEADERS="$CONFIG_HEADERS gpsd_config.h" ;;
  4754. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  4755. + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  4756. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  4757. + "packaging/gpsd.spec") CONFIG_FILES="$CONFIG_FILES packaging/gpsd.spec" ;;
  4758. + "libgps.pc") CONFIG_FILES="$CONFIG_FILES libgps.pc" ;;
  4759. + "libgpsd.pc") CONFIG_FILES="$CONFIG_FILES libgpsd.pc" ;;
  4760. +
  4761. + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  4762. + esac
  4763. +done
  4764. +
  4765. +
  4766. +# If the user did not use the arguments to specify the items to instantiate,
  4767. +# then the envvar interface is used. Set only those that are not.
  4768. +# We use the long form for the default assignment because of an extremely
  4769. +# bizarre bug on SunOS 4.1.3.
  4770. +if $ac_need_defaults; then
  4771. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  4772. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  4773. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  4774. +fi
  4775. +
  4776. +# Have a temporary directory for convenience. Make it in the build tree
  4777. +# simply because there is no reason against having it here, and in addition,
  4778. +# creating and moving files from /tmp can sometimes cause problems.
  4779. +# Hook for its removal unless debugging.
  4780. +# Note that there is a small window in which the directory will not be cleaned:
  4781. +# after its creation but before its name has been assigned to `$tmp'.
  4782. +$debug ||
  4783. +{
  4784. + tmp=
  4785. + trap 'exit_status=$?
  4786. + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  4787. +' 0
  4788. + trap 'as_fn_exit 1' 1 2 13 15
  4789. +}
  4790. +# Create a (secure) tmp directory for tmp files.
  4791. +
  4792. +{
  4793. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  4794. + test -n "$tmp" && test -d "$tmp"
  4795. +} ||
  4796. +{
  4797. + tmp=./conf$$-$RANDOM
  4798. + (umask 077 && mkdir "$tmp")
  4799. +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  4800. +
  4801. +# Set up the scripts for CONFIG_FILES section.
  4802. +# No need to generate them if there are no CONFIG_FILES.
  4803. +# This happens for instance with `./config.status config.h'.
  4804. +if test -n "$CONFIG_FILES"; then
  4805. +
  4806. +
  4807. +ac_cr=`echo X | tr X '\015'`
  4808. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  4809. +# But we know of no other shell where ac_cr would be empty at this
  4810. +# point, so we can use a bashism as a fallback.
  4811. +if test "x$ac_cr" = x; then
  4812. + eval ac_cr=\$\'\\r\'
  4813. +fi
  4814. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  4815. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  4816. + ac_cs_awk_cr='\r'
  4817. +else
  4818. + ac_cs_awk_cr=$ac_cr
  4819. +fi
  4820. +
  4821. +echo 'BEGIN {' >"$tmp/subs1.awk" &&
  4822. +cat >>"$tmp/subs1.awk" <<\_ACAWK &&
  4823. +S["am__EXEEXT_FALSE"]=""
  4824. +S["am__EXEEXT_TRUE"]="#"
  4825. +S["LTLIBOBJS"]=""
  4826. +S["LIBOBJS"]=""
  4827. +S["MANFLAGS"]="--nonet"
  4828. +S["MANTARGET"]="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
  4829. +S["MANGENERATOR"]="xsltproc"
  4830. +S["HAVE_XSLT_PROCESSOR_FALSE"]="#"
  4831. +S["HAVE_XSLT_PROCESSOR_TRUE"]=""
  4832. +S["WITH_XMLTO"]=""
  4833. +S["WITH_XSLTPROC"]="yes"
  4834. +S["HAVE_DBUS_FALSE"]=""
  4835. +S["HAVE_DBUS_TRUE"]="#"
  4836. +S["DBUS_GLIB_LIBS"]=""
  4837. +S["DBUS_GLIB_CFLAGS"]=""
  4838. +S["DBUS_LIBS"]=""
  4839. +S["DBUS_CFLAGS"]=""
  4840. +S["HAVE_NTRIP_FALSE"]="#"
  4841. +S["HAVE_NTRIP_TRUE"]=""
  4842. +S["HAVE_RTCM104V3_FALSE"]="#"
  4843. +S["HAVE_RTCM104V3_TRUE"]=""
  4844. +S["HAVE_RTCM104V2_FALSE"]="#"
  4845. +S["HAVE_RTCM104V2_TRUE"]=""
  4846. +S["HAVE_NCURSES_FALSE"]="#"
  4847. +S["HAVE_NCURSES_TRUE"]=""
  4848. +S["NCURSES_LIBS"]="-lncurses"
  4849. +S["HAVE_MOTIF_FALSE"]=""
  4850. +S["HAVE_MOTIF_TRUE"]="#"
  4851. +S["XM_LIBS"]=""
  4852. +S["XP_LIBS"]=""
  4853. +S["XPM_LIBS"]=""
  4854. +S["XEXT_LIBS"]="-lXext"
  4855. +S["HAVE_XAW_FALSE"]=""
  4856. +S["HAVE_XAW_TRUE"]="#"
  4857. +S["XAW_LIBS"]=""
  4858. +S["XT_LIBS"]="-lXt"
  4859. +S["X11_LIBS"]=""
  4860. +S["X_EXTRA_LIBS"]=""
  4861. +S["X_LIBS"]=""
  4862. +S["X_PRE_LIBS"]=" -lSM -lICE"
  4863. +S["X_CFLAGS"]=""
  4864. +S["XMKMF"]=""
  4865. +S["LIBPTHREAD"]="-lpthread"
  4866. +S["LIBC"]="-lc"
  4867. +S["LIBM"]="-lm"
  4868. +S["LIBSOCKET"]=""
  4869. +S["LIBNSL"]="-lnsl"
  4870. +S["ALLOCA"]=""
  4871. +S["CXXCPP"]="g++ -E"
  4872. +S["am__fastdepCXX_FALSE"]="#"
  4873. +S["am__fastdepCXX_TRUE"]=""
  4874. +S["CXXDEPMODE"]="depmode=gcc3"
  4875. +S["ac_ct_CXX"]="g++"
  4876. +S["CXXFLAGS"]="-g -O2"
  4877. +S["CXX"]="g++"
  4878. +S["CPP"]="gcc -E"
  4879. +S["OTOOL64"]=""
  4880. +S["OTOOL"]=""
  4881. +S["LIPO"]=""
  4882. +S["NMEDIT"]=""
  4883. +S["DSYMUTIL"]=""
  4884. +S["lt_ECHO"]="echo"
  4885. +S["RANLIB"]="ranlib"
  4886. +S["AR"]="ar"
  4887. +S["OBJDUMP"]="objdump"
  4888. +S["NM"]="/usr/bin/nm -B"
  4889. +S["ac_ct_DUMPBIN"]=""
  4890. +S["DUMPBIN"]=""
  4891. +S["LD"]="/usr/bin/ld"
  4892. +S["FGREP"]="/bin/grep -F"
  4893. +S["EGREP"]="/bin/grep -E"
  4894. +S["GREP"]="/bin/grep"
  4895. +S["SED"]="/bin/sed"
  4896. +S["am__fastdepCC_FALSE"]="#"
  4897. +S["am__fastdepCC_TRUE"]=""
  4898. +S["CCDEPMODE"]="depmode=gcc3"
  4899. +S["AMDEPBACKSLASH"]="\\"
  4900. +S["AMDEP_FALSE"]="#"
  4901. +S["AMDEP_TRUE"]=""
  4902. +S["am__quote"]=""
  4903. +S["am__include"]="include"
  4904. +S["DEPDIR"]=".deps"
  4905. +S["OBJEXT"]="o"
  4906. +S["EXEEXT"]=""
  4907. +S["ac_ct_CC"]="gcc"
  4908. +S["CPPFLAGS"]=" "
  4909. +S["LDFLAGS"]=" "
  4910. +S["CFLAGS"]="-g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE "
  4911. +S["CC"]="gcc"
  4912. +S["host_os"]="linux-gnu"
  4913. +S["host_vendor"]="pc"
  4914. +S["host_cpu"]="i686"
  4915. +S["host"]="i686-pc-linux-gnu"
  4916. +S["build_os"]="linux-gnu"
  4917. +S["build_vendor"]="pc"
  4918. +S["build_cpu"]="i686"
  4919. +S["build"]="i686-pc-linux-gnu"
  4920. +S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
  4921. +S["LN_S"]="ln -s"
  4922. +S["am__untar"]="${AMTAR} xf -"
  4923. +S["am__tar"]="${AMTAR} chof - \"$$tardir\""
  4924. +S["AMTAR"]="${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run tar"
  4925. +S["am__leading_dot"]="."
  4926. +S["SET_MAKE"]=""
  4927. +S["AWK"]="gawk"
  4928. +S["mkdir_p"]="/bin/mkdir -p"
  4929. +S["MKDIR_P"]="/bin/mkdir -p"
  4930. +S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
  4931. +S["STRIP"]="strip"
  4932. +S["install_sh"]="${SHELL} /home/wbx/openadk/gpsd-2.39/install-sh"
  4933. +S["MAKEINFO"]="${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run makeinfo"
  4934. +S["AUTOHEADER"]="${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run autoheader"
  4935. +S["AUTOMAKE"]="${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run automake-1.11"
  4936. +S["AUTOCONF"]="${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run autoconf"
  4937. +S["ACLOCAL"]="${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run aclocal-1.11"
  4938. +S["VERSION"]="2.39"
  4939. +S["PACKAGE"]="gpsd"
  4940. +S["CYGPATH_W"]="echo"
  4941. +S["am__isrc"]=""
  4942. +S["INSTALL_DATA"]="${INSTALL} -m 644"
  4943. +S["INSTALL_SCRIPT"]="${INSTALL}"
  4944. +S["INSTALL_PROGRAM"]="${INSTALL}"
  4945. +S["target_alias"]=""
  4946. +S["host_alias"]=""
  4947. +S["build_alias"]=""
  4948. +S["LIBS"]=" "
  4949. +S["ECHO_T"]=""
  4950. +S["ECHO_N"]="-n"
  4951. +S["ECHO_C"]=""
  4952. +S["DEFS"]="-DHAVE_CONFIG_H"
  4953. +S["mandir"]="${datarootdir}/man"
  4954. +S["localedir"]="${datarootdir}/locale"
  4955. +S["libdir"]="${exec_prefix}/lib"
  4956. +S["psdir"]="${docdir}"
  4957. +S["pdfdir"]="${docdir}"
  4958. +S["dvidir"]="${docdir}"
  4959. +S["htmldir"]="${docdir}"
  4960. +S["infodir"]="${datarootdir}/info"
  4961. +S["docdir"]="${datarootdir}/doc/${PACKAGE}"
  4962. +S["oldincludedir"]="/usr/include"
  4963. +S["includedir"]="${prefix}/include"
  4964. +S["localstatedir"]="${prefix}/var"
  4965. +S["sharedstatedir"]="${prefix}/com"
  4966. +S["sysconfdir"]="${prefix}/etc"
  4967. +S["datadir"]="${datarootdir}"
  4968. +S["datarootdir"]="${prefix}/share"
  4969. +S["libexecdir"]="${exec_prefix}/libexec"
  4970. +S["sbindir"]="${exec_prefix}/sbin"
  4971. +S["bindir"]="${exec_prefix}/bin"
  4972. +S["program_transform_name"]="s,x,x,"
  4973. +S["prefix"]="/usr/local"
  4974. +S["exec_prefix"]="${prefix}"
  4975. +S["PACKAGE_URL"]=""
  4976. +S["PACKAGE_BUGREPORT"]=""
  4977. +S["PACKAGE_STRING"]=""
  4978. +S["PACKAGE_VERSION"]=""
  4979. +S["PACKAGE_TARNAME"]=""
  4980. +S["PACKAGE_NAME"]=""
  4981. +S["PATH_SEPARATOR"]=":"
  4982. +S["SHELL"]="/bin/bash"
  4983. +_ACAWK
  4984. +cat >>"$tmp/subs1.awk" <<_ACAWK &&
  4985. + for (key in S) S_is_set[key] = 1
  4986. + FS = ""
  4987. +
  4988. +}
  4989. +{
  4990. + line = $ 0
  4991. + nfields = split(line, field, "@")
  4992. + substed = 0
  4993. + len = length(field[1])
  4994. + for (i = 2; i < nfields; i++) {
  4995. + key = field[i]
  4996. + keylen = length(key)
  4997. + if (S_is_set[key]) {
  4998. + value = S[key]
  4999. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  5000. + len += length(value) + length(field[++i])
  5001. + substed = 1
  5002. + } else
  5003. + len += 1 + keylen
  5004. + }
  5005. +
  5006. + print line
  5007. +}
  5008. +
  5009. +_ACAWK
  5010. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  5011. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  5012. +else
  5013. + cat
  5014. +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  5015. + || as_fn_error "could not setup config files machinery" "$LINENO" 5
  5016. +fi # test -n "$CONFIG_FILES"
  5017. +
  5018. +# Set up the scripts for CONFIG_HEADERS section.
  5019. +# No need to generate them if there are no CONFIG_HEADERS.
  5020. +# This happens for instance with `./config.status Makefile'.
  5021. +if test -n "$CONFIG_HEADERS"; then
  5022. +cat >"$tmp/defines.awk" <<\_ACAWK ||
  5023. +BEGIN {
  5024. +D["PACKAGE_NAME"]=" \"\""
  5025. +D["PACKAGE_TARNAME"]=" \"\""
  5026. +D["PACKAGE_VERSION"]=" \"\""
  5027. +D["PACKAGE_STRING"]=" \"\""
  5028. +D["PACKAGE_BUGREPORT"]=" \"\""
  5029. +D["PACKAGE_URL"]=" \"\""
  5030. +D["PACKAGE"]=" \"gpsd\""
  5031. +D["VERSION"]=" \"2.39\""
  5032. +D["STDC_HEADERS"]=" 1"
  5033. +D["HAVE_SYS_TYPES_H"]=" 1"
  5034. +D["HAVE_SYS_STAT_H"]=" 1"
  5035. +D["HAVE_STDLIB_H"]=" 1"
  5036. +D["HAVE_STRING_H"]=" 1"
  5037. +D["HAVE_MEMORY_H"]=" 1"
  5038. +D["HAVE_STRINGS_H"]=" 1"
  5039. +D["HAVE_INTTYPES_H"]=" 1"
  5040. +D["HAVE_STDINT_H"]=" 1"
  5041. +D["HAVE_UNISTD_H"]=" 1"
  5042. +D["HAVE_DLFCN_H"]=" 1"
  5043. +D["LT_OBJDIR"]=" \".libs/\""
  5044. +D["SIZEOF_CHAR"]=" 1"
  5045. +D["SIZEOF_SHORT"]=" 2"
  5046. +D["SIZEOF_INT"]=" 4"
  5047. +D["SIZEOF_LONG"]=" 4"
  5048. +D["SIZEOF_LONG_LONG"]=" 8"
  5049. +D["SIZEOF_FLOAT"]=" 4"
  5050. +D["SIZEOF_DOUBLE"]=" 8"
  5051. +D["HAVE_ALLOCA_H"]=" 1"
  5052. +D["HAVE_ALLOCA"]=" 1"
  5053. +D["STDC_HEADERS"]=" 1"
  5054. +D["HAVE_SYS_TERMIOS_H"]=" 1"
  5055. +D["HAVE_SYS_SELECT_H"]=" 1"
  5056. +D["HAVE_SYS_TIME_H"]=" 1"
  5057. +D["HAVE_SYS_IPC_H"]=" 1"
  5058. +D["HAVE_SYS_SHM_H"]=" 1"
  5059. +D["HAVE_SYS_SOCKET_H"]=" 1"
  5060. +D["HAVE_ARPA_INET_H"]=" 1"
  5061. +D["HAVE_NETINET_IN_SYSTM_H"]=" 1"
  5062. +D["HAVE_NETINET_IN_H"]=" 1"
  5063. +D["HAVE_NETINET_TCP_H"]=" 1"
  5064. +D["HAVE_TERMIOS_H"]=" 1"
  5065. +D["HAVE_STRINGS_H"]=" 1"
  5066. +D["HAVE_GETOPT_H"]=" 1"
  5067. +D["HAVE_NETDB_H"]=" 1"
  5068. +D["HAVE_SETLOCALE"]=" 1"
  5069. +D["HAVE_VSNPRINTF"]=" 1"
  5070. +D["TIME_WITH_SYS_TIME"]=" 1"
  5071. +D["HAVE_STRUCT_TM_TM_ZONE"]=" 1"
  5072. +D["HAVE_TM_ZONE"]=" 1"
  5073. +D["HAVE_TIMEZONE"]=" /**/"
  5074. +D["HAVE_DAYLIGHT"]=" 1"
  5075. +D["HAVE_LIBPTHREAD"]=" /**/"
  5076. +D["HAVE_NCURSES_H"]=" 1"
  5077. +D["NMEA_ENABLE"]=" 1"
  5078. +D["SIRF_ENABLE"]=" 1"
  5079. +D["SUPERSTAR2_ENABLE"]=" 1"
  5080. +D["TSIP_ENABLE"]=" 1"
  5081. +D["FV18_ENABLE"]=" 1"
  5082. +D["NMEA_ENABLE"]=" 1"
  5083. +D["TRIPMATE_ENABLE"]=" 1"
  5084. +D["EARTHMATE_ENABLE"]=" 1"
  5085. +D["ITRAX_ENABLE"]=" 1"
  5086. +D["ASHTECH_ENABLE"]=" 1"
  5087. +D["NAVCOM_ENABLE"]=" 1"
  5088. +D["GARMIN_ENABLE"]=" 1"
  5089. +D["UBX_ENABLE"]=" 1"
  5090. +D["EVERMORE_ENABLE"]=" 1"
  5091. +D["MKT3301_ENABLE"]=" 1"
  5092. +D["NMEA_ENABLE"]=" 1"
  5093. +D["GPSCLOCK_ENABLE"]=" 1"
  5094. +D["RTCM104V2_ENABLE"]=" 1"
  5095. +D["RTCM104V3_ENABLE"]=" 1"
  5096. +D["NTRIP_ENABLE"]=" 1"
  5097. +D["AIVDM_ENABLE"]=" 1"
  5098. +D["NTPSHM_ENABLE"]=" 1"
  5099. +D["PPS_ENABLE"]=" 1"
  5100. +D["ALLOW_RECONFIGURE"]=" 1"
  5101. +D["ALLOW_CONTROLSEND"]=" 1"
  5102. + for (key in D) D_is_set[key] = 1
  5103. + FS = ""
  5104. +}
  5105. +/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  5106. + line = $ 0
  5107. + split(line, arg, " ")
  5108. + if (arg[1] == "#") {
  5109. + defundef = arg[2]
  5110. + mac1 = arg[3]
  5111. + } else {
  5112. + defundef = substr(arg[1], 2)
  5113. + mac1 = arg[2]
  5114. + }
  5115. + split(mac1, mac2, "(") #)
  5116. + macro = mac2[1]
  5117. + prefix = substr(line, 1, index(line, defundef) - 1)
  5118. + if (D_is_set[macro]) {
  5119. + # Preserve the white space surrounding the "#".
  5120. + print prefix "define", macro P[macro] D[macro]
  5121. + next
  5122. + } else {
  5123. + # Replace #undef with comments. This is necessary, for example,
  5124. + # in the case of _POSIX_SOURCE, which is predefined and required
  5125. + # on some systems where configure will not decide to define it.
  5126. + if (defundef == "undef") {
  5127. + print "/*", prefix defundef, macro, "*/"
  5128. + next
  5129. + }
  5130. + }
  5131. +}
  5132. +{ print }
  5133. +_ACAWK
  5134. + as_fn_error "could not setup config headers machinery" "$LINENO" 5
  5135. +fi # test -n "$CONFIG_HEADERS"
  5136. +
  5137. +
  5138. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  5139. +shift
  5140. +for ac_tag
  5141. +do
  5142. + case $ac_tag in
  5143. + :[FHLC]) ac_mode=$ac_tag; continue;;
  5144. + esac
  5145. + case $ac_mode$ac_tag in
  5146. + :[FHL]*:*);;
  5147. + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  5148. + :[FH]-) ac_tag=-:-;;
  5149. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  5150. + esac
  5151. + ac_save_IFS=$IFS
  5152. + IFS=:
  5153. + set x $ac_tag
  5154. + IFS=$ac_save_IFS
  5155. + shift
  5156. + ac_file=$1
  5157. + shift
  5158. +
  5159. + case $ac_mode in
  5160. + :L) ac_source=$1;;
  5161. + :[FH])
  5162. + ac_file_inputs=
  5163. + for ac_f
  5164. + do
  5165. + case $ac_f in
  5166. + -) ac_f="$tmp/stdin";;
  5167. + *) # Look for the file first in the build tree, then in the source tree
  5168. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  5169. + # because $ac_f cannot contain `:'.
  5170. + test -f "$ac_f" ||
  5171. + case $ac_f in
  5172. + [\\/$]*) false;;
  5173. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  5174. + esac ||
  5175. + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  5176. + esac
  5177. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  5178. + as_fn_append ac_file_inputs " '$ac_f'"
  5179. + done
  5180. +
  5181. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  5182. + # use $as_me), people would be surprised to read:
  5183. + # /* config.h. Generated by config.status. */
  5184. + configure_input='Generated from '`
  5185. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  5186. + `' by configure.'
  5187. + if test x"$ac_file" != x-; then
  5188. + configure_input="$ac_file. $configure_input"
  5189. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  5190. +$as_echo "$as_me: creating $ac_file" >&6;}
  5191. + fi
  5192. + # Neutralize special characters interpreted by sed in replacement strings.
  5193. + case $configure_input in #(
  5194. + *\&* | *\|* | *\\* )
  5195. + ac_sed_conf_input=`$as_echo "$configure_input" |
  5196. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  5197. + *) ac_sed_conf_input=$configure_input;;
  5198. + esac
  5199. +
  5200. + case $ac_tag in
  5201. + *:-:* | *:-) cat >"$tmp/stdin" \
  5202. + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  5203. + esac
  5204. + ;;
  5205. + esac
  5206. +
  5207. + ac_dir=`$as_dirname -- "$ac_file" ||
  5208. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5209. + X"$ac_file" : 'X\(//\)[^/]' \| \
  5210. + X"$ac_file" : 'X\(//\)$' \| \
  5211. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  5212. +$as_echo X"$ac_file" |
  5213. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5214. + s//\1/
  5215. + q
  5216. + }
  5217. + /^X\(\/\/\)[^/].*/{
  5218. + s//\1/
  5219. + q
  5220. + }
  5221. + /^X\(\/\/\)$/{
  5222. + s//\1/
  5223. + q
  5224. + }
  5225. + /^X\(\/\).*/{
  5226. + s//\1/
  5227. + q
  5228. + }
  5229. + s/.*/./; q'`
  5230. + as_dir="$ac_dir"; as_fn_mkdir_p
  5231. + ac_builddir=.
  5232. +
  5233. +case "$ac_dir" in
  5234. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  5235. +*)
  5236. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  5237. + # A ".." for each directory in $ac_dir_suffix.
  5238. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  5239. + case $ac_top_builddir_sub in
  5240. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  5241. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  5242. + esac ;;
  5243. +esac
  5244. +ac_abs_top_builddir=$ac_pwd
  5245. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  5246. +# for backward compatibility:
  5247. +ac_top_builddir=$ac_top_build_prefix
  5248. +
  5249. +case $srcdir in
  5250. + .) # We are building in place.
  5251. + ac_srcdir=.
  5252. + ac_top_srcdir=$ac_top_builddir_sub
  5253. + ac_abs_top_srcdir=$ac_pwd ;;
  5254. + [\\/]* | ?:[\\/]* ) # Absolute name.
  5255. + ac_srcdir=$srcdir$ac_dir_suffix;
  5256. + ac_top_srcdir=$srcdir
  5257. + ac_abs_top_srcdir=$srcdir ;;
  5258. + *) # Relative name.
  5259. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  5260. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  5261. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  5262. +esac
  5263. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  5264. +
  5265. +
  5266. + case $ac_mode in
  5267. + :F)
  5268. + #
  5269. + # CONFIG_FILE
  5270. + #
  5271. +
  5272. + case $INSTALL in
  5273. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  5274. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  5275. + esac
  5276. + ac_MKDIR_P=$MKDIR_P
  5277. + case $MKDIR_P in
  5278. + [\\/$]* | ?:[\\/]* ) ;;
  5279. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  5280. + esac
  5281. +# If the template does not know about datarootdir, expand it.
  5282. +# FIXME: This hack should be removed a few years after 2.60.
  5283. +ac_datarootdir_hack=; ac_datarootdir_seen=
  5284. +ac_sed_dataroot='
  5285. +/datarootdir/ {
  5286. + p
  5287. + q
  5288. +}
  5289. +/@datadir@/p
  5290. +/@docdir@/p
  5291. +/@infodir@/p
  5292. +/@localedir@/p
  5293. +/@mandir@/p'
  5294. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  5295. +*datarootdir*) ac_datarootdir_seen=yes;;
  5296. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  5297. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  5298. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  5299. + ac_datarootdir_hack='
  5300. + s&@datadir@&${datarootdir}&g
  5301. + s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
  5302. + s&@infodir@&${datarootdir}/info&g
  5303. + s&@localedir@&${datarootdir}/locale&g
  5304. + s&@mandir@&${datarootdir}/man&g
  5305. + s&\${datarootdir}&${prefix}/share&g' ;;
  5306. +esac
  5307. +ac_sed_extra="/^[ ]*VPATH[ ]*=/{
  5308. +s/:*\$(srcdir):*/:/
  5309. +s/:*\${srcdir}:*/:/
  5310. +s/:*@srcdir@:*/:/
  5311. +s/^\([^=]*=[ ]*\):*/\1/
  5312. +s/:*$//
  5313. +s/^[^=]*=[ ]*$//
  5314. +}
  5315. +
  5316. +:t
  5317. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  5318. +s|@configure_input@|$ac_sed_conf_input|;t t
  5319. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  5320. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  5321. +s&@srcdir@&$ac_srcdir&;t t
  5322. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  5323. +s&@top_srcdir@&$ac_top_srcdir&;t t
  5324. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  5325. +s&@builddir@&$ac_builddir&;t t
  5326. +s&@abs_builddir@&$ac_abs_builddir&;t t
  5327. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  5328. +s&@INSTALL@&$ac_INSTALL&;t t
  5329. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  5330. +$ac_datarootdir_hack
  5331. +"
  5332. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  5333. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  5334. +
  5335. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  5336. + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  5337. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  5338. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  5339. +which seems to be undefined. Please make sure it is defined." >&5
  5340. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  5341. +which seems to be undefined. Please make sure it is defined." >&2;}
  5342. +
  5343. + rm -f "$tmp/stdin"
  5344. + case $ac_file in
  5345. + -) cat "$tmp/out" && rm -f "$tmp/out";;
  5346. + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  5347. + esac \
  5348. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  5349. + ;;
  5350. + :H)
  5351. + #
  5352. + # CONFIG_HEADER
  5353. + #
  5354. + if test x"$ac_file" != x-; then
  5355. + {
  5356. + $as_echo "/* $configure_input */" \
  5357. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  5358. + } >"$tmp/config.h" \
  5359. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  5360. + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  5361. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  5362. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  5363. + else
  5364. + rm -f "$ac_file"
  5365. + mv "$tmp/config.h" "$ac_file" \
  5366. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  5367. + fi
  5368. + else
  5369. + $as_echo "/* $configure_input */" \
  5370. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  5371. + || as_fn_error "could not create -" "$LINENO" 5
  5372. + fi
  5373. +# Compute "$ac_file"'s index in $config_headers.
  5374. +_am_arg="$ac_file"
  5375. +_am_stamp_count=1
  5376. +for _am_header in $config_headers :; do
  5377. + case $_am_header in
  5378. + $_am_arg | $_am_arg:* )
  5379. + break ;;
  5380. + * )
  5381. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  5382. + esac
  5383. +done
  5384. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  5385. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5386. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  5387. + X"$_am_arg" : 'X\(//\)$' \| \
  5388. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  5389. +$as_echo X"$_am_arg" |
  5390. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5391. + s//\1/
  5392. + q
  5393. + }
  5394. + /^X\(\/\/\)[^/].*/{
  5395. + s//\1/
  5396. + q
  5397. + }
  5398. + /^X\(\/\/\)$/{
  5399. + s//\1/
  5400. + q
  5401. + }
  5402. + /^X\(\/\).*/{
  5403. + s//\1/
  5404. + q
  5405. + }
  5406. + s/.*/./; q'`/stamp-h$_am_stamp_count
  5407. + ;;
  5408. +
  5409. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  5410. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  5411. + ;;
  5412. + esac
  5413. +
  5414. +
  5415. + case $ac_file$ac_mode in
  5416. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  5417. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  5418. + # are listed without --file. Let's play safe and only enable the eval
  5419. + # if we detect the quoting.
  5420. + case $CONFIG_FILES in
  5421. + *\'*) eval set x "$CONFIG_FILES" ;;
  5422. + *) set x $CONFIG_FILES ;;
  5423. + esac
  5424. + shift
  5425. + for mf
  5426. + do
  5427. + # Strip MF so we end up with the name of the file.
  5428. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  5429. + # Check whether this is an Automake generated Makefile or not.
  5430. + # We used to match only the files named `Makefile.in', but
  5431. + # some people rename them; so instead we look at the file content.
  5432. + # Grep'ing the first line is not enough: some people post-process
  5433. + # each Makefile.in and add a new line on top of each file to say so.
  5434. + # Grep'ing the whole file is not good either: AIX grep has a line
  5435. + # limit of 2048, but all sed's we know have understand at least 4000.
  5436. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  5437. + dirpart=`$as_dirname -- "$mf" ||
  5438. +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5439. + X"$mf" : 'X\(//\)[^/]' \| \
  5440. + X"$mf" : 'X\(//\)$' \| \
  5441. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  5442. +$as_echo X"$mf" |
  5443. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5444. + s//\1/
  5445. + q
  5446. + }
  5447. + /^X\(\/\/\)[^/].*/{
  5448. + s//\1/
  5449. + q
  5450. + }
  5451. + /^X\(\/\/\)$/{
  5452. + s//\1/
  5453. + q
  5454. + }
  5455. + /^X\(\/\).*/{
  5456. + s//\1/
  5457. + q
  5458. + }
  5459. + s/.*/./; q'`
  5460. + else
  5461. + continue
  5462. + fi
  5463. + # Extract the definition of DEPDIR, am__include, and am__quote
  5464. + # from the Makefile without running `make'.
  5465. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  5466. + test -z "$DEPDIR" && continue
  5467. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  5468. + test -z "am__include" && continue
  5469. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  5470. + # When using ansi2knr, U may be empty or an underscore; expand it
  5471. + U=`sed -n 's/^U = //p' < "$mf"`
  5472. + # Find all dependency output files, they are included files with
  5473. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  5474. + # simplest approach to changing $(DEPDIR) to its actual value in the
  5475. + # expansion.
  5476. + for file in `sed -n "
  5477. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  5478. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  5479. + # Make sure the directory exists.
  5480. + test -f "$dirpart/$file" && continue
  5481. + fdir=`$as_dirname -- "$file" ||
  5482. +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5483. + X"$file" : 'X\(//\)[^/]' \| \
  5484. + X"$file" : 'X\(//\)$' \| \
  5485. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  5486. +$as_echo X"$file" |
  5487. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5488. + s//\1/
  5489. + q
  5490. + }
  5491. + /^X\(\/\/\)[^/].*/{
  5492. + s//\1/
  5493. + q
  5494. + }
  5495. + /^X\(\/\/\)$/{
  5496. + s//\1/
  5497. + q
  5498. + }
  5499. + /^X\(\/\).*/{
  5500. + s//\1/
  5501. + q
  5502. + }
  5503. + s/.*/./; q'`
  5504. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  5505. + # echo "creating $dirpart/$file"
  5506. + echo '# dummy' > "$dirpart/$file"
  5507. + done
  5508. + done
  5509. +}
  5510. + ;;
  5511. + "libtool":C)
  5512. +
  5513. + # See if we are running on zsh, and set the options which allow our
  5514. + # commands through without removal of \ escapes.
  5515. + if test -n "${ZSH_VERSION+set}" ; then
  5516. + setopt NO_GLOB_SUBST
  5517. + fi
  5518. +
  5519. + cfgfile="${ofile}T"
  5520. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  5521. + $RM "$cfgfile"
  5522. +
  5523. + cat <<_LT_EOF >> "$cfgfile"
  5524. +#! $SHELL
  5525. +
  5526. +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  5527. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  5528. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  5529. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  5530. +#
  5531. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  5532. +# 2006, 2007, 2008 Free Software Foundation, Inc.
  5533. +# Written by Gordon Matzigkeit, 1996
  5534. +#
  5535. +# This file is part of GNU Libtool.
  5536. +#
  5537. +# GNU Libtool is free software; you can redistribute it and/or
  5538. +# modify it under the terms of the GNU General Public License as
  5539. +# published by the Free Software Foundation; either version 2 of
  5540. +# the License, or (at your option) any later version.
  5541. +#
  5542. +# As a special exception to the GNU General Public License,
  5543. +# if you distribute this file as part of a program or library that
  5544. +# is built using GNU Libtool, you may include this file under the
  5545. +# same distribution terms that you use for the rest of that program.
  5546. +#
  5547. +# GNU Libtool is distributed in the hope that it will be useful,
  5548. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  5549. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  5550. +# GNU General Public License for more details.
  5551. +#
  5552. +# You should have received a copy of the GNU General Public License
  5553. +# along with GNU Libtool; see the file COPYING. If not, a copy
  5554. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  5555. +# obtained by writing to the Free Software Foundation, Inc.,
  5556. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  5557. +
  5558. +
  5559. +# The names of the tagged configurations supported by this script.
  5560. +available_tags="CXX "
  5561. +
  5562. +# ### BEGIN LIBTOOL CONFIG
  5563. +
  5564. +# Which release of libtool.m4 was used?
  5565. +macro_version=$macro_version
  5566. +macro_revision=$macro_revision
  5567. +
  5568. +# Whether or not to build shared libraries.
  5569. +build_libtool_libs=$enable_shared
  5570. +
  5571. +# Whether or not to build static libraries.
  5572. +build_old_libs=$enable_static
  5573. +
  5574. +# What type of objects to build.
  5575. +pic_mode=$pic_mode
  5576. +
  5577. +# Whether or not to optimize for fast installation.
  5578. +fast_install=$enable_fast_install
  5579. +
  5580. +# The host system.
  5581. +host_alias=$host_alias
  5582. +host=$host
  5583. +host_os=$host_os
  5584. +
  5585. +# The build system.
  5586. +build_alias=$build_alias
  5587. +build=$build
  5588. +build_os=$build_os
  5589. +
  5590. +# A sed program that does not truncate output.
  5591. +SED=$lt_SED
  5592. +
  5593. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  5594. +Xsed="\$SED -e 1s/^X//"
  5595. +
  5596. +# A grep program that handles long lines.
  5597. +GREP=$lt_GREP
  5598. +
  5599. +# An ERE matcher.
  5600. +EGREP=$lt_EGREP
  5601. +
  5602. +# A literal string matcher.
  5603. +FGREP=$lt_FGREP
  5604. +
  5605. +# A BSD- or MS-compatible name lister.
  5606. +NM=$lt_NM
  5607. +
  5608. +# Whether we need soft or hard links.
  5609. +LN_S=$lt_LN_S
  5610. +
  5611. +# What is the maximum length of a command?
  5612. +max_cmd_len=$max_cmd_len
  5613. +
  5614. +# Object file suffix (normally "o").
  5615. +objext=$ac_objext
  5616. +
  5617. +# Executable file suffix (normally "").
  5618. +exeext=$exeext
  5619. +
  5620. +# whether the shell understands "unset".
  5621. +lt_unset=$lt_unset
  5622. +
  5623. +# turn spaces into newlines.
  5624. +SP2NL=$lt_lt_SP2NL
  5625. +
  5626. +# turn newlines into spaces.
  5627. +NL2SP=$lt_lt_NL2SP
  5628. +
  5629. +# How to create reloadable object files.
  5630. +reload_flag=$lt_reload_flag
  5631. +reload_cmds=$lt_reload_cmds
  5632. +
  5633. +# An object symbol dumper.
  5634. +OBJDUMP=$lt_OBJDUMP
  5635. +
  5636. +# Method to check whether dependent libraries are shared objects.
  5637. +deplibs_check_method=$lt_deplibs_check_method
  5638. +
  5639. +# Command to use when deplibs_check_method == "file_magic".
  5640. +file_magic_cmd=$lt_file_magic_cmd
  5641. +
  5642. +# The archiver.
  5643. +AR=$lt_AR
  5644. +AR_FLAGS=$lt_AR_FLAGS
  5645. +
  5646. +# A symbol stripping program.
  5647. +STRIP=$lt_STRIP
  5648. +
  5649. +# Commands used to install an old-style archive.
  5650. +RANLIB=$lt_RANLIB
  5651. +old_postinstall_cmds=$lt_old_postinstall_cmds
  5652. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  5653. +
  5654. +# A C compiler.
  5655. +LTCC=$lt_CC
  5656. +
  5657. +# LTCC compiler flags.
  5658. +LTCFLAGS=$lt_CFLAGS
  5659. +
  5660. +# Take the output of nm and produce a listing of raw symbols and C names.
  5661. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  5662. +
  5663. +# Transform the output of nm in a proper C declaration.
  5664. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  5665. +
  5666. +# Transform the output of nm in a C name address pair.
  5667. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  5668. +
  5669. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  5670. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  5671. +
  5672. +# The name of the directory that contains temporary libtool files.
  5673. +objdir=$objdir
  5674. +
  5675. +# Shell to use when invoking shell scripts.
  5676. +SHELL=$lt_SHELL
  5677. +
  5678. +# An echo program that does not interpret backslashes.
  5679. +ECHO=$lt_ECHO
  5680. +
  5681. +# Used to examine libraries when file_magic_cmd begins with "file".
  5682. +MAGIC_CMD=$MAGIC_CMD
  5683. +
  5684. +# Must we lock files when doing compilation?
  5685. +need_locks=$lt_need_locks
  5686. +
  5687. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  5688. +DSYMUTIL=$lt_DSYMUTIL
  5689. +
  5690. +# Tool to change global to local symbols on Mac OS X.
  5691. +NMEDIT=$lt_NMEDIT
  5692. +
  5693. +# Tool to manipulate fat objects and archives on Mac OS X.
  5694. +LIPO=$lt_LIPO
  5695. +
  5696. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  5697. +OTOOL=$lt_OTOOL
  5698. +
  5699. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  5700. +OTOOL64=$lt_OTOOL64
  5701. +
  5702. +# Old archive suffix (normally "a").
  5703. +libext=$libext
  5704. +
  5705. +# Shared library suffix (normally ".so").
  5706. +shrext_cmds=$lt_shrext_cmds
  5707. +
  5708. +# The commands to extract the exported symbol list from a shared archive.
  5709. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  5710. +
  5711. +# Variables whose values should be saved in libtool wrapper scripts and
  5712. +# restored at link time.
  5713. +variables_saved_for_relink=$lt_variables_saved_for_relink
  5714. +
  5715. +# Do we need the "lib" prefix for modules?
  5716. +need_lib_prefix=$need_lib_prefix
  5717. +
  5718. +# Do we need a version for libraries?
  5719. +need_version=$need_version
  5720. +
  5721. +# Library versioning type.
  5722. +version_type=$version_type
  5723. +
  5724. +# Shared library runtime path variable.
  5725. +runpath_var=$runpath_var
  5726. +
  5727. +# Shared library path variable.
  5728. +shlibpath_var=$shlibpath_var
  5729. +
  5730. +# Is shlibpath searched before the hard-coded library search path?
  5731. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  5732. +
  5733. +# Format of library name prefix.
  5734. +libname_spec=$lt_libname_spec
  5735. +
  5736. +# List of archive names. First name is the real one, the rest are links.
  5737. +# The last name is the one that the linker finds with -lNAME
  5738. +library_names_spec=$lt_library_names_spec
  5739. +
  5740. +# The coded name of the library, if different from the real name.
  5741. +soname_spec=$lt_soname_spec
  5742. +
  5743. +# Command to use after installation of a shared archive.
  5744. +postinstall_cmds=$lt_postinstall_cmds
  5745. +
  5746. +# Command to use after uninstallation of a shared archive.
  5747. +postuninstall_cmds=$lt_postuninstall_cmds
  5748. +
  5749. +# Commands used to finish a libtool library installation in a directory.
  5750. +finish_cmds=$lt_finish_cmds
  5751. +
  5752. +# As "finish_cmds", except a single script fragment to be evaled but
  5753. +# not shown.
  5754. +finish_eval=$lt_finish_eval
  5755. +
  5756. +# Whether we should hardcode library paths into libraries.
  5757. +hardcode_into_libs=$hardcode_into_libs
  5758. +
  5759. +# Compile-time system search path for libraries.
  5760. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  5761. +
  5762. +# Run-time system search path for libraries.
  5763. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  5764. +
  5765. +# Whether dlopen is supported.
  5766. +dlopen_support=$enable_dlopen
  5767. +
  5768. +# Whether dlopen of programs is supported.
  5769. +dlopen_self=$enable_dlopen_self
  5770. +
  5771. +# Whether dlopen of statically linked programs is supported.
  5772. +dlopen_self_static=$enable_dlopen_self_static
  5773. +
  5774. +# Commands to strip libraries.
  5775. +old_striplib=$lt_old_striplib
  5776. +striplib=$lt_striplib
  5777. +
  5778. +
  5779. +# The linker used to build libraries.
  5780. +LD=$lt_LD
  5781. +
  5782. +# Commands used to build an old-style archive.
  5783. +old_archive_cmds=$lt_old_archive_cmds
  5784. +
  5785. +# A language specific compiler.
  5786. +CC=$lt_compiler
  5787. +
  5788. +# Is the compiler the GNU compiler?
  5789. +with_gcc=$GCC
  5790. +
  5791. +# Compiler flag to turn off builtin functions.
  5792. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  5793. +
  5794. +# How to pass a linker flag through the compiler.
  5795. +wl=$lt_lt_prog_compiler_wl
  5796. +
  5797. +# Additional compiler flags for building library objects.
  5798. +pic_flag=$lt_lt_prog_compiler_pic
  5799. +
  5800. +# Compiler flag to prevent dynamic linking.
  5801. +link_static_flag=$lt_lt_prog_compiler_static
  5802. +
  5803. +# Does compiler simultaneously support -c and -o options?
  5804. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  5805. +
  5806. +# Whether or not to add -lc for building shared libraries.
  5807. +build_libtool_need_lc=$archive_cmds_need_lc
  5808. +
  5809. +# Whether or not to disallow shared libs when runtime libs are static.
  5810. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  5811. +
  5812. +# Compiler flag to allow reflexive dlopens.
  5813. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  5814. +
  5815. +# Compiler flag to generate shared objects directly from archives.
  5816. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  5817. +
  5818. +# Whether the compiler copes with passing no objects directly.
  5819. +compiler_needs_object=$lt_compiler_needs_object
  5820. +
  5821. +# Create an old-style archive from a shared archive.
  5822. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  5823. +
  5824. +# Create a temporary old-style archive to link instead of a shared archive.
  5825. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  5826. +
  5827. +# Commands used to build a shared archive.
  5828. +archive_cmds=$lt_archive_cmds
  5829. +archive_expsym_cmds=$lt_archive_expsym_cmds
  5830. +
  5831. +# Commands used to build a loadable module if different from building
  5832. +# a shared archive.
  5833. +module_cmds=$lt_module_cmds
  5834. +module_expsym_cmds=$lt_module_expsym_cmds
  5835. +
  5836. +# Whether we are building with GNU ld or not.
  5837. +with_gnu_ld=$lt_with_gnu_ld
  5838. +
  5839. +# Flag that allows shared libraries with undefined symbols to be built.
  5840. +allow_undefined_flag=$lt_allow_undefined_flag
  5841. +
  5842. +# Flag that enforces no undefined symbols.
  5843. +no_undefined_flag=$lt_no_undefined_flag
  5844. +
  5845. +# Flag to hardcode \$libdir into a binary during linking.
  5846. +# This must work even if \$libdir does not exist
  5847. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  5848. +
  5849. +# If ld is used when linking, flag to hardcode \$libdir into a binary
  5850. +# during linking. This must work even if \$libdir does not exist.
  5851. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  5852. +
  5853. +# Whether we need a single "-rpath" flag with a separated argument.
  5854. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  5855. +
  5856. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  5857. +# DIR into the resulting binary.
  5858. +hardcode_direct=$hardcode_direct
  5859. +
  5860. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  5861. +# DIR into the resulting binary and the resulting library dependency is
  5862. +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  5863. +# library is relocated.
  5864. +hardcode_direct_absolute=$hardcode_direct_absolute
  5865. +
  5866. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  5867. +# into the resulting binary.
  5868. +hardcode_minus_L=$hardcode_minus_L
  5869. +
  5870. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  5871. +# into the resulting binary.
  5872. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  5873. +
  5874. +# Set to "yes" if building a shared library automatically hardcodes DIR
  5875. +# into the library and all subsequent libraries and executables linked
  5876. +# against it.
  5877. +hardcode_automatic=$hardcode_automatic
  5878. +
  5879. +# Set to yes if linker adds runtime paths of dependent libraries
  5880. +# to runtime path list.
  5881. +inherit_rpath=$inherit_rpath
  5882. +
  5883. +# Whether libtool must link a program against all its dependency libraries.
  5884. +link_all_deplibs=$link_all_deplibs
  5885. +
  5886. +# Fix the shell variable \$srcfile for the compiler.
  5887. +fix_srcfile_path=$lt_fix_srcfile_path
  5888. +
  5889. +# Set to "yes" if exported symbols are required.
  5890. +always_export_symbols=$always_export_symbols
  5891. +
  5892. +# The commands to list exported symbols.
  5893. +export_symbols_cmds=$lt_export_symbols_cmds
  5894. +
  5895. +# Symbols that should not be listed in the preloaded symbols.
  5896. +exclude_expsyms=$lt_exclude_expsyms
  5897. +
  5898. +# Symbols that must always be exported.
  5899. +include_expsyms=$lt_include_expsyms
  5900. +
  5901. +# Commands necessary for linking programs (against libraries) with templates.
  5902. +prelink_cmds=$lt_prelink_cmds
  5903. +
  5904. +# Specify filename containing input files.
  5905. +file_list_spec=$lt_file_list_spec
  5906. +
  5907. +# How to hardcode a shared library path into an executable.
  5908. +hardcode_action=$hardcode_action
  5909. +
  5910. +# The directories searched by this compiler when creating a shared library.
  5911. +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  5912. +
  5913. +# Dependencies to place before and after the objects being linked to
  5914. +# create a shared library.
  5915. +predep_objects=$lt_predep_objects
  5916. +postdep_objects=$lt_postdep_objects
  5917. +predeps=$lt_predeps
  5918. +postdeps=$lt_postdeps
  5919. +
  5920. +# The library search path used internally by the compiler when linking
  5921. +# a shared library.
  5922. +compiler_lib_search_path=$lt_compiler_lib_search_path
  5923. +
  5924. +# ### END LIBTOOL CONFIG
  5925. +
  5926. +_LT_EOF
  5927. +
  5928. + case $host_os in
  5929. + aix3*)
  5930. + cat <<\_LT_EOF >> "$cfgfile"
  5931. +# AIX sometimes has problems with the GCC collect2 program. For some
  5932. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  5933. +# vanish in a puff of smoke.
  5934. +if test "X${COLLECT_NAMES+set}" != Xset; then
  5935. + COLLECT_NAMES=
  5936. + export COLLECT_NAMES
  5937. +fi
  5938. +_LT_EOF
  5939. + ;;
  5940. + esac
  5941. +
  5942. +
  5943. +ltmain="$ac_aux_dir/ltmain.sh"
  5944. +
  5945. +
  5946. + # We use sed instead of cat because bash on DJGPP gets confused if
  5947. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  5948. + # text mode, it properly converts lines to CR/LF. This bash problem
  5949. + # is reportedly fixed, but why not run on old versions too?
  5950. + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  5951. + || (rm -f "$cfgfile"; exit 1)
  5952. +
  5953. + case $xsi_shell in
  5954. + yes)
  5955. + cat << \_LT_EOF >> "$cfgfile"
  5956. +
  5957. +# func_dirname file append nondir_replacement
  5958. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  5959. +# otherwise set result to NONDIR_REPLACEMENT.
  5960. +func_dirname ()
  5961. +{
  5962. + case ${1} in
  5963. + */*) func_dirname_result="${1%/*}${2}" ;;
  5964. + * ) func_dirname_result="${3}" ;;
  5965. + esac
  5966. +}
  5967. +
  5968. +# func_basename file
  5969. +func_basename ()
  5970. +{
  5971. + func_basename_result="${1##*/}"
  5972. +}
  5973. +
  5974. +# func_dirname_and_basename file append nondir_replacement
  5975. +# perform func_basename and func_dirname in a single function
  5976. +# call:
  5977. +# dirname: Compute the dirname of FILE. If nonempty,
  5978. +# add APPEND to the result, otherwise set result
  5979. +# to NONDIR_REPLACEMENT.
  5980. +# value returned in "$func_dirname_result"
  5981. +# basename: Compute filename of FILE.
  5982. +# value retuned in "$func_basename_result"
  5983. +# Implementation must be kept synchronized with func_dirname
  5984. +# and func_basename. For efficiency, we do not delegate to
  5985. +# those functions but instead duplicate the functionality here.
  5986. +func_dirname_and_basename ()
  5987. +{
  5988. + case ${1} in
  5989. + */*) func_dirname_result="${1%/*}${2}" ;;
  5990. + * ) func_dirname_result="${3}" ;;
  5991. + esac
  5992. + func_basename_result="${1##*/}"
  5993. +}
  5994. +
  5995. +# func_stripname prefix suffix name
  5996. +# strip PREFIX and SUFFIX off of NAME.
  5997. +# PREFIX and SUFFIX must not contain globbing or regex special
  5998. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  5999. +# dot (in which case that matches only a dot).
  6000. +func_stripname ()
  6001. +{
  6002. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  6003. + # positional parameters, so assign one to ordinary parameter first.
  6004. + func_stripname_result=${3}
  6005. + func_stripname_result=${func_stripname_result#"${1}"}
  6006. + func_stripname_result=${func_stripname_result%"${2}"}
  6007. +}
  6008. +
  6009. +# func_opt_split
  6010. +func_opt_split ()
  6011. +{
  6012. + func_opt_split_opt=${1%%=*}
  6013. + func_opt_split_arg=${1#*=}
  6014. +}
  6015. +
  6016. +# func_lo2o object
  6017. +func_lo2o ()
  6018. +{
  6019. + case ${1} in
  6020. + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  6021. + *) func_lo2o_result=${1} ;;
  6022. + esac
  6023. +}
  6024. +
  6025. +# func_xform libobj-or-source
  6026. +func_xform ()
  6027. +{
  6028. + func_xform_result=${1%.*}.lo
  6029. +}
  6030. +
  6031. +# func_arith arithmetic-term...
  6032. +func_arith ()
  6033. +{
  6034. + func_arith_result=$(( $* ))
  6035. +}
  6036. +
  6037. +# func_len string
  6038. +# STRING may not start with a hyphen.
  6039. +func_len ()
  6040. +{
  6041. + func_len_result=${#1}
  6042. +}
  6043. +
  6044. +_LT_EOF
  6045. + ;;
  6046. + *) # Bourne compatible functions.
  6047. + cat << \_LT_EOF >> "$cfgfile"
  6048. +
  6049. +# func_dirname file append nondir_replacement
  6050. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  6051. +# otherwise set result to NONDIR_REPLACEMENT.
  6052. +func_dirname ()
  6053. +{
  6054. + # Extract subdirectory from the argument.
  6055. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  6056. + if test "X$func_dirname_result" = "X${1}"; then
  6057. + func_dirname_result="${3}"
  6058. + else
  6059. + func_dirname_result="$func_dirname_result${2}"
  6060. + fi
  6061. +}
  6062. +
  6063. +# func_basename file
  6064. +func_basename ()
  6065. +{
  6066. + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  6067. +}
  6068. +
  6069. +
  6070. +# func_stripname prefix suffix name
  6071. +# strip PREFIX and SUFFIX off of NAME.
  6072. +# PREFIX and SUFFIX must not contain globbing or regex special
  6073. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  6074. +# dot (in which case that matches only a dot).
  6075. +# func_strip_suffix prefix name
  6076. +func_stripname ()
  6077. +{
  6078. + case ${2} in
  6079. + .*) func_stripname_result=`$ECHO "X${3}" \
  6080. + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  6081. + *) func_stripname_result=`$ECHO "X${3}" \
  6082. + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  6083. + esac
  6084. +}
  6085. +
  6086. +# sed scripts:
  6087. +my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  6088. +my_sed_long_arg='1s/^-[^=]*=//'
  6089. +
  6090. +# func_opt_split
  6091. +func_opt_split ()
  6092. +{
  6093. + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  6094. + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  6095. +}
  6096. +
  6097. +# func_lo2o object
  6098. +func_lo2o ()
  6099. +{
  6100. + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  6101. +}
  6102. +
  6103. +# func_xform libobj-or-source
  6104. +func_xform ()
  6105. +{
  6106. + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  6107. +}
  6108. +
  6109. +# func_arith arithmetic-term...
  6110. +func_arith ()
  6111. +{
  6112. + func_arith_result=`expr "$@"`
  6113. +}
  6114. +
  6115. +# func_len string
  6116. +# STRING may not start with a hyphen.
  6117. +func_len ()
  6118. +{
  6119. + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  6120. +}
  6121. +
  6122. +_LT_EOF
  6123. +esac
  6124. +
  6125. +case $lt_shell_append in
  6126. + yes)
  6127. + cat << \_LT_EOF >> "$cfgfile"
  6128. +
  6129. +# func_append var value
  6130. +# Append VALUE to the end of shell variable VAR.
  6131. +func_append ()
  6132. +{
  6133. + eval "$1+=\$2"
  6134. +}
  6135. +_LT_EOF
  6136. + ;;
  6137. + *)
  6138. + cat << \_LT_EOF >> "$cfgfile"
  6139. +
  6140. +# func_append var value
  6141. +# Append VALUE to the end of shell variable VAR.
  6142. +func_append ()
  6143. +{
  6144. + eval "$1=\$$1\$2"
  6145. +}
  6146. +
  6147. +_LT_EOF
  6148. + ;;
  6149. + esac
  6150. +
  6151. +
  6152. + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  6153. + || (rm -f "$cfgfile"; exit 1)
  6154. +
  6155. + mv -f "$cfgfile" "$ofile" ||
  6156. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  6157. + chmod +x "$ofile"
  6158. +
  6159. +
  6160. + cat <<_LT_EOF >> "$ofile"
  6161. +
  6162. +# ### BEGIN LIBTOOL TAG CONFIG: CXX
  6163. +
  6164. +# The linker used to build libraries.
  6165. +LD=$lt_LD_CXX
  6166. +
  6167. +# Commands used to build an old-style archive.
  6168. +old_archive_cmds=$lt_old_archive_cmds_CXX
  6169. +
  6170. +# A language specific compiler.
  6171. +CC=$lt_compiler_CXX
  6172. +
  6173. +# Is the compiler the GNU compiler?
  6174. +with_gcc=$GCC_CXX
  6175. +
  6176. +# Compiler flag to turn off builtin functions.
  6177. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  6178. +
  6179. +# How to pass a linker flag through the compiler.
  6180. +wl=$lt_lt_prog_compiler_wl_CXX
  6181. +
  6182. +# Additional compiler flags for building library objects.
  6183. +pic_flag=$lt_lt_prog_compiler_pic_CXX
  6184. +
  6185. +# Compiler flag to prevent dynamic linking.
  6186. +link_static_flag=$lt_lt_prog_compiler_static_CXX
  6187. +
  6188. +# Does compiler simultaneously support -c and -o options?
  6189. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  6190. +
  6191. +# Whether or not to add -lc for building shared libraries.
  6192. +build_libtool_need_lc=$archive_cmds_need_lc_CXX
  6193. +
  6194. +# Whether or not to disallow shared libs when runtime libs are static.
  6195. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  6196. +
  6197. +# Compiler flag to allow reflexive dlopens.
  6198. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  6199. +
  6200. +# Compiler flag to generate shared objects directly from archives.
  6201. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  6202. +
  6203. +# Whether the compiler copes with passing no objects directly.
  6204. +compiler_needs_object=$lt_compiler_needs_object_CXX
  6205. +
  6206. +# Create an old-style archive from a shared archive.
  6207. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  6208. +
  6209. +# Create a temporary old-style archive to link instead of a shared archive.
  6210. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  6211. +
  6212. +# Commands used to build a shared archive.
  6213. +archive_cmds=$lt_archive_cmds_CXX
  6214. +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  6215. +
  6216. +# Commands used to build a loadable module if different from building
  6217. +# a shared archive.
  6218. +module_cmds=$lt_module_cmds_CXX
  6219. +module_expsym_cmds=$lt_module_expsym_cmds_CXX
  6220. +
  6221. +# Whether we are building with GNU ld or not.
  6222. +with_gnu_ld=$lt_with_gnu_ld_CXX
  6223. +
  6224. +# Flag that allows shared libraries with undefined symbols to be built.
  6225. +allow_undefined_flag=$lt_allow_undefined_flag_CXX
  6226. +
  6227. +# Flag that enforces no undefined symbols.
  6228. +no_undefined_flag=$lt_no_undefined_flag_CXX
  6229. +
  6230. +# Flag to hardcode \$libdir into a binary during linking.
  6231. +# This must work even if \$libdir does not exist
  6232. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  6233. +
  6234. +# If ld is used when linking, flag to hardcode \$libdir into a binary
  6235. +# during linking. This must work even if \$libdir does not exist.
  6236. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
  6237. +
  6238. +# Whether we need a single "-rpath" flag with a separated argument.
  6239. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  6240. +
  6241. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  6242. +# DIR into the resulting binary.
  6243. +hardcode_direct=$hardcode_direct_CXX
  6244. +
  6245. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  6246. +# DIR into the resulting binary and the resulting library dependency is
  6247. +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  6248. +# library is relocated.
  6249. +hardcode_direct_absolute=$hardcode_direct_absolute_CXX
  6250. +
  6251. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  6252. +# into the resulting binary.
  6253. +hardcode_minus_L=$hardcode_minus_L_CXX
  6254. +
  6255. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  6256. +# into the resulting binary.
  6257. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  6258. +
  6259. +# Set to "yes" if building a shared library automatically hardcodes DIR
  6260. +# into the library and all subsequent libraries and executables linked
  6261. +# against it.
  6262. +hardcode_automatic=$hardcode_automatic_CXX
  6263. +
  6264. +# Set to yes if linker adds runtime paths of dependent libraries
  6265. +# to runtime path list.
  6266. +inherit_rpath=$inherit_rpath_CXX
  6267. +
  6268. +# Whether libtool must link a program against all its dependency libraries.
  6269. +link_all_deplibs=$link_all_deplibs_CXX
  6270. +
  6271. +# Fix the shell variable \$srcfile for the compiler.
  6272. +fix_srcfile_path=$lt_fix_srcfile_path_CXX
  6273. +
  6274. +# Set to "yes" if exported symbols are required.
  6275. +always_export_symbols=$always_export_symbols_CXX
  6276. +
  6277. +# The commands to list exported symbols.
  6278. +export_symbols_cmds=$lt_export_symbols_cmds_CXX
  6279. +
  6280. +# Symbols that should not be listed in the preloaded symbols.
  6281. +exclude_expsyms=$lt_exclude_expsyms_CXX
  6282. +
  6283. +# Symbols that must always be exported.
  6284. +include_expsyms=$lt_include_expsyms_CXX
  6285. +
  6286. +# Commands necessary for linking programs (against libraries) with templates.
  6287. +prelink_cmds=$lt_prelink_cmds_CXX
  6288. +
  6289. +# Specify filename containing input files.
  6290. +file_list_spec=$lt_file_list_spec_CXX
  6291. +
  6292. +# How to hardcode a shared library path into an executable.
  6293. +hardcode_action=$hardcode_action_CXX
  6294. +
  6295. +# The directories searched by this compiler when creating a shared library.
  6296. +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
  6297. +
  6298. +# Dependencies to place before and after the objects being linked to
  6299. +# create a shared library.
  6300. +predep_objects=$lt_predep_objects_CXX
  6301. +postdep_objects=$lt_postdep_objects_CXX
  6302. +predeps=$lt_predeps_CXX
  6303. +postdeps=$lt_postdeps_CXX
  6304. +
  6305. +# The library search path used internally by the compiler when linking
  6306. +# a shared library.
  6307. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  6308. +
  6309. +# ### END LIBTOOL TAG CONFIG: CXX
  6310. +_LT_EOF
  6311. +
  6312. + ;;
  6313. +
  6314. + esac
  6315. +done # for ac_tag
  6316. +
  6317. +
  6318. +as_fn_exit 0
  6319. diff -Nur gpsd-2.39.orig/configure gpsd-2.39/configure
  6320. --- gpsd-2.39.orig/configure 2009-03-18 22:10:31.000000000 +0100
  6321. +++ gpsd-2.39/configure 2010-02-18 21:42:02.312851450 +0100
  6322. @@ -1,60 +1,83 @@
  6323. #! /bin/sh
  6324. # Guess values for system-dependent variables and create Makefiles.
  6325. -# Generated by GNU Autoconf 2.61.
  6326. +# Generated by GNU Autoconf 2.65.
  6327. +#
  6328. #
  6329. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  6330. -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  6331. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  6332. +# Inc.
  6333. +#
  6334. +#
  6335. # This configure script is free software; the Free Software Foundation
  6336. # gives unlimited permission to copy, distribute and modify it.
  6337. -## --------------------- ##
  6338. -## M4sh Initialization. ##
  6339. -## --------------------- ##
  6340. +## -------------------- ##
  6341. +## M4sh Initialization. ##
  6342. +## -------------------- ##
  6343. # Be more Bourne compatible
  6344. DUALCASE=1; export DUALCASE # for MKS sh
  6345. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  6346. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  6347. emulate sh
  6348. NULLCMD=:
  6349. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  6350. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  6351. # is contrary to our usage. Disable this feature.
  6352. alias -g '${1+"$@"}'='"$@"'
  6353. setopt NO_GLOB_SUBST
  6354. else
  6355. - case `(set -o) 2>/dev/null` in
  6356. - *posix*) set -o posix ;;
  6357. + case `(set -o) 2>/dev/null` in #(
  6358. + *posix*) :
  6359. + set -o posix ;; #(
  6360. + *) :
  6361. + ;;
  6362. esac
  6363. -
  6364. fi
  6365. -
  6366. -
  6367. -# PATH needs CR
  6368. -# Avoid depending upon Character Ranges.
  6369. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  6370. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  6371. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  6372. -as_cr_digits='0123456789'
  6373. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  6374. -
  6375. -# The user is always right.
  6376. -if test "${PATH_SEPARATOR+set}" != set; then
  6377. - echo "#! /bin/sh" >conf$$.sh
  6378. - echo "exit 0" >>conf$$.sh
  6379. - chmod +x conf$$.sh
  6380. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  6381. - PATH_SEPARATOR=';'
  6382. - else
  6383. - PATH_SEPARATOR=:
  6384. +as_nl='
  6385. +'
  6386. +export as_nl
  6387. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  6388. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  6389. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  6390. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  6391. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  6392. +# but without wasting forks for bash or zsh.
  6393. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  6394. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  6395. + as_echo='print -r --'
  6396. + as_echo_n='print -rn --'
  6397. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  6398. + as_echo='printf %s\n'
  6399. + as_echo_n='printf %s'
  6400. +else
  6401. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  6402. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  6403. + as_echo_n='/usr/ucb/echo -n'
  6404. + else
  6405. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  6406. + as_echo_n_body='eval
  6407. + arg=$1;
  6408. + case $arg in #(
  6409. + *"$as_nl"*)
  6410. + expr "X$arg" : "X\\(.*\\)$as_nl";
  6411. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  6412. + esac;
  6413. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  6414. + '
  6415. + export as_echo_n_body
  6416. + as_echo_n='sh -c $as_echo_n_body as_echo'
  6417. fi
  6418. - rm -f conf$$.sh
  6419. + export as_echo_body
  6420. + as_echo='sh -c $as_echo_body as_echo'
  6421. fi
  6422. -# Support unset when possible.
  6423. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  6424. - as_unset=unset
  6425. -else
  6426. - as_unset=false
  6427. +# The user is always right.
  6428. +if test "${PATH_SEPARATOR+set}" != set; then
  6429. + PATH_SEPARATOR=:
  6430. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  6431. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  6432. + PATH_SEPARATOR=';'
  6433. + }
  6434. fi
  6435. @@ -63,20 +86,18 @@
  6436. # there to prevent editors from complaining about space-tab.
  6437. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  6438. # splitting by setting IFS to empty value.)
  6439. -as_nl='
  6440. -'
  6441. IFS=" "" $as_nl"
  6442. # Find who we are. Look in the path if we contain no directory separator.
  6443. -case $0 in
  6444. +case $0 in #((
  6445. *[\\/]* ) as_myself=$0 ;;
  6446. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6447. for as_dir in $PATH
  6448. do
  6449. IFS=$as_save_IFS
  6450. test -z "$as_dir" && as_dir=.
  6451. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  6452. -done
  6453. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  6454. + done
  6455. IFS=$as_save_IFS
  6456. ;;
  6457. @@ -87,32 +108,270 @@
  6458. as_myself=$0
  6459. fi
  6460. if test ! -f "$as_myself"; then
  6461. - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  6462. - { (exit 1); exit 1; }
  6463. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  6464. + exit 1
  6465. fi
  6466. -# Work around bugs in pre-3.0 UWIN ksh.
  6467. -for as_var in ENV MAIL MAILPATH
  6468. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  6469. +# Unset variables that we do not need and which cause bugs (e.g. in
  6470. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  6471. +# suppresses any "Segmentation fault" message there. '((' could
  6472. +# trigger a bug in pdksh 5.2.14.
  6473. +for as_var in BASH_ENV ENV MAIL MAILPATH
  6474. +do eval test x\${$as_var+set} = xset \
  6475. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  6476. done
  6477. PS1='$ '
  6478. PS2='> '
  6479. PS4='+ '
  6480. # NLS nuisances.
  6481. -for as_var in \
  6482. - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  6483. - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  6484. - LC_TELEPHONE LC_TIME
  6485. +LC_ALL=C
  6486. +export LC_ALL
  6487. +LANGUAGE=C
  6488. +export LANGUAGE
  6489. +
  6490. +# CDPATH.
  6491. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  6492. +
  6493. +if test "x$CONFIG_SHELL" = x; then
  6494. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  6495. + emulate sh
  6496. + NULLCMD=:
  6497. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  6498. + # is contrary to our usage. Disable this feature.
  6499. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  6500. + setopt NO_GLOB_SUBST
  6501. +else
  6502. + case \`(set -o) 2>/dev/null\` in #(
  6503. + *posix*) :
  6504. + set -o posix ;; #(
  6505. + *) :
  6506. + ;;
  6507. +esac
  6508. +fi
  6509. +"
  6510. + as_required="as_fn_return () { (exit \$1); }
  6511. +as_fn_success () { as_fn_return 0; }
  6512. +as_fn_failure () { as_fn_return 1; }
  6513. +as_fn_ret_success () { return 0; }
  6514. +as_fn_ret_failure () { return 1; }
  6515. +
  6516. +exitcode=0
  6517. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  6518. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  6519. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  6520. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  6521. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  6522. +
  6523. +else
  6524. + exitcode=1; echo positional parameters were not saved.
  6525. +fi
  6526. +test x\$exitcode = x0 || exit 1"
  6527. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  6528. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  6529. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  6530. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  6531. +test \$(( 1 + 1 )) = 2 || exit 1"
  6532. + if (eval "$as_required") 2>/dev/null; then :
  6533. + as_have_required=yes
  6534. +else
  6535. + as_have_required=no
  6536. +fi
  6537. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  6538. +
  6539. +else
  6540. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6541. +as_found=false
  6542. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  6543. do
  6544. - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  6545. - eval $as_var=C; export $as_var
  6546. - else
  6547. - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  6548. - fi
  6549. + IFS=$as_save_IFS
  6550. + test -z "$as_dir" && as_dir=.
  6551. + as_found=:
  6552. + case $as_dir in #(
  6553. + /*)
  6554. + for as_base in sh bash ksh sh5; do
  6555. + # Try only shells that exist, to save several forks.
  6556. + as_shell=$as_dir/$as_base
  6557. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  6558. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  6559. + CONFIG_SHELL=$as_shell as_have_required=yes
  6560. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  6561. + break 2
  6562. +fi
  6563. +fi
  6564. + done;;
  6565. + esac
  6566. + as_found=false
  6567. done
  6568. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  6569. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  6570. + CONFIG_SHELL=$SHELL as_have_required=yes
  6571. +fi; }
  6572. +IFS=$as_save_IFS
  6573. +
  6574. +
  6575. + if test "x$CONFIG_SHELL" != x; then :
  6576. + # We cannot yet assume a decent shell, so we have to provide a
  6577. + # neutralization value for shells without unset; and this also
  6578. + # works around shells that cannot unset nonexistent variables.
  6579. + BASH_ENV=/dev/null
  6580. + ENV=/dev/null
  6581. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  6582. + export CONFIG_SHELL
  6583. + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  6584. +fi
  6585. +
  6586. + if test x$as_have_required = xno; then :
  6587. + $as_echo "$0: This script requires a shell more modern than all"
  6588. + $as_echo "$0: the shells that I found on your system."
  6589. + if test x${ZSH_VERSION+set} = xset ; then
  6590. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  6591. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  6592. + else
  6593. + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  6594. +$0: including any error possibly output before this
  6595. +$0: message. Then install a modern shell, or manually run
  6596. +$0: the script under such a shell if you do have one."
  6597. + fi
  6598. + exit 1
  6599. +fi
  6600. +fi
  6601. +fi
  6602. +SHELL=${CONFIG_SHELL-/bin/sh}
  6603. +export SHELL
  6604. +# Unset more variables known to interfere with behavior of common tools.
  6605. +CLICOLOR_FORCE= GREP_OPTIONS=
  6606. +unset CLICOLOR_FORCE GREP_OPTIONS
  6607. +
  6608. +## --------------------- ##
  6609. +## M4sh Shell Functions. ##
  6610. +## --------------------- ##
  6611. +# as_fn_unset VAR
  6612. +# ---------------
  6613. +# Portably unset VAR.
  6614. +as_fn_unset ()
  6615. +{
  6616. + { eval $1=; unset $1;}
  6617. +}
  6618. +as_unset=as_fn_unset
  6619. +
  6620. +# as_fn_set_status STATUS
  6621. +# -----------------------
  6622. +# Set $? to STATUS, without forking.
  6623. +as_fn_set_status ()
  6624. +{
  6625. + return $1
  6626. +} # as_fn_set_status
  6627. +
  6628. +# as_fn_exit STATUS
  6629. +# -----------------
  6630. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  6631. +as_fn_exit ()
  6632. +{
  6633. + set +e
  6634. + as_fn_set_status $1
  6635. + exit $1
  6636. +} # as_fn_exit
  6637. +
  6638. +# as_fn_mkdir_p
  6639. +# -------------
  6640. +# Create "$as_dir" as a directory, including parents if necessary.
  6641. +as_fn_mkdir_p ()
  6642. +{
  6643. +
  6644. + case $as_dir in #(
  6645. + -*) as_dir=./$as_dir;;
  6646. + esac
  6647. + test -d "$as_dir" || eval $as_mkdir_p || {
  6648. + as_dirs=
  6649. + while :; do
  6650. + case $as_dir in #(
  6651. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  6652. + *) as_qdir=$as_dir;;
  6653. + esac
  6654. + as_dirs="'$as_qdir' $as_dirs"
  6655. + as_dir=`$as_dirname -- "$as_dir" ||
  6656. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  6657. + X"$as_dir" : 'X\(//\)[^/]' \| \
  6658. + X"$as_dir" : 'X\(//\)$' \| \
  6659. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  6660. +$as_echo X"$as_dir" |
  6661. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  6662. + s//\1/
  6663. + q
  6664. + }
  6665. + /^X\(\/\/\)[^/].*/{
  6666. + s//\1/
  6667. + q
  6668. + }
  6669. + /^X\(\/\/\)$/{
  6670. + s//\1/
  6671. + q
  6672. + }
  6673. + /^X\(\/\).*/{
  6674. + s//\1/
  6675. + q
  6676. + }
  6677. + s/.*/./; q'`
  6678. + test -d "$as_dir" && break
  6679. + done
  6680. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  6681. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  6682. +
  6683. +
  6684. +} # as_fn_mkdir_p
  6685. +# as_fn_append VAR VALUE
  6686. +# ----------------------
  6687. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  6688. +# advantage of any shell optimizations that allow amortized linear growth over
  6689. +# repeated appends, instead of the typical quadratic growth present in naive
  6690. +# implementations.
  6691. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  6692. + eval 'as_fn_append ()
  6693. + {
  6694. + eval $1+=\$2
  6695. + }'
  6696. +else
  6697. + as_fn_append ()
  6698. + {
  6699. + eval $1=\$$1\$2
  6700. + }
  6701. +fi # as_fn_append
  6702. +
  6703. +# as_fn_arith ARG...
  6704. +# ------------------
  6705. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  6706. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  6707. +# must be portable across $(()) and expr.
  6708. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  6709. + eval 'as_fn_arith ()
  6710. + {
  6711. + as_val=$(( $* ))
  6712. + }'
  6713. +else
  6714. + as_fn_arith ()
  6715. + {
  6716. + as_val=`expr "$@" || test $? -eq 1`
  6717. + }
  6718. +fi # as_fn_arith
  6719. +
  6720. +
  6721. +# as_fn_error ERROR [LINENO LOG_FD]
  6722. +# ---------------------------------
  6723. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  6724. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  6725. +# script with status $?, using 1 if that was 0.
  6726. +as_fn_error ()
  6727. +{
  6728. + as_status=$?; test $as_status -eq 0 && as_status=1
  6729. + if test "$3"; then
  6730. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  6731. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  6732. + fi
  6733. + $as_echo "$as_me: error: $1" >&2
  6734. + as_fn_exit $as_status
  6735. +} # as_fn_error
  6736. -# Required to use basename.
  6737. if expr a : '\(a\)' >/dev/null 2>&1 &&
  6738. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  6739. as_expr=expr
  6740. @@ -126,13 +385,17 @@
  6741. as_basename=false
  6742. fi
  6743. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  6744. + as_dirname=dirname
  6745. +else
  6746. + as_dirname=false
  6747. +fi
  6748. -# Name of the executable.
  6749. as_me=`$as_basename -- "$0" ||
  6750. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  6751. X"$0" : 'X\(//\)$' \| \
  6752. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  6753. -echo X/"$0" |
  6754. +$as_echo X/"$0" |
  6755. sed '/^.*\/\([^/][^/]*\)\/*$/{
  6756. s//\1/
  6757. q
  6758. @@ -147,417 +410,131 @@
  6759. }
  6760. s/.*/./; q'`
  6761. -# CDPATH.
  6762. -$as_unset CDPATH
  6763. +# Avoid depending upon Character Ranges.
  6764. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  6765. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  6766. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  6767. +as_cr_digits='0123456789'
  6768. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  6769. -if test "x$CONFIG_SHELL" = x; then
  6770. - if (eval ":") 2>/dev/null; then
  6771. - as_have_required=yes
  6772. -else
  6773. - as_have_required=no
  6774. -fi
  6775. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  6776. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  6777. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  6778. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  6779. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  6780. + sed -n '
  6781. + p
  6782. + /[$]LINENO/=
  6783. + ' <$as_myself |
  6784. + sed '
  6785. + s/[$]LINENO.*/&-/
  6786. + t lineno
  6787. + b
  6788. + :lineno
  6789. + N
  6790. + :loop
  6791. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  6792. + t loop
  6793. + s/-\n.*//
  6794. + ' >$as_me.lineno &&
  6795. + chmod +x "$as_me.lineno" ||
  6796. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  6797. - if test $as_have_required = yes && (eval ":
  6798. -(as_func_return () {
  6799. - (exit \$1)
  6800. -}
  6801. -as_func_success () {
  6802. - as_func_return 0
  6803. -}
  6804. -as_func_failure () {
  6805. - as_func_return 1
  6806. -}
  6807. -as_func_ret_success () {
  6808. - return 0
  6809. -}
  6810. -as_func_ret_failure () {
  6811. - return 1
  6812. + # Don't try to exec as it changes $[0], causing all sort of problems
  6813. + # (the dirname of $[0] is not the place where we might find the
  6814. + # original and so on. Autoconf is especially sensitive to this).
  6815. + . "./$as_me.lineno"
  6816. + # Exit status is that of the last command.
  6817. + exit
  6818. }
  6819. -exitcode=0
  6820. -if as_func_success; then
  6821. - :
  6822. -else
  6823. - exitcode=1
  6824. - echo as_func_success failed.
  6825. -fi
  6826. +ECHO_C= ECHO_N= ECHO_T=
  6827. +case `echo -n x` in #(((((
  6828. +-n*)
  6829. + case `echo 'xy\c'` in
  6830. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  6831. + xy) ECHO_C='\c';;
  6832. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  6833. + ECHO_T=' ';;
  6834. + esac;;
  6835. +*)
  6836. + ECHO_N='-n';;
  6837. +esac
  6838. -if as_func_failure; then
  6839. - exitcode=1
  6840. - echo as_func_failure succeeded.
  6841. +rm -f conf$$ conf$$.exe conf$$.file
  6842. +if test -d conf$$.dir; then
  6843. + rm -f conf$$.dir/conf$$.file
  6844. +else
  6845. + rm -f conf$$.dir
  6846. + mkdir conf$$.dir 2>/dev/null
  6847. fi
  6848. -
  6849. -if as_func_ret_success; then
  6850. - :
  6851. +if (echo >conf$$.file) 2>/dev/null; then
  6852. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  6853. + as_ln_s='ln -s'
  6854. + # ... but there are two gotchas:
  6855. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  6856. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  6857. + # In both cases, we have to default to `cp -p'.
  6858. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  6859. + as_ln_s='cp -p'
  6860. + elif ln conf$$.file conf$$ 2>/dev/null; then
  6861. + as_ln_s=ln
  6862. + else
  6863. + as_ln_s='cp -p'
  6864. + fi
  6865. else
  6866. - exitcode=1
  6867. - echo as_func_ret_success failed.
  6868. + as_ln_s='cp -p'
  6869. fi
  6870. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  6871. +rmdir conf$$.dir 2>/dev/null
  6872. -if as_func_ret_failure; then
  6873. - exitcode=1
  6874. - echo as_func_ret_failure succeeded.
  6875. +if mkdir -p . 2>/dev/null; then
  6876. + as_mkdir_p='mkdir -p "$as_dir"'
  6877. +else
  6878. + test -d ./-p && rmdir ./-p
  6879. + as_mkdir_p=false
  6880. fi
  6881. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  6882. - :
  6883. +if test -x / >/dev/null 2>&1; then
  6884. + as_test_x='test -x'
  6885. else
  6886. - exitcode=1
  6887. - echo positional parameters were not saved.
  6888. + if ls -dL / >/dev/null 2>&1; then
  6889. + as_ls_L_option=L
  6890. + else
  6891. + as_ls_L_option=
  6892. + fi
  6893. + as_test_x='
  6894. + eval sh -c '\''
  6895. + if test -d "$1"; then
  6896. + test -d "$1/.";
  6897. + else
  6898. + case $1 in #(
  6899. + -*)set "./$1";;
  6900. + esac;
  6901. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  6902. + ???[sx]*):;;*)false;;esac;fi
  6903. + '\'' sh
  6904. + '
  6905. fi
  6906. +as_executable_p=$as_test_x
  6907. -test \$exitcode = 0) || { (exit 1); exit 1; }
  6908. -
  6909. -(
  6910. - as_lineno_1=\$LINENO
  6911. - as_lineno_2=\$LINENO
  6912. - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  6913. - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  6914. -") 2> /dev/null; then
  6915. - :
  6916. -else
  6917. - as_candidate_shells=
  6918. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6919. -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  6920. -do
  6921. - IFS=$as_save_IFS
  6922. - test -z "$as_dir" && as_dir=.
  6923. - case $as_dir in
  6924. - /*)
  6925. - for as_base in sh bash ksh sh5; do
  6926. - as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  6927. - done;;
  6928. - esac
  6929. -done
  6930. -IFS=$as_save_IFS
  6931. +# Sed expression to map a string onto a valid CPP name.
  6932. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  6933. +# Sed expression to map a string onto a valid variable name.
  6934. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  6935. - for as_shell in $as_candidate_shells $SHELL; do
  6936. - # Try only shells that exist, to save several forks.
  6937. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  6938. - { ("$as_shell") 2> /dev/null <<\_ASEOF
  6939. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  6940. - emulate sh
  6941. - NULLCMD=:
  6942. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  6943. - # is contrary to our usage. Disable this feature.
  6944. - alias -g '${1+"$@"}'='"$@"'
  6945. - setopt NO_GLOB_SUBST
  6946. -else
  6947. - case `(set -o) 2>/dev/null` in
  6948. - *posix*) set -o posix ;;
  6949. -esac
  6950. -fi
  6951. +# Check that we are running under the correct shell.
  6952. +SHELL=${CONFIG_SHELL-/bin/sh}
  6953. -:
  6954. -_ASEOF
  6955. -}; then
  6956. - CONFIG_SHELL=$as_shell
  6957. - as_have_required=yes
  6958. - if { "$as_shell" 2> /dev/null <<\_ASEOF
  6959. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  6960. - emulate sh
  6961. - NULLCMD=:
  6962. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  6963. - # is contrary to our usage. Disable this feature.
  6964. - alias -g '${1+"$@"}'='"$@"'
  6965. - setopt NO_GLOB_SUBST
  6966. -else
  6967. - case `(set -o) 2>/dev/null` in
  6968. - *posix*) set -o posix ;;
  6969. -esac
  6970. -
  6971. -fi
  6972. -
  6973. -
  6974. -:
  6975. -(as_func_return () {
  6976. - (exit $1)
  6977. -}
  6978. -as_func_success () {
  6979. - as_func_return 0
  6980. -}
  6981. -as_func_failure () {
  6982. - as_func_return 1
  6983. -}
  6984. -as_func_ret_success () {
  6985. - return 0
  6986. -}
  6987. -as_func_ret_failure () {
  6988. - return 1
  6989. -}
  6990. -
  6991. -exitcode=0
  6992. -if as_func_success; then
  6993. - :
  6994. -else
  6995. - exitcode=1
  6996. - echo as_func_success failed.
  6997. -fi
  6998. -
  6999. -if as_func_failure; then
  7000. - exitcode=1
  7001. - echo as_func_failure succeeded.
  7002. -fi
  7003. -
  7004. -if as_func_ret_success; then
  7005. - :
  7006. -else
  7007. - exitcode=1
  7008. - echo as_func_ret_success failed.
  7009. -fi
  7010. -
  7011. -if as_func_ret_failure; then
  7012. - exitcode=1
  7013. - echo as_func_ret_failure succeeded.
  7014. -fi
  7015. -
  7016. -if ( set x; as_func_ret_success y && test x = "$1" ); then
  7017. - :
  7018. -else
  7019. - exitcode=1
  7020. - echo positional parameters were not saved.
  7021. -fi
  7022. -
  7023. -test $exitcode = 0) || { (exit 1); exit 1; }
  7024. -
  7025. -(
  7026. - as_lineno_1=$LINENO
  7027. - as_lineno_2=$LINENO
  7028. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  7029. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  7030. -
  7031. -_ASEOF
  7032. -}; then
  7033. - break
  7034. -fi
  7035. -
  7036. -fi
  7037. -
  7038. - done
  7039. -
  7040. - if test "x$CONFIG_SHELL" != x; then
  7041. - for as_var in BASH_ENV ENV
  7042. - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  7043. - done
  7044. - export CONFIG_SHELL
  7045. - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  7046. -fi
  7047. -
  7048. -
  7049. - if test $as_have_required = no; then
  7050. - echo This script requires a shell more modern than all the
  7051. - echo shells that I found on your system. Please install a
  7052. - echo modern shell, or manually run the script under such a
  7053. - echo shell if you do have one.
  7054. - { (exit 1); exit 1; }
  7055. -fi
  7056. -
  7057. -
  7058. -fi
  7059. -
  7060. -fi
  7061. -
  7062. -
  7063. -
  7064. -(eval "as_func_return () {
  7065. - (exit \$1)
  7066. -}
  7067. -as_func_success () {
  7068. - as_func_return 0
  7069. -}
  7070. -as_func_failure () {
  7071. - as_func_return 1
  7072. -}
  7073. -as_func_ret_success () {
  7074. - return 0
  7075. -}
  7076. -as_func_ret_failure () {
  7077. - return 1
  7078. -}
  7079. -
  7080. -exitcode=0
  7081. -if as_func_success; then
  7082. - :
  7083. -else
  7084. - exitcode=1
  7085. - echo as_func_success failed.
  7086. -fi
  7087. -
  7088. -if as_func_failure; then
  7089. - exitcode=1
  7090. - echo as_func_failure succeeded.
  7091. -fi
  7092. -
  7093. -if as_func_ret_success; then
  7094. - :
  7095. -else
  7096. - exitcode=1
  7097. - echo as_func_ret_success failed.
  7098. -fi
  7099. -
  7100. -if as_func_ret_failure; then
  7101. - exitcode=1
  7102. - echo as_func_ret_failure succeeded.
  7103. -fi
  7104. -
  7105. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  7106. - :
  7107. -else
  7108. - exitcode=1
  7109. - echo positional parameters were not saved.
  7110. -fi
  7111. -
  7112. -test \$exitcode = 0") || {
  7113. - echo No shell found that supports shell functions.
  7114. - echo Please tell autoconf@gnu.org about your system,
  7115. - echo including any error possibly output before this
  7116. - echo message
  7117. -}
  7118. -
  7119. -
  7120. -
  7121. - as_lineno_1=$LINENO
  7122. - as_lineno_2=$LINENO
  7123. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  7124. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  7125. -
  7126. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  7127. - # uniformly replaced by the line number. The first 'sed' inserts a
  7128. - # line-number line after each line using $LINENO; the second 'sed'
  7129. - # does the real work. The second script uses 'N' to pair each
  7130. - # line-number line with the line containing $LINENO, and appends
  7131. - # trailing '-' during substitution so that $LINENO is not a special
  7132. - # case at line end.
  7133. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  7134. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  7135. - # E. McMahon (1931-1989) for sed's syntax. :-)
  7136. - sed -n '
  7137. - p
  7138. - /[$]LINENO/=
  7139. - ' <$as_myself |
  7140. - sed '
  7141. - s/[$]LINENO.*/&-/
  7142. - t lineno
  7143. - b
  7144. - :lineno
  7145. - N
  7146. - :loop
  7147. - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  7148. - t loop
  7149. - s/-\n.*//
  7150. - ' >$as_me.lineno &&
  7151. - chmod +x "$as_me.lineno" ||
  7152. - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  7153. - { (exit 1); exit 1; }; }
  7154. -
  7155. - # Don't try to exec as it changes $[0], causing all sort of problems
  7156. - # (the dirname of $[0] is not the place where we might find the
  7157. - # original and so on. Autoconf is especially sensitive to this).
  7158. - . "./$as_me.lineno"
  7159. - # Exit status is that of the last command.
  7160. - exit
  7161. -}
  7162. -
  7163. -
  7164. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  7165. - as_dirname=dirname
  7166. -else
  7167. - as_dirname=false
  7168. -fi
  7169. -
  7170. -ECHO_C= ECHO_N= ECHO_T=
  7171. -case `echo -n x` in
  7172. --n*)
  7173. - case `echo 'x\c'` in
  7174. - *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  7175. - *) ECHO_C='\c';;
  7176. - esac;;
  7177. -*)
  7178. - ECHO_N='-n';;
  7179. -esac
  7180. -
  7181. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  7182. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  7183. - as_expr=expr
  7184. -else
  7185. - as_expr=false
  7186. -fi
  7187. -
  7188. -rm -f conf$$ conf$$.exe conf$$.file
  7189. -if test -d conf$$.dir; then
  7190. - rm -f conf$$.dir/conf$$.file
  7191. -else
  7192. - rm -f conf$$.dir
  7193. - mkdir conf$$.dir
  7194. -fi
  7195. -echo >conf$$.file
  7196. -if ln -s conf$$.file conf$$ 2>/dev/null; then
  7197. - as_ln_s='ln -s'
  7198. - # ... but there are two gotchas:
  7199. - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  7200. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  7201. - # In both cases, we have to default to `cp -p'.
  7202. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  7203. - as_ln_s='cp -p'
  7204. -elif ln conf$$.file conf$$ 2>/dev/null; then
  7205. - as_ln_s=ln
  7206. -else
  7207. - as_ln_s='cp -p'
  7208. -fi
  7209. -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  7210. -rmdir conf$$.dir 2>/dev/null
  7211. -
  7212. -if mkdir -p . 2>/dev/null; then
  7213. - as_mkdir_p=:
  7214. -else
  7215. - test -d ./-p && rmdir ./-p
  7216. - as_mkdir_p=false
  7217. -fi
  7218. -
  7219. -if test -x / >/dev/null 2>&1; then
  7220. - as_test_x='test -x'
  7221. -else
  7222. - if ls -dL / >/dev/null 2>&1; then
  7223. - as_ls_L_option=L
  7224. - else
  7225. - as_ls_L_option=
  7226. - fi
  7227. - as_test_x='
  7228. - eval sh -c '\''
  7229. - if test -d "$1"; then
  7230. - test -d "$1/.";
  7231. - else
  7232. - case $1 in
  7233. - -*)set "./$1";;
  7234. - esac;
  7235. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  7236. - ???[sx]*):;;*)false;;esac;fi
  7237. - '\'' sh
  7238. - '
  7239. -fi
  7240. -as_executable_p=$as_test_x
  7241. -
  7242. -# Sed expression to map a string onto a valid CPP name.
  7243. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  7244. -
  7245. -# Sed expression to map a string onto a valid variable name.
  7246. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  7247. -
  7248. -
  7249. -
  7250. -
  7251. -# Check that we are running under the correct shell.
  7252. -SHELL=${CONFIG_SHELL-/bin/sh}
  7253. -
  7254. -case X$lt_ECHO in
  7255. -X*--fallback-echo)
  7256. - # Remove one level of quotation (which was required for Make).
  7257. - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  7258. - ;;
  7259. +case X$lt_ECHO in
  7260. +X*--fallback-echo)
  7261. + # Remove one level of quotation (which was required for Make).
  7262. + ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  7263. + ;;
  7264. esac
  7265. ECHO=${lt_ECHO-echo}
  7266. @@ -698,7 +675,8 @@
  7267. -exec 7<&0 </dev/null 6>&1
  7268. +test -n "$DJDIR" || exec 7<&0 </dev/null
  7269. +exec 6>&1
  7270. # Name of the host.
  7271. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  7272. @@ -716,7 +694,6 @@
  7273. subdirs=
  7274. MFLAGS=
  7275. MAKEFLAGS=
  7276. -SHELL=${CONFIG_SHELL-/bin/sh}
  7277. # Identity of this package.
  7278. PACKAGE_NAME=
  7279. @@ -724,6 +701,7 @@
  7280. PACKAGE_VERSION=
  7281. PACKAGE_STRING=
  7282. PACKAGE_BUGREPORT=
  7283. +PACKAGE_URL=
  7284. # Factoring default headers for most tests.
  7285. ac_includes_default="\
  7286. @@ -761,175 +739,212 @@
  7287. # include <unistd.h>
  7288. #endif"
  7289. -ac_subst_vars='SHELL
  7290. -PATH_SEPARATOR
  7291. -PACKAGE_NAME
  7292. -PACKAGE_TARNAME
  7293. -PACKAGE_VERSION
  7294. -PACKAGE_STRING
  7295. -PACKAGE_BUGREPORT
  7296. -exec_prefix
  7297. -prefix
  7298. -program_transform_name
  7299. -bindir
  7300. -sbindir
  7301. -libexecdir
  7302. -datarootdir
  7303. -datadir
  7304. -sysconfdir
  7305. -sharedstatedir
  7306. -localstatedir
  7307. -includedir
  7308. -oldincludedir
  7309. -docdir
  7310. -infodir
  7311. -htmldir
  7312. -dvidir
  7313. -pdfdir
  7314. -psdir
  7315. -libdir
  7316. -localedir
  7317. -mandir
  7318. -DEFS
  7319. -ECHO_C
  7320. -ECHO_N
  7321. -ECHO_T
  7322. -LIBS
  7323. -build_alias
  7324. -host_alias
  7325. -target_alias
  7326. -INSTALL_PROGRAM
  7327. -INSTALL_SCRIPT
  7328. -INSTALL_DATA
  7329. -am__isrc
  7330. -CYGPATH_W
  7331. -PACKAGE
  7332. -VERSION
  7333. -ACLOCAL
  7334. -AUTOCONF
  7335. -AUTOMAKE
  7336. -AUTOHEADER
  7337. -MAKEINFO
  7338. -install_sh
  7339. -STRIP
  7340. -INSTALL_STRIP_PROGRAM
  7341. -mkdir_p
  7342. -AWK
  7343. -SET_MAKE
  7344. -am__leading_dot
  7345. -AMTAR
  7346. -am__tar
  7347. -am__untar
  7348. -PYTHON
  7349. -PYTHON_VERSION
  7350. -PYTHON_PREFIX
  7351. -PYTHON_EXEC_PREFIX
  7352. -PYTHON_PLATFORM
  7353. -pythondir
  7354. -pkgpythondir
  7355. -pyexecdir
  7356. -pkgpyexecdir
  7357. -CC
  7358. -CFLAGS
  7359. -LDFLAGS
  7360. -CPPFLAGS
  7361. -ac_ct_CC
  7362. -EXEEXT
  7363. -OBJEXT
  7364. -DEPDIR
  7365. -am__include
  7366. -am__quote
  7367. -AMDEP_TRUE
  7368. -AMDEP_FALSE
  7369. -AMDEPBACKSLASH
  7370. -CCDEPMODE
  7371. -am__fastdepCC_TRUE
  7372. -am__fastdepCC_FALSE
  7373. -CPP
  7374. -GREP
  7375. +ac_subst_vars='am__EXEEXT_FALSE
  7376. +am__EXEEXT_TRUE
  7377. +LTLIBOBJS
  7378. +LIBOBJS
  7379. +MANFLAGS
  7380. +MANTARGET
  7381. +MANGENERATOR
  7382. +HAVE_XSLT_PROCESSOR_FALSE
  7383. +HAVE_XSLT_PROCESSOR_TRUE
  7384. +WITH_XMLTO
  7385. +WITH_XSLTPROC
  7386. +HAVE_DBUS_FALSE
  7387. +HAVE_DBUS_TRUE
  7388. +DBUS_GLIB_LIBS
  7389. +DBUS_GLIB_CFLAGS
  7390. +DBUS_LIBS
  7391. +DBUS_CFLAGS
  7392. +HAVE_NTRIP_FALSE
  7393. +HAVE_NTRIP_TRUE
  7394. +HAVE_RTCM104V3_FALSE
  7395. +HAVE_RTCM104V3_TRUE
  7396. +HAVE_RTCM104V2_FALSE
  7397. +HAVE_RTCM104V2_TRUE
  7398. +HAVE_NCURSES_FALSE
  7399. +HAVE_NCURSES_TRUE
  7400. +NCURSES_LIBS
  7401. +HAVE_MOTIF_FALSE
  7402. +HAVE_MOTIF_TRUE
  7403. +XM_LIBS
  7404. +XP_LIBS
  7405. +XPM_LIBS
  7406. +XEXT_LIBS
  7407. +HAVE_XAW_FALSE
  7408. +HAVE_XAW_TRUE
  7409. +XAW_LIBS
  7410. +XT_LIBS
  7411. +X11_LIBS
  7412. +X_EXTRA_LIBS
  7413. +X_LIBS
  7414. +X_PRE_LIBS
  7415. +X_CFLAGS
  7416. +XMKMF
  7417. +LIBPTHREAD
  7418. +LIBC
  7419. +LIBM
  7420. +LIBSOCKET
  7421. +LIBNSL
  7422. +ALLOCA
  7423. +CXXCPP
  7424. +am__fastdepCXX_FALSE
  7425. +am__fastdepCXX_TRUE
  7426. +CXXDEPMODE
  7427. +ac_ct_CXX
  7428. +CXXFLAGS
  7429. +CXX
  7430. +CPP
  7431. +OTOOL64
  7432. +OTOOL
  7433. +LIPO
  7434. +NMEDIT
  7435. +DSYMUTIL
  7436. +lt_ECHO
  7437. +RANLIB
  7438. +AR
  7439. +OBJDUMP
  7440. +NM
  7441. +ac_ct_DUMPBIN
  7442. +DUMPBIN
  7443. +LD
  7444. +FGREP
  7445. EGREP
  7446. -PYTHON_CFLAGS
  7447. -PYTHON_LIBS
  7448. -HAVE_PYTHON_TRUE
  7449. -HAVE_PYTHON_FALSE
  7450. -LN_S
  7451. -LIBTOOL
  7452. -build
  7453. -build_cpu
  7454. -build_vendor
  7455. -build_os
  7456. -host
  7457. -host_cpu
  7458. -host_vendor
  7459. -host_os
  7460. +GREP
  7461. SED
  7462. -FGREP
  7463. -LD
  7464. -DUMPBIN
  7465. -ac_ct_DUMPBIN
  7466. -NM
  7467. -AR
  7468. -RANLIB
  7469. -lt_ECHO
  7470. -DSYMUTIL
  7471. -NMEDIT
  7472. -LIPO
  7473. -OTOOL
  7474. -OTOOL64
  7475. -CXX
  7476. -CXXFLAGS
  7477. -ac_ct_CXX
  7478. -CXXDEPMODE
  7479. -am__fastdepCXX_TRUE
  7480. -am__fastdepCXX_FALSE
  7481. -CXXCPP
  7482. -ALLOCA
  7483. -LIBNSL
  7484. -LIBSOCKET
  7485. -LIBM
  7486. -LIBC
  7487. -LIBPTHREAD
  7488. -XMKMF
  7489. -X_CFLAGS
  7490. -X_PRE_LIBS
  7491. -X_LIBS
  7492. -X_EXTRA_LIBS
  7493. -X11_LIBS
  7494. -XT_LIBS
  7495. -XAW_LIBS
  7496. -HAVE_XAW_TRUE
  7497. -HAVE_XAW_FALSE
  7498. -XEXT_LIBS
  7499. -XPM_LIBS
  7500. -XP_LIBS
  7501. -XM_LIBS
  7502. -HAVE_MOTIF_TRUE
  7503. -HAVE_MOTIF_FALSE
  7504. -NCURSES_LIBS
  7505. -HAVE_NCURSES_TRUE
  7506. -HAVE_NCURSES_FALSE
  7507. -HAVE_RTCM104V2_TRUE
  7508. -HAVE_RTCM104V2_FALSE
  7509. -HAVE_RTCM104V3_TRUE
  7510. -HAVE_RTCM104V3_FALSE
  7511. -HAVE_NTRIP_TRUE
  7512. -HAVE_NTRIP_FALSE
  7513. -DBUS_CFLAGS
  7514. -DBUS_LIBS
  7515. -DBUS_GLIB_CFLAGS
  7516. -DBUS_GLIB_LIBS
  7517. -HAVE_DBUS_TRUE
  7518. -HAVE_DBUS_FALSE
  7519. -WITH_XSLTPROC
  7520. -WITH_XMLTO
  7521. -HAVE_XSLT_PROCESSOR_TRUE
  7522. -HAVE_XSLT_PROCESSOR_FALSE
  7523. -MANGENERATOR
  7524. -MANTARGET
  7525. -MANFLAGS
  7526. -LIBOBJS
  7527. -LTLIBOBJS'
  7528. +am__fastdepCC_FALSE
  7529. +am__fastdepCC_TRUE
  7530. +CCDEPMODE
  7531. +AMDEPBACKSLASH
  7532. +AMDEP_FALSE
  7533. +AMDEP_TRUE
  7534. +am__quote
  7535. +am__include
  7536. +DEPDIR
  7537. +OBJEXT
  7538. +EXEEXT
  7539. +ac_ct_CC
  7540. +CPPFLAGS
  7541. +LDFLAGS
  7542. +CFLAGS
  7543. +CC
  7544. +host_os
  7545. +host_vendor
  7546. +host_cpu
  7547. +host
  7548. +build_os
  7549. +build_vendor
  7550. +build_cpu
  7551. +build
  7552. +LIBTOOL
  7553. +LN_S
  7554. +am__untar
  7555. +am__tar
  7556. +AMTAR
  7557. +am__leading_dot
  7558. +SET_MAKE
  7559. +AWK
  7560. +mkdir_p
  7561. +MKDIR_P
  7562. +INSTALL_STRIP_PROGRAM
  7563. +STRIP
  7564. +install_sh
  7565. +MAKEINFO
  7566. +AUTOHEADER
  7567. +AUTOMAKE
  7568. +AUTOCONF
  7569. +ACLOCAL
  7570. +VERSION
  7571. +PACKAGE
  7572. +CYGPATH_W
  7573. +am__isrc
  7574. +INSTALL_DATA
  7575. +INSTALL_SCRIPT
  7576. +INSTALL_PROGRAM
  7577. +target_alias
  7578. +host_alias
  7579. +build_alias
  7580. +LIBS
  7581. +ECHO_T
  7582. +ECHO_N
  7583. +ECHO_C
  7584. +DEFS
  7585. +mandir
  7586. +localedir
  7587. +libdir
  7588. +psdir
  7589. +pdfdir
  7590. +dvidir
  7591. +htmldir
  7592. +infodir
  7593. +docdir
  7594. +oldincludedir
  7595. +includedir
  7596. +localstatedir
  7597. +sharedstatedir
  7598. +sysconfdir
  7599. +datadir
  7600. +datarootdir
  7601. +libexecdir
  7602. +sbindir
  7603. +bindir
  7604. +program_transform_name
  7605. +prefix
  7606. +exec_prefix
  7607. +PACKAGE_URL
  7608. +PACKAGE_BUGREPORT
  7609. +PACKAGE_STRING
  7610. +PACKAGE_VERSION
  7611. +PACKAGE_TARNAME
  7612. +PACKAGE_NAME
  7613. +PATH_SEPARATOR
  7614. +SHELL'
  7615. ac_subst_files=''
  7616. +ac_user_opts='
  7617. +enable_option_checking
  7618. +enable_shared
  7619. +enable_static
  7620. +with_pic
  7621. +enable_fast_install
  7622. +enable_dependency_tracking
  7623. +with_gnu_ld
  7624. +enable_libtool_lock
  7625. +with_x
  7626. +enable_nmea
  7627. +enable_sirf
  7628. +enable_superstar2
  7629. +enable_tsip
  7630. +enable_fv18
  7631. +enable_tripmate
  7632. +enable_earthmate
  7633. +enable_itrax
  7634. +enable_ashtech
  7635. +enable_navcom
  7636. +enable_garmin
  7637. +enable_garmintxt
  7638. +enable_tnt
  7639. +enable_oceanserver
  7640. +enable_ubx
  7641. +enable_evermore
  7642. +enable_mkt3301
  7643. +enable_gpsclock
  7644. +enable_rtcm104v2
  7645. +enable_rtcm104v3
  7646. +enable_ntrip
  7647. +enable_aivdm
  7648. +enable_profiling
  7649. +enable_ntpshm
  7650. +enable_pps
  7651. +enable_pps_on_cts
  7652. +enable_gpsd_user
  7653. +enable_fixed_port_speed
  7654. +enable_dbus
  7655. +enable_max_clients
  7656. +enable_max_devices
  7657. +enable_reconfigure
  7658. +enable_controlsend
  7659. +enable_squelch
  7660. +'
  7661. ac_precious_vars='build_alias
  7662. host_alias
  7663. target_alias
  7664. @@ -949,6 +964,8 @@
  7665. # Initialize some variables set by options.
  7666. ac_init_help=
  7667. ac_init_version=false
  7668. +ac_unrecognized_opts=
  7669. +ac_unrecognized_sep=
  7670. # The variables have the same names as the options, with
  7671. # dashes changed to underlines.
  7672. cache_file=/dev/null
  7673. @@ -1047,13 +1064,20 @@
  7674. datarootdir=$ac_optarg ;;
  7675. -disable-* | --disable-*)
  7676. - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  7677. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  7678. # Reject names that are not valid shell variable names.
  7679. - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  7680. - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  7681. - { (exit 1); exit 1; }; }
  7682. - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  7683. - eval enable_$ac_feature=no ;;
  7684. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  7685. + as_fn_error "invalid feature name: $ac_useropt"
  7686. + ac_useropt_orig=$ac_useropt
  7687. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  7688. + case $ac_user_opts in
  7689. + *"
  7690. +"enable_$ac_useropt"
  7691. +"*) ;;
  7692. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  7693. + ac_unrecognized_sep=', ';;
  7694. + esac
  7695. + eval enable_$ac_useropt=no ;;
  7696. -docdir | --docdir | --docdi | --doc | --do)
  7697. ac_prev=docdir ;;
  7698. @@ -1066,13 +1090,20 @@
  7699. dvidir=$ac_optarg ;;
  7700. -enable-* | --enable-*)
  7701. - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  7702. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  7703. # Reject names that are not valid shell variable names.
  7704. - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  7705. - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  7706. - { (exit 1); exit 1; }; }
  7707. - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  7708. - eval enable_$ac_feature=\$ac_optarg ;;
  7709. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  7710. + as_fn_error "invalid feature name: $ac_useropt"
  7711. + ac_useropt_orig=$ac_useropt
  7712. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  7713. + case $ac_user_opts in
  7714. + *"
  7715. +"enable_$ac_useropt"
  7716. +"*) ;;
  7717. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  7718. + ac_unrecognized_sep=', ';;
  7719. + esac
  7720. + eval enable_$ac_useropt=\$ac_optarg ;;
  7721. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  7722. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  7723. @@ -1263,22 +1294,36 @@
  7724. ac_init_version=: ;;
  7725. -with-* | --with-*)
  7726. - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  7727. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  7728. # Reject names that are not valid shell variable names.
  7729. - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  7730. - { echo "$as_me: error: invalid package name: $ac_package" >&2
  7731. - { (exit 1); exit 1; }; }
  7732. - ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  7733. - eval with_$ac_package=\$ac_optarg ;;
  7734. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  7735. + as_fn_error "invalid package name: $ac_useropt"
  7736. + ac_useropt_orig=$ac_useropt
  7737. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  7738. + case $ac_user_opts in
  7739. + *"
  7740. +"with_$ac_useropt"
  7741. +"*) ;;
  7742. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  7743. + ac_unrecognized_sep=', ';;
  7744. + esac
  7745. + eval with_$ac_useropt=\$ac_optarg ;;
  7746. -without-* | --without-*)
  7747. - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  7748. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  7749. # Reject names that are not valid shell variable names.
  7750. - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  7751. - { echo "$as_me: error: invalid package name: $ac_package" >&2
  7752. - { (exit 1); exit 1; }; }
  7753. - ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  7754. - eval with_$ac_package=no ;;
  7755. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  7756. + as_fn_error "invalid package name: $ac_useropt"
  7757. + ac_useropt_orig=$ac_useropt
  7758. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  7759. + case $ac_user_opts in
  7760. + *"
  7761. +"with_$ac_useropt"
  7762. +"*) ;;
  7763. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  7764. + ac_unrecognized_sep=', ';;
  7765. + esac
  7766. + eval with_$ac_useropt=no ;;
  7767. --x)
  7768. # Obsolete; use --with-x.
  7769. @@ -1298,25 +1343,25 @@
  7770. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  7771. x_libraries=$ac_optarg ;;
  7772. - -*) { echo "$as_me: error: unrecognized option: $ac_option
  7773. -Try \`$0 --help' for more information." >&2
  7774. - { (exit 1); exit 1; }; }
  7775. + -*) as_fn_error "unrecognized option: \`$ac_option'
  7776. +Try \`$0 --help' for more information."
  7777. ;;
  7778. *=*)
  7779. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  7780. # Reject names that are not valid shell variable names.
  7781. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  7782. - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  7783. - { (exit 1); exit 1; }; }
  7784. + case $ac_envvar in #(
  7785. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  7786. + as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  7787. + esac
  7788. eval $ac_envvar=\$ac_optarg
  7789. export $ac_envvar ;;
  7790. *)
  7791. # FIXME: should be removed in autoconf 3.0.
  7792. - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  7793. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  7794. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  7795. - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  7796. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  7797. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  7798. ;;
  7799. @@ -1325,23 +1370,36 @@
  7800. if test -n "$ac_prev"; then
  7801. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  7802. - { echo "$as_me: error: missing argument to $ac_option" >&2
  7803. - { (exit 1); exit 1; }; }
  7804. + as_fn_error "missing argument to $ac_option"
  7805. fi
  7806. -# Be sure to have absolute directory names.
  7807. +if test -n "$ac_unrecognized_opts"; then
  7808. + case $enable_option_checking in
  7809. + no) ;;
  7810. + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  7811. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  7812. + esac
  7813. +fi
  7814. +
  7815. +# Check all directory arguments for consistency.
  7816. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  7817. datadir sysconfdir sharedstatedir localstatedir includedir \
  7818. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  7819. libdir localedir mandir
  7820. do
  7821. eval ac_val=\$$ac_var
  7822. + # Remove trailing slashes.
  7823. + case $ac_val in
  7824. + */ )
  7825. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  7826. + eval $ac_var=\$ac_val;;
  7827. + esac
  7828. + # Be sure to have absolute directory names.
  7829. case $ac_val in
  7830. [\\/$]* | ?:[\\/]* ) continue;;
  7831. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  7832. esac
  7833. - { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  7834. - { (exit 1); exit 1; }; }
  7835. + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  7836. done
  7837. # There might be people who depend on the old broken behavior: `$host'
  7838. @@ -1355,7 +1413,7 @@
  7839. if test "x$host_alias" != x; then
  7840. if test "x$build_alias" = x; then
  7841. cross_compiling=maybe
  7842. - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  7843. + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  7844. If a cross compiler is detected then cross compile mode will be used." >&2
  7845. elif test "x$build_alias" != "x$host_alias"; then
  7846. cross_compiling=yes
  7847. @@ -1371,23 +1429,21 @@
  7848. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  7849. ac_ls_di=`ls -di .` &&
  7850. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  7851. - { echo "$as_me: error: Working directory cannot be determined" >&2
  7852. - { (exit 1); exit 1; }; }
  7853. + as_fn_error "working directory cannot be determined"
  7854. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  7855. - { echo "$as_me: error: pwd does not report name of working directory" >&2
  7856. - { (exit 1); exit 1; }; }
  7857. + as_fn_error "pwd does not report name of working directory"
  7858. # Find the source files, if location was not specified.
  7859. if test -z "$srcdir"; then
  7860. ac_srcdir_defaulted=yes
  7861. # Try the directory containing this script, then the parent directory.
  7862. - ac_confdir=`$as_dirname -- "$0" ||
  7863. -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7864. - X"$0" : 'X\(//\)[^/]' \| \
  7865. - X"$0" : 'X\(//\)$' \| \
  7866. - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  7867. -echo X"$0" |
  7868. + ac_confdir=`$as_dirname -- "$as_myself" ||
  7869. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7870. + X"$as_myself" : 'X\(//\)[^/]' \| \
  7871. + X"$as_myself" : 'X\(//\)$' \| \
  7872. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  7873. +$as_echo X"$as_myself" |
  7874. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  7875. s//\1/
  7876. q
  7877. @@ -1414,13 +1470,11 @@
  7878. fi
  7879. if test ! -r "$srcdir/$ac_unique_file"; then
  7880. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  7881. - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  7882. - { (exit 1); exit 1; }; }
  7883. + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  7884. fi
  7885. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  7886. ac_abs_confdir=`(
  7887. - cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  7888. - { (exit 1); exit 1; }; }
  7889. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  7890. pwd)`
  7891. # When building in place, set srcdir=.
  7892. if test "$ac_abs_confdir" = "$ac_pwd"; then
  7893. @@ -1468,9 +1522,9 @@
  7894. Installation directories:
  7895. --prefix=PREFIX install architecture-independent files in PREFIX
  7896. - [$ac_default_prefix]
  7897. + [$ac_default_prefix]
  7898. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  7899. - [PREFIX]
  7900. + [PREFIX]
  7901. By default, \`make install' will install all the files in
  7902. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  7903. @@ -1480,25 +1534,25 @@
  7904. For better control, use the options below.
  7905. Fine tuning of the installation directories:
  7906. - --bindir=DIR user executables [EPREFIX/bin]
  7907. - --sbindir=DIR system admin executables [EPREFIX/sbin]
  7908. - --libexecdir=DIR program executables [EPREFIX/libexec]
  7909. - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  7910. - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  7911. - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  7912. - --libdir=DIR object code libraries [EPREFIX/lib]
  7913. - --includedir=DIR C header files [PREFIX/include]
  7914. - --oldincludedir=DIR C header files for non-gcc [/usr/include]
  7915. - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  7916. - --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  7917. - --infodir=DIR info documentation [DATAROOTDIR/info]
  7918. - --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  7919. - --mandir=DIR man documentation [DATAROOTDIR/man]
  7920. - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  7921. - --htmldir=DIR html documentation [DOCDIR]
  7922. - --dvidir=DIR dvi documentation [DOCDIR]
  7923. - --pdfdir=DIR pdf documentation [DOCDIR]
  7924. - --psdir=DIR ps documentation [DOCDIR]
  7925. + --bindir=DIR user executables [EPREFIX/bin]
  7926. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  7927. + --libexecdir=DIR program executables [EPREFIX/libexec]
  7928. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  7929. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  7930. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  7931. + --libdir=DIR object code libraries [EPREFIX/lib]
  7932. + --includedir=DIR C header files [PREFIX/include]
  7933. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  7934. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  7935. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  7936. + --infodir=DIR info documentation [DATAROOTDIR/info]
  7937. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  7938. + --mandir=DIR man documentation [DATAROOTDIR/man]
  7939. + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  7940. + --htmldir=DIR html documentation [DOCDIR]
  7941. + --dvidir=DIR dvi documentation [DOCDIR]
  7942. + --pdfdir=DIR pdf documentation [DOCDIR]
  7943. + --psdir=DIR ps documentation [DOCDIR]
  7944. _ACEOF
  7945. cat <<\_ACEOF
  7946. @@ -1523,15 +1577,15 @@
  7947. cat <<\_ACEOF
  7948. Optional Features:
  7949. + --disable-option-checking ignore unrecognized --enable/--with options
  7950. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  7951. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  7952. - --disable-python disable python scripts and library bindings
  7953. - --disable-dependency-tracking speeds up one-time build
  7954. - --enable-dependency-tracking do not reject slow dependency extractors
  7955. --enable-shared[=PKGS] build shared libraries [default=yes]
  7956. --enable-static[=PKGS] build static libraries [default=yes]
  7957. --enable-fast-install[=PKGS]
  7958. optimize for fast installation [default=yes]
  7959. + --disable-dependency-tracking speeds up one-time build
  7960. + --enable-dependency-tracking do not reject slow dependency extractors
  7961. --disable-libtool-lock avoid locking (might break parallel builds)
  7962. --disable-nmea disable NMEA support
  7963. --disable-sirf disable SiRF chipset support
  7964. @@ -1586,7 +1640,7 @@
  7965. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  7966. nonstandard directory <lib dir>
  7967. LIBS libraries to pass to the linker, e.g. -l<library>
  7968. - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  7969. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  7970. you have headers in a nonstandard directory <include dir>
  7971. CPP C preprocessor
  7972. CXX C++ compiler command
  7973. @@ -1597,6 +1651,7 @@
  7974. Use these variables to override the choices made by `configure' or to help
  7975. it to find libraries and programs with nonstandard names/locations.
  7976. +Report bugs to the package provider.
  7977. _ACEOF
  7978. ac_status=$?
  7979. fi
  7980. @@ -1604,15 +1659,17 @@
  7981. if test "$ac_init_help" = "recursive"; then
  7982. # If there are subdirs, report their specific --help.
  7983. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  7984. - test -d "$ac_dir" || continue
  7985. + test -d "$ac_dir" ||
  7986. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  7987. + continue
  7988. ac_builddir=.
  7989. case "$ac_dir" in
  7990. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  7991. *)
  7992. - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  7993. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  7994. # A ".." for each directory in $ac_dir_suffix.
  7995. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  7996. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  7997. case $ac_top_builddir_sub in
  7998. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  7999. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  8000. @@ -1648,7 +1705,7 @@
  8001. echo &&
  8002. $SHELL "$ac_srcdir/configure" --help=recursive
  8003. else
  8004. - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  8005. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  8006. fi || ac_status=$?
  8007. cd "$ac_pwd" || { ac_status=$?; break; }
  8008. done
  8009. @@ -1658,848 +1715,1104 @@
  8010. if $ac_init_version; then
  8011. cat <<\_ACEOF
  8012. configure
  8013. -generated by GNU Autoconf 2.61
  8014. +generated by GNU Autoconf 2.65
  8015. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  8016. -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  8017. +Copyright (C) 2009 Free Software Foundation, Inc.
  8018. This configure script is free software; the Free Software Foundation
  8019. gives unlimited permission to copy, distribute and modify it.
  8020. _ACEOF
  8021. exit
  8022. fi
  8023. -cat >config.log <<_ACEOF
  8024. -This file contains any messages produced by compilers while
  8025. -running configure, to aid debugging if configure makes a mistake.
  8026. -
  8027. -It was created by $as_me, which was
  8028. -generated by GNU Autoconf 2.61. Invocation command line was
  8029. - $ $0 $@
  8030. -
  8031. -_ACEOF
  8032. -exec 5>>config.log
  8033. +## ------------------------ ##
  8034. +## Autoconf initialization. ##
  8035. +## ------------------------ ##
  8036. +
  8037. +# ac_fn_c_try_compile LINENO
  8038. +# --------------------------
  8039. +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  8040. +ac_fn_c_try_compile ()
  8041. {
  8042. -cat <<_ASUNAME
  8043. -## --------- ##
  8044. -## Platform. ##
  8045. -## --------- ##
  8046. -
  8047. -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  8048. -uname -m = `(uname -m) 2>/dev/null || echo unknown`
  8049. -uname -r = `(uname -r) 2>/dev/null || echo unknown`
  8050. -uname -s = `(uname -s) 2>/dev/null || echo unknown`
  8051. -uname -v = `(uname -v) 2>/dev/null || echo unknown`
  8052. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  8053. + rm -f conftest.$ac_objext
  8054. + if { { ac_try="$ac_compile"
  8055. +case "(($ac_try" in
  8056. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8057. + *) ac_try_echo=$ac_try;;
  8058. +esac
  8059. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8060. +$as_echo "$ac_try_echo"; } >&5
  8061. + (eval "$ac_compile") 2>conftest.err
  8062. + ac_status=$?
  8063. + if test -s conftest.err; then
  8064. + grep -v '^ *+' conftest.err >conftest.er1
  8065. + cat conftest.er1 >&5
  8066. + mv -f conftest.er1 conftest.err
  8067. + fi
  8068. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8069. + test $ac_status = 0; } && {
  8070. + test -z "$ac_c_werror_flag" ||
  8071. + test ! -s conftest.err
  8072. + } && test -s conftest.$ac_objext; then :
  8073. + ac_retval=0
  8074. +else
  8075. + $as_echo "$as_me: failed program was:" >&5
  8076. +sed 's/^/| /' conftest.$ac_ext >&5
  8077. -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  8078. -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  8079. + ac_retval=1
  8080. +fi
  8081. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  8082. + as_fn_set_status $ac_retval
  8083. -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  8084. -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  8085. -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  8086. -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  8087. -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  8088. -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  8089. -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  8090. +} # ac_fn_c_try_compile
  8091. -_ASUNAME
  8092. +# ac_fn_c_try_link LINENO
  8093. +# -----------------------
  8094. +# Try to link conftest.$ac_ext, and return whether this succeeded.
  8095. +ac_fn_c_try_link ()
  8096. +{
  8097. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  8098. + rm -f conftest.$ac_objext conftest$ac_exeext
  8099. + if { { ac_try="$ac_link"
  8100. +case "(($ac_try" in
  8101. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8102. + *) ac_try_echo=$ac_try;;
  8103. +esac
  8104. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8105. +$as_echo "$ac_try_echo"; } >&5
  8106. + (eval "$ac_link") 2>conftest.err
  8107. + ac_status=$?
  8108. + if test -s conftest.err; then
  8109. + grep -v '^ *+' conftest.err >conftest.er1
  8110. + cat conftest.er1 >&5
  8111. + mv -f conftest.er1 conftest.err
  8112. + fi
  8113. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8114. + test $ac_status = 0; } && {
  8115. + test -z "$ac_c_werror_flag" ||
  8116. + test ! -s conftest.err
  8117. + } && test -s conftest$ac_exeext && {
  8118. + test "$cross_compiling" = yes ||
  8119. + $as_test_x conftest$ac_exeext
  8120. + }; then :
  8121. + ac_retval=0
  8122. +else
  8123. + $as_echo "$as_me: failed program was:" >&5
  8124. +sed 's/^/| /' conftest.$ac_ext >&5
  8125. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8126. -for as_dir in $PATH
  8127. -do
  8128. - IFS=$as_save_IFS
  8129. - test -z "$as_dir" && as_dir=.
  8130. - echo "PATH: $as_dir"
  8131. -done
  8132. -IFS=$as_save_IFS
  8133. + ac_retval=1
  8134. +fi
  8135. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  8136. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  8137. + # interfere with the next link command; also delete a directory that is
  8138. + # left behind by Apple's compiler. We do this before executing the actions.
  8139. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  8140. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  8141. + as_fn_set_status $ac_retval
  8142. -} >&5
  8143. +} # ac_fn_c_try_link
  8144. -cat >&5 <<_ACEOF
  8145. +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  8146. +# -------------------------------------------------------
  8147. +# Tests whether HEADER exists and can be compiled using the include files in
  8148. +# INCLUDES, setting the cache variable VAR accordingly.
  8149. +ac_fn_c_check_header_compile ()
  8150. +{
  8151. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  8152. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  8153. +$as_echo_n "checking for $2... " >&6; }
  8154. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  8155. + $as_echo_n "(cached) " >&6
  8156. +else
  8157. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8158. +/* end confdefs.h. */
  8159. +$4
  8160. +#include <$2>
  8161. +_ACEOF
  8162. +if ac_fn_c_try_compile "$LINENO"; then :
  8163. + eval "$3=yes"
  8164. +else
  8165. + eval "$3=no"
  8166. +fi
  8167. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8168. +fi
  8169. +eval ac_res=\$$3
  8170. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8171. +$as_echo "$ac_res" >&6; }
  8172. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  8173. +} # ac_fn_c_check_header_compile
  8174. -## ----------- ##
  8175. -## Core tests. ##
  8176. -## ----------- ##
  8177. +# ac_fn_c_try_cpp LINENO
  8178. +# ----------------------
  8179. +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  8180. +ac_fn_c_try_cpp ()
  8181. +{
  8182. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  8183. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  8184. +case "(($ac_try" in
  8185. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8186. + *) ac_try_echo=$ac_try;;
  8187. +esac
  8188. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8189. +$as_echo "$ac_try_echo"; } >&5
  8190. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  8191. + ac_status=$?
  8192. + if test -s conftest.err; then
  8193. + grep -v '^ *+' conftest.err >conftest.er1
  8194. + cat conftest.er1 >&5
  8195. + mv -f conftest.er1 conftest.err
  8196. + fi
  8197. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8198. + test $ac_status = 0; } >/dev/null && {
  8199. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8200. + test ! -s conftest.err
  8201. + }; then :
  8202. + ac_retval=0
  8203. +else
  8204. + $as_echo "$as_me: failed program was:" >&5
  8205. +sed 's/^/| /' conftest.$ac_ext >&5
  8206. -_ACEOF
  8207. + ac_retval=1
  8208. +fi
  8209. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  8210. + as_fn_set_status $ac_retval
  8211. +} # ac_fn_c_try_cpp
  8212. -# Keep a trace of the command line.
  8213. -# Strip out --no-create and --no-recursion so they do not pile up.
  8214. -# Strip out --silent because we don't want to record it for future runs.
  8215. -# Also quote any args containing shell meta-characters.
  8216. -# Make two passes to allow for proper duplicate-argument suppression.
  8217. -ac_configure_args=
  8218. -ac_configure_args0=
  8219. -ac_configure_args1=
  8220. -ac_must_keep_next=false
  8221. -for ac_pass in 1 2
  8222. -do
  8223. - for ac_arg
  8224. - do
  8225. - case $ac_arg in
  8226. - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  8227. - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  8228. - | -silent | --silent | --silen | --sile | --sil)
  8229. - continue ;;
  8230. - *\'*)
  8231. - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  8232. - esac
  8233. - case $ac_pass in
  8234. - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  8235. - 2)
  8236. - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  8237. - if test $ac_must_keep_next = true; then
  8238. - ac_must_keep_next=false # Got value, back to normal.
  8239. - else
  8240. - case $ac_arg in
  8241. - *=* | --config-cache | -C | -disable-* | --disable-* \
  8242. - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  8243. - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  8244. - | -with-* | --with-* | -without-* | --without-* | --x)
  8245. - case "$ac_configure_args0 " in
  8246. - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  8247. - esac
  8248. - ;;
  8249. - -* ) ac_must_keep_next=true ;;
  8250. - esac
  8251. - fi
  8252. - ac_configure_args="$ac_configure_args '$ac_arg'"
  8253. - ;;
  8254. - esac
  8255. - done
  8256. -done
  8257. -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  8258. -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  8259. +# ac_fn_c_try_run LINENO
  8260. +# ----------------------
  8261. +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  8262. +# that executables *can* be run.
  8263. +ac_fn_c_try_run ()
  8264. +{
  8265. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  8266. + if { { ac_try="$ac_link"
  8267. +case "(($ac_try" in
  8268. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8269. + *) ac_try_echo=$ac_try;;
  8270. +esac
  8271. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8272. +$as_echo "$ac_try_echo"; } >&5
  8273. + (eval "$ac_link") 2>&5
  8274. + ac_status=$?
  8275. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8276. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  8277. + { { case "(($ac_try" in
  8278. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8279. + *) ac_try_echo=$ac_try;;
  8280. +esac
  8281. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8282. +$as_echo "$ac_try_echo"; } >&5
  8283. + (eval "$ac_try") 2>&5
  8284. + ac_status=$?
  8285. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8286. + test $ac_status = 0; }; }; then :
  8287. + ac_retval=0
  8288. +else
  8289. + $as_echo "$as_me: program exited with status $ac_status" >&5
  8290. + $as_echo "$as_me: failed program was:" >&5
  8291. +sed 's/^/| /' conftest.$ac_ext >&5
  8292. -# When interrupted or exit'd, cleanup temporary files, and complete
  8293. -# config.log. We remove comments because anyway the quotes in there
  8294. -# would cause problems or look ugly.
  8295. -# WARNING: Use '\'' to represent an apostrophe within the trap.
  8296. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  8297. -trap 'exit_status=$?
  8298. - # Save into config.log some information that might help in debugging.
  8299. - {
  8300. - echo
  8301. + ac_retval=$ac_status
  8302. +fi
  8303. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  8304. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  8305. + as_fn_set_status $ac_retval
  8306. - cat <<\_ASBOX
  8307. -## ---------------- ##
  8308. -## Cache variables. ##
  8309. -## ---------------- ##
  8310. -_ASBOX
  8311. - echo
  8312. - # The following way of writing the cache mishandles newlines in values,
  8313. -(
  8314. - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  8315. - eval ac_val=\$$ac_var
  8316. - case $ac_val in #(
  8317. - *${as_nl}*)
  8318. - case $ac_var in #(
  8319. - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  8320. -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  8321. - esac
  8322. - case $ac_var in #(
  8323. - _ | IFS | as_nl) ;; #(
  8324. - *) $as_unset $ac_var ;;
  8325. - esac ;;
  8326. - esac
  8327. - done
  8328. - (set) 2>&1 |
  8329. - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  8330. - *${as_nl}ac_space=\ *)
  8331. - sed -n \
  8332. - "s/'\''/'\''\\\\'\'''\''/g;
  8333. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  8334. - ;; #(
  8335. - *)
  8336. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  8337. - ;;
  8338. - esac |
  8339. - sort
  8340. -)
  8341. - echo
  8342. +} # ac_fn_c_try_run
  8343. - cat <<\_ASBOX
  8344. -## ----------------- ##
  8345. -## Output variables. ##
  8346. -## ----------------- ##
  8347. -_ASBOX
  8348. - echo
  8349. - for ac_var in $ac_subst_vars
  8350. - do
  8351. - eval ac_val=\$$ac_var
  8352. - case $ac_val in
  8353. - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  8354. - esac
  8355. - echo "$ac_var='\''$ac_val'\''"
  8356. - done | sort
  8357. - echo
  8358. +# ac_fn_c_check_func LINENO FUNC VAR
  8359. +# ----------------------------------
  8360. +# Tests whether FUNC exists, setting the cache variable VAR accordingly
  8361. +ac_fn_c_check_func ()
  8362. +{
  8363. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  8364. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  8365. +$as_echo_n "checking for $2... " >&6; }
  8366. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  8367. + $as_echo_n "(cached) " >&6
  8368. +else
  8369. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8370. +/* end confdefs.h. */
  8371. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  8372. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  8373. +#define $2 innocuous_$2
  8374. - if test -n "$ac_subst_files"; then
  8375. - cat <<\_ASBOX
  8376. -## ------------------- ##
  8377. -## File substitutions. ##
  8378. -## ------------------- ##
  8379. -_ASBOX
  8380. - echo
  8381. - for ac_var in $ac_subst_files
  8382. - do
  8383. - eval ac_val=\$$ac_var
  8384. - case $ac_val in
  8385. - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  8386. - esac
  8387. - echo "$ac_var='\''$ac_val'\''"
  8388. - done | sort
  8389. - echo
  8390. - fi
  8391. +/* System header to define __stub macros and hopefully few prototypes,
  8392. + which can conflict with char $2 (); below.
  8393. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8394. + <limits.h> exists even on freestanding compilers. */
  8395. - if test -s confdefs.h; then
  8396. - cat <<\_ASBOX
  8397. -## ----------- ##
  8398. -## confdefs.h. ##
  8399. -## ----------- ##
  8400. -_ASBOX
  8401. - echo
  8402. - cat confdefs.h
  8403. - echo
  8404. - fi
  8405. - test "$ac_signal" != 0 &&
  8406. - echo "$as_me: caught signal $ac_signal"
  8407. - echo "$as_me: exit $exit_status"
  8408. - } >&5
  8409. - rm -f core *.core core.conftest.* &&
  8410. - rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  8411. - exit $exit_status
  8412. -' 0
  8413. -for ac_signal in 1 2 13 15; do
  8414. - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  8415. -done
  8416. -ac_signal=0
  8417. +#ifdef __STDC__
  8418. +# include <limits.h>
  8419. +#else
  8420. +# include <assert.h>
  8421. +#endif
  8422. -# confdefs.h avoids OS command line length limits that DEFS can exceed.
  8423. -rm -f -r conftest* confdefs.h
  8424. +#undef $2
  8425. -# Predefined preprocessor variables.
  8426. +/* Override any GCC internal prototype to avoid an error.
  8427. + Use char because int might match the return type of a GCC
  8428. + builtin and then its argument prototype would still apply. */
  8429. +#ifdef __cplusplus
  8430. +extern "C"
  8431. +#endif
  8432. +char $2 ();
  8433. +/* The GNU C library defines this for functions which it implements
  8434. + to always fail with ENOSYS. Some functions are actually named
  8435. + something starting with __ and the normal name is an alias. */
  8436. +#if defined __stub_$2 || defined __stub___$2
  8437. +choke me
  8438. +#endif
  8439. -cat >>confdefs.h <<_ACEOF
  8440. -#define PACKAGE_NAME "$PACKAGE_NAME"
  8441. +int
  8442. +main ()
  8443. +{
  8444. +return $2 ();
  8445. + ;
  8446. + return 0;
  8447. +}
  8448. _ACEOF
  8449. +if ac_fn_c_try_link "$LINENO"; then :
  8450. + eval "$3=yes"
  8451. +else
  8452. + eval "$3=no"
  8453. +fi
  8454. +rm -f core conftest.err conftest.$ac_objext \
  8455. + conftest$ac_exeext conftest.$ac_ext
  8456. +fi
  8457. +eval ac_res=\$$3
  8458. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8459. +$as_echo "$ac_res" >&6; }
  8460. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  8461. +} # ac_fn_c_check_func
  8462. -cat >>confdefs.h <<_ACEOF
  8463. -#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  8464. -_ACEOF
  8465. +# ac_fn_cxx_try_compile LINENO
  8466. +# ----------------------------
  8467. +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  8468. +ac_fn_cxx_try_compile ()
  8469. +{
  8470. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  8471. + rm -f conftest.$ac_objext
  8472. + if { { ac_try="$ac_compile"
  8473. +case "(($ac_try" in
  8474. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8475. + *) ac_try_echo=$ac_try;;
  8476. +esac
  8477. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8478. +$as_echo "$ac_try_echo"; } >&5
  8479. + (eval "$ac_compile") 2>conftest.err
  8480. + ac_status=$?
  8481. + if test -s conftest.err; then
  8482. + grep -v '^ *+' conftest.err >conftest.er1
  8483. + cat conftest.er1 >&5
  8484. + mv -f conftest.er1 conftest.err
  8485. + fi
  8486. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8487. + test $ac_status = 0; } && {
  8488. + test -z "$ac_cxx_werror_flag" ||
  8489. + test ! -s conftest.err
  8490. + } && test -s conftest.$ac_objext; then :
  8491. + ac_retval=0
  8492. +else
  8493. + $as_echo "$as_me: failed program was:" >&5
  8494. +sed 's/^/| /' conftest.$ac_ext >&5
  8495. + ac_retval=1
  8496. +fi
  8497. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  8498. + as_fn_set_status $ac_retval
  8499. -cat >>confdefs.h <<_ACEOF
  8500. -#define PACKAGE_VERSION "$PACKAGE_VERSION"
  8501. -_ACEOF
  8502. +} # ac_fn_cxx_try_compile
  8503. +# ac_fn_cxx_try_cpp LINENO
  8504. +# ------------------------
  8505. +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  8506. +ac_fn_cxx_try_cpp ()
  8507. +{
  8508. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  8509. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  8510. +case "(($ac_try" in
  8511. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8512. + *) ac_try_echo=$ac_try;;
  8513. +esac
  8514. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8515. +$as_echo "$ac_try_echo"; } >&5
  8516. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  8517. + ac_status=$?
  8518. + if test -s conftest.err; then
  8519. + grep -v '^ *+' conftest.err >conftest.er1
  8520. + cat conftest.er1 >&5
  8521. + mv -f conftest.er1 conftest.err
  8522. + fi
  8523. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8524. + test $ac_status = 0; } >/dev/null && {
  8525. + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  8526. + test ! -s conftest.err
  8527. + }; then :
  8528. + ac_retval=0
  8529. +else
  8530. + $as_echo "$as_me: failed program was:" >&5
  8531. +sed 's/^/| /' conftest.$ac_ext >&5
  8532. -cat >>confdefs.h <<_ACEOF
  8533. -#define PACKAGE_STRING "$PACKAGE_STRING"
  8534. -_ACEOF
  8535. + ac_retval=1
  8536. +fi
  8537. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  8538. + as_fn_set_status $ac_retval
  8539. +} # ac_fn_cxx_try_cpp
  8540. -cat >>confdefs.h <<_ACEOF
  8541. -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  8542. -_ACEOF
  8543. +# ac_fn_cxx_try_link LINENO
  8544. +# -------------------------
  8545. +# Try to link conftest.$ac_ext, and return whether this succeeded.
  8546. +ac_fn_cxx_try_link ()
  8547. +{
  8548. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  8549. + rm -f conftest.$ac_objext conftest$ac_exeext
  8550. + if { { ac_try="$ac_link"
  8551. +case "(($ac_try" in
  8552. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8553. + *) ac_try_echo=$ac_try;;
  8554. +esac
  8555. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8556. +$as_echo "$ac_try_echo"; } >&5
  8557. + (eval "$ac_link") 2>conftest.err
  8558. + ac_status=$?
  8559. + if test -s conftest.err; then
  8560. + grep -v '^ *+' conftest.err >conftest.er1
  8561. + cat conftest.er1 >&5
  8562. + mv -f conftest.er1 conftest.err
  8563. + fi
  8564. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8565. + test $ac_status = 0; } && {
  8566. + test -z "$ac_cxx_werror_flag" ||
  8567. + test ! -s conftest.err
  8568. + } && test -s conftest$ac_exeext && {
  8569. + test "$cross_compiling" = yes ||
  8570. + $as_test_x conftest$ac_exeext
  8571. + }; then :
  8572. + ac_retval=0
  8573. +else
  8574. + $as_echo "$as_me: failed program was:" >&5
  8575. +sed 's/^/| /' conftest.$ac_ext >&5
  8576. +
  8577. + ac_retval=1
  8578. +fi
  8579. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  8580. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  8581. + # interfere with the next link command; also delete a directory that is
  8582. + # left behind by Apple's compiler. We do this before executing the actions.
  8583. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  8584. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  8585. + as_fn_set_status $ac_retval
  8586. +
  8587. +} # ac_fn_cxx_try_link
  8588. +
  8589. +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  8590. +# --------------------------------------------
  8591. +# Tries to find the compile-time value of EXPR in a program that includes
  8592. +# INCLUDES, setting VAR accordingly. Returns whether the value could be
  8593. +# computed
  8594. +ac_fn_c_compute_int ()
  8595. +{
  8596. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  8597. + if test "$cross_compiling" = yes; then
  8598. + # Depending upon the size, compute the lo and hi bounds.
  8599. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8600. +/* end confdefs.h. */
  8601. +$4
  8602. +int
  8603. +main ()
  8604. +{
  8605. +static int test_array [1 - 2 * !(($2) >= 0)];
  8606. +test_array [0] = 0
  8607. + ;
  8608. + return 0;
  8609. +}
  8610. +_ACEOF
  8611. +if ac_fn_c_try_compile "$LINENO"; then :
  8612. + ac_lo=0 ac_mid=0
  8613. + while :; do
  8614. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8615. +/* end confdefs.h. */
  8616. +$4
  8617. +int
  8618. +main ()
  8619. +{
  8620. +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  8621. +test_array [0] = 0
  8622. -# Let the site file select an alternate cache file if it wants to.
  8623. -# Prefer explicitly selected file to automatically selected ones.
  8624. -if test -n "$CONFIG_SITE"; then
  8625. - set x "$CONFIG_SITE"
  8626. -elif test "x$prefix" != xNONE; then
  8627. - set x "$prefix/share/config.site" "$prefix/etc/config.site"
  8628. + ;
  8629. + return 0;
  8630. +}
  8631. +_ACEOF
  8632. +if ac_fn_c_try_compile "$LINENO"; then :
  8633. + ac_hi=$ac_mid; break
  8634. else
  8635. - set x "$ac_default_prefix/share/config.site" \
  8636. - "$ac_default_prefix/etc/config.site"
  8637. + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  8638. + if test $ac_lo -le $ac_mid; then
  8639. + ac_lo= ac_hi=
  8640. + break
  8641. + fi
  8642. + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  8643. fi
  8644. -shift
  8645. -for ac_site_file
  8646. -do
  8647. - if test -r "$ac_site_file"; then
  8648. - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  8649. -echo "$as_me: loading site script $ac_site_file" >&6;}
  8650. - sed 's/^/| /' "$ac_site_file" >&5
  8651. - . "$ac_site_file"
  8652. - fi
  8653. -done
  8654. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8655. + done
  8656. +else
  8657. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8658. +/* end confdefs.h. */
  8659. +$4
  8660. +int
  8661. +main ()
  8662. +{
  8663. +static int test_array [1 - 2 * !(($2) < 0)];
  8664. +test_array [0] = 0
  8665. -if test -r "$cache_file"; then
  8666. - # Some versions of bash will fail to source /dev/null (special
  8667. - # files actually), so we avoid doing that.
  8668. - if test -f "$cache_file"; then
  8669. - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  8670. -echo "$as_me: loading cache $cache_file" >&6;}
  8671. - case $cache_file in
  8672. - [\\/]* | ?:[\\/]* ) . "$cache_file";;
  8673. - *) . "./$cache_file";;
  8674. - esac
  8675. - fi
  8676. + ;
  8677. + return 0;
  8678. +}
  8679. +_ACEOF
  8680. +if ac_fn_c_try_compile "$LINENO"; then :
  8681. + ac_hi=-1 ac_mid=-1
  8682. + while :; do
  8683. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8684. +/* end confdefs.h. */
  8685. +$4
  8686. +int
  8687. +main ()
  8688. +{
  8689. +static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  8690. +test_array [0] = 0
  8691. +
  8692. + ;
  8693. + return 0;
  8694. +}
  8695. +_ACEOF
  8696. +if ac_fn_c_try_compile "$LINENO"; then :
  8697. + ac_lo=$ac_mid; break
  8698. else
  8699. - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  8700. -echo "$as_me: creating cache $cache_file" >&6;}
  8701. - >$cache_file
  8702. + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  8703. + if test $ac_mid -le $ac_hi; then
  8704. + ac_lo= ac_hi=
  8705. + break
  8706. + fi
  8707. + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  8708. +fi
  8709. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8710. + done
  8711. +else
  8712. + ac_lo= ac_hi=
  8713. +fi
  8714. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8715. fi
  8716. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8717. +# Binary search between lo and hi bounds.
  8718. +while test "x$ac_lo" != "x$ac_hi"; do
  8719. + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  8720. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8721. +/* end confdefs.h. */
  8722. +$4
  8723. +int
  8724. +main ()
  8725. +{
  8726. +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  8727. +test_array [0] = 0
  8728. -# Check that the precious variables saved in the cache have kept the same
  8729. -# value.
  8730. -ac_cache_corrupted=false
  8731. -for ac_var in $ac_precious_vars; do
  8732. - eval ac_old_set=\$ac_cv_env_${ac_var}_set
  8733. - eval ac_new_set=\$ac_env_${ac_var}_set
  8734. - eval ac_old_val=\$ac_cv_env_${ac_var}_value
  8735. - eval ac_new_val=\$ac_env_${ac_var}_value
  8736. - case $ac_old_set,$ac_new_set in
  8737. - set,)
  8738. - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  8739. -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  8740. - ac_cache_corrupted=: ;;
  8741. - ,set)
  8742. - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  8743. -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  8744. - ac_cache_corrupted=: ;;
  8745. - ,);;
  8746. - *)
  8747. - if test "x$ac_old_val" != "x$ac_new_val"; then
  8748. - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  8749. -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  8750. - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  8751. -echo "$as_me: former value: $ac_old_val" >&2;}
  8752. - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  8753. -echo "$as_me: current value: $ac_new_val" >&2;}
  8754. - ac_cache_corrupted=:
  8755. - fi;;
  8756. - esac
  8757. - # Pass precious variables to config.status.
  8758. - if test "$ac_new_set" = set; then
  8759. - case $ac_new_val in
  8760. - *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  8761. - *) ac_arg=$ac_var=$ac_new_val ;;
  8762. - esac
  8763. - case " $ac_configure_args " in
  8764. - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  8765. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  8766. - esac
  8767. - fi
  8768. -done
  8769. -if $ac_cache_corrupted; then
  8770. - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  8771. -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  8772. - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  8773. -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  8774. - { (exit 1); exit 1; }; }
  8775. + ;
  8776. + return 0;
  8777. +}
  8778. +_ACEOF
  8779. +if ac_fn_c_try_compile "$LINENO"; then :
  8780. + ac_hi=$ac_mid
  8781. +else
  8782. + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  8783. fi
  8784. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8785. +done
  8786. +case $ac_lo in #((
  8787. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  8788. +'') ac_retval=1 ;;
  8789. +esac
  8790. + else
  8791. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8792. +/* end confdefs.h. */
  8793. +$4
  8794. +static long int longval () { return $2; }
  8795. +static unsigned long int ulongval () { return $2; }
  8796. +#include <stdio.h>
  8797. +#include <stdlib.h>
  8798. +int
  8799. +main ()
  8800. +{
  8801. + FILE *f = fopen ("conftest.val", "w");
  8802. + if (! f)
  8803. + return 1;
  8804. + if (($2) < 0)
  8805. + {
  8806. + long int i = longval ();
  8807. + if (i != ($2))
  8808. + return 1;
  8809. + fprintf (f, "%ld", i);
  8810. + }
  8811. + else
  8812. + {
  8813. + unsigned long int i = ulongval ();
  8814. + if (i != ($2))
  8815. + return 1;
  8816. + fprintf (f, "%lu", i);
  8817. + }
  8818. + /* Do not output a trailing newline, as this causes \r\n confusion
  8819. + on some platforms. */
  8820. + return ferror (f) || fclose (f) != 0;
  8821. + ;
  8822. + return 0;
  8823. +}
  8824. +_ACEOF
  8825. +if ac_fn_c_try_run "$LINENO"; then :
  8826. + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  8827. +else
  8828. + ac_retval=1
  8829. +fi
  8830. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8831. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  8832. +rm -f conftest.val
  8833. + fi
  8834. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  8835. + as_fn_set_status $ac_retval
  8836. +} # ac_fn_c_compute_int
  8837. +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  8838. +# -------------------------------------------------------
  8839. +# Tests whether HEADER exists, giving a warning if it cannot be compiled using
  8840. +# the include files in INCLUDES and setting the cache variable VAR
  8841. +# accordingly.
  8842. +ac_fn_c_check_header_mongrel ()
  8843. +{
  8844. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  8845. + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  8846. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  8847. +$as_echo_n "checking for $2... " >&6; }
  8848. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  8849. + $as_echo_n "(cached) " >&6
  8850. +fi
  8851. +eval ac_res=\$$3
  8852. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8853. +$as_echo "$ac_res" >&6; }
  8854. +else
  8855. + # Is the header compilable?
  8856. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  8857. +$as_echo_n "checking $2 usability... " >&6; }
  8858. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8859. +/* end confdefs.h. */
  8860. +$4
  8861. +#include <$2>
  8862. +_ACEOF
  8863. +if ac_fn_c_try_compile "$LINENO"; then :
  8864. + ac_header_compiler=yes
  8865. +else
  8866. + ac_header_compiler=no
  8867. +fi
  8868. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8869. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  8870. +$as_echo "$ac_header_compiler" >&6; }
  8871. +# Is the header present?
  8872. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  8873. +$as_echo_n "checking $2 presence... " >&6; }
  8874. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8875. +/* end confdefs.h. */
  8876. +#include <$2>
  8877. +_ACEOF
  8878. +if ac_fn_c_try_cpp "$LINENO"; then :
  8879. + ac_header_preproc=yes
  8880. +else
  8881. + ac_header_preproc=no
  8882. +fi
  8883. +rm -f conftest.err conftest.$ac_ext
  8884. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  8885. +$as_echo "$ac_header_preproc" >&6; }
  8886. +# So? What about this header?
  8887. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  8888. + yes:no: )
  8889. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  8890. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8891. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  8892. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  8893. + ;;
  8894. + no:yes:* )
  8895. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  8896. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  8897. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  8898. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  8899. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  8900. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  8901. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  8902. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  8903. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  8904. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  8905. + ;;
  8906. +esac
  8907. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  8908. +$as_echo_n "checking for $2... " >&6; }
  8909. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  8910. + $as_echo_n "(cached) " >&6
  8911. +else
  8912. + eval "$3=\$ac_header_compiler"
  8913. +fi
  8914. +eval ac_res=\$$3
  8915. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8916. +$as_echo "$ac_res" >&6; }
  8917. +fi
  8918. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  8919. +} # ac_fn_c_check_header_mongrel
  8920. +# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  8921. +# ----------------------------------------------------
  8922. +# Tries to find if the field MEMBER exists in type AGGR, after including
  8923. +# INCLUDES, setting cache variable VAR accordingly.
  8924. +ac_fn_c_check_member ()
  8925. +{
  8926. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  8927. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  8928. +$as_echo_n "checking for $2.$3... " >&6; }
  8929. +if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
  8930. + $as_echo_n "(cached) " >&6
  8931. +else
  8932. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8933. +/* end confdefs.h. */
  8934. +$5
  8935. +int
  8936. +main ()
  8937. +{
  8938. +static $2 ac_aggr;
  8939. +if (ac_aggr.$3)
  8940. +return 0;
  8941. + ;
  8942. + return 0;
  8943. +}
  8944. +_ACEOF
  8945. +if ac_fn_c_try_compile "$LINENO"; then :
  8946. + eval "$4=yes"
  8947. +else
  8948. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8949. +/* end confdefs.h. */
  8950. +$5
  8951. +int
  8952. +main ()
  8953. +{
  8954. +static $2 ac_aggr;
  8955. +if (sizeof ac_aggr.$3)
  8956. +return 0;
  8957. + ;
  8958. + return 0;
  8959. +}
  8960. +_ACEOF
  8961. +if ac_fn_c_try_compile "$LINENO"; then :
  8962. + eval "$4=yes"
  8963. +else
  8964. + eval "$4=no"
  8965. +fi
  8966. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8967. +fi
  8968. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8969. +fi
  8970. +eval ac_res=\$$4
  8971. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8972. +$as_echo "$ac_res" >&6; }
  8973. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  8974. +} # ac_fn_c_check_member
  8975. +# ac_fn_c_check_decl LINENO SYMBOL VAR
  8976. +# ------------------------------------
  8977. +# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
  8978. +ac_fn_c_check_decl ()
  8979. +{
  8980. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  8981. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
  8982. +$as_echo_n "checking whether $2 is declared... " >&6; }
  8983. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  8984. + $as_echo_n "(cached) " >&6
  8985. +else
  8986. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8987. +/* end confdefs.h. */
  8988. +$4
  8989. +int
  8990. +main ()
  8991. +{
  8992. +#ifndef $2
  8993. + (void) $2;
  8994. +#endif
  8995. + ;
  8996. + return 0;
  8997. +}
  8998. +_ACEOF
  8999. +if ac_fn_c_try_compile "$LINENO"; then :
  9000. + eval "$3=yes"
  9001. +else
  9002. + eval "$3=no"
  9003. +fi
  9004. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9005. +fi
  9006. +eval ac_res=\$$3
  9007. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  9008. +$as_echo "$ac_res" >&6; }
  9009. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  9010. +} # ac_fn_c_check_decl
  9011. +cat >config.log <<_ACEOF
  9012. +This file contains any messages produced by compilers while
  9013. +running configure, to aid debugging if configure makes a mistake.
  9014. +It was created by $as_me, which was
  9015. +generated by GNU Autoconf 2.65. Invocation command line was
  9016. + $ $0 $@
  9017. +_ACEOF
  9018. +exec 5>>config.log
  9019. +{
  9020. +cat <<_ASUNAME
  9021. +## --------- ##
  9022. +## Platform. ##
  9023. +## --------- ##
  9024. -ac_ext=c
  9025. -ac_cpp='$CPP $CPPFLAGS'
  9026. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9027. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9028. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9029. -
  9030. -
  9031. -am__api_version='1.10'
  9032. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  9033. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  9034. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  9035. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  9036. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  9037. -ac_aux_dir=
  9038. -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  9039. - if test -f "$ac_dir/install-sh"; then
  9040. - ac_aux_dir=$ac_dir
  9041. - ac_install_sh="$ac_aux_dir/install-sh -c"
  9042. - break
  9043. - elif test -f "$ac_dir/install.sh"; then
  9044. - ac_aux_dir=$ac_dir
  9045. - ac_install_sh="$ac_aux_dir/install.sh -c"
  9046. - break
  9047. - elif test -f "$ac_dir/shtool"; then
  9048. - ac_aux_dir=$ac_dir
  9049. - ac_install_sh="$ac_aux_dir/shtool install -c"
  9050. - break
  9051. - fi
  9052. -done
  9053. -if test -z "$ac_aux_dir"; then
  9054. - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  9055. -echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  9056. - { (exit 1); exit 1; }; }
  9057. -fi
  9058. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  9059. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  9060. -# These three variables are undocumented and unsupported,
  9061. -# and are intended to be withdrawn in a future Autoconf release.
  9062. -# They can cause serious problems if a builder's source tree is in a directory
  9063. -# whose full name contains unusual characters.
  9064. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  9065. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  9066. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  9067. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  9068. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  9069. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  9070. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  9071. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  9072. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  9073. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  9074. +_ASUNAME
  9075. -# Find a good install program. We prefer a C program (faster),
  9076. -# so one script is as good as another. But avoid the broken or
  9077. -# incompatible versions:
  9078. -# SysV /etc/install, /usr/sbin/install
  9079. -# SunOS /usr/etc/install
  9080. -# IRIX /sbin/install
  9081. -# AIX /bin/install
  9082. -# AmigaOS /C/install, which installs bootblocks on floppy discs
  9083. -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  9084. -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  9085. -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  9086. -# OS/2's system install, which has a completely different semantic
  9087. -# ./install, which can be erroneously created by make from ./install.sh.
  9088. -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  9089. -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  9090. -if test -z "$INSTALL"; then
  9091. -if test "${ac_cv_path_install+set}" = set; then
  9092. - echo $ECHO_N "(cached) $ECHO_C" >&6
  9093. -else
  9094. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9095. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9096. for as_dir in $PATH
  9097. do
  9098. IFS=$as_save_IFS
  9099. test -z "$as_dir" && as_dir=.
  9100. - # Account for people who put trailing slashes in PATH elements.
  9101. -case $as_dir/ in
  9102. - ./ | .// | /cC/* | \
  9103. - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  9104. - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  9105. - /usr/ucb/* ) ;;
  9106. - *)
  9107. - # OSF1 and SCO ODT 3.0 have their own names for install.
  9108. - # Don't use installbsd from OSF since it installs stuff as root
  9109. - # by default.
  9110. - for ac_prog in ginstall scoinst install; do
  9111. - for ac_exec_ext in '' $ac_executable_extensions; do
  9112. - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  9113. - if test $ac_prog = install &&
  9114. - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  9115. - # AIX install. It has an incompatible calling convention.
  9116. - :
  9117. - elif test $ac_prog = install &&
  9118. - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  9119. - # program-specific install script used by HP pwplus--don't use.
  9120. - :
  9121. - else
  9122. - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  9123. - break 3
  9124. - fi
  9125. - fi
  9126. - done
  9127. - done
  9128. - ;;
  9129. -esac
  9130. -done
  9131. + $as_echo "PATH: $as_dir"
  9132. + done
  9133. IFS=$as_save_IFS
  9134. +} >&5
  9135. -fi
  9136. - if test "${ac_cv_path_install+set}" = set; then
  9137. - INSTALL=$ac_cv_path_install
  9138. - else
  9139. - # As a last resort, use the slow shell script. Don't cache a
  9140. - # value for INSTALL within a source directory, because that will
  9141. - # break other packages using the cache if that directory is
  9142. - # removed, or if the value is a relative name.
  9143. - INSTALL=$ac_install_sh
  9144. - fi
  9145. -fi
  9146. -{ echo "$as_me:$LINENO: result: $INSTALL" >&5
  9147. -echo "${ECHO_T}$INSTALL" >&6; }
  9148. -
  9149. -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  9150. -# It thinks the first close brace ends the variable substitution.
  9151. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  9152. -
  9153. -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  9154. -
  9155. -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  9156. +cat >&5 <<_ACEOF
  9157. -{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  9158. -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  9159. -# Just in case
  9160. -sleep 1
  9161. -echo timestamp > conftest.file
  9162. -# Do `set' in a subshell so we don't clobber the current shell's
  9163. -# arguments. Must try -L first in case configure is actually a
  9164. -# symlink; some systems play weird games with the mod time of symlinks
  9165. -# (eg FreeBSD returns the mod time of the symlink's containing
  9166. -# directory).
  9167. -if (
  9168. - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  9169. - if test "$*" = "X"; then
  9170. - # -L didn't work.
  9171. - set X `ls -t $srcdir/configure conftest.file`
  9172. - fi
  9173. - rm -f conftest.file
  9174. - if test "$*" != "X $srcdir/configure conftest.file" \
  9175. - && test "$*" != "X conftest.file $srcdir/configure"; then
  9176. - # If neither matched, then we have a broken ls. This can happen
  9177. - # if, for instance, CONFIG_SHELL is bash and it inherits a
  9178. - # broken ls alias from the environment. This has actually
  9179. - # happened. Such a system could not be considered "sane".
  9180. - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
  9181. -alias in your environment" >&5
  9182. -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
  9183. -alias in your environment" >&2;}
  9184. - { (exit 1); exit 1; }; }
  9185. - fi
  9186. +## ----------- ##
  9187. +## Core tests. ##
  9188. +## ----------- ##
  9189. - test "$2" = conftest.file
  9190. - )
  9191. -then
  9192. - # Ok.
  9193. - :
  9194. -else
  9195. - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  9196. -Check your system clock" >&5
  9197. -echo "$as_me: error: newly created file is older than distributed files!
  9198. -Check your system clock" >&2;}
  9199. - { (exit 1); exit 1; }; }
  9200. -fi
  9201. -{ echo "$as_me:$LINENO: result: yes" >&5
  9202. -echo "${ECHO_T}yes" >&6; }
  9203. -test "$program_prefix" != NONE &&
  9204. - program_transform_name="s&^&$program_prefix&;$program_transform_name"
  9205. -# Use a double $ so make ignores it.
  9206. -test "$program_suffix" != NONE &&
  9207. - program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  9208. -# Double any \ or $. echo might interpret backslashes.
  9209. -# By default was `s,x,x', remove it if useless.
  9210. -cat <<\_ACEOF >conftest.sed
  9211. -s/[\\$]/&&/g;s/;s,x,x,$//
  9212. _ACEOF
  9213. -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  9214. -rm -f conftest.sed
  9215. -
  9216. -# expand $ac_aux_dir to an absolute path
  9217. -am_aux_dir=`cd $ac_aux_dir && pwd`
  9218. -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  9219. -# Use eval to expand $SHELL
  9220. -if eval "$MISSING --run true"; then
  9221. - am_missing_run="$MISSING --run "
  9222. -else
  9223. - am_missing_run=
  9224. - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  9225. -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  9226. -fi
  9227. -{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
  9228. -echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
  9229. -if test -z "$MKDIR_P"; then
  9230. - if test "${ac_cv_path_mkdir+set}" = set; then
  9231. - echo $ECHO_N "(cached) $ECHO_C" >&6
  9232. -else
  9233. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9234. -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  9235. +# Keep a trace of the command line.
  9236. +# Strip out --no-create and --no-recursion so they do not pile up.
  9237. +# Strip out --silent because we don't want to record it for future runs.
  9238. +# Also quote any args containing shell meta-characters.
  9239. +# Make two passes to allow for proper duplicate-argument suppression.
  9240. +ac_configure_args=
  9241. +ac_configure_args0=
  9242. +ac_configure_args1=
  9243. +ac_must_keep_next=false
  9244. +for ac_pass in 1 2
  9245. do
  9246. - IFS=$as_save_IFS
  9247. - test -z "$as_dir" && as_dir=.
  9248. - for ac_prog in mkdir gmkdir; do
  9249. - for ac_exec_ext in '' $ac_executable_extensions; do
  9250. - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  9251. - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  9252. - 'mkdir (GNU coreutils) '* | \
  9253. - 'mkdir (coreutils) '* | \
  9254. - 'mkdir (fileutils) '4.1*)
  9255. - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  9256. - break 3;;
  9257. - esac
  9258. - done
  9259. - done
  9260. + for ac_arg
  9261. + do
  9262. + case $ac_arg in
  9263. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  9264. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  9265. + | -silent | --silent | --silen | --sile | --sil)
  9266. + continue ;;
  9267. + *\'*)
  9268. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  9269. + esac
  9270. + case $ac_pass in
  9271. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  9272. + 2)
  9273. + as_fn_append ac_configure_args1 " '$ac_arg'"
  9274. + if test $ac_must_keep_next = true; then
  9275. + ac_must_keep_next=false # Got value, back to normal.
  9276. + else
  9277. + case $ac_arg in
  9278. + *=* | --config-cache | -C | -disable-* | --disable-* \
  9279. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  9280. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  9281. + | -with-* | --with-* | -without-* | --without-* | --x)
  9282. + case "$ac_configure_args0 " in
  9283. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  9284. + esac
  9285. + ;;
  9286. + -* ) ac_must_keep_next=true ;;
  9287. + esac
  9288. + fi
  9289. + as_fn_append ac_configure_args " '$ac_arg'"
  9290. + ;;
  9291. + esac
  9292. + done
  9293. done
  9294. -IFS=$as_save_IFS
  9295. -
  9296. -fi
  9297. -
  9298. - if test "${ac_cv_path_mkdir+set}" = set; then
  9299. - MKDIR_P="$ac_cv_path_mkdir -p"
  9300. - else
  9301. - # As a last resort, use the slow shell script. Don't cache a
  9302. - # value for MKDIR_P within a source directory, because that will
  9303. - # break other packages using the cache if that directory is
  9304. - # removed, or if the value is a relative name.
  9305. - test -d ./--version && rmdir ./--version
  9306. - MKDIR_P="$ac_install_sh -d"
  9307. - fi
  9308. -fi
  9309. -{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
  9310. -echo "${ECHO_T}$MKDIR_P" >&6; }
  9311. +{ ac_configure_args0=; unset ac_configure_args0;}
  9312. +{ ac_configure_args1=; unset ac_configure_args1;}
  9313. -mkdir_p="$MKDIR_P"
  9314. -case $mkdir_p in
  9315. - [\\/$]* | ?:[\\/]*) ;;
  9316. - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  9317. -esac
  9318. +# When interrupted or exit'd, cleanup temporary files, and complete
  9319. +# config.log. We remove comments because anyway the quotes in there
  9320. +# would cause problems or look ugly.
  9321. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  9322. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  9323. +trap 'exit_status=$?
  9324. + # Save into config.log some information that might help in debugging.
  9325. + {
  9326. + echo
  9327. -for ac_prog in gawk mawk nawk awk
  9328. -do
  9329. - # Extract the first word of "$ac_prog", so it can be a program name with args.
  9330. -set dummy $ac_prog; ac_word=$2
  9331. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  9332. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  9333. -if test "${ac_cv_prog_AWK+set}" = set; then
  9334. - echo $ECHO_N "(cached) $ECHO_C" >&6
  9335. -else
  9336. - if test -n "$AWK"; then
  9337. - ac_cv_prog_AWK="$AWK" # Let the user override the test.
  9338. -else
  9339. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9340. -for as_dir in $PATH
  9341. -do
  9342. - IFS=$as_save_IFS
  9343. - test -z "$as_dir" && as_dir=.
  9344. - for ac_exec_ext in '' $ac_executable_extensions; do
  9345. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9346. - ac_cv_prog_AWK="$ac_prog"
  9347. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9348. - break 2
  9349. - fi
  9350. -done
  9351. -done
  9352. -IFS=$as_save_IFS
  9353. + cat <<\_ASBOX
  9354. +## ---------------- ##
  9355. +## Cache variables. ##
  9356. +## ---------------- ##
  9357. +_ASBOX
  9358. + echo
  9359. + # The following way of writing the cache mishandles newlines in values,
  9360. +(
  9361. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  9362. + eval ac_val=\$$ac_var
  9363. + case $ac_val in #(
  9364. + *${as_nl}*)
  9365. + case $ac_var in #(
  9366. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  9367. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  9368. + esac
  9369. + case $ac_var in #(
  9370. + _ | IFS | as_nl) ;; #(
  9371. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  9372. + *) { eval $ac_var=; unset $ac_var;} ;;
  9373. + esac ;;
  9374. + esac
  9375. + done
  9376. + (set) 2>&1 |
  9377. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  9378. + *${as_nl}ac_space=\ *)
  9379. + sed -n \
  9380. + "s/'\''/'\''\\\\'\'''\''/g;
  9381. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  9382. + ;; #(
  9383. + *)
  9384. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  9385. + ;;
  9386. + esac |
  9387. + sort
  9388. +)
  9389. + echo
  9390. -fi
  9391. -fi
  9392. -AWK=$ac_cv_prog_AWK
  9393. -if test -n "$AWK"; then
  9394. - { echo "$as_me:$LINENO: result: $AWK" >&5
  9395. -echo "${ECHO_T}$AWK" >&6; }
  9396. -else
  9397. - { echo "$as_me:$LINENO: result: no" >&5
  9398. -echo "${ECHO_T}no" >&6; }
  9399. -fi
  9400. + cat <<\_ASBOX
  9401. +## ----------------- ##
  9402. +## Output variables. ##
  9403. +## ----------------- ##
  9404. +_ASBOX
  9405. + echo
  9406. + for ac_var in $ac_subst_vars
  9407. + do
  9408. + eval ac_val=\$$ac_var
  9409. + case $ac_val in
  9410. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  9411. + esac
  9412. + $as_echo "$ac_var='\''$ac_val'\''"
  9413. + done | sort
  9414. + echo
  9415. + if test -n "$ac_subst_files"; then
  9416. + cat <<\_ASBOX
  9417. +## ------------------- ##
  9418. +## File substitutions. ##
  9419. +## ------------------- ##
  9420. +_ASBOX
  9421. + echo
  9422. + for ac_var in $ac_subst_files
  9423. + do
  9424. + eval ac_val=\$$ac_var
  9425. + case $ac_val in
  9426. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  9427. + esac
  9428. + $as_echo "$ac_var='\''$ac_val'\''"
  9429. + done | sort
  9430. + echo
  9431. + fi
  9432. - test -n "$AWK" && break
  9433. + if test -s confdefs.h; then
  9434. + cat <<\_ASBOX
  9435. +## ----------- ##
  9436. +## confdefs.h. ##
  9437. +## ----------- ##
  9438. +_ASBOX
  9439. + echo
  9440. + cat confdefs.h
  9441. + echo
  9442. + fi
  9443. + test "$ac_signal" != 0 &&
  9444. + $as_echo "$as_me: caught signal $ac_signal"
  9445. + $as_echo "$as_me: exit $exit_status"
  9446. + } >&5
  9447. + rm -f core *.core core.conftest.* &&
  9448. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  9449. + exit $exit_status
  9450. +' 0
  9451. +for ac_signal in 1 2 13 15; do
  9452. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  9453. done
  9454. +ac_signal=0
  9455. -{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  9456. -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  9457. -set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  9458. -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  9459. - echo $ECHO_N "(cached) $ECHO_C" >&6
  9460. -else
  9461. - cat >conftest.make <<\_ACEOF
  9462. -SHELL = /bin/sh
  9463. -all:
  9464. - @echo '@@@%%%=$(MAKE)=@@@%%%'
  9465. -_ACEOF
  9466. -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  9467. -case `${MAKE-make} -f conftest.make 2>/dev/null` in
  9468. - *@@@%%%=?*=@@@%%%*)
  9469. - eval ac_cv_prog_make_${ac_make}_set=yes;;
  9470. - *)
  9471. - eval ac_cv_prog_make_${ac_make}_set=no;;
  9472. -esac
  9473. -rm -f conftest.make
  9474. -fi
  9475. -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  9476. - { echo "$as_me:$LINENO: result: yes" >&5
  9477. -echo "${ECHO_T}yes" >&6; }
  9478. - SET_MAKE=
  9479. -else
  9480. - { echo "$as_me:$LINENO: result: no" >&5
  9481. -echo "${ECHO_T}no" >&6; }
  9482. - SET_MAKE="MAKE=${MAKE-make}"
  9483. -fi
  9484. -
  9485. -rm -rf .tst 2>/dev/null
  9486. -mkdir .tst 2>/dev/null
  9487. -if test -d .tst; then
  9488. - am__leading_dot=.
  9489. -else
  9490. - am__leading_dot=_
  9491. -fi
  9492. -rmdir .tst 2>/dev/null
  9493. -
  9494. -if test "`cd $srcdir && pwd`" != "`pwd`"; then
  9495. - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  9496. - # is not polluted with repeated "-I."
  9497. - am__isrc=' -I$(srcdir)'
  9498. - # test to see if srcdir already configured
  9499. - if test -f $srcdir/config.status; then
  9500. - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  9501. -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  9502. - { (exit 1); exit 1; }; }
  9503. - fi
  9504. -fi
  9505. -
  9506. -# test whether we have cygpath
  9507. -if test -z "$CYGPATH_W"; then
  9508. - if (cygpath --version) >/dev/null 2>/dev/null; then
  9509. - CYGPATH_W='cygpath -w'
  9510. - else
  9511. - CYGPATH_W=echo
  9512. - fi
  9513. -fi
  9514. -
  9515. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  9516. +rm -f -r conftest* confdefs.h
  9517. -# Define the identity of the package.
  9518. - PACKAGE=gpsd
  9519. - VERSION=2.39
  9520. +$as_echo "/* confdefs.h */" > confdefs.h
  9521. +# Predefined preprocessor variables.
  9522. cat >>confdefs.h <<_ACEOF
  9523. -#define PACKAGE "$PACKAGE"
  9524. +#define PACKAGE_NAME "$PACKAGE_NAME"
  9525. _ACEOF
  9526. -
  9527. cat >>confdefs.h <<_ACEOF
  9528. -#define VERSION "$VERSION"
  9529. +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  9530. _ACEOF
  9531. -# Some tools Automake needs.
  9532. -
  9533. -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  9534. -
  9535. -
  9536. -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  9537. -
  9538. -
  9539. -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  9540. -
  9541. -
  9542. -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  9543. +cat >>confdefs.h <<_ACEOF
  9544. +#define PACKAGE_VERSION "$PACKAGE_VERSION"
  9545. +_ACEOF
  9546. +cat >>confdefs.h <<_ACEOF
  9547. +#define PACKAGE_STRING "$PACKAGE_STRING"
  9548. +_ACEOF
  9549. -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  9550. +cat >>confdefs.h <<_ACEOF
  9551. +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  9552. +_ACEOF
  9553. -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
  9554. +cat >>confdefs.h <<_ACEOF
  9555. +#define PACKAGE_URL "$PACKAGE_URL"
  9556. +_ACEOF
  9557. -# Installed binaries are usually stripped using `strip' when the user
  9558. -# run `make install-strip'. However `strip' might not be the right
  9559. -# tool to use in cross-compilation environments, therefore Automake
  9560. -# will honor the `STRIP' environment variable to overrule this program.
  9561. -if test "$cross_compiling" != no; then
  9562. - if test -n "$ac_tool_prefix"; then
  9563. - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  9564. -set dummy ${ac_tool_prefix}strip; ac_word=$2
  9565. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  9566. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  9567. -if test "${ac_cv_prog_STRIP+set}" = set; then
  9568. - echo $ECHO_N "(cached) $ECHO_C" >&6
  9569. -else
  9570. - if test -n "$STRIP"; then
  9571. - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  9572. -else
  9573. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9574. -for as_dir in $PATH
  9575. -do
  9576. - IFS=$as_save_IFS
  9577. - test -z "$as_dir" && as_dir=.
  9578. - for ac_exec_ext in '' $ac_executable_extensions; do
  9579. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9580. - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  9581. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9582. - break 2
  9583. - fi
  9584. -done
  9585. -done
  9586. -IFS=$as_save_IFS
  9587. -fi
  9588. -fi
  9589. -STRIP=$ac_cv_prog_STRIP
  9590. -if test -n "$STRIP"; then
  9591. - { echo "$as_me:$LINENO: result: $STRIP" >&5
  9592. -echo "${ECHO_T}$STRIP" >&6; }
  9593. +# Let the site file select an alternate cache file if it wants to.
  9594. +# Prefer an explicitly selected file to automatically selected ones.
  9595. +ac_site_file1=NONE
  9596. +ac_site_file2=NONE
  9597. +if test -n "$CONFIG_SITE"; then
  9598. + ac_site_file1=$CONFIG_SITE
  9599. +elif test "x$prefix" != xNONE; then
  9600. + ac_site_file1=$prefix/share/config.site
  9601. + ac_site_file2=$prefix/etc/config.site
  9602. else
  9603. - { echo "$as_me:$LINENO: result: no" >&5
  9604. -echo "${ECHO_T}no" >&6; }
  9605. + ac_site_file1=$ac_default_prefix/share/config.site
  9606. + ac_site_file2=$ac_default_prefix/etc/config.site
  9607. fi
  9608. -
  9609. -
  9610. -fi
  9611. -if test -z "$ac_cv_prog_STRIP"; then
  9612. - ac_ct_STRIP=$STRIP
  9613. - # Extract the first word of "strip", so it can be a program name with args.
  9614. -set dummy strip; ac_word=$2
  9615. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  9616. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  9617. -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  9618. - echo $ECHO_N "(cached) $ECHO_C" >&6
  9619. -else
  9620. - if test -n "$ac_ct_STRIP"; then
  9621. - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  9622. -else
  9623. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9624. -for as_dir in $PATH
  9625. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  9626. do
  9627. - IFS=$as_save_IFS
  9628. - test -z "$as_dir" && as_dir=.
  9629. - for ac_exec_ext in '' $ac_executable_extensions; do
  9630. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9631. - ac_cv_prog_ac_ct_STRIP="strip"
  9632. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9633. - break 2
  9634. + test "x$ac_site_file" = xNONE && continue
  9635. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  9636. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  9637. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  9638. + sed 's/^/| /' "$ac_site_file" >&5
  9639. + . "$ac_site_file"
  9640. fi
  9641. done
  9642. -done
  9643. -IFS=$as_save_IFS
  9644. -fi
  9645. -fi
  9646. -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  9647. -if test -n "$ac_ct_STRIP"; then
  9648. - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  9649. -echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  9650. +if test -r "$cache_file"; then
  9651. + # Some versions of bash will fail to source /dev/null (special files
  9652. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  9653. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  9654. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  9655. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  9656. + case $cache_file in
  9657. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  9658. + *) . "./$cache_file";;
  9659. + esac
  9660. + fi
  9661. else
  9662. - { echo "$as_me:$LINENO: result: no" >&5
  9663. -echo "${ECHO_T}no" >&6; }
  9664. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  9665. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  9666. + >$cache_file
  9667. fi
  9668. - if test "x$ac_ct_STRIP" = x; then
  9669. - STRIP=":"
  9670. - else
  9671. - case $cross_compiling:$ac_tool_warned in
  9672. -yes:)
  9673. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  9674. -whose name does not start with the host triplet. If you think this
  9675. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  9676. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  9677. -whose name does not start with the host triplet. If you think this
  9678. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  9679. -ac_tool_warned=yes ;;
  9680. -esac
  9681. - STRIP=$ac_ct_STRIP
  9682. +# Check that the precious variables saved in the cache have kept the same
  9683. +# value.
  9684. +ac_cache_corrupted=false
  9685. +for ac_var in $ac_precious_vars; do
  9686. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  9687. + eval ac_new_set=\$ac_env_${ac_var}_set
  9688. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  9689. + eval ac_new_val=\$ac_env_${ac_var}_value
  9690. + case $ac_old_set,$ac_new_set in
  9691. + set,)
  9692. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  9693. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  9694. + ac_cache_corrupted=: ;;
  9695. + ,set)
  9696. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  9697. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  9698. + ac_cache_corrupted=: ;;
  9699. + ,);;
  9700. + *)
  9701. + if test "x$ac_old_val" != "x$ac_new_val"; then
  9702. + # differences in whitespace do not lead to failure.
  9703. + ac_old_val_w=`echo x $ac_old_val`
  9704. + ac_new_val_w=`echo x $ac_new_val`
  9705. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  9706. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  9707. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  9708. + ac_cache_corrupted=:
  9709. + else
  9710. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  9711. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  9712. + eval $ac_var=\$ac_old_val
  9713. + fi
  9714. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  9715. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  9716. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  9717. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  9718. + fi;;
  9719. + esac
  9720. + # Pass precious variables to config.status.
  9721. + if test "$ac_new_set" = set; then
  9722. + case $ac_new_val in
  9723. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  9724. + *) ac_arg=$ac_var=$ac_new_val ;;
  9725. + esac
  9726. + case " $ac_configure_args " in
  9727. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  9728. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  9729. + esac
  9730. fi
  9731. -else
  9732. - STRIP="$ac_cv_prog_STRIP"
  9733. -fi
  9734. -
  9735. -fi
  9736. -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  9737. -
  9738. -# We need awk for the "check" target. The system "awk" is bad on
  9739. -# some platforms.
  9740. -# Always define AMTAR for backward compatibility.
  9741. -
  9742. -AMTAR=${AMTAR-"${am_missing_run}tar"}
  9743. -
  9744. -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  9745. -
  9746. -
  9747. -
  9748. -
  9749. -
  9750. -ac_config_headers="$ac_config_headers gpsd_config.h"
  9751. +done
  9752. +if $ac_cache_corrupted; then
  9753. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  9754. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  9755. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  9756. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  9757. + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  9758. +fi
  9759. +## -------------------- ##
  9760. +## Main body of script. ##
  9761. +## -------------------- ##
  9762. ac_ext=c
  9763. ac_cpp='$CPP $CPPFLAGS'
  9764. @@ -2508,1727 +2821,1047 @@
  9765. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9766. -# Check whether --enable-python was given.
  9767. -if test "${enable_python+set}" = set; then
  9768. - enableval=$enable_python; try_python="$enableval"
  9769. -else
  9770. - try_python="yes"
  9771. -fi
  9772. -
  9773. -if test "x$try_python" = "xyes"; then
  9774. +am__api_version='1.11'
  9775. +ac_aux_dir=
  9776. +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  9777. + for ac_t in install-sh install.sh shtool; do
  9778. + if test -f "$ac_dir/$ac_t"; then
  9779. + ac_aux_dir=$ac_dir
  9780. + ac_install_sh="$ac_aux_dir/$ac_t -c"
  9781. + break 2
  9782. + fi
  9783. + done
  9784. +done
  9785. +if test -z "$ac_aux_dir"; then
  9786. + as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  9787. +fi
  9788. +# These three variables are undocumented and unsupported,
  9789. +# and are intended to be withdrawn in a future Autoconf release.
  9790. +# They can cause serious problems if a builder's source tree is in a directory
  9791. +# whose full name contains unusual characters.
  9792. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  9793. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  9794. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  9795. - # Find any Python interpreter.
  9796. - if test -z "$PYTHON"; then
  9797. - for ac_prog in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
  9798. -do
  9799. - # Extract the first word of "$ac_prog", so it can be a program name with args.
  9800. -set dummy $ac_prog; ac_word=$2
  9801. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  9802. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  9803. -if test "${ac_cv_path_PYTHON+set}" = set; then
  9804. - echo $ECHO_N "(cached) $ECHO_C" >&6
  9805. -else
  9806. - case $PYTHON in
  9807. - [\\/]* | ?:[\\/]*)
  9808. - ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
  9809. - ;;
  9810. - *)
  9811. +# Find a good install program. We prefer a C program (faster),
  9812. +# so one script is as good as another. But avoid the broken or
  9813. +# incompatible versions:
  9814. +# SysV /etc/install, /usr/sbin/install
  9815. +# SunOS /usr/etc/install
  9816. +# IRIX /sbin/install
  9817. +# AIX /bin/install
  9818. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  9819. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  9820. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  9821. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  9822. +# OS/2's system install, which has a completely different semantic
  9823. +# ./install, which can be erroneously created by make from ./install.sh.
  9824. +# Reject install programs that cannot install multiple files.
  9825. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  9826. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  9827. +if test -z "$INSTALL"; then
  9828. +if test "${ac_cv_path_install+set}" = set; then :
  9829. + $as_echo_n "(cached) " >&6
  9830. +else
  9831. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9832. for as_dir in $PATH
  9833. do
  9834. IFS=$as_save_IFS
  9835. test -z "$as_dir" && as_dir=.
  9836. - for ac_exec_ext in '' $ac_executable_extensions; do
  9837. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9838. - ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
  9839. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9840. - break 2
  9841. - fi
  9842. -done
  9843. -done
  9844. -IFS=$as_save_IFS
  9845. -
  9846. - ;;
  9847. + # Account for people who put trailing slashes in PATH elements.
  9848. +case $as_dir/ in #((
  9849. + ./ | .// | /[cC]/* | \
  9850. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  9851. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  9852. + /usr/ucb/* ) ;;
  9853. + *)
  9854. + # OSF1 and SCO ODT 3.0 have their own names for install.
  9855. + # Don't use installbsd from OSF since it installs stuff as root
  9856. + # by default.
  9857. + for ac_prog in ginstall scoinst install; do
  9858. + for ac_exec_ext in '' $ac_executable_extensions; do
  9859. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  9860. + if test $ac_prog = install &&
  9861. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  9862. + # AIX install. It has an incompatible calling convention.
  9863. + :
  9864. + elif test $ac_prog = install &&
  9865. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  9866. + # program-specific install script used by HP pwplus--don't use.
  9867. + :
  9868. + else
  9869. + rm -rf conftest.one conftest.two conftest.dir
  9870. + echo one > conftest.one
  9871. + echo two > conftest.two
  9872. + mkdir conftest.dir
  9873. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  9874. + test -s conftest.one && test -s conftest.two &&
  9875. + test -s conftest.dir/conftest.one &&
  9876. + test -s conftest.dir/conftest.two
  9877. + then
  9878. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  9879. + break 3
  9880. + fi
  9881. + fi
  9882. + fi
  9883. + done
  9884. + done
  9885. + ;;
  9886. esac
  9887. -fi
  9888. -PYTHON=$ac_cv_path_PYTHON
  9889. -if test -n "$PYTHON"; then
  9890. - { echo "$as_me:$LINENO: result: $PYTHON" >&5
  9891. -echo "${ECHO_T}$PYTHON" >&6; }
  9892. -else
  9893. - { echo "$as_me:$LINENO: result: no" >&5
  9894. -echo "${ECHO_T}no" >&6; }
  9895. -fi
  9896. -
  9897. -
  9898. - test -n "$PYTHON" && break
  9899. -done
  9900. -test -n "$PYTHON" || PYTHON=":"
  9901. - fi
  9902. - am_display_PYTHON=python
  9903. + done
  9904. +IFS=$as_save_IFS
  9905. +rm -rf conftest.one conftest.two conftest.dir
  9906. - if test "$PYTHON" = :; then
  9907. - { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
  9908. -echo "$as_me: error: no suitable Python interpreter found" >&2;}
  9909. - { (exit 1); exit 1; }; }
  9910. +fi
  9911. + if test "${ac_cv_path_install+set}" = set; then
  9912. + INSTALL=$ac_cv_path_install
  9913. else
  9914. -
  9915. -
  9916. - { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
  9917. -echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
  9918. -if test "${am_cv_python_version+set}" = set; then
  9919. - echo $ECHO_N "(cached) $ECHO_C" >&6
  9920. -else
  9921. - am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
  9922. + # As a last resort, use the slow shell script. Don't cache a
  9923. + # value for INSTALL within a source directory, because that will
  9924. + # break other packages using the cache if that directory is
  9925. + # removed, or if the value is a relative name.
  9926. + INSTALL=$ac_install_sh
  9927. + fi
  9928. fi
  9929. -{ echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
  9930. -echo "${ECHO_T}$am_cv_python_version" >&6; }
  9931. - PYTHON_VERSION=$am_cv_python_version
  9932. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  9933. +$as_echo "$INSTALL" >&6; }
  9934. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  9935. +# It thinks the first close brace ends the variable substitution.
  9936. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  9937. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  9938. - PYTHON_PREFIX='${prefix}'
  9939. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  9940. - PYTHON_EXEC_PREFIX='${exec_prefix}'
  9941. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  9942. +$as_echo_n "checking whether build environment is sane... " >&6; }
  9943. +# Just in case
  9944. +sleep 1
  9945. +echo timestamp > conftest.file
  9946. +# Reject unsafe characters in $srcdir or the absolute working directory
  9947. +# name. Accept space and tab only in the latter.
  9948. +am_lf='
  9949. +'
  9950. +case `pwd` in
  9951. + *[\\\"\#\$\&\'\`$am_lf]*)
  9952. + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  9953. +esac
  9954. +case $srcdir in
  9955. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  9956. + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  9957. +esac
  9958. +# Do `set' in a subshell so we don't clobber the current shell's
  9959. +# arguments. Must try -L first in case configure is actually a
  9960. +# symlink; some systems play weird games with the mod time of symlinks
  9961. +# (eg FreeBSD returns the mod time of the symlink's containing
  9962. +# directory).
  9963. +if (
  9964. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  9965. + if test "$*" = "X"; then
  9966. + # -L didn't work.
  9967. + set X `ls -t "$srcdir/configure" conftest.file`
  9968. + fi
  9969. + rm -f conftest.file
  9970. + if test "$*" != "X $srcdir/configure conftest.file" \
  9971. + && test "$*" != "X conftest.file $srcdir/configure"; then
  9972. + # If neither matched, then we have a broken ls. This can happen
  9973. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  9974. + # broken ls alias from the environment. This has actually
  9975. + # happened. Such a system could not be considered "sane".
  9976. + as_fn_error "ls -t appears to fail. Make sure there is not a broken
  9977. +alias in your environment" "$LINENO" 5
  9978. + fi
  9979. - { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
  9980. -echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
  9981. -if test "${am_cv_python_platform+set}" = set; then
  9982. - echo $ECHO_N "(cached) $ECHO_C" >&6
  9983. + test "$2" = conftest.file
  9984. + )
  9985. +then
  9986. + # Ok.
  9987. + :
  9988. else
  9989. - am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
  9990. + as_fn_error "newly created file is older than distributed files!
  9991. +Check your system clock" "$LINENO" 5
  9992. fi
  9993. -{ echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
  9994. -echo "${ECHO_T}$am_cv_python_platform" >&6; }
  9995. - PYTHON_PLATFORM=$am_cv_python_platform
  9996. -
  9997. -
  9998. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9999. +$as_echo "yes" >&6; }
  10000. +test "$program_prefix" != NONE &&
  10001. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  10002. +# Use a double $ so make ignores it.
  10003. +test "$program_suffix" != NONE &&
  10004. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  10005. +# Double any \ or $.
  10006. +# By default was `s,x,x', remove it if useless.
  10007. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  10008. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  10009. +# expand $ac_aux_dir to an absolute path
  10010. +am_aux_dir=`cd $ac_aux_dir && pwd`
  10011. - { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
  10012. -echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
  10013. -if test "${am_cv_python_pythondir+set}" = set; then
  10014. - echo $ECHO_N "(cached) $ECHO_C" >&6
  10015. -else
  10016. - am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
  10017. - echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
  10018. +if test x"${MISSING+set}" != xset; then
  10019. + case $am_aux_dir in
  10020. + *\ * | *\ *)
  10021. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  10022. + *)
  10023. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  10024. + esac
  10025. fi
  10026. -{ echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
  10027. -echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
  10028. - pythondir=$am_cv_python_pythondir
  10029. -
  10030. -
  10031. -
  10032. - pkgpythondir=\${pythondir}/$PACKAGE
  10033. -
  10034. -
  10035. - { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
  10036. -echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
  10037. -if test "${am_cv_python_pyexecdir+set}" = set; then
  10038. - echo $ECHO_N "(cached) $ECHO_C" >&6
  10039. +# Use eval to expand $SHELL
  10040. +if eval "$MISSING --run true"; then
  10041. + am_missing_run="$MISSING --run "
  10042. else
  10043. - am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
  10044. - echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
  10045. + am_missing_run=
  10046. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  10047. +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  10048. fi
  10049. -{ echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
  10050. -echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
  10051. - pyexecdir=$am_cv_python_pyexecdir
  10052. -
  10053. -
  10054. -
  10055. - pkgpyexecdir=\${pyexecdir}/$PACKAGE
  10056. -
  10057. -
  10058. -
  10059. - fi
  10060. +if test x"${install_sh}" != xset; then
  10061. + case $am_aux_dir in
  10062. + *\ * | *\ *)
  10063. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  10064. + *)
  10065. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  10066. + esac
  10067. +fi
  10068. - ac_python=yes
  10069. - if test "x$PYTHON" = "x"; then
  10070. - # Extract the first word of "python", so it can be a program name with args.
  10071. -set dummy python; ac_word=$2
  10072. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  10073. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  10074. -if test "${ac_cv_path_PYTHON+set}" = set; then
  10075. - echo $ECHO_N "(cached) $ECHO_C" >&6
  10076. +# Installed binaries are usually stripped using `strip' when the user
  10077. +# run `make install-strip'. However `strip' might not be the right
  10078. +# tool to use in cross-compilation environments, therefore Automake
  10079. +# will honor the `STRIP' environment variable to overrule this program.
  10080. +if test "$cross_compiling" != no; then
  10081. + if test -n "$ac_tool_prefix"; then
  10082. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  10083. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  10084. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10085. +$as_echo_n "checking for $ac_word... " >&6; }
  10086. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  10087. + $as_echo_n "(cached) " >&6
  10088. else
  10089. - case $PYTHON in
  10090. - [\\/]* | ?:[\\/]*)
  10091. - ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
  10092. - ;;
  10093. - *)
  10094. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10095. + if test -n "$STRIP"; then
  10096. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  10097. +else
  10098. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10099. for as_dir in $PATH
  10100. do
  10101. IFS=$as_save_IFS
  10102. test -z "$as_dir" && as_dir=.
  10103. - for ac_exec_ext in '' $ac_executable_extensions; do
  10104. + for ac_exec_ext in '' $ac_executable_extensions; do
  10105. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10106. - ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
  10107. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  10108. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  10109. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10110. break 2
  10111. fi
  10112. done
  10113. -done
  10114. + done
  10115. IFS=$as_save_IFS
  10116. - test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="none"
  10117. - ;;
  10118. -esac
  10119. fi
  10120. -PYTHON=$ac_cv_path_PYTHON
  10121. -if test -n "$PYTHON"; then
  10122. - { echo "$as_me:$LINENO: result: $PYTHON" >&5
  10123. -echo "${ECHO_T}$PYTHON" >&6; }
  10124. +fi
  10125. +STRIP=$ac_cv_prog_STRIP
  10126. +if test -n "$STRIP"; then
  10127. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  10128. +$as_echo "$STRIP" >&6; }
  10129. else
  10130. - { echo "$as_me:$LINENO: result: no" >&5
  10131. -echo "${ECHO_T}no" >&6; }
  10132. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10133. +$as_echo "no" >&6; }
  10134. fi
  10135. - fi
  10136. -
  10137. - if test "x$PYTHON" = "xnone"; then
  10138. - { echo "$as_me:$LINENO: WARNING: *** Python interpreter not found, Python support disabled." >&5
  10139. -echo "$as_me: WARNING: *** Python interpreter not found, Python support disabled." >&2;}
  10140. - ac_python=no
  10141. - fi
  10142. -
  10143. - if test "x$ac_python" = "xyes"; then
  10144. - { echo "$as_me:$LINENO: checking Python version and location" >&5
  10145. -echo $ECHO_N "checking Python version and location... $ECHO_C" >&6; }
  10146. - PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"`
  10147. - PYTHON_VERSION_MAJOR=`$PYTHON -c "import sys; print '%d' % (sys.version_info[0]);"`
  10148. - PYTHON_VERSION_MINOR=`$PYTHON -c "import sys; print '%d' % (sys.version_info[1]);"`
  10149. - PYTHON_VERSION="${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}"
  10150. - { echo "$as_me:$LINENO: result: $PYTHON, $PYTHON_VERSION, $PYTHON_PREFIX" >&5
  10151. -echo "${ECHO_T}$PYTHON, $PYTHON_VERSION, $PYTHON_PREFIX" >&6; }
  10152. -
  10153. - { echo "$as_me:$LINENO: checking whether Python is at least 2.4" >&5
  10154. -echo $ECHO_N "checking whether Python is at least 2.4... $ECHO_C" >&6; }
  10155. - if test $PYTHON_VERSION_MAJOR -lt 2 -o $PYTHON_VERSION_MAJOR -eq 2 -a $PYTHON_VERSION_MINOR -lt 3; then
  10156. - { echo "$as_me:$LINENO: result: no" >&5
  10157. -echo "${ECHO_T}no" >&6; }
  10158. - { echo "$as_me:$LINENO: WARNING: *** GPSD requires at least Python 2.3, Python support disabled." >&5
  10159. -echo "$as_me: WARNING: *** GPSD requires at least Python 2.3, Python support disabled." >&2;}
  10160. - ac_python=no
  10161. - fi
  10162. - if test "x$ac_python" = "xyes"; then
  10163. - { echo "$as_me:$LINENO: result: yes" >&5
  10164. -echo "${ECHO_T}yes" >&6; }
  10165. -
  10166. - PYTHON_CFLAGS="-DHAVE_PYTHON -I$PYTHON_PREFIX/include/python$PYTHON_VERSION"
  10167. -
  10168. - OLD_CPPFLAGS="$CPPFLAGS"
  10169. - OLD_CXXFLAGS="$CXXFLAGS"
  10170. - CPPFLAGS="$CPPFLAGS $PYTHON_CFLAGS"
  10171. - CXXFLAGS="$CXXFLAGS $PYTHON_CFLAGS"
  10172. -
  10173. - DEPDIR="${am__leading_dot}deps"
  10174. -
  10175. -ac_config_commands="$ac_config_commands depfiles"
  10176. -
  10177. -
  10178. -am_make=${MAKE-make}
  10179. -cat > confinc << 'END'
  10180. -am__doit:
  10181. - @echo done
  10182. -.PHONY: am__doit
  10183. -END
  10184. -# If we don't find an include directive, just comment out the code.
  10185. -{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  10186. -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  10187. -am__include="#"
  10188. -am__quote=
  10189. -_am_result=none
  10190. -# First try GNU make style include.
  10191. -echo "include confinc" > confmf
  10192. -# We grep out `Entering directory' and `Leaving directory'
  10193. -# messages which can occur if `w' ends up in MAKEFLAGS.
  10194. -# In particular we don't look at `^make:' because GNU make might
  10195. -# be invoked under some other name (usually "gmake"), in which
  10196. -# case it prints its new name instead of `make'.
  10197. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  10198. - am__include=include
  10199. - am__quote=
  10200. - _am_result=GNU
  10201. fi
  10202. -# Now try BSD make style include.
  10203. -if test "$am__include" = "#"; then
  10204. - echo '.include "confinc"' > confmf
  10205. - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  10206. - am__include=.include
  10207. - am__quote="\""
  10208. - _am_result=BSD
  10209. - fi
  10210. -fi
  10211. -
  10212. -
  10213. -{ echo "$as_me:$LINENO: result: $_am_result" >&5
  10214. -echo "${ECHO_T}$_am_result" >&6; }
  10215. -rm -f confinc confmf
  10216. -
  10217. -# Check whether --enable-dependency-tracking was given.
  10218. -if test "${enable_dependency_tracking+set}" = set; then
  10219. - enableval=$enable_dependency_tracking;
  10220. -fi
  10221. -
  10222. -if test "x$enable_dependency_tracking" != xno; then
  10223. - am_depcomp="$ac_aux_dir/depcomp"
  10224. - AMDEPBACKSLASH='\'
  10225. -fi
  10226. - if test "x$enable_dependency_tracking" != xno; then
  10227. - AMDEP_TRUE=
  10228. - AMDEP_FALSE='#'
  10229. -else
  10230. - AMDEP_TRUE='#'
  10231. - AMDEP_FALSE=
  10232. -fi
  10233. -
  10234. -
  10235. -ac_ext=c
  10236. -ac_cpp='$CPP $CPPFLAGS'
  10237. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10238. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10239. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10240. -if test -n "$ac_tool_prefix"; then
  10241. - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  10242. -set dummy ${ac_tool_prefix}gcc; ac_word=$2
  10243. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  10244. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  10245. -if test "${ac_cv_prog_CC+set}" = set; then
  10246. - echo $ECHO_N "(cached) $ECHO_C" >&6
  10247. -else
  10248. - if test -n "$CC"; then
  10249. - ac_cv_prog_CC="$CC" # Let the user override the test.
  10250. -else
  10251. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10252. -for as_dir in $PATH
  10253. -do
  10254. - IFS=$as_save_IFS
  10255. - test -z "$as_dir" && as_dir=.
  10256. - for ac_exec_ext in '' $ac_executable_extensions; do
  10257. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10258. - ac_cv_prog_CC="${ac_tool_prefix}gcc"
  10259. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  10260. - break 2
  10261. - fi
  10262. -done
  10263. -done
  10264. -IFS=$as_save_IFS
  10265. -
  10266. -fi
  10267. -fi
  10268. -CC=$ac_cv_prog_CC
  10269. -if test -n "$CC"; then
  10270. - { echo "$as_me:$LINENO: result: $CC" >&5
  10271. -echo "${ECHO_T}$CC" >&6; }
  10272. -else
  10273. - { echo "$as_me:$LINENO: result: no" >&5
  10274. -echo "${ECHO_T}no" >&6; }
  10275. -fi
  10276. -
  10277. -
  10278. -fi
  10279. -if test -z "$ac_cv_prog_CC"; then
  10280. - ac_ct_CC=$CC
  10281. - # Extract the first word of "gcc", so it can be a program name with args.
  10282. -set dummy gcc; ac_word=$2
  10283. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  10284. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  10285. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  10286. - echo $ECHO_N "(cached) $ECHO_C" >&6
  10287. +if test -z "$ac_cv_prog_STRIP"; then
  10288. + ac_ct_STRIP=$STRIP
  10289. + # Extract the first word of "strip", so it can be a program name with args.
  10290. +set dummy strip; ac_word=$2
  10291. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10292. +$as_echo_n "checking for $ac_word... " >&6; }
  10293. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  10294. + $as_echo_n "(cached) " >&6
  10295. else
  10296. - if test -n "$ac_ct_CC"; then
  10297. - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  10298. + if test -n "$ac_ct_STRIP"; then
  10299. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  10300. else
  10301. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10302. for as_dir in $PATH
  10303. do
  10304. IFS=$as_save_IFS
  10305. test -z "$as_dir" && as_dir=.
  10306. - for ac_exec_ext in '' $ac_executable_extensions; do
  10307. + for ac_exec_ext in '' $ac_executable_extensions; do
  10308. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10309. - ac_cv_prog_ac_ct_CC="gcc"
  10310. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  10311. + ac_cv_prog_ac_ct_STRIP="strip"
  10312. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10313. break 2
  10314. fi
  10315. done
  10316. -done
  10317. + done
  10318. IFS=$as_save_IFS
  10319. fi
  10320. fi
  10321. -ac_ct_CC=$ac_cv_prog_ac_ct_CC
  10322. -if test -n "$ac_ct_CC"; then
  10323. - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  10324. -echo "${ECHO_T}$ac_ct_CC" >&6; }
  10325. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  10326. +if test -n "$ac_ct_STRIP"; then
  10327. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  10328. +$as_echo "$ac_ct_STRIP" >&6; }
  10329. else
  10330. - { echo "$as_me:$LINENO: result: no" >&5
  10331. -echo "${ECHO_T}no" >&6; }
  10332. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10333. +$as_echo "no" >&6; }
  10334. fi
  10335. - if test "x$ac_ct_CC" = x; then
  10336. - CC=""
  10337. + if test "x$ac_ct_STRIP" = x; then
  10338. + STRIP=":"
  10339. else
  10340. case $cross_compiling:$ac_tool_warned in
  10341. yes:)
  10342. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  10343. -whose name does not start with the host triplet. If you think this
  10344. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  10345. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  10346. -whose name does not start with the host triplet. If you think this
  10347. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  10348. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  10349. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  10350. ac_tool_warned=yes ;;
  10351. esac
  10352. - CC=$ac_ct_CC
  10353. + STRIP=$ac_ct_STRIP
  10354. fi
  10355. else
  10356. - CC="$ac_cv_prog_CC"
  10357. + STRIP="$ac_cv_prog_STRIP"
  10358. fi
  10359. -if test -z "$CC"; then
  10360. - if test -n "$ac_tool_prefix"; then
  10361. - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  10362. -set dummy ${ac_tool_prefix}cc; ac_word=$2
  10363. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  10364. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  10365. -if test "${ac_cv_prog_CC+set}" = set; then
  10366. - echo $ECHO_N "(cached) $ECHO_C" >&6
  10367. -else
  10368. - if test -n "$CC"; then
  10369. - ac_cv_prog_CC="$CC" # Let the user override the test.
  10370. -else
  10371. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10372. -for as_dir in $PATH
  10373. -do
  10374. - IFS=$as_save_IFS
  10375. - test -z "$as_dir" && as_dir=.
  10376. - for ac_exec_ext in '' $ac_executable_extensions; do
  10377. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10378. - ac_cv_prog_CC="${ac_tool_prefix}cc"
  10379. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  10380. - break 2
  10381. - fi
  10382. -done
  10383. -done
  10384. -IFS=$as_save_IFS
  10385. -
  10386. -fi
  10387. -fi
  10388. -CC=$ac_cv_prog_CC
  10389. -if test -n "$CC"; then
  10390. - { echo "$as_me:$LINENO: result: $CC" >&5
  10391. -echo "${ECHO_T}$CC" >&6; }
  10392. -else
  10393. - { echo "$as_me:$LINENO: result: no" >&5
  10394. -echo "${ECHO_T}no" >&6; }
  10395. fi
  10396. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  10397. -
  10398. - fi
  10399. -fi
  10400. -if test -z "$CC"; then
  10401. - # Extract the first word of "cc", so it can be a program name with args.
  10402. -set dummy cc; ac_word=$2
  10403. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  10404. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  10405. -if test "${ac_cv_prog_CC+set}" = set; then
  10406. - echo $ECHO_N "(cached) $ECHO_C" >&6
  10407. -else
  10408. - if test -n "$CC"; then
  10409. - ac_cv_prog_CC="$CC" # Let the user override the test.
  10410. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  10411. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  10412. +if test -z "$MKDIR_P"; then
  10413. + if test "${ac_cv_path_mkdir+set}" = set; then :
  10414. + $as_echo_n "(cached) " >&6
  10415. else
  10416. - ac_prog_rejected=no
  10417. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10418. -for as_dir in $PATH
  10419. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10420. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  10421. do
  10422. IFS=$as_save_IFS
  10423. test -z "$as_dir" && as_dir=.
  10424. - for ac_exec_ext in '' $ac_executable_extensions; do
  10425. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10426. - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  10427. - ac_prog_rejected=yes
  10428. - continue
  10429. - fi
  10430. - ac_cv_prog_CC="cc"
  10431. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  10432. - break 2
  10433. - fi
  10434. -done
  10435. -done
  10436. + for ac_prog in mkdir gmkdir; do
  10437. + for ac_exec_ext in '' $ac_executable_extensions; do
  10438. + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  10439. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  10440. + 'mkdir (GNU coreutils) '* | \
  10441. + 'mkdir (coreutils) '* | \
  10442. + 'mkdir (fileutils) '4.1*)
  10443. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  10444. + break 3;;
  10445. + esac
  10446. + done
  10447. + done
  10448. + done
  10449. IFS=$as_save_IFS
  10450. -if test $ac_prog_rejected = yes; then
  10451. - # We found a bogon in the path, so make sure we never use it.
  10452. - set dummy $ac_cv_prog_CC
  10453. - shift
  10454. - if test $# != 0; then
  10455. - # We chose a different compiler from the bogus one.
  10456. - # However, it has the same basename, so the bogon will be chosen
  10457. - # first if we set CC to just the basename; use the full file name.
  10458. - shift
  10459. - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  10460. - fi
  10461. -fi
  10462. -fi
  10463. -fi
  10464. -CC=$ac_cv_prog_CC
  10465. -if test -n "$CC"; then
  10466. - { echo "$as_me:$LINENO: result: $CC" >&5
  10467. -echo "${ECHO_T}$CC" >&6; }
  10468. -else
  10469. - { echo "$as_me:$LINENO: result: no" >&5
  10470. -echo "${ECHO_T}no" >&6; }
  10471. fi
  10472. -
  10473. -fi
  10474. -if test -z "$CC"; then
  10475. - if test -n "$ac_tool_prefix"; then
  10476. - for ac_prog in cl.exe
  10477. - do
  10478. - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  10479. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  10480. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  10481. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  10482. -if test "${ac_cv_prog_CC+set}" = set; then
  10483. - echo $ECHO_N "(cached) $ECHO_C" >&6
  10484. -else
  10485. - if test -n "$CC"; then
  10486. - ac_cv_prog_CC="$CC" # Let the user override the test.
  10487. -else
  10488. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10489. -for as_dir in $PATH
  10490. -do
  10491. - IFS=$as_save_IFS
  10492. - test -z "$as_dir" && as_dir=.
  10493. - for ac_exec_ext in '' $ac_executable_extensions; do
  10494. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10495. - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  10496. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  10497. - break 2
  10498. + test -d ./--version && rmdir ./--version
  10499. + if test "${ac_cv_path_mkdir+set}" = set; then
  10500. + MKDIR_P="$ac_cv_path_mkdir -p"
  10501. + else
  10502. + # As a last resort, use the slow shell script. Don't cache a
  10503. + # value for MKDIR_P within a source directory, because that will
  10504. + # break other packages using the cache if that directory is
  10505. + # removed, or if the value is a relative name.
  10506. + MKDIR_P="$ac_install_sh -d"
  10507. fi
  10508. -done
  10509. -done
  10510. -IFS=$as_save_IFS
  10511. -
  10512. -fi
  10513. -fi
  10514. -CC=$ac_cv_prog_CC
  10515. -if test -n "$CC"; then
  10516. - { echo "$as_me:$LINENO: result: $CC" >&5
  10517. -echo "${ECHO_T}$CC" >&6; }
  10518. -else
  10519. - { echo "$as_me:$LINENO: result: no" >&5
  10520. -echo "${ECHO_T}no" >&6; }
  10521. fi
  10522. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  10523. +$as_echo "$MKDIR_P" >&6; }
  10524. +mkdir_p="$MKDIR_P"
  10525. +case $mkdir_p in
  10526. + [\\/$]* | ?:[\\/]*) ;;
  10527. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  10528. +esac
  10529. - test -n "$CC" && break
  10530. - done
  10531. -fi
  10532. -if test -z "$CC"; then
  10533. - ac_ct_CC=$CC
  10534. - for ac_prog in cl.exe
  10535. +for ac_prog in gawk mawk nawk awk
  10536. do
  10537. # Extract the first word of "$ac_prog", so it can be a program name with args.
  10538. set dummy $ac_prog; ac_word=$2
  10539. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  10540. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  10541. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  10542. - echo $ECHO_N "(cached) $ECHO_C" >&6
  10543. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10544. +$as_echo_n "checking for $ac_word... " >&6; }
  10545. +if test "${ac_cv_prog_AWK+set}" = set; then :
  10546. + $as_echo_n "(cached) " >&6
  10547. else
  10548. - if test -n "$ac_ct_CC"; then
  10549. - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  10550. + if test -n "$AWK"; then
  10551. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  10552. else
  10553. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10554. for as_dir in $PATH
  10555. do
  10556. IFS=$as_save_IFS
  10557. test -z "$as_dir" && as_dir=.
  10558. - for ac_exec_ext in '' $ac_executable_extensions; do
  10559. + for ac_exec_ext in '' $ac_executable_extensions; do
  10560. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10561. - ac_cv_prog_ac_ct_CC="$ac_prog"
  10562. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  10563. + ac_cv_prog_AWK="$ac_prog"
  10564. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10565. break 2
  10566. fi
  10567. done
  10568. -done
  10569. + done
  10570. IFS=$as_save_IFS
  10571. fi
  10572. fi
  10573. -ac_ct_CC=$ac_cv_prog_ac_ct_CC
  10574. -if test -n "$ac_ct_CC"; then
  10575. - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  10576. -echo "${ECHO_T}$ac_ct_CC" >&6; }
  10577. +AWK=$ac_cv_prog_AWK
  10578. +if test -n "$AWK"; then
  10579. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  10580. +$as_echo "$AWK" >&6; }
  10581. else
  10582. - { echo "$as_me:$LINENO: result: no" >&5
  10583. -echo "${ECHO_T}no" >&6; }
  10584. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10585. +$as_echo "no" >&6; }
  10586. fi
  10587. - test -n "$ac_ct_CC" && break
  10588. + test -n "$AWK" && break
  10589. done
  10590. - if test "x$ac_ct_CC" = x; then
  10591. - CC=""
  10592. - else
  10593. - case $cross_compiling:$ac_tool_warned in
  10594. -yes:)
  10595. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  10596. -whose name does not start with the host triplet. If you think this
  10597. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  10598. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  10599. -whose name does not start with the host triplet. If you think this
  10600. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  10601. -ac_tool_warned=yes ;;
  10602. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  10603. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  10604. +set x ${MAKE-make}
  10605. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  10606. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  10607. + $as_echo_n "(cached) " >&6
  10608. +else
  10609. + cat >conftest.make <<\_ACEOF
  10610. +SHELL = /bin/sh
  10611. +all:
  10612. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  10613. +_ACEOF
  10614. +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  10615. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  10616. + *@@@%%%=?*=@@@%%%*)
  10617. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  10618. + *)
  10619. + eval ac_cv_prog_make_${ac_make}_set=no;;
  10620. esac
  10621. - CC=$ac_ct_CC
  10622. - fi
  10623. -fi
  10624. -
  10625. +rm -f conftest.make
  10626. fi
  10627. -
  10628. -
  10629. -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  10630. -See \`config.log' for more details." >&5
  10631. -echo "$as_me: error: no acceptable C compiler found in \$PATH
  10632. -See \`config.log' for more details." >&2;}
  10633. - { (exit 1); exit 1; }; }
  10634. -
  10635. -# Provide some information about the compiler.
  10636. -echo "$as_me:$LINENO: checking for C compiler version" >&5
  10637. -ac_compiler=`set X $ac_compile; echo $2`
  10638. -{ (ac_try="$ac_compiler --version >&5"
  10639. -case "(($ac_try" in
  10640. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10641. - *) ac_try_echo=$ac_try;;
  10642. -esac
  10643. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10644. - (eval "$ac_compiler --version >&5") 2>&5
  10645. - ac_status=$?
  10646. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10647. - (exit $ac_status); }
  10648. -{ (ac_try="$ac_compiler -v >&5"
  10649. -case "(($ac_try" in
  10650. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10651. - *) ac_try_echo=$ac_try;;
  10652. -esac
  10653. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10654. - (eval "$ac_compiler -v >&5") 2>&5
  10655. - ac_status=$?
  10656. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10657. - (exit $ac_status); }
  10658. -{ (ac_try="$ac_compiler -V >&5"
  10659. -case "(($ac_try" in
  10660. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10661. - *) ac_try_echo=$ac_try;;
  10662. -esac
  10663. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10664. - (eval "$ac_compiler -V >&5") 2>&5
  10665. - ac_status=$?
  10666. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10667. - (exit $ac_status); }
  10668. -
  10669. -cat >conftest.$ac_ext <<_ACEOF
  10670. -/* confdefs.h. */
  10671. -_ACEOF
  10672. -cat confdefs.h >>conftest.$ac_ext
  10673. -cat >>conftest.$ac_ext <<_ACEOF
  10674. -/* end confdefs.h. */
  10675. -
  10676. -int
  10677. -main ()
  10678. -{
  10679. -
  10680. - ;
  10681. - return 0;
  10682. -}
  10683. -_ACEOF
  10684. -ac_clean_files_save=$ac_clean_files
  10685. -ac_clean_files="$ac_clean_files a.out a.exe b.out"
  10686. -# Try to create an executable without -o first, disregard a.out.
  10687. -# It will help us diagnose broken compilers, and finding out an intuition
  10688. -# of exeext.
  10689. -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  10690. -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  10691. -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  10692. -#
  10693. -# List of possible output files, starting from the most likely.
  10694. -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  10695. -# only as a last resort. b.out is created by i960 compilers.
  10696. -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  10697. -#
  10698. -# The IRIX 6 linker writes into existing files which may not be
  10699. -# executable, retaining their permissions. Remove them first so a
  10700. -# subsequent execution test works.
  10701. -ac_rmfiles=
  10702. -for ac_file in $ac_files
  10703. -do
  10704. - case $ac_file in
  10705. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  10706. - * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  10707. - esac
  10708. -done
  10709. -rm -f $ac_rmfiles
  10710. -
  10711. -if { (ac_try="$ac_link_default"
  10712. -case "(($ac_try" in
  10713. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10714. - *) ac_try_echo=$ac_try;;
  10715. -esac
  10716. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10717. - (eval "$ac_link_default") 2>&5
  10718. - ac_status=$?
  10719. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10720. - (exit $ac_status); }; then
  10721. - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  10722. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  10723. -# in a Makefile. We should not override ac_cv_exeext if it was cached,
  10724. -# so that the user can short-circuit this test for compilers unknown to
  10725. -# Autoconf.
  10726. -for ac_file in $ac_files ''
  10727. -do
  10728. - test -f "$ac_file" || continue
  10729. - case $ac_file in
  10730. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  10731. - ;;
  10732. - [ab].out )
  10733. - # We found the default executable, but exeext='' is most
  10734. - # certainly right.
  10735. - break;;
  10736. - *.* )
  10737. - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  10738. - then :; else
  10739. - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  10740. - fi
  10741. - # We set ac_cv_exeext here because the later test for it is not
  10742. - # safe: cross compilers may not add the suffix if given an `-o'
  10743. - # argument, so we may need to know it at that point already.
  10744. - # Even if this section looks crufty: it has the advantage of
  10745. - # actually working.
  10746. - break;;
  10747. - * )
  10748. - break;;
  10749. - esac
  10750. -done
  10751. -test "$ac_cv_exeext" = no && ac_cv_exeext=
  10752. -
  10753. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  10754. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10755. +$as_echo "yes" >&6; }
  10756. + SET_MAKE=
  10757. else
  10758. - ac_file=''
  10759. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10760. +$as_echo "no" >&6; }
  10761. + SET_MAKE="MAKE=${MAKE-make}"
  10762. fi
  10763. -{ echo "$as_me:$LINENO: result: $ac_file" >&5
  10764. -echo "${ECHO_T}$ac_file" >&6; }
  10765. -if test -z "$ac_file"; then
  10766. - echo "$as_me: failed program was:" >&5
  10767. -sed 's/^/| /' conftest.$ac_ext >&5
  10768. -
  10769. -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
  10770. -See \`config.log' for more details." >&5
  10771. -echo "$as_me: error: C compiler cannot create executables
  10772. -See \`config.log' for more details." >&2;}
  10773. - { (exit 77); exit 77; }; }
  10774. +rm -rf .tst 2>/dev/null
  10775. +mkdir .tst 2>/dev/null
  10776. +if test -d .tst; then
  10777. + am__leading_dot=.
  10778. +else
  10779. + am__leading_dot=_
  10780. fi
  10781. +rmdir .tst 2>/dev/null
  10782. -ac_exeext=$ac_cv_exeext
  10783. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  10784. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  10785. + # is not polluted with repeated "-I."
  10786. + am__isrc=' -I$(srcdir)'
  10787. + # test to see if srcdir already configured
  10788. + if test -f $srcdir/config.status; then
  10789. + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  10790. + fi
  10791. +fi
  10792. -# Check that the compiler produces executables we can run. If not, either
  10793. -# the compiler is broken, or we cross compile.
  10794. -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  10795. -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  10796. -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  10797. -# If not cross compiling, check that we can run a simple program.
  10798. -if test "$cross_compiling" != yes; then
  10799. - if { ac_try='./$ac_file'
  10800. - { (case "(($ac_try" in
  10801. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10802. - *) ac_try_echo=$ac_try;;
  10803. -esac
  10804. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10805. - (eval "$ac_try") 2>&5
  10806. - ac_status=$?
  10807. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10808. - (exit $ac_status); }; }; then
  10809. - cross_compiling=no
  10810. +# test whether we have cygpath
  10811. +if test -z "$CYGPATH_W"; then
  10812. + if (cygpath --version) >/dev/null 2>/dev/null; then
  10813. + CYGPATH_W='cygpath -w'
  10814. else
  10815. - if test "$cross_compiling" = maybe; then
  10816. - cross_compiling=yes
  10817. - else
  10818. - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  10819. -If you meant to cross compile, use \`--host'.
  10820. -See \`config.log' for more details." >&5
  10821. -echo "$as_me: error: cannot run C compiled programs.
  10822. -If you meant to cross compile, use \`--host'.
  10823. -See \`config.log' for more details." >&2;}
  10824. - { (exit 1); exit 1; }; }
  10825. - fi
  10826. + CYGPATH_W=echo
  10827. fi
  10828. fi
  10829. -{ echo "$as_me:$LINENO: result: yes" >&5
  10830. -echo "${ECHO_T}yes" >&6; }
  10831. -rm -f a.out a.exe conftest$ac_cv_exeext b.out
  10832. -ac_clean_files=$ac_clean_files_save
  10833. -# Check that the compiler produces executables we can run. If not, either
  10834. -# the compiler is broken, or we cross compile.
  10835. -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  10836. -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  10837. -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
  10838. -echo "${ECHO_T}$cross_compiling" >&6; }
  10839. -
  10840. -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
  10841. -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  10842. -if { (ac_try="$ac_link"
  10843. -case "(($ac_try" in
  10844. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10845. - *) ac_try_echo=$ac_try;;
  10846. -esac
  10847. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10848. - (eval "$ac_link") 2>&5
  10849. - ac_status=$?
  10850. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10851. - (exit $ac_status); }; then
  10852. - # If both `conftest.exe' and `conftest' are `present' (well, observable)
  10853. -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  10854. -# work properly (i.e., refer to `conftest.exe'), while it won't with
  10855. -# `rm'.
  10856. -for ac_file in conftest.exe conftest conftest.*; do
  10857. - test -f "$ac_file" || continue
  10858. - case $ac_file in
  10859. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  10860. - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  10861. - break;;
  10862. - * ) break;;
  10863. - esac
  10864. -done
  10865. -else
  10866. - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  10867. -See \`config.log' for more details." >&5
  10868. -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  10869. -See \`config.log' for more details." >&2;}
  10870. - { (exit 1); exit 1; }; }
  10871. -fi
  10872. -rm -f conftest$ac_cv_exeext
  10873. -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  10874. -echo "${ECHO_T}$ac_cv_exeext" >&6; }
  10875. +# Define the identity of the package.
  10876. + PACKAGE=gpsd
  10877. + VERSION=2.39
  10878. -rm -f conftest.$ac_ext
  10879. -EXEEXT=$ac_cv_exeext
  10880. -ac_exeext=$EXEEXT
  10881. -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
  10882. -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  10883. -if test "${ac_cv_objext+set}" = set; then
  10884. - echo $ECHO_N "(cached) $ECHO_C" >&6
  10885. -else
  10886. - cat >conftest.$ac_ext <<_ACEOF
  10887. -/* confdefs.h. */
  10888. +
  10889. +cat >>confdefs.h <<_ACEOF
  10890. +#define PACKAGE "$PACKAGE"
  10891. _ACEOF
  10892. -cat confdefs.h >>conftest.$ac_ext
  10893. -cat >>conftest.$ac_ext <<_ACEOF
  10894. -/* end confdefs.h. */
  10895. -int
  10896. -main ()
  10897. -{
  10898. - ;
  10899. - return 0;
  10900. -}
  10901. +cat >>confdefs.h <<_ACEOF
  10902. +#define VERSION "$VERSION"
  10903. _ACEOF
  10904. -rm -f conftest.o conftest.obj
  10905. -if { (ac_try="$ac_compile"
  10906. -case "(($ac_try" in
  10907. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10908. - *) ac_try_echo=$ac_try;;
  10909. -esac
  10910. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10911. - (eval "$ac_compile") 2>&5
  10912. - ac_status=$?
  10913. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10914. - (exit $ac_status); }; then
  10915. - for ac_file in conftest.o conftest.obj conftest.*; do
  10916. - test -f "$ac_file" || continue;
  10917. - case $ac_file in
  10918. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  10919. - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  10920. - break;;
  10921. - esac
  10922. -done
  10923. -else
  10924. - echo "$as_me: failed program was:" >&5
  10925. -sed 's/^/| /' conftest.$ac_ext >&5
  10926. -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  10927. -See \`config.log' for more details." >&5
  10928. -echo "$as_me: error: cannot compute suffix of object files: cannot compile
  10929. -See \`config.log' for more details." >&2;}
  10930. - { (exit 1); exit 1; }; }
  10931. -fi
  10932. +# Some tools Automake needs.
  10933. -rm -f conftest.$ac_cv_objext conftest.$ac_ext
  10934. -fi
  10935. -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  10936. -echo "${ECHO_T}$ac_cv_objext" >&6; }
  10937. -OBJEXT=$ac_cv_objext
  10938. -ac_objext=$OBJEXT
  10939. -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  10940. -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  10941. -if test "${ac_cv_c_compiler_gnu+set}" = set; then
  10942. - echo $ECHO_N "(cached) $ECHO_C" >&6
  10943. -else
  10944. - cat >conftest.$ac_ext <<_ACEOF
  10945. -/* confdefs.h. */
  10946. -_ACEOF
  10947. -cat confdefs.h >>conftest.$ac_ext
  10948. -cat >>conftest.$ac_ext <<_ACEOF
  10949. -/* end confdefs.h. */
  10950. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  10951. -int
  10952. -main ()
  10953. -{
  10954. -#ifndef __GNUC__
  10955. - choke me
  10956. -#endif
  10957. - ;
  10958. - return 0;
  10959. -}
  10960. -_ACEOF
  10961. -rm -f conftest.$ac_objext
  10962. -if { (ac_try="$ac_compile"
  10963. -case "(($ac_try" in
  10964. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10965. - *) ac_try_echo=$ac_try;;
  10966. -esac
  10967. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  10968. - (eval "$ac_compile") 2>conftest.er1
  10969. - ac_status=$?
  10970. - grep -v '^ *+' conftest.er1 >conftest.err
  10971. - rm -f conftest.er1
  10972. - cat conftest.err >&5
  10973. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10974. - (exit $ac_status); } && {
  10975. - test -z "$ac_c_werror_flag" ||
  10976. - test ! -s conftest.err
  10977. - } && test -s conftest.$ac_objext; then
  10978. - ac_compiler_gnu=yes
  10979. -else
  10980. - echo "$as_me: failed program was:" >&5
  10981. -sed 's/^/| /' conftest.$ac_ext >&5
  10982. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  10983. - ac_compiler_gnu=no
  10984. -fi
  10985. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10986. -ac_cv_c_compiler_gnu=$ac_compiler_gnu
  10987. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  10988. -fi
  10989. -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  10990. -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  10991. -GCC=`test $ac_compiler_gnu = yes && echo yes`
  10992. -ac_test_CFLAGS=${CFLAGS+set}
  10993. -ac_save_CFLAGS=$CFLAGS
  10994. -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  10995. -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  10996. -if test "${ac_cv_prog_cc_g+set}" = set; then
  10997. - echo $ECHO_N "(cached) $ECHO_C" >&6
  10998. -else
  10999. - ac_save_c_werror_flag=$ac_c_werror_flag
  11000. - ac_c_werror_flag=yes
  11001. - ac_cv_prog_cc_g=no
  11002. - CFLAGS="-g"
  11003. - cat >conftest.$ac_ext <<_ACEOF
  11004. -/* confdefs.h. */
  11005. -_ACEOF
  11006. -cat confdefs.h >>conftest.$ac_ext
  11007. -cat >>conftest.$ac_ext <<_ACEOF
  11008. -/* end confdefs.h. */
  11009. -int
  11010. -main ()
  11011. -{
  11012. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  11013. - ;
  11014. - return 0;
  11015. -}
  11016. -_ACEOF
  11017. -rm -f conftest.$ac_objext
  11018. -if { (ac_try="$ac_compile"
  11019. -case "(($ac_try" in
  11020. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11021. - *) ac_try_echo=$ac_try;;
  11022. -esac
  11023. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11024. - (eval "$ac_compile") 2>conftest.er1
  11025. - ac_status=$?
  11026. - grep -v '^ *+' conftest.er1 >conftest.err
  11027. - rm -f conftest.er1
  11028. - cat conftest.err >&5
  11029. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11030. - (exit $ac_status); } && {
  11031. - test -z "$ac_c_werror_flag" ||
  11032. - test ! -s conftest.err
  11033. - } && test -s conftest.$ac_objext; then
  11034. - ac_cv_prog_cc_g=yes
  11035. -else
  11036. - echo "$as_me: failed program was:" >&5
  11037. -sed 's/^/| /' conftest.$ac_ext >&5
  11038. - CFLAGS=""
  11039. - cat >conftest.$ac_ext <<_ACEOF
  11040. -/* confdefs.h. */
  11041. -_ACEOF
  11042. -cat confdefs.h >>conftest.$ac_ext
  11043. -cat >>conftest.$ac_ext <<_ACEOF
  11044. -/* end confdefs.h. */
  11045. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  11046. -int
  11047. -main ()
  11048. -{
  11049. +# We need awk for the "check" target. The system "awk" is bad on
  11050. +# some platforms.
  11051. +# Always define AMTAR for backward compatibility.
  11052. - ;
  11053. - return 0;
  11054. -}
  11055. -_ACEOF
  11056. -rm -f conftest.$ac_objext
  11057. -if { (ac_try="$ac_compile"
  11058. -case "(($ac_try" in
  11059. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11060. - *) ac_try_echo=$ac_try;;
  11061. -esac
  11062. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11063. - (eval "$ac_compile") 2>conftest.er1
  11064. - ac_status=$?
  11065. - grep -v '^ *+' conftest.er1 >conftest.err
  11066. - rm -f conftest.er1
  11067. - cat conftest.err >&5
  11068. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11069. - (exit $ac_status); } && {
  11070. - test -z "$ac_c_werror_flag" ||
  11071. - test ! -s conftest.err
  11072. - } && test -s conftest.$ac_objext; then
  11073. - :
  11074. -else
  11075. - echo "$as_me: failed program was:" >&5
  11076. -sed 's/^/| /' conftest.$ac_ext >&5
  11077. +AMTAR=${AMTAR-"${am_missing_run}tar"}
  11078. - ac_c_werror_flag=$ac_save_c_werror_flag
  11079. - CFLAGS="-g"
  11080. - cat >conftest.$ac_ext <<_ACEOF
  11081. -/* confdefs.h. */
  11082. -_ACEOF
  11083. -cat confdefs.h >>conftest.$ac_ext
  11084. -cat >>conftest.$ac_ext <<_ACEOF
  11085. -/* end confdefs.h. */
  11086. +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  11087. -int
  11088. -main ()
  11089. -{
  11090. - ;
  11091. - return 0;
  11092. -}
  11093. -_ACEOF
  11094. -rm -f conftest.$ac_objext
  11095. -if { (ac_try="$ac_compile"
  11096. -case "(($ac_try" in
  11097. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11098. - *) ac_try_echo=$ac_try;;
  11099. -esac
  11100. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11101. - (eval "$ac_compile") 2>conftest.er1
  11102. - ac_status=$?
  11103. - grep -v '^ *+' conftest.er1 >conftest.err
  11104. - rm -f conftest.er1
  11105. - cat conftest.err >&5
  11106. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11107. - (exit $ac_status); } && {
  11108. - test -z "$ac_c_werror_flag" ||
  11109. - test ! -s conftest.err
  11110. - } && test -s conftest.$ac_objext; then
  11111. - ac_cv_prog_cc_g=yes
  11112. -else
  11113. - echo "$as_me: failed program was:" >&5
  11114. -sed 's/^/| /' conftest.$ac_ext >&5
  11115. -fi
  11116. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11117. -fi
  11118. +ac_config_headers="$ac_config_headers gpsd_config.h"
  11119. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11120. -fi
  11121. +ac_ext=c
  11122. +ac_cpp='$CPP $CPPFLAGS'
  11123. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11124. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11125. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11126. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11127. - ac_c_werror_flag=$ac_save_c_werror_flag
  11128. -fi
  11129. -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  11130. -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  11131. -if test "$ac_test_CFLAGS" = set; then
  11132. - CFLAGS=$ac_save_CFLAGS
  11133. -elif test $ac_cv_prog_cc_g = yes; then
  11134. - if test "$GCC" = yes; then
  11135. - CFLAGS="-g -O2"
  11136. - else
  11137. - CFLAGS="-g"
  11138. - fi
  11139. +
  11140. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  11141. +$as_echo_n "checking whether ln -s works... " >&6; }
  11142. +LN_S=$as_ln_s
  11143. +if test "$LN_S" = "ln -s"; then
  11144. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  11145. +$as_echo "yes" >&6; }
  11146. else
  11147. - if test "$GCC" = yes; then
  11148. - CFLAGS="-O2"
  11149. - else
  11150. - CFLAGS=
  11151. - fi
  11152. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  11153. +$as_echo "no, using $LN_S" >&6; }
  11154. fi
  11155. -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  11156. -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  11157. -if test "${ac_cv_prog_cc_c89+set}" = set; then
  11158. - echo $ECHO_N "(cached) $ECHO_C" >&6
  11159. +
  11160. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  11161. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  11162. +set x ${MAKE-make}
  11163. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  11164. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  11165. + $as_echo_n "(cached) " >&6
  11166. else
  11167. - ac_cv_prog_cc_c89=no
  11168. -ac_save_CC=$CC
  11169. -cat >conftest.$ac_ext <<_ACEOF
  11170. -/* confdefs.h. */
  11171. + cat >conftest.make <<\_ACEOF
  11172. +SHELL = /bin/sh
  11173. +all:
  11174. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  11175. _ACEOF
  11176. -cat confdefs.h >>conftest.$ac_ext
  11177. -cat >>conftest.$ac_ext <<_ACEOF
  11178. -/* end confdefs.h. */
  11179. -#include <stdarg.h>
  11180. -#include <stdio.h>
  11181. -#include <sys/types.h>
  11182. -#include <sys/stat.h>
  11183. -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  11184. -struct buf { int x; };
  11185. -FILE * (*rcsopen) (struct buf *, struct stat *, int);
  11186. -static char *e (p, i)
  11187. - char **p;
  11188. - int i;
  11189. -{
  11190. - return p[i];
  11191. -}
  11192. -static char *f (char * (*g) (char **, int), char **p, ...)
  11193. -{
  11194. - char *s;
  11195. - va_list v;
  11196. - va_start (v,p);
  11197. - s = g (p, va_arg (v,int));
  11198. - va_end (v);
  11199. - return s;
  11200. -}
  11201. -
  11202. -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  11203. - function prototypes and stuff, but not '\xHH' hex character constants.
  11204. - These don't provoke an error unfortunately, instead are silently treated
  11205. - as 'x'. The following induces an error, until -std is added to get
  11206. - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  11207. - array size at least. It's necessary to write '\x00'==0 to get something
  11208. - that's true only with -std. */
  11209. -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  11210. +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  11211. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  11212. + *@@@%%%=?*=@@@%%%*)
  11213. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  11214. + *)
  11215. + eval ac_cv_prog_make_${ac_make}_set=no;;
  11216. +esac
  11217. +rm -f conftest.make
  11218. +fi
  11219. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  11220. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  11221. +$as_echo "yes" >&6; }
  11222. + SET_MAKE=
  11223. +else
  11224. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11225. +$as_echo "no" >&6; }
  11226. + SET_MAKE="MAKE=${MAKE-make}"
  11227. +fi
  11228. -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  11229. - inside strings and character constants. */
  11230. -#define FOO(x) 'x'
  11231. -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  11232. -int test (int i, double x);
  11233. -struct s1 {int (*f) (int a);};
  11234. -struct s2 {int (*f) (double a);};
  11235. -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  11236. -int argc;
  11237. -char **argv;
  11238. -int
  11239. -main ()
  11240. -{
  11241. -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  11242. - ;
  11243. - return 0;
  11244. -}
  11245. -_ACEOF
  11246. -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  11247. - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  11248. -do
  11249. - CC="$ac_save_CC $ac_arg"
  11250. - rm -f conftest.$ac_objext
  11251. -if { (ac_try="$ac_compile"
  11252. -case "(($ac_try" in
  11253. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11254. - *) ac_try_echo=$ac_try;;
  11255. +case `pwd` in
  11256. + *\ * | *\ *)
  11257. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  11258. +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  11259. esac
  11260. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11261. - (eval "$ac_compile") 2>conftest.er1
  11262. - ac_status=$?
  11263. - grep -v '^ *+' conftest.er1 >conftest.err
  11264. - rm -f conftest.er1
  11265. - cat conftest.err >&5
  11266. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11267. - (exit $ac_status); } && {
  11268. - test -z "$ac_c_werror_flag" ||
  11269. - test ! -s conftest.err
  11270. - } && test -s conftest.$ac_objext; then
  11271. - ac_cv_prog_cc_c89=$ac_arg
  11272. -else
  11273. - echo "$as_me: failed program was:" >&5
  11274. -sed 's/^/| /' conftest.$ac_ext >&5
  11275. -fi
  11276. -rm -f core conftest.err conftest.$ac_objext
  11277. - test "x$ac_cv_prog_cc_c89" != "xno" && break
  11278. -done
  11279. -rm -f conftest.$ac_ext
  11280. -CC=$ac_save_CC
  11281. +macro_version='2.2.6b'
  11282. +macro_revision='1.3017'
  11283. -fi
  11284. -# AC_CACHE_VAL
  11285. -case "x$ac_cv_prog_cc_c89" in
  11286. - x)
  11287. - { echo "$as_me:$LINENO: result: none needed" >&5
  11288. -echo "${ECHO_T}none needed" >&6; } ;;
  11289. - xno)
  11290. - { echo "$as_me:$LINENO: result: unsupported" >&5
  11291. -echo "${ECHO_T}unsupported" >&6; } ;;
  11292. - *)
  11293. - CC="$CC $ac_cv_prog_cc_c89"
  11294. - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  11295. -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  11296. -esac
  11297. -ac_ext=c
  11298. -ac_cpp='$CPP $CPPFLAGS'
  11299. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11300. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11301. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11302. -depcc="$CC" am_compiler_list=
  11303. -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  11304. -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  11305. -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  11306. - echo $ECHO_N "(cached) $ECHO_C" >&6
  11307. -else
  11308. - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  11309. - # We make a subdir and do the tests there. Otherwise we can end up
  11310. - # making bogus files that we don't know about and never remove. For
  11311. - # instance it was reported that on HP-UX the gcc test will end up
  11312. - # making a dummy file named `D' -- because `-MD' means `put the output
  11313. - # in D'.
  11314. - mkdir conftest.dir
  11315. - # Copy depcomp to subdir because otherwise we won't find it if we're
  11316. - # using a relative directory.
  11317. - cp "$am_depcomp" conftest.dir
  11318. - cd conftest.dir
  11319. - # We will build objects and dependencies in a subdirectory because
  11320. - # it helps to detect inapplicable dependency modes. For instance
  11321. - # both Tru64's cc and ICC support -MD to output dependencies as a
  11322. - # side effect of compilation, but ICC will put the dependencies in
  11323. - # the current directory while Tru64 will put them in the object
  11324. - # directory.
  11325. - mkdir sub
  11326. - am_cv_CC_dependencies_compiler_type=none
  11327. - if test "$am_compiler_list" = ""; then
  11328. - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  11329. - fi
  11330. - for depmode in $am_compiler_list; do
  11331. - # Setup a source with many dependencies, because some compilers
  11332. - # like to wrap large dependency lists on column 80 (with \), and
  11333. - # we should not choose a depcomp mode which is confused by this.
  11334. - #
  11335. - # We need to recreate these files for each test, as the compiler may
  11336. - # overwrite some of them when testing with obscure command lines.
  11337. - # This happens at least with the AIX C compiler.
  11338. - : > sub/conftest.c
  11339. - for i in 1 2 3 4 5 6; do
  11340. - echo '#include "conftst'$i'.h"' >> sub/conftest.c
  11341. - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  11342. - # Solaris 8's {/usr,}/bin/sh.
  11343. - touch sub/conftst$i.h
  11344. - done
  11345. - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  11346. - case $depmode in
  11347. - nosideeffect)
  11348. - # after this tag, mechanisms are not by side-effect, so they'll
  11349. - # only be used when explicitly requested
  11350. - if test "x$enable_dependency_tracking" = xyes; then
  11351. - continue
  11352. - else
  11353. - break
  11354. - fi
  11355. - ;;
  11356. - none) break ;;
  11357. - esac
  11358. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  11359. - # mode. It turns out that the SunPro C++ compiler does not properly
  11360. - # handle `-M -o', and we need to detect this.
  11361. - if depmode=$depmode \
  11362. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  11363. - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  11364. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  11365. - >/dev/null 2>conftest.err &&
  11366. - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  11367. - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  11368. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  11369. - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  11370. - # icc doesn't choke on unknown options, it will just issue warnings
  11371. - # or remarks (even with -Werror). So we grep stderr for any message
  11372. - # that says an option was ignored or not supported.
  11373. - # When given -MP, icc 7.0 and 7.1 complain thusly:
  11374. - # icc: Command line warning: ignoring option '-M'; no argument required
  11375. - # The diagnosis changed in icc 8.0:
  11376. - # icc: Command line remark: option '-MP' not supported
  11377. - if (grep 'ignoring option' conftest.err ||
  11378. - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  11379. - am_cv_CC_dependencies_compiler_type=$depmode
  11380. - break
  11381. - fi
  11382. - fi
  11383. - done
  11384. - cd ..
  11385. - rm -rf conftest.dir
  11386. -else
  11387. - am_cv_CC_dependencies_compiler_type=none
  11388. -fi
  11389. -fi
  11390. -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  11391. -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  11392. -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  11393. - if
  11394. - test "x$enable_dependency_tracking" != xno \
  11395. - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  11396. - am__fastdepCC_TRUE=
  11397. - am__fastdepCC_FALSE='#'
  11398. -else
  11399. - am__fastdepCC_TRUE='#'
  11400. - am__fastdepCC_FALSE=
  11401. -fi
  11402. -ac_ext=c
  11403. -ac_cpp='$CPP $CPPFLAGS'
  11404. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11405. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11406. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11407. -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  11408. -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  11409. -# On Suns, sometimes $CPP names a directory.
  11410. -if test -n "$CPP" && test -d "$CPP"; then
  11411. - CPP=
  11412. -fi
  11413. -if test -z "$CPP"; then
  11414. - if test "${ac_cv_prog_CPP+set}" = set; then
  11415. - echo $ECHO_N "(cached) $ECHO_C" >&6
  11416. -else
  11417. - # Double quotes because CPP needs to be expanded
  11418. - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  11419. - do
  11420. - ac_preproc_ok=false
  11421. -for ac_c_preproc_warn_flag in '' yes
  11422. -do
  11423. - # Use a header file that comes with gcc, so configuring glibc
  11424. - # with a fresh cross-compiler works.
  11425. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11426. - # <limits.h> exists even on freestanding compilers.
  11427. - # On the NeXT, cc -E runs the code through the compiler's parser,
  11428. - # not just through cpp. "Syntax error" is here to catch this case.
  11429. - cat >conftest.$ac_ext <<_ACEOF
  11430. -/* confdefs.h. */
  11431. -_ACEOF
  11432. -cat confdefs.h >>conftest.$ac_ext
  11433. -cat >>conftest.$ac_ext <<_ACEOF
  11434. -/* end confdefs.h. */
  11435. -#ifdef __STDC__
  11436. -# include <limits.h>
  11437. -#else
  11438. -# include <assert.h>
  11439. -#endif
  11440. - Syntax error
  11441. -_ACEOF
  11442. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  11443. -case "(($ac_try" in
  11444. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11445. - *) ac_try_echo=$ac_try;;
  11446. -esac
  11447. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11448. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11449. - ac_status=$?
  11450. - grep -v '^ *+' conftest.er1 >conftest.err
  11451. - rm -f conftest.er1
  11452. - cat conftest.err >&5
  11453. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11454. - (exit $ac_status); } >/dev/null && {
  11455. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11456. - test ! -s conftest.err
  11457. - }; then
  11458. - :
  11459. +ltmain="$ac_aux_dir/ltmain.sh"
  11460. +
  11461. +# Make sure we can run config.sub.
  11462. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  11463. + as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  11464. +
  11465. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  11466. +$as_echo_n "checking build system type... " >&6; }
  11467. +if test "${ac_cv_build+set}" = set; then :
  11468. + $as_echo_n "(cached) " >&6
  11469. else
  11470. - echo "$as_me: failed program was:" >&5
  11471. -sed 's/^/| /' conftest.$ac_ext >&5
  11472. + ac_build_alias=$build_alias
  11473. +test "x$ac_build_alias" = x &&
  11474. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  11475. +test "x$ac_build_alias" = x &&
  11476. + as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  11477. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  11478. + as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  11479. - # Broken: fails on valid input.
  11480. -continue
  11481. fi
  11482. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  11483. +$as_echo "$ac_cv_build" >&6; }
  11484. +case $ac_cv_build in
  11485. +*-*-*) ;;
  11486. +*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  11487. +esac
  11488. +build=$ac_cv_build
  11489. +ac_save_IFS=$IFS; IFS='-'
  11490. +set x $ac_cv_build
  11491. +shift
  11492. +build_cpu=$1
  11493. +build_vendor=$2
  11494. +shift; shift
  11495. +# Remember, the first character of IFS is used to create $*,
  11496. +# except with old shells:
  11497. +build_os=$*
  11498. +IFS=$ac_save_IFS
  11499. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  11500. -rm -f conftest.err conftest.$ac_ext
  11501. - # OK, works on sane cases. Now check whether nonexistent headers
  11502. - # can be detected and how.
  11503. - cat >conftest.$ac_ext <<_ACEOF
  11504. -/* confdefs.h. */
  11505. -_ACEOF
  11506. -cat confdefs.h >>conftest.$ac_ext
  11507. -cat >>conftest.$ac_ext <<_ACEOF
  11508. -/* end confdefs.h. */
  11509. -#include <ac_nonexistent.h>
  11510. -_ACEOF
  11511. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  11512. -case "(($ac_try" in
  11513. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11514. - *) ac_try_echo=$ac_try;;
  11515. -esac
  11516. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11517. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11518. - ac_status=$?
  11519. - grep -v '^ *+' conftest.er1 >conftest.err
  11520. - rm -f conftest.er1
  11521. - cat conftest.err >&5
  11522. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11523. - (exit $ac_status); } >/dev/null && {
  11524. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11525. - test ! -s conftest.err
  11526. - }; then
  11527. - # Broken: success on invalid input.
  11528. -continue
  11529. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  11530. +$as_echo_n "checking host system type... " >&6; }
  11531. +if test "${ac_cv_host+set}" = set; then :
  11532. + $as_echo_n "(cached) " >&6
  11533. else
  11534. - echo "$as_me: failed program was:" >&5
  11535. -sed 's/^/| /' conftest.$ac_ext >&5
  11536. + if test "x$host_alias" = x; then
  11537. + ac_cv_host=$ac_cv_build
  11538. +else
  11539. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  11540. + as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  11541. +fi
  11542. - # Passes both tests.
  11543. -ac_preproc_ok=:
  11544. -break
  11545. fi
  11546. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  11547. +$as_echo "$ac_cv_host" >&6; }
  11548. +case $ac_cv_host in
  11549. +*-*-*) ;;
  11550. +*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  11551. +esac
  11552. +host=$ac_cv_host
  11553. +ac_save_IFS=$IFS; IFS='-'
  11554. +set x $ac_cv_host
  11555. +shift
  11556. +host_cpu=$1
  11557. +host_vendor=$2
  11558. +shift; shift
  11559. +# Remember, the first character of IFS is used to create $*,
  11560. +# except with old shells:
  11561. +host_os=$*
  11562. +IFS=$ac_save_IFS
  11563. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  11564. -rm -f conftest.err conftest.$ac_ext
  11565. -done
  11566. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  11567. -rm -f conftest.err conftest.$ac_ext
  11568. -if $ac_preproc_ok; then
  11569. - break
  11570. -fi
  11571. +DEPDIR="${am__leading_dot}deps"
  11572. - done
  11573. - ac_cv_prog_CPP=$CPP
  11574. +ac_config_commands="$ac_config_commands depfiles"
  11575. -fi
  11576. - CPP=$ac_cv_prog_CPP
  11577. -else
  11578. - ac_cv_prog_CPP=$CPP
  11579. -fi
  11580. -{ echo "$as_me:$LINENO: result: $CPP" >&5
  11581. -echo "${ECHO_T}$CPP" >&6; }
  11582. -ac_preproc_ok=false
  11583. -for ac_c_preproc_warn_flag in '' yes
  11584. -do
  11585. - # Use a header file that comes with gcc, so configuring glibc
  11586. - # with a fresh cross-compiler works.
  11587. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11588. - # <limits.h> exists even on freestanding compilers.
  11589. - # On the NeXT, cc -E runs the code through the compiler's parser,
  11590. - # not just through cpp. "Syntax error" is here to catch this case.
  11591. - cat >conftest.$ac_ext <<_ACEOF
  11592. -/* confdefs.h. */
  11593. -_ACEOF
  11594. -cat confdefs.h >>conftest.$ac_ext
  11595. -cat >>conftest.$ac_ext <<_ACEOF
  11596. -/* end confdefs.h. */
  11597. -#ifdef __STDC__
  11598. -# include <limits.h>
  11599. -#else
  11600. -# include <assert.h>
  11601. -#endif
  11602. - Syntax error
  11603. -_ACEOF
  11604. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  11605. -case "(($ac_try" in
  11606. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11607. - *) ac_try_echo=$ac_try;;
  11608. -esac
  11609. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11610. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11611. - ac_status=$?
  11612. - grep -v '^ *+' conftest.er1 >conftest.err
  11613. - rm -f conftest.er1
  11614. - cat conftest.err >&5
  11615. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11616. - (exit $ac_status); } >/dev/null && {
  11617. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11618. - test ! -s conftest.err
  11619. - }; then
  11620. - :
  11621. -else
  11622. - echo "$as_me: failed program was:" >&5
  11623. -sed 's/^/| /' conftest.$ac_ext >&5
  11624. - # Broken: fails on valid input.
  11625. -continue
  11626. +am_make=${MAKE-make}
  11627. +cat > confinc << 'END'
  11628. +am__doit:
  11629. + @echo this is the am__doit target
  11630. +.PHONY: am__doit
  11631. +END
  11632. +# If we don't find an include directive, just comment out the code.
  11633. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  11634. +$as_echo_n "checking for style of include used by $am_make... " >&6; }
  11635. +am__include="#"
  11636. +am__quote=
  11637. +_am_result=none
  11638. +# First try GNU make style include.
  11639. +echo "include confinc" > confmf
  11640. +# Ignore all kinds of additional output from `make'.
  11641. +case `$am_make -s -f confmf 2> /dev/null` in #(
  11642. +*the\ am__doit\ target*)
  11643. + am__include=include
  11644. + am__quote=
  11645. + _am_result=GNU
  11646. + ;;
  11647. +esac
  11648. +# Now try BSD make style include.
  11649. +if test "$am__include" = "#"; then
  11650. + echo '.include "confinc"' > confmf
  11651. + case `$am_make -s -f confmf 2> /dev/null` in #(
  11652. + *the\ am__doit\ target*)
  11653. + am__include=.include
  11654. + am__quote="\""
  11655. + _am_result=BSD
  11656. + ;;
  11657. + esac
  11658. fi
  11659. -rm -f conftest.err conftest.$ac_ext
  11660. - # OK, works on sane cases. Now check whether nonexistent headers
  11661. - # can be detected and how.
  11662. - cat >conftest.$ac_ext <<_ACEOF
  11663. -/* confdefs.h. */
  11664. -_ACEOF
  11665. -cat confdefs.h >>conftest.$ac_ext
  11666. -cat >>conftest.$ac_ext <<_ACEOF
  11667. -/* end confdefs.h. */
  11668. -#include <ac_nonexistent.h>
  11669. -_ACEOF
  11670. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  11671. -case "(($ac_try" in
  11672. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11673. - *) ac_try_echo=$ac_try;;
  11674. -esac
  11675. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  11676. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11677. - ac_status=$?
  11678. - grep -v '^ *+' conftest.er1 >conftest.err
  11679. - rm -f conftest.er1
  11680. - cat conftest.err >&5
  11681. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11682. - (exit $ac_status); } >/dev/null && {
  11683. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11684. - test ! -s conftest.err
  11685. - }; then
  11686. - # Broken: success on invalid input.
  11687. -continue
  11688. -else
  11689. - echo "$as_me: failed program was:" >&5
  11690. -sed 's/^/| /' conftest.$ac_ext >&5
  11691. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  11692. +$as_echo "$_am_result" >&6; }
  11693. +rm -f confinc confmf
  11694. - # Passes both tests.
  11695. -ac_preproc_ok=:
  11696. -break
  11697. +# Check whether --enable-dependency-tracking was given.
  11698. +if test "${enable_dependency_tracking+set}" = set; then :
  11699. + enableval=$enable_dependency_tracking;
  11700. fi
  11701. -rm -f conftest.err conftest.$ac_ext
  11702. -
  11703. -done
  11704. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  11705. -rm -f conftest.err conftest.$ac_ext
  11706. -if $ac_preproc_ok; then
  11707. - :
  11708. +if test "x$enable_dependency_tracking" != xno; then
  11709. + am_depcomp="$ac_aux_dir/depcomp"
  11710. + AMDEPBACKSLASH='\'
  11711. +fi
  11712. + if test "x$enable_dependency_tracking" != xno; then
  11713. + AMDEP_TRUE=
  11714. + AMDEP_FALSE='#'
  11715. else
  11716. - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  11717. -See \`config.log' for more details." >&5
  11718. -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  11719. -See \`config.log' for more details." >&2;}
  11720. - { (exit 1); exit 1; }; }
  11721. + AMDEP_TRUE='#'
  11722. + AMDEP_FALSE=
  11723. fi
  11724. +
  11725. ac_ext=c
  11726. ac_cpp='$CPP $CPPFLAGS'
  11727. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11728. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11729. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11730. -
  11731. -
  11732. -{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  11733. -echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  11734. -if test "${ac_cv_path_GREP+set}" = set; then
  11735. - echo $ECHO_N "(cached) $ECHO_C" >&6
  11736. -else
  11737. - # Extract the first word of "grep ggrep" to use in msg output
  11738. -if test -z "$GREP"; then
  11739. -set dummy grep ggrep; ac_prog_name=$2
  11740. -if test "${ac_cv_path_GREP+set}" = set; then
  11741. - echo $ECHO_N "(cached) $ECHO_C" >&6
  11742. +if test -n "$ac_tool_prefix"; then
  11743. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  11744. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  11745. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11746. +$as_echo_n "checking for $ac_word... " >&6; }
  11747. +if test "${ac_cv_prog_CC+set}" = set; then :
  11748. + $as_echo_n "(cached) " >&6
  11749. +else
  11750. + if test -n "$CC"; then
  11751. + ac_cv_prog_CC="$CC" # Let the user override the test.
  11752. else
  11753. - ac_path_GREP_found=false
  11754. -# Loop through the user's path and test for each of PROGNAME-LIST
  11755. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11756. -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  11757. +for as_dir in $PATH
  11758. do
  11759. IFS=$as_save_IFS
  11760. test -z "$as_dir" && as_dir=.
  11761. - for ac_prog in grep ggrep; do
  11762. - for ac_exec_ext in '' $ac_executable_extensions; do
  11763. - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  11764. - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  11765. - # Check for GNU ac_path_GREP and select it if it is found.
  11766. - # Check for GNU $ac_path_GREP
  11767. -case `"$ac_path_GREP" --version 2>&1` in
  11768. -*GNU*)
  11769. - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  11770. -*)
  11771. - ac_count=0
  11772. - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  11773. - while :
  11774. - do
  11775. - cat "conftest.in" "conftest.in" >"conftest.tmp"
  11776. - mv "conftest.tmp" "conftest.in"
  11777. - cp "conftest.in" "conftest.nl"
  11778. - echo 'GREP' >> "conftest.nl"
  11779. - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  11780. - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  11781. - ac_count=`expr $ac_count + 1`
  11782. - if test $ac_count -gt ${ac_path_GREP_max-0}; then
  11783. - # Best one so far, save it but keep looking for a better one
  11784. - ac_cv_path_GREP="$ac_path_GREP"
  11785. - ac_path_GREP_max=$ac_count
  11786. - fi
  11787. - # 10*(2^10) chars as input seems more than enough
  11788. - test $ac_count -gt 10 && break
  11789. - done
  11790. - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  11791. -esac
  11792. -
  11793. -
  11794. - $ac_path_GREP_found && break 3
  11795. - done
  11796. -done
  11797. -
  11798. + for ac_exec_ext in '' $ac_executable_extensions; do
  11799. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11800. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  11801. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11802. + break 2
  11803. + fi
  11804. done
  11805. + done
  11806. IFS=$as_save_IFS
  11807. +fi
  11808. +fi
  11809. +CC=$ac_cv_prog_CC
  11810. +if test -n "$CC"; then
  11811. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  11812. +$as_echo "$CC" >&6; }
  11813. +else
  11814. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11815. +$as_echo "no" >&6; }
  11816. +fi
  11817. +
  11818. fi
  11819. +if test -z "$ac_cv_prog_CC"; then
  11820. + ac_ct_CC=$CC
  11821. + # Extract the first word of "gcc", so it can be a program name with args.
  11822. +set dummy gcc; ac_word=$2
  11823. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11824. +$as_echo_n "checking for $ac_word... " >&6; }
  11825. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  11826. + $as_echo_n "(cached) " >&6
  11827. +else
  11828. + if test -n "$ac_ct_CC"; then
  11829. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  11830. +else
  11831. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11832. +for as_dir in $PATH
  11833. +do
  11834. + IFS=$as_save_IFS
  11835. + test -z "$as_dir" && as_dir=.
  11836. + for ac_exec_ext in '' $ac_executable_extensions; do
  11837. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11838. + ac_cv_prog_ac_ct_CC="gcc"
  11839. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11840. + break 2
  11841. + fi
  11842. +done
  11843. + done
  11844. +IFS=$as_save_IFS
  11845. -GREP="$ac_cv_path_GREP"
  11846. -if test -z "$GREP"; then
  11847. - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  11848. -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  11849. - { (exit 1); exit 1; }; }
  11850. +fi
  11851. +fi
  11852. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  11853. +if test -n "$ac_ct_CC"; then
  11854. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  11855. +$as_echo "$ac_ct_CC" >&6; }
  11856. +else
  11857. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11858. +$as_echo "no" >&6; }
  11859. fi
  11860. + if test "x$ac_ct_CC" = x; then
  11861. + CC=""
  11862. + else
  11863. + case $cross_compiling:$ac_tool_warned in
  11864. +yes:)
  11865. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11866. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11867. +ac_tool_warned=yes ;;
  11868. +esac
  11869. + CC=$ac_ct_CC
  11870. + fi
  11871. else
  11872. - ac_cv_path_GREP=$GREP
  11873. + CC="$ac_cv_prog_CC"
  11874. fi
  11875. +if test -z "$CC"; then
  11876. + if test -n "$ac_tool_prefix"; then
  11877. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  11878. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  11879. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11880. +$as_echo_n "checking for $ac_word... " >&6; }
  11881. +if test "${ac_cv_prog_CC+set}" = set; then :
  11882. + $as_echo_n "(cached) " >&6
  11883. +else
  11884. + if test -n "$CC"; then
  11885. + ac_cv_prog_CC="$CC" # Let the user override the test.
  11886. +else
  11887. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11888. +for as_dir in $PATH
  11889. +do
  11890. + IFS=$as_save_IFS
  11891. + test -z "$as_dir" && as_dir=.
  11892. + for ac_exec_ext in '' $ac_executable_extensions; do
  11893. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11894. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  11895. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11896. + break 2
  11897. + fi
  11898. +done
  11899. + done
  11900. +IFS=$as_save_IFS
  11901. fi
  11902. -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  11903. -echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  11904. - GREP="$ac_cv_path_GREP"
  11905. +fi
  11906. +CC=$ac_cv_prog_CC
  11907. +if test -n "$CC"; then
  11908. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  11909. +$as_echo "$CC" >&6; }
  11910. +else
  11911. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11912. +$as_echo "no" >&6; }
  11913. +fi
  11914. -{ echo "$as_me:$LINENO: checking for egrep" >&5
  11915. -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  11916. -if test "${ac_cv_path_EGREP+set}" = set; then
  11917. - echo $ECHO_N "(cached) $ECHO_C" >&6
  11918. + fi
  11919. +fi
  11920. +if test -z "$CC"; then
  11921. + # Extract the first word of "cc", so it can be a program name with args.
  11922. +set dummy cc; ac_word=$2
  11923. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11924. +$as_echo_n "checking for $ac_word... " >&6; }
  11925. +if test "${ac_cv_prog_CC+set}" = set; then :
  11926. + $as_echo_n "(cached) " >&6
  11927. else
  11928. - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  11929. - then ac_cv_path_EGREP="$GREP -E"
  11930. - else
  11931. - # Extract the first word of "egrep" to use in msg output
  11932. -if test -z "$EGREP"; then
  11933. -set dummy egrep; ac_prog_name=$2
  11934. -if test "${ac_cv_path_EGREP+set}" = set; then
  11935. - echo $ECHO_N "(cached) $ECHO_C" >&6
  11936. + if test -n "$CC"; then
  11937. + ac_cv_prog_CC="$CC" # Let the user override the test.
  11938. else
  11939. - ac_path_EGREP_found=false
  11940. -# Loop through the user's path and test for each of PROGNAME-LIST
  11941. + ac_prog_rejected=no
  11942. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11943. -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  11944. +for as_dir in $PATH
  11945. do
  11946. IFS=$as_save_IFS
  11947. test -z "$as_dir" && as_dir=.
  11948. - for ac_prog in egrep; do
  11949. - for ac_exec_ext in '' $ac_executable_extensions; do
  11950. - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  11951. - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  11952. - # Check for GNU ac_path_EGREP and select it if it is found.
  11953. - # Check for GNU $ac_path_EGREP
  11954. -case `"$ac_path_EGREP" --version 2>&1` in
  11955. -*GNU*)
  11956. - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  11957. -*)
  11958. - ac_count=0
  11959. - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  11960. - while :
  11961. - do
  11962. - cat "conftest.in" "conftest.in" >"conftest.tmp"
  11963. - mv "conftest.tmp" "conftest.in"
  11964. - cp "conftest.in" "conftest.nl"
  11965. - echo 'EGREP' >> "conftest.nl"
  11966. - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  11967. - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  11968. - ac_count=`expr $ac_count + 1`
  11969. - if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  11970. - # Best one so far, save it but keep looking for a better one
  11971. - ac_cv_path_EGREP="$ac_path_EGREP"
  11972. - ac_path_EGREP_max=$ac_count
  11973. - fi
  11974. - # 10*(2^10) chars as input seems more than enough
  11975. - test $ac_count -gt 10 && break
  11976. + for ac_exec_ext in '' $ac_executable_extensions; do
  11977. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11978. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  11979. + ac_prog_rejected=yes
  11980. + continue
  11981. + fi
  11982. + ac_cv_prog_CC="cc"
  11983. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11984. + break 2
  11985. + fi
  11986. +done
  11987. done
  11988. - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  11989. -esac
  11990. +IFS=$as_save_IFS
  11991. +if test $ac_prog_rejected = yes; then
  11992. + # We found a bogon in the path, so make sure we never use it.
  11993. + set dummy $ac_cv_prog_CC
  11994. + shift
  11995. + if test $# != 0; then
  11996. + # We chose a different compiler from the bogus one.
  11997. + # However, it has the same basename, so the bogon will be chosen
  11998. + # first if we set CC to just the basename; use the full file name.
  11999. + shift
  12000. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  12001. + fi
  12002. +fi
  12003. +fi
  12004. +fi
  12005. +CC=$ac_cv_prog_CC
  12006. +if test -n "$CC"; then
  12007. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12008. +$as_echo "$CC" >&6; }
  12009. +else
  12010. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12011. +$as_echo "no" >&6; }
  12012. +fi
  12013. - $ac_path_EGREP_found && break 3
  12014. - done
  12015. -done
  12016. +fi
  12017. +if test -z "$CC"; then
  12018. + if test -n "$ac_tool_prefix"; then
  12019. + for ac_prog in cl.exe
  12020. + do
  12021. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  12022. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  12023. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12024. +$as_echo_n "checking for $ac_word... " >&6; }
  12025. +if test "${ac_cv_prog_CC+set}" = set; then :
  12026. + $as_echo_n "(cached) " >&6
  12027. +else
  12028. + if test -n "$CC"; then
  12029. + ac_cv_prog_CC="$CC" # Let the user override the test.
  12030. +else
  12031. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12032. +for as_dir in $PATH
  12033. +do
  12034. + IFS=$as_save_IFS
  12035. + test -z "$as_dir" && as_dir=.
  12036. + for ac_exec_ext in '' $ac_executable_extensions; do
  12037. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12038. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  12039. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12040. + break 2
  12041. + fi
  12042. done
  12043. + done
  12044. IFS=$as_save_IFS
  12045. -
  12046. fi
  12047. +fi
  12048. +CC=$ac_cv_prog_CC
  12049. +if test -n "$CC"; then
  12050. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  12051. +$as_echo "$CC" >&6; }
  12052. +else
  12053. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12054. +$as_echo "no" >&6; }
  12055. +fi
  12056. +
  12057. -EGREP="$ac_cv_path_EGREP"
  12058. -if test -z "$EGREP"; then
  12059. - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  12060. -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  12061. - { (exit 1); exit 1; }; }
  12062. + test -n "$CC" && break
  12063. + done
  12064. fi
  12065. +if test -z "$CC"; then
  12066. + ac_ct_CC=$CC
  12067. + for ac_prog in cl.exe
  12068. +do
  12069. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  12070. +set dummy $ac_prog; ac_word=$2
  12071. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12072. +$as_echo_n "checking for $ac_word... " >&6; }
  12073. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  12074. + $as_echo_n "(cached) " >&6
  12075. +else
  12076. + if test -n "$ac_ct_CC"; then
  12077. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  12078. +else
  12079. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12080. +for as_dir in $PATH
  12081. +do
  12082. + IFS=$as_save_IFS
  12083. + test -z "$as_dir" && as_dir=.
  12084. + for ac_exec_ext in '' $ac_executable_extensions; do
  12085. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12086. + ac_cv_prog_ac_ct_CC="$ac_prog"
  12087. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12088. + break 2
  12089. + fi
  12090. +done
  12091. + done
  12092. +IFS=$as_save_IFS
  12093. +fi
  12094. +fi
  12095. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  12096. +if test -n "$ac_ct_CC"; then
  12097. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  12098. +$as_echo "$ac_ct_CC" >&6; }
  12099. else
  12100. - ac_cv_path_EGREP=$EGREP
  12101. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12102. +$as_echo "no" >&6; }
  12103. fi
  12104. - fi
  12105. + test -n "$ac_ct_CC" && break
  12106. +done
  12107. +
  12108. + if test "x$ac_ct_CC" = x; then
  12109. + CC=""
  12110. + else
  12111. + case $cross_compiling:$ac_tool_warned in
  12112. +yes:)
  12113. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12114. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12115. +ac_tool_warned=yes ;;
  12116. +esac
  12117. + CC=$ac_ct_CC
  12118. + fi
  12119. +fi
  12120. +
  12121. fi
  12122. -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  12123. -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  12124. - EGREP="$ac_cv_path_EGREP"
  12125. -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  12126. -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  12127. -if test "${ac_cv_header_stdc+set}" = set; then
  12128. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12129. -else
  12130. - cat >conftest.$ac_ext <<_ACEOF
  12131. -/* confdefs.h. */
  12132. -_ACEOF
  12133. -cat confdefs.h >>conftest.$ac_ext
  12134. -cat >>conftest.$ac_ext <<_ACEOF
  12135. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12136. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12137. +as_fn_error "no acceptable C compiler found in \$PATH
  12138. +See \`config.log' for more details." "$LINENO" 5; }
  12139. +
  12140. +# Provide some information about the compiler.
  12141. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  12142. +set X $ac_compile
  12143. +ac_compiler=$2
  12144. +for ac_option in --version -v -V -qversion; do
  12145. + { { ac_try="$ac_compiler $ac_option >&5"
  12146. +case "(($ac_try" in
  12147. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12148. + *) ac_try_echo=$ac_try;;
  12149. +esac
  12150. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12151. +$as_echo "$ac_try_echo"; } >&5
  12152. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  12153. + ac_status=$?
  12154. + if test -s conftest.err; then
  12155. + sed '10a\
  12156. +... rest of stderr output deleted ...
  12157. + 10q' conftest.err >conftest.er1
  12158. + cat conftest.er1 >&5
  12159. + fi
  12160. + rm -f conftest.er1 conftest.err
  12161. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12162. + test $ac_status = 0; }
  12163. +done
  12164. +
  12165. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12166. /* end confdefs.h. */
  12167. -#include <stdlib.h>
  12168. -#include <stdarg.h>
  12169. -#include <string.h>
  12170. -#include <float.h>
  12171. int
  12172. main ()
  12173. @@ -4238,751 +3871,625 @@
  12174. return 0;
  12175. }
  12176. _ACEOF
  12177. -rm -f conftest.$ac_objext
  12178. -if { (ac_try="$ac_compile"
  12179. +ac_clean_files_save=$ac_clean_files
  12180. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  12181. +# Try to create an executable without -o first, disregard a.out.
  12182. +# It will help us diagnose broken compilers, and finding out an intuition
  12183. +# of exeext.
  12184. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  12185. +$as_echo_n "checking whether the C compiler works... " >&6; }
  12186. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  12187. +
  12188. +# The possible output files:
  12189. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  12190. +
  12191. +ac_rmfiles=
  12192. +for ac_file in $ac_files
  12193. +do
  12194. + case $ac_file in
  12195. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  12196. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  12197. + esac
  12198. +done
  12199. +rm -f $ac_rmfiles
  12200. +
  12201. +if { { ac_try="$ac_link_default"
  12202. case "(($ac_try" in
  12203. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12204. *) ac_try_echo=$ac_try;;
  12205. esac
  12206. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12207. - (eval "$ac_compile") 2>conftest.er1
  12208. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12209. +$as_echo "$ac_try_echo"; } >&5
  12210. + (eval "$ac_link_default") 2>&5
  12211. ac_status=$?
  12212. - grep -v '^ *+' conftest.er1 >conftest.err
  12213. - rm -f conftest.er1
  12214. - cat conftest.err >&5
  12215. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12216. - (exit $ac_status); } && {
  12217. - test -z "$ac_c_werror_flag" ||
  12218. - test ! -s conftest.err
  12219. - } && test -s conftest.$ac_objext; then
  12220. - ac_cv_header_stdc=yes
  12221. -else
  12222. - echo "$as_me: failed program was:" >&5
  12223. -sed 's/^/| /' conftest.$ac_ext >&5
  12224. -
  12225. - ac_cv_header_stdc=no
  12226. -fi
  12227. -
  12228. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12229. -
  12230. -if test $ac_cv_header_stdc = yes; then
  12231. - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  12232. - cat >conftest.$ac_ext <<_ACEOF
  12233. -/* confdefs.h. */
  12234. -_ACEOF
  12235. -cat confdefs.h >>conftest.$ac_ext
  12236. -cat >>conftest.$ac_ext <<_ACEOF
  12237. -/* end confdefs.h. */
  12238. -#include <string.h>
  12239. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12240. + test $ac_status = 0; }; then :
  12241. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  12242. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  12243. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  12244. +# so that the user can short-circuit this test for compilers unknown to
  12245. +# Autoconf.
  12246. +for ac_file in $ac_files ''
  12247. +do
  12248. + test -f "$ac_file" || continue
  12249. + case $ac_file in
  12250. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  12251. + ;;
  12252. + [ab].out )
  12253. + # We found the default executable, but exeext='' is most
  12254. + # certainly right.
  12255. + break;;
  12256. + *.* )
  12257. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  12258. + then :; else
  12259. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  12260. + fi
  12261. + # We set ac_cv_exeext here because the later test for it is not
  12262. + # safe: cross compilers may not add the suffix if given an `-o'
  12263. + # argument, so we may need to know it at that point already.
  12264. + # Even if this section looks crufty: it has the advantage of
  12265. + # actually working.
  12266. + break;;
  12267. + * )
  12268. + break;;
  12269. + esac
  12270. +done
  12271. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  12272. -_ACEOF
  12273. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  12274. - $EGREP "memchr" >/dev/null 2>&1; then
  12275. - :
  12276. else
  12277. - ac_cv_header_stdc=no
  12278. -fi
  12279. -rm -f conftest*
  12280. -
  12281. + ac_file=''
  12282. fi
  12283. +if test -z "$ac_file"; then :
  12284. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12285. +$as_echo "no" >&6; }
  12286. +$as_echo "$as_me: failed program was:" >&5
  12287. +sed 's/^/| /' conftest.$ac_ext >&5
  12288. +
  12289. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12290. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12291. +{ as_fn_set_status 77
  12292. +as_fn_error "C compiler cannot create executables
  12293. +See \`config.log' for more details." "$LINENO" 5; }; }
  12294. +else
  12295. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12296. +$as_echo "yes" >&6; }
  12297. +fi
  12298. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  12299. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  12300. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  12301. +$as_echo "$ac_file" >&6; }
  12302. +ac_exeext=$ac_cv_exeext
  12303. -if test $ac_cv_header_stdc = yes; then
  12304. - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  12305. - cat >conftest.$ac_ext <<_ACEOF
  12306. -/* confdefs.h. */
  12307. -_ACEOF
  12308. -cat confdefs.h >>conftest.$ac_ext
  12309. -cat >>conftest.$ac_ext <<_ACEOF
  12310. -/* end confdefs.h. */
  12311. -#include <stdlib.h>
  12312. -
  12313. -_ACEOF
  12314. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  12315. - $EGREP "free" >/dev/null 2>&1; then
  12316. - :
  12317. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  12318. +ac_clean_files=$ac_clean_files_save
  12319. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  12320. +$as_echo_n "checking for suffix of executables... " >&6; }
  12321. +if { { ac_try="$ac_link"
  12322. +case "(($ac_try" in
  12323. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12324. + *) ac_try_echo=$ac_try;;
  12325. +esac
  12326. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12327. +$as_echo "$ac_try_echo"; } >&5
  12328. + (eval "$ac_link") 2>&5
  12329. + ac_status=$?
  12330. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12331. + test $ac_status = 0; }; then :
  12332. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  12333. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  12334. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  12335. +# `rm'.
  12336. +for ac_file in conftest.exe conftest conftest.*; do
  12337. + test -f "$ac_file" || continue
  12338. + case $ac_file in
  12339. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  12340. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  12341. + break;;
  12342. + * ) break;;
  12343. + esac
  12344. +done
  12345. else
  12346. - ac_cv_header_stdc=no
  12347. -fi
  12348. -rm -f conftest*
  12349. -
  12350. -fi
  12351. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12352. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12353. +as_fn_error "cannot compute suffix of executables: cannot compile and link
  12354. +See \`config.log' for more details." "$LINENO" 5; }
  12355. +fi
  12356. +rm -f conftest conftest$ac_cv_exeext
  12357. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  12358. +$as_echo "$ac_cv_exeext" >&6; }
  12359. -if test $ac_cv_header_stdc = yes; then
  12360. - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  12361. - if test "$cross_compiling" = yes; then
  12362. - :
  12363. -else
  12364. - cat >conftest.$ac_ext <<_ACEOF
  12365. -/* confdefs.h. */
  12366. -_ACEOF
  12367. -cat confdefs.h >>conftest.$ac_ext
  12368. -cat >>conftest.$ac_ext <<_ACEOF
  12369. +rm -f conftest.$ac_ext
  12370. +EXEEXT=$ac_cv_exeext
  12371. +ac_exeext=$EXEEXT
  12372. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12373. /* end confdefs.h. */
  12374. -#include <ctype.h>
  12375. -#include <stdlib.h>
  12376. -#if ((' ' & 0x0FF) == 0x020)
  12377. -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  12378. -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  12379. -#else
  12380. -# define ISLOWER(c) \
  12381. - (('a' <= (c) && (c) <= 'i') \
  12382. - || ('j' <= (c) && (c) <= 'r') \
  12383. - || ('s' <= (c) && (c) <= 'z'))
  12384. -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  12385. -#endif
  12386. -
  12387. -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  12388. +#include <stdio.h>
  12389. int
  12390. main ()
  12391. {
  12392. - int i;
  12393. - for (i = 0; i < 256; i++)
  12394. - if (XOR (islower (i), ISLOWER (i))
  12395. - || toupper (i) != TOUPPER (i))
  12396. - return 2;
  12397. +FILE *f = fopen ("conftest.out", "w");
  12398. + return ferror (f) || fclose (f) != 0;
  12399. +
  12400. + ;
  12401. return 0;
  12402. }
  12403. _ACEOF
  12404. -rm -f conftest$ac_exeext
  12405. -if { (ac_try="$ac_link"
  12406. +ac_clean_files="$ac_clean_files conftest.out"
  12407. +# Check that the compiler produces executables we can run. If not, either
  12408. +# the compiler is broken, or we cross compile.
  12409. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  12410. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  12411. +if test "$cross_compiling" != yes; then
  12412. + { { ac_try="$ac_link"
  12413. case "(($ac_try" in
  12414. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12415. *) ac_try_echo=$ac_try;;
  12416. esac
  12417. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12418. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12419. +$as_echo "$ac_try_echo"; } >&5
  12420. (eval "$ac_link") 2>&5
  12421. ac_status=$?
  12422. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12423. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  12424. - { (case "(($ac_try" in
  12425. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12426. + test $ac_status = 0; }
  12427. + if { ac_try='./conftest$ac_cv_exeext'
  12428. + { { case "(($ac_try" in
  12429. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12430. *) ac_try_echo=$ac_try;;
  12431. esac
  12432. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12433. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12434. +$as_echo "$ac_try_echo"; } >&5
  12435. (eval "$ac_try") 2>&5
  12436. ac_status=$?
  12437. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12438. - (exit $ac_status); }; }; then
  12439. - :
  12440. -else
  12441. - echo "$as_me: program exited with status $ac_status" >&5
  12442. -echo "$as_me: failed program was:" >&5
  12443. -sed 's/^/| /' conftest.$ac_ext >&5
  12444. -
  12445. -( exit $ac_status )
  12446. -ac_cv_header_stdc=no
  12447. -fi
  12448. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  12449. -fi
  12450. -
  12451. -
  12452. -fi
  12453. -fi
  12454. -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  12455. -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  12456. -if test $ac_cv_header_stdc = yes; then
  12457. -
  12458. -cat >>confdefs.h <<\_ACEOF
  12459. -#define STDC_HEADERS 1
  12460. -_ACEOF
  12461. -
  12462. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12463. + test $ac_status = 0; }; }; then
  12464. + cross_compiling=no
  12465. + else
  12466. + if test "$cross_compiling" = maybe; then
  12467. + cross_compiling=yes
  12468. + else
  12469. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12470. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12471. +as_fn_error "cannot run C compiled programs.
  12472. +If you meant to cross compile, use \`--host'.
  12473. +See \`config.log' for more details." "$LINENO" 5; }
  12474. + fi
  12475. + fi
  12476. fi
  12477. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  12478. +$as_echo "$cross_compiling" >&6; }
  12479. -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  12480. -
  12481. -
  12482. -
  12483. -
  12484. -
  12485. -
  12486. -
  12487. -
  12488. -
  12489. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  12490. - inttypes.h stdint.h unistd.h
  12491. -do
  12492. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12493. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  12494. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  12495. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12496. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12497. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  12498. +ac_clean_files=$ac_clean_files_save
  12499. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  12500. +$as_echo_n "checking for suffix of object files... " >&6; }
  12501. +if test "${ac_cv_objext+set}" = set; then :
  12502. + $as_echo_n "(cached) " >&6
  12503. else
  12504. - cat >conftest.$ac_ext <<_ACEOF
  12505. -/* confdefs.h. */
  12506. -_ACEOF
  12507. -cat confdefs.h >>conftest.$ac_ext
  12508. -cat >>conftest.$ac_ext <<_ACEOF
  12509. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12510. /* end confdefs.h. */
  12511. -$ac_includes_default
  12512. -#include <$ac_header>
  12513. +int
  12514. +main ()
  12515. +{
  12516. +
  12517. + ;
  12518. + return 0;
  12519. +}
  12520. _ACEOF
  12521. -rm -f conftest.$ac_objext
  12522. -if { (ac_try="$ac_compile"
  12523. +rm -f conftest.o conftest.obj
  12524. +if { { ac_try="$ac_compile"
  12525. case "(($ac_try" in
  12526. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12527. *) ac_try_echo=$ac_try;;
  12528. esac
  12529. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12530. - (eval "$ac_compile") 2>conftest.er1
  12531. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  12532. +$as_echo "$ac_try_echo"; } >&5
  12533. + (eval "$ac_compile") 2>&5
  12534. ac_status=$?
  12535. - grep -v '^ *+' conftest.er1 >conftest.err
  12536. - rm -f conftest.er1
  12537. - cat conftest.err >&5
  12538. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12539. - (exit $ac_status); } && {
  12540. - test -z "$ac_c_werror_flag" ||
  12541. - test ! -s conftest.err
  12542. - } && test -s conftest.$ac_objext; then
  12543. - eval "$as_ac_Header=yes"
  12544. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  12545. + test $ac_status = 0; }; then :
  12546. + for ac_file in conftest.o conftest.obj conftest.*; do
  12547. + test -f "$ac_file" || continue;
  12548. + case $ac_file in
  12549. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  12550. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  12551. + break;;
  12552. + esac
  12553. +done
  12554. else
  12555. - echo "$as_me: failed program was:" >&5
  12556. + $as_echo "$as_me: failed program was:" >&5
  12557. sed 's/^/| /' conftest.$ac_ext >&5
  12558. - eval "$as_ac_Header=no"
  12559. -fi
  12560. -
  12561. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12562. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12563. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12564. +as_fn_error "cannot compute suffix of object files: cannot compile
  12565. +See \`config.log' for more details." "$LINENO" 5; }
  12566. fi
  12567. -ac_res=`eval echo '${'$as_ac_Header'}'`
  12568. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  12569. -echo "${ECHO_T}$ac_res" >&6; }
  12570. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  12571. - cat >>confdefs.h <<_ACEOF
  12572. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12573. -_ACEOF
  12574. -
  12575. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  12576. fi
  12577. -
  12578. -done
  12579. -
  12580. -
  12581. -
  12582. -for ac_header in Python.h
  12583. -do
  12584. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12585. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12586. - { echo "$as_me:$LINENO: checking for $ac_header" >&5
  12587. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  12588. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12589. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12590. -fi
  12591. -ac_res=`eval echo '${'$as_ac_Header'}'`
  12592. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  12593. -echo "${ECHO_T}$ac_res" >&6; }
  12594. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  12595. +$as_echo "$ac_cv_objext" >&6; }
  12596. +OBJEXT=$ac_cv_objext
  12597. +ac_objext=$OBJEXT
  12598. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  12599. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  12600. +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  12601. + $as_echo_n "(cached) " >&6
  12602. else
  12603. - # Is the header compilable?
  12604. -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12605. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  12606. -cat >conftest.$ac_ext <<_ACEOF
  12607. -/* confdefs.h. */
  12608. -_ACEOF
  12609. -cat confdefs.h >>conftest.$ac_ext
  12610. -cat >>conftest.$ac_ext <<_ACEOF
  12611. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12612. /* end confdefs.h. */
  12613. -$ac_includes_default
  12614. -#include <$ac_header>
  12615. -_ACEOF
  12616. -rm -f conftest.$ac_objext
  12617. -if { (ac_try="$ac_compile"
  12618. -case "(($ac_try" in
  12619. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12620. - *) ac_try_echo=$ac_try;;
  12621. -esac
  12622. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12623. - (eval "$ac_compile") 2>conftest.er1
  12624. - ac_status=$?
  12625. - grep -v '^ *+' conftest.er1 >conftest.err
  12626. - rm -f conftest.er1
  12627. - cat conftest.err >&5
  12628. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12629. - (exit $ac_status); } && {
  12630. - test -z "$ac_c_werror_flag" ||
  12631. - test ! -s conftest.err
  12632. - } && test -s conftest.$ac_objext; then
  12633. - ac_header_compiler=yes
  12634. -else
  12635. - echo "$as_me: failed program was:" >&5
  12636. -sed 's/^/| /' conftest.$ac_ext >&5
  12637. -
  12638. - ac_header_compiler=no
  12639. -fi
  12640. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12641. -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12642. -echo "${ECHO_T}$ac_header_compiler" >&6; }
  12643. +int
  12644. +main ()
  12645. +{
  12646. +#ifndef __GNUC__
  12647. + choke me
  12648. +#endif
  12649. -# Is the header present?
  12650. -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12651. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  12652. -cat >conftest.$ac_ext <<_ACEOF
  12653. -/* confdefs.h. */
  12654. -_ACEOF
  12655. -cat confdefs.h >>conftest.$ac_ext
  12656. -cat >>conftest.$ac_ext <<_ACEOF
  12657. -/* end confdefs.h. */
  12658. -#include <$ac_header>
  12659. + ;
  12660. + return 0;
  12661. +}
  12662. _ACEOF
  12663. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  12664. -case "(($ac_try" in
  12665. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12666. - *) ac_try_echo=$ac_try;;
  12667. -esac
  12668. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12669. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12670. - ac_status=$?
  12671. - grep -v '^ *+' conftest.er1 >conftest.err
  12672. - rm -f conftest.er1
  12673. - cat conftest.err >&5
  12674. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12675. - (exit $ac_status); } >/dev/null && {
  12676. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12677. - test ! -s conftest.err
  12678. - }; then
  12679. - ac_header_preproc=yes
  12680. +if ac_fn_c_try_compile "$LINENO"; then :
  12681. + ac_compiler_gnu=yes
  12682. else
  12683. - echo "$as_me: failed program was:" >&5
  12684. -sed 's/^/| /' conftest.$ac_ext >&5
  12685. -
  12686. - ac_header_preproc=no
  12687. + ac_compiler_gnu=no
  12688. fi
  12689. -
  12690. -rm -f conftest.err conftest.$ac_ext
  12691. -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12692. -echo "${ECHO_T}$ac_header_preproc" >&6; }
  12693. -
  12694. -# So? What about this header?
  12695. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12696. - yes:no: )
  12697. - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12698. -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12699. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12700. -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12701. - ac_header_preproc=yes
  12702. - ;;
  12703. - no:yes:* )
  12704. - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12705. -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12706. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12707. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12708. - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12709. -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12710. - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12711. -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12712. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12713. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12714. - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12715. -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12716. -
  12717. - ;;
  12718. -esac
  12719. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  12720. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  12721. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12722. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12723. -else
  12724. - eval "$as_ac_Header=\$ac_header_preproc"
  12725. -fi
  12726. -ac_res=`eval echo '${'$as_ac_Header'}'`
  12727. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  12728. -echo "${ECHO_T}$ac_res" >&6; }
  12729. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12730. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  12731. fi
  12732. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  12733. - cat >>confdefs.h <<_ACEOF
  12734. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12735. -_ACEOF
  12736. -
  12737. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  12738. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  12739. +if test $ac_compiler_gnu = yes; then
  12740. + GCC=yes
  12741. else
  12742. - { echo "$as_me:$LINENO: WARNING: *** Python include files not found! You should install the Python development package. Python support disabled" >&5
  12743. -echo "$as_me: WARNING: *** Python include files not found! You should install the Python development package. Python support disabled" >&2;}; ac_python=no
  12744. + GCC=
  12745. fi
  12746. +ac_test_CFLAGS=${CFLAGS+set}
  12747. +ac_save_CFLAGS=$CFLAGS
  12748. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  12749. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  12750. +if test "${ac_cv_prog_cc_g+set}" = set; then :
  12751. + $as_echo_n "(cached) " >&6
  12752. +else
  12753. + ac_save_c_werror_flag=$ac_c_werror_flag
  12754. + ac_c_werror_flag=yes
  12755. + ac_cv_prog_cc_g=no
  12756. + CFLAGS="-g"
  12757. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12758. +/* end confdefs.h. */
  12759. -done
  12760. +int
  12761. +main ()
  12762. +{
  12763. - CPPFLAGS="$OLD_CPPFLAGS"
  12764. - CXXFLAGS="$OLD_CXXFLAGS"
  12765. -
  12766. - if test "x$ac_python" = "xyes"; then
  12767. + ;
  12768. + return 0;
  12769. +}
  12770. +_ACEOF
  12771. +if ac_fn_c_try_compile "$LINENO"; then :
  12772. + ac_cv_prog_cc_g=yes
  12773. +else
  12774. + CFLAGS=""
  12775. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12776. +/* end confdefs.h. */
  12777. +int
  12778. +main ()
  12779. +{
  12780. - ac_python=no
  12781. - for pylibpath in '/usr/lib' $PYTHON_PREFIX/lib $PYTHON_PREFIX/lib/python$PYTHON_VERSION/config; do
  12782. - eval `echo unset ac_cv_lib_python$PYTHON_VERSION'___'Py_Finalize | tr '.' '_'`
  12783. + ;
  12784. + return 0;
  12785. +}
  12786. +_ACEOF
  12787. +if ac_fn_c_try_compile "$LINENO"; then :
  12788. - save_LIBS=$LIBS
  12789. - LIBS="$LIBS -L$pylibpath $PYTHON_LIBS"
  12790. - as_ac_Lib=`echo "ac_cv_lib_python$PYTHON_VERSION''_Py_Finalize" | $as_tr_sh`
  12791. -{ echo "$as_me:$LINENO: checking for Py_Finalize in -lpython$PYTHON_VERSION" >&5
  12792. -echo $ECHO_N "checking for Py_Finalize in -lpython$PYTHON_VERSION... $ECHO_C" >&6; }
  12793. -if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
  12794. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12795. else
  12796. - ac_check_lib_save_LIBS=$LIBS
  12797. -LIBS="-lpython$PYTHON_VERSION $PYTHON_DEPS $LIBS"
  12798. -cat >conftest.$ac_ext <<_ACEOF
  12799. -/* confdefs.h. */
  12800. -_ACEOF
  12801. -cat confdefs.h >>conftest.$ac_ext
  12802. -cat >>conftest.$ac_ext <<_ACEOF
  12803. + ac_c_werror_flag=$ac_save_c_werror_flag
  12804. + CFLAGS="-g"
  12805. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12806. /* end confdefs.h. */
  12807. -/* Override any GCC internal prototype to avoid an error.
  12808. - Use char because int might match the return type of a GCC
  12809. - builtin and then its argument prototype would still apply. */
  12810. -#ifdef __cplusplus
  12811. -extern "C"
  12812. -#endif
  12813. -char Py_Finalize ();
  12814. int
  12815. main ()
  12816. {
  12817. -return Py_Finalize ();
  12818. +
  12819. ;
  12820. return 0;
  12821. }
  12822. _ACEOF
  12823. -rm -f conftest.$ac_objext conftest$ac_exeext
  12824. -if { (ac_try="$ac_link"
  12825. -case "(($ac_try" in
  12826. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12827. - *) ac_try_echo=$ac_try;;
  12828. -esac
  12829. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  12830. - (eval "$ac_link") 2>conftest.er1
  12831. - ac_status=$?
  12832. - grep -v '^ *+' conftest.er1 >conftest.err
  12833. - rm -f conftest.er1
  12834. - cat conftest.err >&5
  12835. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12836. - (exit $ac_status); } && {
  12837. - test -z "$ac_c_werror_flag" ||
  12838. - test ! -s conftest.err
  12839. - } && test -s conftest$ac_exeext &&
  12840. - $as_test_x conftest$ac_exeext; then
  12841. - eval "$as_ac_Lib=yes"
  12842. -else
  12843. - echo "$as_me: failed program was:" >&5
  12844. -sed 's/^/| /' conftest.$ac_ext >&5
  12845. -
  12846. - eval "$as_ac_Lib=no"
  12847. +if ac_fn_c_try_compile "$LINENO"; then :
  12848. + ac_cv_prog_cc_g=yes
  12849. fi
  12850. -
  12851. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  12852. - conftest$ac_exeext conftest.$ac_ext
  12853. -LIBS=$ac_check_lib_save_LIBS
  12854. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12855. fi
  12856. -ac_res=`eval echo '${'$as_ac_Lib'}'`
  12857. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  12858. -echo "${ECHO_T}$ac_res" >&6; }
  12859. -if test `eval echo '${'$as_ac_Lib'}'` = yes; then
  12860. - PYTHON_LIBS="-L$pylibpath -lpython$PYTHON_VERSION $PYTHON_DEPS"; ac_python=yes
  12861. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12862. fi
  12863. -
  12864. - LIBS=$save_LIBS
  12865. - if test "x$ac_python" = "xyes"; then
  12866. - break
  12867. - fi
  12868. - done
  12869. -
  12870. - if test "x$ac_python" != "xyes"; then
  12871. - { echo "$as_me:$LINENO: WARNING: *** Python development libraries required" >&5
  12872. -echo "$as_me: WARNING: *** Python development libraries required" >&2;}
  12873. - fi
  12874. -
  12875. -
  12876. -
  12877. - if test "x$python_install" = "xyes"; then
  12878. - pkgpythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION"/site-packages/gpsd"
  12879. - fi
  12880. -
  12881. - fi
  12882. - fi
  12883. - fi
  12884. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12885. + ac_c_werror_flag=$ac_save_c_werror_flag
  12886. fi
  12887. - if test x"$ac_python" = xyes; then
  12888. - HAVE_PYTHON_TRUE=
  12889. - HAVE_PYTHON_FALSE='#'
  12890. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  12891. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  12892. +if test "$ac_test_CFLAGS" = set; then
  12893. + CFLAGS=$ac_save_CFLAGS
  12894. +elif test $ac_cv_prog_cc_g = yes; then
  12895. + if test "$GCC" = yes; then
  12896. + CFLAGS="-g -O2"
  12897. + else
  12898. + CFLAGS="-g"
  12899. + fi
  12900. else
  12901. - HAVE_PYTHON_TRUE='#'
  12902. - HAVE_PYTHON_FALSE=
  12903. + if test "$GCC" = yes; then
  12904. + CFLAGS="-O2"
  12905. + else
  12906. + CFLAGS=
  12907. + fi
  12908. fi
  12909. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  12910. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  12911. +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  12912. + $as_echo_n "(cached) " >&6
  12913. +else
  12914. + ac_cv_prog_cc_c89=no
  12915. +ac_save_CC=$CC
  12916. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12917. +/* end confdefs.h. */
  12918. +#include <stdarg.h>
  12919. +#include <stdio.h>
  12920. +#include <sys/types.h>
  12921. +#include <sys/stat.h>
  12922. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  12923. +struct buf { int x; };
  12924. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  12925. +static char *e (p, i)
  12926. + char **p;
  12927. + int i;
  12928. +{
  12929. + return p[i];
  12930. +}
  12931. +static char *f (char * (*g) (char **, int), char **p, ...)
  12932. +{
  12933. + char *s;
  12934. + va_list v;
  12935. + va_start (v,p);
  12936. + s = g (p, va_arg (v,int));
  12937. + va_end (v);
  12938. + return s;
  12939. +}
  12940. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  12941. + function prototypes and stuff, but not '\xHH' hex character constants.
  12942. + These don't provoke an error unfortunately, instead are silently treated
  12943. + as 'x'. The following induces an error, until -std is added to get
  12944. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  12945. + array size at least. It's necessary to write '\x00'==0 to get something
  12946. + that's true only with -std. */
  12947. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  12948. -{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
  12949. -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
  12950. -LN_S=$as_ln_s
  12951. -if test "$LN_S" = "ln -s"; then
  12952. - { echo "$as_me:$LINENO: result: yes" >&5
  12953. -echo "${ECHO_T}yes" >&6; }
  12954. -else
  12955. - { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  12956. -echo "${ECHO_T}no, using $LN_S" >&6; }
  12957. -fi
  12958. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  12959. + inside strings and character constants. */
  12960. +#define FOO(x) 'x'
  12961. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  12962. -{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  12963. -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  12964. -set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  12965. -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  12966. - echo $ECHO_N "(cached) $ECHO_C" >&6
  12967. -else
  12968. - cat >conftest.make <<\_ACEOF
  12969. -SHELL = /bin/sh
  12970. -all:
  12971. - @echo '@@@%%%=$(MAKE)=@@@%%%'
  12972. +int test (int i, double x);
  12973. +struct s1 {int (*f) (int a);};
  12974. +struct s2 {int (*f) (double a);};
  12975. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  12976. +int argc;
  12977. +char **argv;
  12978. +int
  12979. +main ()
  12980. +{
  12981. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  12982. + ;
  12983. + return 0;
  12984. +}
  12985. _ACEOF
  12986. -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  12987. -case `${MAKE-make} -f conftest.make 2>/dev/null` in
  12988. - *@@@%%%=?*=@@@%%%*)
  12989. - eval ac_cv_prog_make_${ac_make}_set=yes;;
  12990. - *)
  12991. - eval ac_cv_prog_make_${ac_make}_set=no;;
  12992. -esac
  12993. -rm -f conftest.make
  12994. -fi
  12995. -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  12996. - { echo "$as_me:$LINENO: result: yes" >&5
  12997. -echo "${ECHO_T}yes" >&6; }
  12998. - SET_MAKE=
  12999. -else
  13000. - { echo "$as_me:$LINENO: result: no" >&5
  13001. -echo "${ECHO_T}no" >&6; }
  13002. - SET_MAKE="MAKE=${MAKE-make}"
  13003. -fi
  13004. -
  13005. -# Find a good install program. We prefer a C program (faster),
  13006. -# so one script is as good as another. But avoid the broken or
  13007. -# incompatible versions:
  13008. -# SysV /etc/install, /usr/sbin/install
  13009. -# SunOS /usr/etc/install
  13010. -# IRIX /sbin/install
  13011. -# AIX /bin/install
  13012. -# AmigaOS /C/install, which installs bootblocks on floppy discs
  13013. -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  13014. -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  13015. -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  13016. -# OS/2's system install, which has a completely different semantic
  13017. -# ./install, which can be erroneously created by make from ./install.sh.
  13018. -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  13019. -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  13020. -if test -z "$INSTALL"; then
  13021. -if test "${ac_cv_path_install+set}" = set; then
  13022. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13023. -else
  13024. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13025. -for as_dir in $PATH
  13026. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  13027. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  13028. do
  13029. - IFS=$as_save_IFS
  13030. - test -z "$as_dir" && as_dir=.
  13031. - # Account for people who put trailing slashes in PATH elements.
  13032. -case $as_dir/ in
  13033. - ./ | .// | /cC/* | \
  13034. - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  13035. - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  13036. - /usr/ucb/* ) ;;
  13037. - *)
  13038. - # OSF1 and SCO ODT 3.0 have their own names for install.
  13039. - # Don't use installbsd from OSF since it installs stuff as root
  13040. - # by default.
  13041. - for ac_prog in ginstall scoinst install; do
  13042. - for ac_exec_ext in '' $ac_executable_extensions; do
  13043. - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  13044. - if test $ac_prog = install &&
  13045. - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  13046. - # AIX install. It has an incompatible calling convention.
  13047. - :
  13048. - elif test $ac_prog = install &&
  13049. - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  13050. - # program-specific install script used by HP pwplus--don't use.
  13051. - :
  13052. - else
  13053. - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  13054. - break 3
  13055. - fi
  13056. - fi
  13057. - done
  13058. - done
  13059. - ;;
  13060. -esac
  13061. + CC="$ac_save_CC $ac_arg"
  13062. + if ac_fn_c_try_compile "$LINENO"; then :
  13063. + ac_cv_prog_cc_c89=$ac_arg
  13064. +fi
  13065. +rm -f core conftest.err conftest.$ac_objext
  13066. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  13067. done
  13068. -IFS=$as_save_IFS
  13069. -
  13070. +rm -f conftest.$ac_ext
  13071. +CC=$ac_save_CC
  13072. fi
  13073. - if test "${ac_cv_path_install+set}" = set; then
  13074. - INSTALL=$ac_cv_path_install
  13075. - else
  13076. - # As a last resort, use the slow shell script. Don't cache a
  13077. - # value for INSTALL within a source directory, because that will
  13078. - # break other packages using the cache if that directory is
  13079. - # removed, or if the value is a relative name.
  13080. - INSTALL=$ac_install_sh
  13081. - fi
  13082. -fi
  13083. -{ echo "$as_me:$LINENO: result: $INSTALL" >&5
  13084. -echo "${ECHO_T}$INSTALL" >&6; }
  13085. -
  13086. -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  13087. -# It thinks the first close brace ends the variable substitution.
  13088. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  13089. -
  13090. -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  13091. -
  13092. -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  13093. -
  13094. -case `pwd` in
  13095. - *\ * | *\ *)
  13096. - { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  13097. -echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  13098. +# AC_CACHE_VAL
  13099. +case "x$ac_cv_prog_cc_c89" in
  13100. + x)
  13101. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  13102. +$as_echo "none needed" >&6; } ;;
  13103. + xno)
  13104. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  13105. +$as_echo "unsupported" >&6; } ;;
  13106. + *)
  13107. + CC="$CC $ac_cv_prog_cc_c89"
  13108. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  13109. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  13110. esac
  13111. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  13112. +fi
  13113. +ac_ext=c
  13114. +ac_cpp='$CPP $CPPFLAGS'
  13115. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13116. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13117. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13118. -macro_version='2.2.4'
  13119. -macro_revision='1.2976'
  13120. -
  13121. -
  13122. -
  13123. -
  13124. -
  13125. -
  13126. -
  13127. -
  13128. -
  13129. +depcc="$CC" am_compiler_list=
  13130. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  13131. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  13132. +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  13133. + $as_echo_n "(cached) " >&6
  13134. +else
  13135. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  13136. + # We make a subdir and do the tests there. Otherwise we can end up
  13137. + # making bogus files that we don't know about and never remove. For
  13138. + # instance it was reported that on HP-UX the gcc test will end up
  13139. + # making a dummy file named `D' -- because `-MD' means `put the output
  13140. + # in D'.
  13141. + mkdir conftest.dir
  13142. + # Copy depcomp to subdir because otherwise we won't find it if we're
  13143. + # using a relative directory.
  13144. + cp "$am_depcomp" conftest.dir
  13145. + cd conftest.dir
  13146. + # We will build objects and dependencies in a subdirectory because
  13147. + # it helps to detect inapplicable dependency modes. For instance
  13148. + # both Tru64's cc and ICC support -MD to output dependencies as a
  13149. + # side effect of compilation, but ICC will put the dependencies in
  13150. + # the current directory while Tru64 will put them in the object
  13151. + # directory.
  13152. + mkdir sub
  13153. + am_cv_CC_dependencies_compiler_type=none
  13154. + if test "$am_compiler_list" = ""; then
  13155. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  13156. + fi
  13157. + am__universal=false
  13158. + case " $depcc " in #(
  13159. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  13160. + esac
  13161. + for depmode in $am_compiler_list; do
  13162. + # Setup a source with many dependencies, because some compilers
  13163. + # like to wrap large dependency lists on column 80 (with \), and
  13164. + # we should not choose a depcomp mode which is confused by this.
  13165. + #
  13166. + # We need to recreate these files for each test, as the compiler may
  13167. + # overwrite some of them when testing with obscure command lines.
  13168. + # This happens at least with the AIX C compiler.
  13169. + : > sub/conftest.c
  13170. + for i in 1 2 3 4 5 6; do
  13171. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  13172. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  13173. + # Solaris 8's {/usr,}/bin/sh.
  13174. + touch sub/conftst$i.h
  13175. + done
  13176. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  13177. -ltmain="$ac_aux_dir/ltmain.sh"
  13178. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  13179. + # mode. It turns out that the SunPro C++ compiler does not properly
  13180. + # handle `-M -o', and we need to detect this. Also, some Intel
  13181. + # versions had trouble with output in subdirs
  13182. + am__obj=sub/conftest.${OBJEXT-o}
  13183. + am__minus_obj="-o $am__obj"
  13184. + case $depmode in
  13185. + gcc)
  13186. + # This depmode causes a compiler race in universal mode.
  13187. + test "$am__universal" = false || continue
  13188. + ;;
  13189. + nosideeffect)
  13190. + # after this tag, mechanisms are not by side-effect, so they'll
  13191. + # only be used when explicitly requested
  13192. + if test "x$enable_dependency_tracking" = xyes; then
  13193. + continue
  13194. + else
  13195. + break
  13196. + fi
  13197. + ;;
  13198. + msvisualcpp | msvcmsys)
  13199. + # This compiler won't grok `-c -o', but also, the minuso test has
  13200. + # not run yet. These depmodes are late enough in the game, and
  13201. + # so weak that their functioning should not be impacted.
  13202. + am__obj=conftest.${OBJEXT-o}
  13203. + am__minus_obj=
  13204. + ;;
  13205. + none) break ;;
  13206. + esac
  13207. + if depmode=$depmode \
  13208. + source=sub/conftest.c object=$am__obj \
  13209. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  13210. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  13211. + >/dev/null 2>conftest.err &&
  13212. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  13213. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  13214. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  13215. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  13216. + # icc doesn't choke on unknown options, it will just issue warnings
  13217. + # or remarks (even with -Werror). So we grep stderr for any message
  13218. + # that says an option was ignored or not supported.
  13219. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  13220. + # icc: Command line warning: ignoring option '-M'; no argument required
  13221. + # The diagnosis changed in icc 8.0:
  13222. + # icc: Command line remark: option '-MP' not supported
  13223. + if (grep 'ignoring option' conftest.err ||
  13224. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  13225. + am_cv_CC_dependencies_compiler_type=$depmode
  13226. + break
  13227. + fi
  13228. + fi
  13229. + done
  13230. -# Make sure we can run config.sub.
  13231. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  13232. - { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  13233. -echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  13234. - { (exit 1); exit 1; }; }
  13235. -
  13236. -{ echo "$as_me:$LINENO: checking build system type" >&5
  13237. -echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  13238. -if test "${ac_cv_build+set}" = set; then
  13239. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13240. + cd ..
  13241. + rm -rf conftest.dir
  13242. else
  13243. - ac_build_alias=$build_alias
  13244. -test "x$ac_build_alias" = x &&
  13245. - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  13246. -test "x$ac_build_alias" = x &&
  13247. - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  13248. -echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  13249. - { (exit 1); exit 1; }; }
  13250. -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  13251. - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  13252. -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  13253. - { (exit 1); exit 1; }; }
  13254. -
  13255. + am_cv_CC_dependencies_compiler_type=none
  13256. fi
  13257. -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  13258. -echo "${ECHO_T}$ac_cv_build" >&6; }
  13259. -case $ac_cv_build in
  13260. -*-*-*) ;;
  13261. -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  13262. -echo "$as_me: error: invalid value of canonical build" >&2;}
  13263. - { (exit 1); exit 1; }; };;
  13264. -esac
  13265. -build=$ac_cv_build
  13266. -ac_save_IFS=$IFS; IFS='-'
  13267. -set x $ac_cv_build
  13268. -shift
  13269. -build_cpu=$1
  13270. -build_vendor=$2
  13271. -shift; shift
  13272. -# Remember, the first character of IFS is used to create $*,
  13273. -# except with old shells:
  13274. -build_os=$*
  13275. -IFS=$ac_save_IFS
  13276. -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  13277. -
  13278. -{ echo "$as_me:$LINENO: checking host system type" >&5
  13279. -echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  13280. -if test "${ac_cv_host+set}" = set; then
  13281. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13282. -else
  13283. - if test "x$host_alias" = x; then
  13284. - ac_cv_host=$ac_cv_build
  13285. -else
  13286. - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  13287. - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  13288. -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  13289. - { (exit 1); exit 1; }; }
  13290. fi
  13291. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  13292. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  13293. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  13294. + if
  13295. + test "x$enable_dependency_tracking" != xno \
  13296. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  13297. + am__fastdepCC_TRUE=
  13298. + am__fastdepCC_FALSE='#'
  13299. +else
  13300. + am__fastdepCC_TRUE='#'
  13301. + am__fastdepCC_FALSE=
  13302. fi
  13303. -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  13304. -echo "${ECHO_T}$ac_cv_host" >&6; }
  13305. -case $ac_cv_host in
  13306. -*-*-*) ;;
  13307. -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  13308. -echo "$as_me: error: invalid value of canonical host" >&2;}
  13309. - { (exit 1); exit 1; }; };;
  13310. -esac
  13311. -host=$ac_cv_host
  13312. -ac_save_IFS=$IFS; IFS='-'
  13313. -set x $ac_cv_host
  13314. -shift
  13315. -host_cpu=$1
  13316. -host_vendor=$2
  13317. -shift; shift
  13318. -# Remember, the first character of IFS is used to create $*,
  13319. -# except with old shells:
  13320. -host_os=$*
  13321. -IFS=$ac_save_IFS
  13322. -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  13323. -{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  13324. -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
  13325. -if test "${ac_cv_path_SED+set}" = set; then
  13326. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13327. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  13328. +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  13329. +if test "${ac_cv_path_SED+set}" = set; then :
  13330. + $as_echo_n "(cached) " >&6
  13331. else
  13332. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  13333. for ac_i in 1 2 3 4 5 6 7; do
  13334. ac_script="$ac_script$as_nl$ac_script"
  13335. done
  13336. - echo "$ac_script" | sed 99q >conftest.sed
  13337. - $as_unset ac_script || ac_script=
  13338. - # Extract the first word of "sed gsed" to use in msg output
  13339. -if test -z "$SED"; then
  13340. -set dummy sed gsed; ac_prog_name=$2
  13341. -if test "${ac_cv_path_SED+set}" = set; then
  13342. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13343. -else
  13344. + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  13345. + { ac_script=; unset ac_script;}
  13346. + if test -z "$SED"; then
  13347. ac_path_SED_found=false
  13348. -# Loop through the user's path and test for each of PROGNAME-LIST
  13349. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13350. + # Loop through the user's path and test for each of PROGNAME-LIST
  13351. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13352. for as_dir in $PATH
  13353. do
  13354. IFS=$as_save_IFS
  13355. test -z "$as_dir" && as_dir=.
  13356. - for ac_prog in sed gsed; do
  13357. - for ac_exec_ext in '' $ac_executable_extensions; do
  13358. - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  13359. - { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  13360. - # Check for GNU ac_path_SED and select it if it is found.
  13361. + for ac_prog in sed gsed; do
  13362. + for ac_exec_ext in '' $ac_executable_extensions; do
  13363. + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  13364. + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  13365. +# Check for GNU ac_path_SED and select it if it is found.
  13366. # Check for GNU $ac_path_SED
  13367. case `"$ac_path_SED" --version 2>&1` in
  13368. *GNU*)
  13369. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  13370. *)
  13371. ac_count=0
  13372. - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  13373. + $as_echo_n 0123456789 >"conftest.in"
  13374. while :
  13375. do
  13376. cat "conftest.in" "conftest.in" >"conftest.tmp"
  13377. mv "conftest.tmp" "conftest.in"
  13378. cp "conftest.in" "conftest.nl"
  13379. - echo '' >> "conftest.nl"
  13380. + $as_echo '' >> "conftest.nl"
  13381. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13382. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13383. - ac_count=`expr $ac_count + 1`
  13384. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13385. if test $ac_count -gt ${ac_path_SED_max-0}; then
  13386. # Best one so far, save it but keep looking for a better one
  13387. ac_cv_path_SED="$ac_path_SED"
  13388. @@ -4994,31 +4501,21 @@
  13389. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  13390. esac
  13391. -
  13392. - $ac_path_SED_found && break 3
  13393. + $ac_path_SED_found && break 3
  13394. + done
  13395. + done
  13396. done
  13397. -done
  13398. -
  13399. -done
  13400. IFS=$as_save_IFS
  13401. -
  13402. -
  13403. -fi
  13404. -
  13405. -SED="$ac_cv_path_SED"
  13406. -if test -z "$SED"; then
  13407. - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
  13408. -echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
  13409. - { (exit 1); exit 1; }; }
  13410. -fi
  13411. -
  13412. + if test -z "$ac_cv_path_SED"; then
  13413. + as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
  13414. + fi
  13415. else
  13416. ac_cv_path_SED=$SED
  13417. fi
  13418. fi
  13419. -{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  13420. -echo "${ECHO_T}$ac_cv_path_SED" >&6; }
  13421. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  13422. +$as_echo "$ac_cv_path_SED" >&6; }
  13423. SED="$ac_cv_path_SED"
  13424. rm -f conftest.sed
  13425. @@ -5035,48 +4532,173 @@
  13426. -{ echo "$as_me:$LINENO: checking for fgrep" >&5
  13427. -echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
  13428. -if test "${ac_cv_path_FGREP+set}" = set; then
  13429. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13430. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  13431. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  13432. +if test "${ac_cv_path_GREP+set}" = set; then :
  13433. + $as_echo_n "(cached) " >&6
  13434. +else
  13435. + if test -z "$GREP"; then
  13436. + ac_path_GREP_found=false
  13437. + # Loop through the user's path and test for each of PROGNAME-LIST
  13438. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13439. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  13440. +do
  13441. + IFS=$as_save_IFS
  13442. + test -z "$as_dir" && as_dir=.
  13443. + for ac_prog in grep ggrep; do
  13444. + for ac_exec_ext in '' $ac_executable_extensions; do
  13445. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  13446. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  13447. +# Check for GNU ac_path_GREP and select it if it is found.
  13448. + # Check for GNU $ac_path_GREP
  13449. +case `"$ac_path_GREP" --version 2>&1` in
  13450. +*GNU*)
  13451. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  13452. +*)
  13453. + ac_count=0
  13454. + $as_echo_n 0123456789 >"conftest.in"
  13455. + while :
  13456. + do
  13457. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  13458. + mv "conftest.tmp" "conftest.in"
  13459. + cp "conftest.in" "conftest.nl"
  13460. + $as_echo 'GREP' >> "conftest.nl"
  13461. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13462. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13463. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13464. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  13465. + # Best one so far, save it but keep looking for a better one
  13466. + ac_cv_path_GREP="$ac_path_GREP"
  13467. + ac_path_GREP_max=$ac_count
  13468. + fi
  13469. + # 10*(2^10) chars as input seems more than enough
  13470. + test $ac_count -gt 10 && break
  13471. + done
  13472. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  13473. +esac
  13474. +
  13475. + $ac_path_GREP_found && break 3
  13476. + done
  13477. + done
  13478. + done
  13479. +IFS=$as_save_IFS
  13480. + if test -z "$ac_cv_path_GREP"; then
  13481. + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  13482. + fi
  13483. +else
  13484. + ac_cv_path_GREP=$GREP
  13485. +fi
  13486. +
  13487. +fi
  13488. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  13489. +$as_echo "$ac_cv_path_GREP" >&6; }
  13490. + GREP="$ac_cv_path_GREP"
  13491. +
  13492. +
  13493. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  13494. +$as_echo_n "checking for egrep... " >&6; }
  13495. +if test "${ac_cv_path_EGREP+set}" = set; then :
  13496. + $as_echo_n "(cached) " >&6
  13497. +else
  13498. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  13499. + then ac_cv_path_EGREP="$GREP -E"
  13500. + else
  13501. + if test -z "$EGREP"; then
  13502. + ac_path_EGREP_found=false
  13503. + # Loop through the user's path and test for each of PROGNAME-LIST
  13504. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13505. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  13506. +do
  13507. + IFS=$as_save_IFS
  13508. + test -z "$as_dir" && as_dir=.
  13509. + for ac_prog in egrep; do
  13510. + for ac_exec_ext in '' $ac_executable_extensions; do
  13511. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  13512. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  13513. +# Check for GNU ac_path_EGREP and select it if it is found.
  13514. + # Check for GNU $ac_path_EGREP
  13515. +case `"$ac_path_EGREP" --version 2>&1` in
  13516. +*GNU*)
  13517. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  13518. +*)
  13519. + ac_count=0
  13520. + $as_echo_n 0123456789 >"conftest.in"
  13521. + while :
  13522. + do
  13523. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  13524. + mv "conftest.tmp" "conftest.in"
  13525. + cp "conftest.in" "conftest.nl"
  13526. + $as_echo 'EGREP' >> "conftest.nl"
  13527. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13528. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13529. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13530. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  13531. + # Best one so far, save it but keep looking for a better one
  13532. + ac_cv_path_EGREP="$ac_path_EGREP"
  13533. + ac_path_EGREP_max=$ac_count
  13534. + fi
  13535. + # 10*(2^10) chars as input seems more than enough
  13536. + test $ac_count -gt 10 && break
  13537. + done
  13538. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  13539. +esac
  13540. +
  13541. + $ac_path_EGREP_found && break 3
  13542. + done
  13543. + done
  13544. + done
  13545. +IFS=$as_save_IFS
  13546. + if test -z "$ac_cv_path_EGREP"; then
  13547. + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  13548. + fi
  13549. +else
  13550. + ac_cv_path_EGREP=$EGREP
  13551. +fi
  13552. +
  13553. + fi
  13554. +fi
  13555. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  13556. +$as_echo "$ac_cv_path_EGREP" >&6; }
  13557. + EGREP="$ac_cv_path_EGREP"
  13558. +
  13559. +
  13560. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  13561. +$as_echo_n "checking for fgrep... " >&6; }
  13562. +if test "${ac_cv_path_FGREP+set}" = set; then :
  13563. + $as_echo_n "(cached) " >&6
  13564. else
  13565. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  13566. then ac_cv_path_FGREP="$GREP -F"
  13567. else
  13568. - # Extract the first word of "fgrep" to use in msg output
  13569. -if test -z "$FGREP"; then
  13570. -set dummy fgrep; ac_prog_name=$2
  13571. -if test "${ac_cv_path_FGREP+set}" = set; then
  13572. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13573. -else
  13574. + if test -z "$FGREP"; then
  13575. ac_path_FGREP_found=false
  13576. -# Loop through the user's path and test for each of PROGNAME-LIST
  13577. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13578. + # Loop through the user's path and test for each of PROGNAME-LIST
  13579. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13580. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  13581. do
  13582. IFS=$as_save_IFS
  13583. test -z "$as_dir" && as_dir=.
  13584. - for ac_prog in fgrep; do
  13585. - for ac_exec_ext in '' $ac_executable_extensions; do
  13586. - ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  13587. - { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  13588. - # Check for GNU ac_path_FGREP and select it if it is found.
  13589. + for ac_prog in fgrep; do
  13590. + for ac_exec_ext in '' $ac_executable_extensions; do
  13591. + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  13592. + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  13593. +# Check for GNU ac_path_FGREP and select it if it is found.
  13594. # Check for GNU $ac_path_FGREP
  13595. case `"$ac_path_FGREP" --version 2>&1` in
  13596. *GNU*)
  13597. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  13598. *)
  13599. ac_count=0
  13600. - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  13601. + $as_echo_n 0123456789 >"conftest.in"
  13602. while :
  13603. do
  13604. cat "conftest.in" "conftest.in" >"conftest.tmp"
  13605. mv "conftest.tmp" "conftest.in"
  13606. cp "conftest.in" "conftest.nl"
  13607. - echo 'FGREP' >> "conftest.nl"
  13608. + $as_echo 'FGREP' >> "conftest.nl"
  13609. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13610. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13611. - ac_count=`expr $ac_count + 1`
  13612. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13613. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  13614. # Best one so far, save it but keep looking for a better one
  13615. ac_cv_path_FGREP="$ac_path_FGREP"
  13616. @@ -5088,33 +4710,22 @@
  13617. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  13618. esac
  13619. -
  13620. - $ac_path_FGREP_found && break 3
  13621. + $ac_path_FGREP_found && break 3
  13622. + done
  13623. + done
  13624. done
  13625. -done
  13626. -
  13627. -done
  13628. IFS=$as_save_IFS
  13629. -
  13630. -
  13631. -fi
  13632. -
  13633. -FGREP="$ac_cv_path_FGREP"
  13634. -if test -z "$FGREP"; then
  13635. - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  13636. -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  13637. - { (exit 1); exit 1; }; }
  13638. -fi
  13639. -
  13640. + if test -z "$ac_cv_path_FGREP"; then
  13641. + as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  13642. + fi
  13643. else
  13644. ac_cv_path_FGREP=$FGREP
  13645. fi
  13646. -
  13647. fi
  13648. fi
  13649. -{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
  13650. -echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
  13651. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  13652. +$as_echo "$ac_cv_path_FGREP" >&6; }
  13653. FGREP="$ac_cv_path_FGREP"
  13654. @@ -5139,7 +4750,7 @@
  13655. # Check whether --with-gnu-ld was given.
  13656. -if test "${with_gnu_ld+set}" = set; then
  13657. +if test "${with_gnu_ld+set}" = set; then :
  13658. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  13659. else
  13660. with_gnu_ld=no
  13661. @@ -5148,8 +4759,8 @@
  13662. ac_prog=ld
  13663. if test "$GCC" = yes; then
  13664. # Check if gcc -print-prog-name=ld gives a path.
  13665. - { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  13666. -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
  13667. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  13668. +$as_echo_n "checking for ld used by $CC... " >&6; }
  13669. case $host in
  13670. *-*-mingw*)
  13671. # gcc leaves a trailing carriage return which upsets mingw
  13672. @@ -5178,14 +4789,14 @@
  13673. ;;
  13674. esac
  13675. elif test "$with_gnu_ld" = yes; then
  13676. - { echo "$as_me:$LINENO: checking for GNU ld" >&5
  13677. -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
  13678. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  13679. +$as_echo_n "checking for GNU ld... " >&6; }
  13680. else
  13681. - { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  13682. -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
  13683. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  13684. +$as_echo_n "checking for non-GNU ld... " >&6; }
  13685. fi
  13686. -if test "${lt_cv_path_LD+set}" = set; then
  13687. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13688. +if test "${lt_cv_path_LD+set}" = set; then :
  13689. + $as_echo_n "(cached) " >&6
  13690. else
  13691. if test -z "$LD"; then
  13692. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  13693. @@ -5215,19 +4826,17 @@
  13694. LD="$lt_cv_path_LD"
  13695. if test -n "$LD"; then
  13696. - { echo "$as_me:$LINENO: result: $LD" >&5
  13697. -echo "${ECHO_T}$LD" >&6; }
  13698. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  13699. +$as_echo "$LD" >&6; }
  13700. else
  13701. - { echo "$as_me:$LINENO: result: no" >&5
  13702. -echo "${ECHO_T}no" >&6; }
  13703. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13704. +$as_echo "no" >&6; }
  13705. fi
  13706. -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  13707. -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  13708. - { (exit 1); exit 1; }; }
  13709. -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  13710. -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
  13711. -if test "${lt_cv_prog_gnu_ld+set}" = set; then
  13712. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13713. +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  13714. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  13715. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  13716. +if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  13717. + $as_echo_n "(cached) " >&6
  13718. else
  13719. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  13720. case `$LD -v 2>&1 </dev/null` in
  13721. @@ -5239,8 +4848,8 @@
  13722. ;;
  13723. esac
  13724. fi
  13725. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  13726. -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
  13727. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  13728. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  13729. with_gnu_ld=$lt_cv_prog_gnu_ld
  13730. @@ -5251,10 +4860,10 @@
  13731. -{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
  13732. -echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
  13733. -if test "${lt_cv_path_NM+set}" = set; then
  13734. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13735. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  13736. +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  13737. +if test "${lt_cv_path_NM+set}" = set; then :
  13738. + $as_echo_n "(cached) " >&6
  13739. else
  13740. if test -n "$NM"; then
  13741. # Let the user override the test.
  13742. @@ -5300,8 +4909,8 @@
  13743. : ${lt_cv_path_NM=no}
  13744. fi
  13745. fi
  13746. -{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  13747. -echo "${ECHO_T}$lt_cv_path_NM" >&6; }
  13748. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  13749. +$as_echo "$lt_cv_path_NM" >&6; }
  13750. if test "$lt_cv_path_NM" != "no"; then
  13751. NM="$lt_cv_path_NM"
  13752. else
  13753. @@ -5311,10 +4920,10 @@
  13754. do
  13755. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  13756. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  13757. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  13758. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  13759. -if test "${ac_cv_prog_DUMPBIN+set}" = set; then
  13760. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13761. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13762. +$as_echo_n "checking for $ac_word... " >&6; }
  13763. +if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
  13764. + $as_echo_n "(cached) " >&6
  13765. else
  13766. if test -n "$DUMPBIN"; then
  13767. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  13768. @@ -5324,25 +4933,25 @@
  13769. do
  13770. IFS=$as_save_IFS
  13771. test -z "$as_dir" && as_dir=.
  13772. - for ac_exec_ext in '' $ac_executable_extensions; do
  13773. + for ac_exec_ext in '' $ac_executable_extensions; do
  13774. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13775. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  13776. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  13777. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13778. break 2
  13779. fi
  13780. done
  13781. -done
  13782. + done
  13783. IFS=$as_save_IFS
  13784. fi
  13785. fi
  13786. DUMPBIN=$ac_cv_prog_DUMPBIN
  13787. if test -n "$DUMPBIN"; then
  13788. - { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
  13789. -echo "${ECHO_T}$DUMPBIN" >&6; }
  13790. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  13791. +$as_echo "$DUMPBIN" >&6; }
  13792. else
  13793. - { echo "$as_me:$LINENO: result: no" >&5
  13794. -echo "${ECHO_T}no" >&6; }
  13795. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13796. +$as_echo "no" >&6; }
  13797. fi
  13798. @@ -5355,10 +4964,10 @@
  13799. do
  13800. # Extract the first word of "$ac_prog", so it can be a program name with args.
  13801. set dummy $ac_prog; ac_word=$2
  13802. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  13803. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  13804. -if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
  13805. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13806. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13807. +$as_echo_n "checking for $ac_word... " >&6; }
  13808. +if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
  13809. + $as_echo_n "(cached) " >&6
  13810. else
  13811. if test -n "$ac_ct_DUMPBIN"; then
  13812. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  13813. @@ -5368,25 +4977,25 @@
  13814. do
  13815. IFS=$as_save_IFS
  13816. test -z "$as_dir" && as_dir=.
  13817. - for ac_exec_ext in '' $ac_executable_extensions; do
  13818. + for ac_exec_ext in '' $ac_executable_extensions; do
  13819. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13820. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  13821. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  13822. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13823. break 2
  13824. fi
  13825. done
  13826. -done
  13827. + done
  13828. IFS=$as_save_IFS
  13829. fi
  13830. fi
  13831. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  13832. if test -n "$ac_ct_DUMPBIN"; then
  13833. - { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
  13834. -echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
  13835. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  13836. +$as_echo "$ac_ct_DUMPBIN" >&6; }
  13837. else
  13838. - { echo "$as_me:$LINENO: result: no" >&5
  13839. -echo "${ECHO_T}no" >&6; }
  13840. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13841. +$as_echo "no" >&6; }
  13842. fi
  13843. @@ -5398,12 +5007,8 @@
  13844. else
  13845. case $cross_compiling:$ac_tool_warned in
  13846. yes:)
  13847. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  13848. -whose name does not start with the host triplet. If you think this
  13849. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  13850. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  13851. -whose name does not start with the host triplet. If you think this
  13852. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  13853. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13854. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13855. ac_tool_warned=yes ;;
  13856. esac
  13857. DUMPBIN=$ac_ct_DUMPBIN
  13858. @@ -5422,34 +5027,34 @@
  13859. -{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
  13860. -echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
  13861. -if test "${lt_cv_nm_interface+set}" = set; then
  13862. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13863. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  13864. +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  13865. +if test "${lt_cv_nm_interface+set}" = set; then :
  13866. + $as_echo_n "(cached) " >&6
  13867. else
  13868. lt_cv_nm_interface="BSD nm"
  13869. echo "int some_variable = 0;" > conftest.$ac_ext
  13870. - (eval echo "\"\$as_me:5432: $ac_compile\"" >&5)
  13871. + (eval echo "\"\$as_me:5037: $ac_compile\"" >&5)
  13872. (eval "$ac_compile" 2>conftest.err)
  13873. cat conftest.err >&5
  13874. - (eval echo "\"\$as_me:5435: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  13875. + (eval echo "\"\$as_me:5040: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  13876. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  13877. cat conftest.err >&5
  13878. - (eval echo "\"\$as_me:5438: output\"" >&5)
  13879. + (eval echo "\"\$as_me:5043: output\"" >&5)
  13880. cat conftest.out >&5
  13881. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  13882. lt_cv_nm_interface="MS dumpbin"
  13883. fi
  13884. rm -f conftest*
  13885. fi
  13886. -{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
  13887. -echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
  13888. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  13889. +$as_echo "$lt_cv_nm_interface" >&6; }
  13890. # find the maximum length of command line arguments
  13891. -{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  13892. -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
  13893. -if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  13894. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13895. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  13896. +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  13897. +if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
  13898. + $as_echo_n "(cached) " >&6
  13899. else
  13900. i=0
  13901. teststring="ABCD"
  13902. @@ -5470,7 +5075,7 @@
  13903. lt_cv_sys_max_cmd_len=-1;
  13904. ;;
  13905. - cygwin* | mingw*)
  13906. + cygwin* | mingw* | cegcc*)
  13907. # On Win9x/ME, this test blows up -- it succeeds, but takes
  13908. # about 5 minutes as the teststring grows exponentially.
  13909. # Worse, since 9x/ME are not pre-emptively multitasking,
  13910. @@ -5566,11 +5171,11 @@
  13911. fi
  13912. if test -n $lt_cv_sys_max_cmd_len ; then
  13913. - { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  13914. -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
  13915. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  13916. +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  13917. else
  13918. - { echo "$as_me:$LINENO: result: none" >&5
  13919. -echo "${ECHO_T}none" >&6; }
  13920. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  13921. +$as_echo "none" >&6; }
  13922. fi
  13923. max_cmd_len=$lt_cv_sys_max_cmd_len
  13924. @@ -5583,8 +5188,8 @@
  13925. : ${MV="mv -f"}
  13926. : ${RM="rm -f"}
  13927. -{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
  13928. -echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
  13929. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  13930. +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  13931. # Try some XSI features
  13932. xsi_shell=no
  13933. ( _lt_dummy="a/b/c"
  13934. @@ -5593,18 +5198,18 @@
  13935. && eval 'test $(( 1 + 1 )) -eq 2 \
  13936. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  13937. && xsi_shell=yes
  13938. -{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
  13939. -echo "${ECHO_T}$xsi_shell" >&6; }
  13940. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  13941. +$as_echo "$xsi_shell" >&6; }
  13942. -{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
  13943. -echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
  13944. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  13945. +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  13946. lt_shell_append=no
  13947. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  13948. >/dev/null 2>&1 \
  13949. && lt_shell_append=yes
  13950. -{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5
  13951. -echo "${ECHO_T}$lt_shell_append" >&6; }
  13952. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  13953. +$as_echo "$lt_shell_append" >&6; }
  13954. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  13955. @@ -5638,15 +5243,15 @@
  13956. -{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  13957. -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
  13958. -if test "${lt_cv_ld_reload_flag+set}" = set; then
  13959. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13960. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  13961. +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  13962. +if test "${lt_cv_ld_reload_flag+set}" = set; then :
  13963. + $as_echo_n "(cached) " >&6
  13964. else
  13965. lt_cv_ld_reload_flag='-r'
  13966. fi
  13967. -{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  13968. -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
  13969. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  13970. +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  13971. reload_flag=$lt_cv_ld_reload_flag
  13972. case $reload_flag in
  13973. "" | " "*) ;;
  13974. @@ -5671,23 +5276,124 @@
  13975. -
  13976. -{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
  13977. -echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
  13978. -if test "${lt_cv_deplibs_check_method+set}" = set; then
  13979. - echo $ECHO_N "(cached) $ECHO_C" >&6
  13980. +if test -n "$ac_tool_prefix"; then
  13981. + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  13982. +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  13983. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13984. +$as_echo_n "checking for $ac_word... " >&6; }
  13985. +if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  13986. + $as_echo_n "(cached) " >&6
  13987. else
  13988. - lt_cv_file_magic_cmd='$MAGIC_CMD'
  13989. -lt_cv_file_magic_test_file=
  13990. -lt_cv_deplibs_check_method='unknown'
  13991. -# Need to set the preceding variable on all platforms that support
  13992. -# interlibrary dependencies.
  13993. -# 'none' -- dependencies not supported.
  13994. -# `unknown' -- same as none, but documents that we really don't know.
  13995. -# 'pass_all' -- all dependencies passed with no checks.
  13996. -# 'test_compile' -- check by making test program.
  13997. -# 'file_magic [[regex]]' -- check by looking for files in library path
  13998. -# which responds to the $file_magic_cmd with a given extended regex.
  13999. + if test -n "$OBJDUMP"; then
  14000. + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  14001. +else
  14002. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14003. +for as_dir in $PATH
  14004. +do
  14005. + IFS=$as_save_IFS
  14006. + test -z "$as_dir" && as_dir=.
  14007. + for ac_exec_ext in '' $ac_executable_extensions; do
  14008. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14009. + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  14010. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14011. + break 2
  14012. + fi
  14013. +done
  14014. + done
  14015. +IFS=$as_save_IFS
  14016. +
  14017. +fi
  14018. +fi
  14019. +OBJDUMP=$ac_cv_prog_OBJDUMP
  14020. +if test -n "$OBJDUMP"; then
  14021. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  14022. +$as_echo "$OBJDUMP" >&6; }
  14023. +else
  14024. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14025. +$as_echo "no" >&6; }
  14026. +fi
  14027. +
  14028. +
  14029. +fi
  14030. +if test -z "$ac_cv_prog_OBJDUMP"; then
  14031. + ac_ct_OBJDUMP=$OBJDUMP
  14032. + # Extract the first word of "objdump", so it can be a program name with args.
  14033. +set dummy objdump; ac_word=$2
  14034. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14035. +$as_echo_n "checking for $ac_word... " >&6; }
  14036. +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  14037. + $as_echo_n "(cached) " >&6
  14038. +else
  14039. + if test -n "$ac_ct_OBJDUMP"; then
  14040. + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  14041. +else
  14042. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14043. +for as_dir in $PATH
  14044. +do
  14045. + IFS=$as_save_IFS
  14046. + test -z "$as_dir" && as_dir=.
  14047. + for ac_exec_ext in '' $ac_executable_extensions; do
  14048. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14049. + ac_cv_prog_ac_ct_OBJDUMP="objdump"
  14050. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14051. + break 2
  14052. + fi
  14053. +done
  14054. + done
  14055. +IFS=$as_save_IFS
  14056. +
  14057. +fi
  14058. +fi
  14059. +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  14060. +if test -n "$ac_ct_OBJDUMP"; then
  14061. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  14062. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  14063. +else
  14064. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14065. +$as_echo "no" >&6; }
  14066. +fi
  14067. +
  14068. + if test "x$ac_ct_OBJDUMP" = x; then
  14069. + OBJDUMP="false"
  14070. + else
  14071. + case $cross_compiling:$ac_tool_warned in
  14072. +yes:)
  14073. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14074. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14075. +ac_tool_warned=yes ;;
  14076. +esac
  14077. + OBJDUMP=$ac_ct_OBJDUMP
  14078. + fi
  14079. +else
  14080. + OBJDUMP="$ac_cv_prog_OBJDUMP"
  14081. +fi
  14082. +
  14083. +test -z "$OBJDUMP" && OBJDUMP=objdump
  14084. +
  14085. +
  14086. +
  14087. +
  14088. +
  14089. +
  14090. +
  14091. +
  14092. +
  14093. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  14094. +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  14095. +if test "${lt_cv_deplibs_check_method+set}" = set; then :
  14096. + $as_echo_n "(cached) " >&6
  14097. +else
  14098. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  14099. +lt_cv_file_magic_test_file=
  14100. +lt_cv_deplibs_check_method='unknown'
  14101. +# Need to set the preceding variable on all platforms that support
  14102. +# interlibrary dependencies.
  14103. +# 'none' -- dependencies not supported.
  14104. +# `unknown' -- same as none, but documents that we really don't know.
  14105. +# 'pass_all' -- all dependencies passed with no checks.
  14106. +# 'test_compile' -- check by making test program.
  14107. +# 'file_magic [[regex]]' -- check by looking for files in library path
  14108. +# which responds to the $file_magic_cmd with a given extended regex.
  14109. # If you have `file' or equivalent on your system and you're not sure
  14110. # whether `pass_all' will *always* work, you probably want this one.
  14111. @@ -5725,6 +5431,12 @@
  14112. fi
  14113. ;;
  14114. +cegcc)
  14115. + # use the weaker test based on 'objdump'. See mingw*.
  14116. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  14117. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  14118. + ;;
  14119. +
  14120. darwin* | rhapsody*)
  14121. lt_cv_deplibs_check_method=pass_all
  14122. ;;
  14123. @@ -5783,7 +5495,7 @@
  14124. ;;
  14125. # This must be Linux ELF.
  14126. -linux* | k*bsd*-gnu)
  14127. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  14128. lt_cv_deplibs_check_method=pass_all
  14129. ;;
  14130. @@ -5862,8 +5574,8 @@
  14131. esac
  14132. fi
  14133. -{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  14134. -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
  14135. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  14136. +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  14137. file_magic_cmd=$lt_cv_file_magic_cmd
  14138. deplibs_check_method=$lt_cv_deplibs_check_method
  14139. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  14140. @@ -5882,10 +5594,10 @@
  14141. if test -n "$ac_tool_prefix"; then
  14142. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  14143. set dummy ${ac_tool_prefix}ar; ac_word=$2
  14144. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  14145. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  14146. -if test "${ac_cv_prog_AR+set}" = set; then
  14147. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14148. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14149. +$as_echo_n "checking for $ac_word... " >&6; }
  14150. +if test "${ac_cv_prog_AR+set}" = set; then :
  14151. + $as_echo_n "(cached) " >&6
  14152. else
  14153. if test -n "$AR"; then
  14154. ac_cv_prog_AR="$AR" # Let the user override the test.
  14155. @@ -5895,25 +5607,25 @@
  14156. do
  14157. IFS=$as_save_IFS
  14158. test -z "$as_dir" && as_dir=.
  14159. - for ac_exec_ext in '' $ac_executable_extensions; do
  14160. + for ac_exec_ext in '' $ac_executable_extensions; do
  14161. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14162. ac_cv_prog_AR="${ac_tool_prefix}ar"
  14163. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14164. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14165. break 2
  14166. fi
  14167. done
  14168. -done
  14169. + done
  14170. IFS=$as_save_IFS
  14171. fi
  14172. fi
  14173. AR=$ac_cv_prog_AR
  14174. if test -n "$AR"; then
  14175. - { echo "$as_me:$LINENO: result: $AR" >&5
  14176. -echo "${ECHO_T}$AR" >&6; }
  14177. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  14178. +$as_echo "$AR" >&6; }
  14179. else
  14180. - { echo "$as_me:$LINENO: result: no" >&5
  14181. -echo "${ECHO_T}no" >&6; }
  14182. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14183. +$as_echo "no" >&6; }
  14184. fi
  14185. @@ -5922,10 +5634,10 @@
  14186. ac_ct_AR=$AR
  14187. # Extract the first word of "ar", so it can be a program name with args.
  14188. set dummy ar; ac_word=$2
  14189. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  14190. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  14191. -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  14192. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14193. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14194. +$as_echo_n "checking for $ac_word... " >&6; }
  14195. +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  14196. + $as_echo_n "(cached) " >&6
  14197. else
  14198. if test -n "$ac_ct_AR"; then
  14199. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  14200. @@ -5935,25 +5647,25 @@
  14201. do
  14202. IFS=$as_save_IFS
  14203. test -z "$as_dir" && as_dir=.
  14204. - for ac_exec_ext in '' $ac_executable_extensions; do
  14205. + for ac_exec_ext in '' $ac_executable_extensions; do
  14206. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14207. ac_cv_prog_ac_ct_AR="ar"
  14208. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14209. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14210. break 2
  14211. fi
  14212. done
  14213. -done
  14214. + done
  14215. IFS=$as_save_IFS
  14216. fi
  14217. fi
  14218. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  14219. if test -n "$ac_ct_AR"; then
  14220. - { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  14221. -echo "${ECHO_T}$ac_ct_AR" >&6; }
  14222. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  14223. +$as_echo "$ac_ct_AR" >&6; }
  14224. else
  14225. - { echo "$as_me:$LINENO: result: no" >&5
  14226. -echo "${ECHO_T}no" >&6; }
  14227. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14228. +$as_echo "no" >&6; }
  14229. fi
  14230. if test "x$ac_ct_AR" = x; then
  14231. @@ -5961,12 +5673,8 @@
  14232. else
  14233. case $cross_compiling:$ac_tool_warned in
  14234. yes:)
  14235. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  14236. -whose name does not start with the host triplet. If you think this
  14237. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  14238. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  14239. -whose name does not start with the host triplet. If you think this
  14240. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  14241. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14242. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14243. ac_tool_warned=yes ;;
  14244. esac
  14245. AR=$ac_ct_AR
  14246. @@ -5991,10 +5699,10 @@
  14247. if test -n "$ac_tool_prefix"; then
  14248. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  14249. set dummy ${ac_tool_prefix}strip; ac_word=$2
  14250. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  14251. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  14252. -if test "${ac_cv_prog_STRIP+set}" = set; then
  14253. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14254. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14255. +$as_echo_n "checking for $ac_word... " >&6; }
  14256. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  14257. + $as_echo_n "(cached) " >&6
  14258. else
  14259. if test -n "$STRIP"; then
  14260. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  14261. @@ -6004,25 +5712,25 @@
  14262. do
  14263. IFS=$as_save_IFS
  14264. test -z "$as_dir" && as_dir=.
  14265. - for ac_exec_ext in '' $ac_executable_extensions; do
  14266. + for ac_exec_ext in '' $ac_executable_extensions; do
  14267. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14268. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  14269. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14270. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14271. break 2
  14272. fi
  14273. done
  14274. -done
  14275. + done
  14276. IFS=$as_save_IFS
  14277. fi
  14278. fi
  14279. STRIP=$ac_cv_prog_STRIP
  14280. if test -n "$STRIP"; then
  14281. - { echo "$as_me:$LINENO: result: $STRIP" >&5
  14282. -echo "${ECHO_T}$STRIP" >&6; }
  14283. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  14284. +$as_echo "$STRIP" >&6; }
  14285. else
  14286. - { echo "$as_me:$LINENO: result: no" >&5
  14287. -echo "${ECHO_T}no" >&6; }
  14288. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14289. +$as_echo "no" >&6; }
  14290. fi
  14291. @@ -6031,10 +5739,10 @@
  14292. ac_ct_STRIP=$STRIP
  14293. # Extract the first word of "strip", so it can be a program name with args.
  14294. set dummy strip; ac_word=$2
  14295. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  14296. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  14297. -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  14298. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14299. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14300. +$as_echo_n "checking for $ac_word... " >&6; }
  14301. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  14302. + $as_echo_n "(cached) " >&6
  14303. else
  14304. if test -n "$ac_ct_STRIP"; then
  14305. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  14306. @@ -6044,25 +5752,25 @@
  14307. do
  14308. IFS=$as_save_IFS
  14309. test -z "$as_dir" && as_dir=.
  14310. - for ac_exec_ext in '' $ac_executable_extensions; do
  14311. + for ac_exec_ext in '' $ac_executable_extensions; do
  14312. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14313. ac_cv_prog_ac_ct_STRIP="strip"
  14314. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14315. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14316. break 2
  14317. fi
  14318. done
  14319. -done
  14320. + done
  14321. IFS=$as_save_IFS
  14322. fi
  14323. fi
  14324. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  14325. if test -n "$ac_ct_STRIP"; then
  14326. - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  14327. -echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  14328. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  14329. +$as_echo "$ac_ct_STRIP" >&6; }
  14330. else
  14331. - { echo "$as_me:$LINENO: result: no" >&5
  14332. -echo "${ECHO_T}no" >&6; }
  14333. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14334. +$as_echo "no" >&6; }
  14335. fi
  14336. if test "x$ac_ct_STRIP" = x; then
  14337. @@ -6070,12 +5778,8 @@
  14338. else
  14339. case $cross_compiling:$ac_tool_warned in
  14340. yes:)
  14341. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  14342. -whose name does not start with the host triplet. If you think this
  14343. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  14344. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  14345. -whose name does not start with the host triplet. If you think this
  14346. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  14347. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14348. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14349. ac_tool_warned=yes ;;
  14350. esac
  14351. STRIP=$ac_ct_STRIP
  14352. @@ -6094,10 +5798,10 @@
  14353. if test -n "$ac_tool_prefix"; then
  14354. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  14355. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  14356. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  14357. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  14358. -if test "${ac_cv_prog_RANLIB+set}" = set; then
  14359. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14360. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14361. +$as_echo_n "checking for $ac_word... " >&6; }
  14362. +if test "${ac_cv_prog_RANLIB+set}" = set; then :
  14363. + $as_echo_n "(cached) " >&6
  14364. else
  14365. if test -n "$RANLIB"; then
  14366. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  14367. @@ -6107,25 +5811,25 @@
  14368. do
  14369. IFS=$as_save_IFS
  14370. test -z "$as_dir" && as_dir=.
  14371. - for ac_exec_ext in '' $ac_executable_extensions; do
  14372. + for ac_exec_ext in '' $ac_executable_extensions; do
  14373. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14374. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  14375. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14376. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14377. break 2
  14378. fi
  14379. done
  14380. -done
  14381. + done
  14382. IFS=$as_save_IFS
  14383. fi
  14384. fi
  14385. RANLIB=$ac_cv_prog_RANLIB
  14386. if test -n "$RANLIB"; then
  14387. - { echo "$as_me:$LINENO: result: $RANLIB" >&5
  14388. -echo "${ECHO_T}$RANLIB" >&6; }
  14389. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  14390. +$as_echo "$RANLIB" >&6; }
  14391. else
  14392. - { echo "$as_me:$LINENO: result: no" >&5
  14393. -echo "${ECHO_T}no" >&6; }
  14394. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14395. +$as_echo "no" >&6; }
  14396. fi
  14397. @@ -6134,10 +5838,10 @@
  14398. ac_ct_RANLIB=$RANLIB
  14399. # Extract the first word of "ranlib", so it can be a program name with args.
  14400. set dummy ranlib; ac_word=$2
  14401. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  14402. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  14403. -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  14404. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14405. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14406. +$as_echo_n "checking for $ac_word... " >&6; }
  14407. +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  14408. + $as_echo_n "(cached) " >&6
  14409. else
  14410. if test -n "$ac_ct_RANLIB"; then
  14411. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  14412. @@ -6147,25 +5851,25 @@
  14413. do
  14414. IFS=$as_save_IFS
  14415. test -z "$as_dir" && as_dir=.
  14416. - for ac_exec_ext in '' $ac_executable_extensions; do
  14417. + for ac_exec_ext in '' $ac_executable_extensions; do
  14418. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14419. ac_cv_prog_ac_ct_RANLIB="ranlib"
  14420. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14421. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14422. break 2
  14423. fi
  14424. done
  14425. -done
  14426. + done
  14427. IFS=$as_save_IFS
  14428. fi
  14429. fi
  14430. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  14431. if test -n "$ac_ct_RANLIB"; then
  14432. - { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  14433. -echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
  14434. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  14435. +$as_echo "$ac_ct_RANLIB" >&6; }
  14436. else
  14437. - { echo "$as_me:$LINENO: result: no" >&5
  14438. -echo "${ECHO_T}no" >&6; }
  14439. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14440. +$as_echo "no" >&6; }
  14441. fi
  14442. if test "x$ac_ct_RANLIB" = x; then
  14443. @@ -6173,12 +5877,8 @@
  14444. else
  14445. case $cross_compiling:$ac_tool_warned in
  14446. yes:)
  14447. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  14448. -whose name does not start with the host triplet. If you think this
  14449. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  14450. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  14451. -whose name does not start with the host triplet. If you think this
  14452. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  14453. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14454. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14455. ac_tool_warned=yes ;;
  14456. esac
  14457. RANLIB=$ac_ct_RANLIB
  14458. @@ -6255,10 +5955,10 @@
  14459. # Check for command to grab the raw symbol name followed by C symbol from nm.
  14460. -{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  14461. -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
  14462. -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  14463. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14464. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  14465. +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  14466. +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
  14467. + $as_echo_n "(cached) " >&6
  14468. else
  14469. # These are sane defaults that work on at least a few old systems.
  14470. @@ -6275,7 +5975,7 @@
  14471. aix*)
  14472. symcode='[BCDT]'
  14473. ;;
  14474. -cygwin* | mingw* | pw32*)
  14475. +cygwin* | mingw* | pw32* | cegcc*)
  14476. symcode='[ABCDGISTW]'
  14477. ;;
  14478. hpux*)
  14479. @@ -6373,18 +6073,18 @@
  14480. int main(){nm_test_var='a';nm_test_func();return(0);}
  14481. _LT_EOF
  14482. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14483. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  14484. (eval $ac_compile) 2>&5
  14485. ac_status=$?
  14486. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14487. - (exit $ac_status); }; then
  14488. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14489. + test $ac_status = 0; }; then
  14490. # Now try to grab the symbols.
  14491. nlist=conftest.nm
  14492. - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  14493. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
  14494. (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  14495. ac_status=$?
  14496. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14497. - (exit $ac_status); } && test -s "$nlist"; then
  14498. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14499. + test $ac_status = 0; } && test -s "$nlist"; then
  14500. # Try sorting and uniquifying the output.
  14501. if sort "$nlist" | uniq > "$nlist"T; then
  14502. mv -f "$nlist"T "$nlist"
  14503. @@ -6437,11 +6137,11 @@
  14504. lt_save_CFLAGS="$CFLAGS"
  14505. LIBS="conftstm.$ac_objext"
  14506. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  14507. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14508. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  14509. (eval $ac_link) 2>&5
  14510. ac_status=$?
  14511. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14512. - (exit $ac_status); } && test -s conftest${ac_exeext}; then
  14513. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14514. + test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  14515. pipe_works=yes
  14516. fi
  14517. LIBS="$lt_save_LIBS"
  14518. @@ -6475,11 +6175,11 @@
  14519. lt_cv_sys_global_symbol_to_cdecl=
  14520. fi
  14521. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  14522. - { echo "$as_me:$LINENO: result: failed" >&5
  14523. -echo "${ECHO_T}failed" >&6; }
  14524. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  14525. +$as_echo "failed" >&6; }
  14526. else
  14527. - { echo "$as_me:$LINENO: result: ok" >&5
  14528. -echo "${ECHO_T}ok" >&6; }
  14529. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  14530. +$as_echo "ok" >&6; }
  14531. fi
  14532. @@ -6503,8 +6203,9 @@
  14533. +
  14534. # Check whether --enable-libtool-lock was given.
  14535. -if test "${enable_libtool_lock+set}" = set; then
  14536. +if test "${enable_libtool_lock+set}" = set; then :
  14537. enableval=$enable_libtool_lock;
  14538. fi
  14539. @@ -6516,11 +6217,11 @@
  14540. ia64-*-hpux*)
  14541. # Find out which ABI we are using.
  14542. echo 'int i;' > conftest.$ac_ext
  14543. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14544. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  14545. (eval $ac_compile) 2>&5
  14546. ac_status=$?
  14547. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14548. - (exit $ac_status); }; then
  14549. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14550. + test $ac_status = 0; }; then
  14551. case `/usr/bin/file conftest.$ac_objext` in
  14552. *ELF-32*)
  14553. HPUX_IA64_MODE="32"
  14554. @@ -6534,12 +6235,12 @@
  14555. ;;
  14556. *-*-irix6*)
  14557. # Find out which ABI we are using.
  14558. - echo '#line 6537 "configure"' > conftest.$ac_ext
  14559. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14560. + echo '#line 6238 "configure"' > conftest.$ac_ext
  14561. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  14562. (eval $ac_compile) 2>&5
  14563. ac_status=$?
  14564. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14565. - (exit $ac_status); }; then
  14566. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14567. + test $ac_status = 0; }; then
  14568. if test "$lt_cv_prog_gnu_ld" = yes; then
  14569. case `/usr/bin/file conftest.$ac_objext` in
  14570. *32-bit*)
  14571. @@ -6573,11 +6274,11 @@
  14572. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  14573. # Find out which ABI we are using.
  14574. echo 'int i;' > conftest.$ac_ext
  14575. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14576. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  14577. (eval $ac_compile) 2>&5
  14578. ac_status=$?
  14579. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14580. - (exit $ac_status); }; then
  14581. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14582. + test $ac_status = 0; }; then
  14583. case `/usr/bin/file conftest.o` in
  14584. *32-bit*)
  14585. case $host in
  14586. @@ -6626,10 +6327,10 @@
  14587. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  14588. SAVE_CFLAGS="$CFLAGS"
  14589. CFLAGS="$CFLAGS -belf"
  14590. - { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  14591. -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
  14592. -if test "${lt_cv_cc_needs_belf+set}" = set; then
  14593. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14594. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  14595. +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  14596. +if test "${lt_cv_cc_needs_belf+set}" = set; then :
  14597. + $as_echo_n "(cached) " >&6
  14598. else
  14599. ac_ext=c
  14600. ac_cpp='$CPP $CPPFLAGS'
  14601. @@ -6637,11 +6338,7 @@
  14602. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14603. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14604. - cat >conftest.$ac_ext <<_ACEOF
  14605. -/* confdefs.h. */
  14606. -_ACEOF
  14607. -cat confdefs.h >>conftest.$ac_ext
  14608. -cat >>conftest.$ac_ext <<_ACEOF
  14609. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14610. /* end confdefs.h. */
  14611. int
  14612. @@ -6652,34 +6349,13 @@
  14613. return 0;
  14614. }
  14615. _ACEOF
  14616. -rm -f conftest.$ac_objext conftest$ac_exeext
  14617. -if { (ac_try="$ac_link"
  14618. -case "(($ac_try" in
  14619. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14620. - *) ac_try_echo=$ac_try;;
  14621. -esac
  14622. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  14623. - (eval "$ac_link") 2>conftest.er1
  14624. - ac_status=$?
  14625. - grep -v '^ *+' conftest.er1 >conftest.err
  14626. - rm -f conftest.er1
  14627. - cat conftest.err >&5
  14628. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14629. - (exit $ac_status); } && {
  14630. - test -z "$ac_c_werror_flag" ||
  14631. - test ! -s conftest.err
  14632. - } && test -s conftest$ac_exeext &&
  14633. - $as_test_x conftest$ac_exeext; then
  14634. +if ac_fn_c_try_link "$LINENO"; then :
  14635. lt_cv_cc_needs_belf=yes
  14636. else
  14637. - echo "$as_me: failed program was:" >&5
  14638. -sed 's/^/| /' conftest.$ac_ext >&5
  14639. -
  14640. - lt_cv_cc_needs_belf=no
  14641. + lt_cv_cc_needs_belf=no
  14642. fi
  14643. -
  14644. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14645. - conftest$ac_exeext conftest.$ac_ext
  14646. +rm -f core conftest.err conftest.$ac_objext \
  14647. + conftest$ac_exeext conftest.$ac_ext
  14648. ac_ext=c
  14649. ac_cpp='$CPP $CPPFLAGS'
  14650. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14651. @@ -6687,8 +6363,8 @@
  14652. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14653. fi
  14654. -{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  14655. -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
  14656. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  14657. +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  14658. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  14659. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  14660. CFLAGS="$SAVE_CFLAGS"
  14661. @@ -6697,11 +6373,11 @@
  14662. sparc*-*solaris*)
  14663. # Find out which ABI we are using.
  14664. echo 'int i;' > conftest.$ac_ext
  14665. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14666. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  14667. (eval $ac_compile) 2>&5
  14668. ac_status=$?
  14669. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14670. - (exit $ac_status); }; then
  14671. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14672. + test $ac_status = 0; }; then
  14673. case `/usr/bin/file conftest.o` in
  14674. *64-bit*)
  14675. case $lt_cv_prog_gnu_ld in
  14676. @@ -6727,10 +6403,10 @@
  14677. if test -n "$ac_tool_prefix"; then
  14678. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  14679. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  14680. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  14681. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  14682. -if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
  14683. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14684. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14685. +$as_echo_n "checking for $ac_word... " >&6; }
  14686. +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
  14687. + $as_echo_n "(cached) " >&6
  14688. else
  14689. if test -n "$DSYMUTIL"; then
  14690. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  14691. @@ -6740,25 +6416,25 @@
  14692. do
  14693. IFS=$as_save_IFS
  14694. test -z "$as_dir" && as_dir=.
  14695. - for ac_exec_ext in '' $ac_executable_extensions; do
  14696. + for ac_exec_ext in '' $ac_executable_extensions; do
  14697. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14698. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  14699. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14700. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14701. break 2
  14702. fi
  14703. done
  14704. -done
  14705. + done
  14706. IFS=$as_save_IFS
  14707. fi
  14708. fi
  14709. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  14710. if test -n "$DSYMUTIL"; then
  14711. - { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
  14712. -echo "${ECHO_T}$DSYMUTIL" >&6; }
  14713. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  14714. +$as_echo "$DSYMUTIL" >&6; }
  14715. else
  14716. - { echo "$as_me:$LINENO: result: no" >&5
  14717. -echo "${ECHO_T}no" >&6; }
  14718. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14719. +$as_echo "no" >&6; }
  14720. fi
  14721. @@ -6767,10 +6443,10 @@
  14722. ac_ct_DSYMUTIL=$DSYMUTIL
  14723. # Extract the first word of "dsymutil", so it can be a program name with args.
  14724. set dummy dsymutil; ac_word=$2
  14725. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  14726. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  14727. -if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
  14728. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14729. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14730. +$as_echo_n "checking for $ac_word... " >&6; }
  14731. +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
  14732. + $as_echo_n "(cached) " >&6
  14733. else
  14734. if test -n "$ac_ct_DSYMUTIL"; then
  14735. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  14736. @@ -6780,25 +6456,25 @@
  14737. do
  14738. IFS=$as_save_IFS
  14739. test -z "$as_dir" && as_dir=.
  14740. - for ac_exec_ext in '' $ac_executable_extensions; do
  14741. + for ac_exec_ext in '' $ac_executable_extensions; do
  14742. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14743. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  14744. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14745. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14746. break 2
  14747. fi
  14748. done
  14749. -done
  14750. + done
  14751. IFS=$as_save_IFS
  14752. fi
  14753. fi
  14754. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  14755. if test -n "$ac_ct_DSYMUTIL"; then
  14756. - { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
  14757. -echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
  14758. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  14759. +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  14760. else
  14761. - { echo "$as_me:$LINENO: result: no" >&5
  14762. -echo "${ECHO_T}no" >&6; }
  14763. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14764. +$as_echo "no" >&6; }
  14765. fi
  14766. if test "x$ac_ct_DSYMUTIL" = x; then
  14767. @@ -6806,12 +6482,8 @@
  14768. else
  14769. case $cross_compiling:$ac_tool_warned in
  14770. yes:)
  14771. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  14772. -whose name does not start with the host triplet. If you think this
  14773. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  14774. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  14775. -whose name does not start with the host triplet. If you think this
  14776. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  14777. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14778. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14779. ac_tool_warned=yes ;;
  14780. esac
  14781. DSYMUTIL=$ac_ct_DSYMUTIL
  14782. @@ -6823,10 +6495,10 @@
  14783. if test -n "$ac_tool_prefix"; then
  14784. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  14785. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  14786. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  14787. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  14788. -if test "${ac_cv_prog_NMEDIT+set}" = set; then
  14789. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14790. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14791. +$as_echo_n "checking for $ac_word... " >&6; }
  14792. +if test "${ac_cv_prog_NMEDIT+set}" = set; then :
  14793. + $as_echo_n "(cached) " >&6
  14794. else
  14795. if test -n "$NMEDIT"; then
  14796. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  14797. @@ -6836,25 +6508,25 @@
  14798. do
  14799. IFS=$as_save_IFS
  14800. test -z "$as_dir" && as_dir=.
  14801. - for ac_exec_ext in '' $ac_executable_extensions; do
  14802. + for ac_exec_ext in '' $ac_executable_extensions; do
  14803. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14804. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  14805. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14806. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14807. break 2
  14808. fi
  14809. done
  14810. -done
  14811. + done
  14812. IFS=$as_save_IFS
  14813. fi
  14814. fi
  14815. NMEDIT=$ac_cv_prog_NMEDIT
  14816. if test -n "$NMEDIT"; then
  14817. - { echo "$as_me:$LINENO: result: $NMEDIT" >&5
  14818. -echo "${ECHO_T}$NMEDIT" >&6; }
  14819. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  14820. +$as_echo "$NMEDIT" >&6; }
  14821. else
  14822. - { echo "$as_me:$LINENO: result: no" >&5
  14823. -echo "${ECHO_T}no" >&6; }
  14824. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14825. +$as_echo "no" >&6; }
  14826. fi
  14827. @@ -6863,10 +6535,10 @@
  14828. ac_ct_NMEDIT=$NMEDIT
  14829. # Extract the first word of "nmedit", so it can be a program name with args.
  14830. set dummy nmedit; ac_word=$2
  14831. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  14832. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  14833. -if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
  14834. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14835. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14836. +$as_echo_n "checking for $ac_word... " >&6; }
  14837. +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
  14838. + $as_echo_n "(cached) " >&6
  14839. else
  14840. if test -n "$ac_ct_NMEDIT"; then
  14841. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  14842. @@ -6876,25 +6548,25 @@
  14843. do
  14844. IFS=$as_save_IFS
  14845. test -z "$as_dir" && as_dir=.
  14846. - for ac_exec_ext in '' $ac_executable_extensions; do
  14847. + for ac_exec_ext in '' $ac_executable_extensions; do
  14848. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14849. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  14850. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14851. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14852. break 2
  14853. fi
  14854. done
  14855. -done
  14856. + done
  14857. IFS=$as_save_IFS
  14858. fi
  14859. fi
  14860. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  14861. if test -n "$ac_ct_NMEDIT"; then
  14862. - { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
  14863. -echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
  14864. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  14865. +$as_echo "$ac_ct_NMEDIT" >&6; }
  14866. else
  14867. - { echo "$as_me:$LINENO: result: no" >&5
  14868. -echo "${ECHO_T}no" >&6; }
  14869. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14870. +$as_echo "no" >&6; }
  14871. fi
  14872. if test "x$ac_ct_NMEDIT" = x; then
  14873. @@ -6902,12 +6574,8 @@
  14874. else
  14875. case $cross_compiling:$ac_tool_warned in
  14876. yes:)
  14877. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  14878. -whose name does not start with the host triplet. If you think this
  14879. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  14880. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  14881. -whose name does not start with the host triplet. If you think this
  14882. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  14883. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14884. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14885. ac_tool_warned=yes ;;
  14886. esac
  14887. NMEDIT=$ac_ct_NMEDIT
  14888. @@ -6919,10 +6587,10 @@
  14889. if test -n "$ac_tool_prefix"; then
  14890. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  14891. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  14892. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  14893. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  14894. -if test "${ac_cv_prog_LIPO+set}" = set; then
  14895. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14896. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14897. +$as_echo_n "checking for $ac_word... " >&6; }
  14898. +if test "${ac_cv_prog_LIPO+set}" = set; then :
  14899. + $as_echo_n "(cached) " >&6
  14900. else
  14901. if test -n "$LIPO"; then
  14902. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  14903. @@ -6932,25 +6600,25 @@
  14904. do
  14905. IFS=$as_save_IFS
  14906. test -z "$as_dir" && as_dir=.
  14907. - for ac_exec_ext in '' $ac_executable_extensions; do
  14908. + for ac_exec_ext in '' $ac_executable_extensions; do
  14909. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14910. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  14911. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14912. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14913. break 2
  14914. fi
  14915. done
  14916. -done
  14917. + done
  14918. IFS=$as_save_IFS
  14919. fi
  14920. fi
  14921. LIPO=$ac_cv_prog_LIPO
  14922. if test -n "$LIPO"; then
  14923. - { echo "$as_me:$LINENO: result: $LIPO" >&5
  14924. -echo "${ECHO_T}$LIPO" >&6; }
  14925. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  14926. +$as_echo "$LIPO" >&6; }
  14927. else
  14928. - { echo "$as_me:$LINENO: result: no" >&5
  14929. -echo "${ECHO_T}no" >&6; }
  14930. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14931. +$as_echo "no" >&6; }
  14932. fi
  14933. @@ -6959,10 +6627,10 @@
  14934. ac_ct_LIPO=$LIPO
  14935. # Extract the first word of "lipo", so it can be a program name with args.
  14936. set dummy lipo; ac_word=$2
  14937. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  14938. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  14939. -if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
  14940. - echo $ECHO_N "(cached) $ECHO_C" >&6
  14941. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14942. +$as_echo_n "checking for $ac_word... " >&6; }
  14943. +if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
  14944. + $as_echo_n "(cached) " >&6
  14945. else
  14946. if test -n "$ac_ct_LIPO"; then
  14947. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  14948. @@ -6972,25 +6640,25 @@
  14949. do
  14950. IFS=$as_save_IFS
  14951. test -z "$as_dir" && as_dir=.
  14952. - for ac_exec_ext in '' $ac_executable_extensions; do
  14953. + for ac_exec_ext in '' $ac_executable_extensions; do
  14954. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14955. ac_cv_prog_ac_ct_LIPO="lipo"
  14956. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14957. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14958. break 2
  14959. fi
  14960. done
  14961. -done
  14962. + done
  14963. IFS=$as_save_IFS
  14964. fi
  14965. fi
  14966. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  14967. if test -n "$ac_ct_LIPO"; then
  14968. - { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
  14969. -echo "${ECHO_T}$ac_ct_LIPO" >&6; }
  14970. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  14971. +$as_echo "$ac_ct_LIPO" >&6; }
  14972. else
  14973. - { echo "$as_me:$LINENO: result: no" >&5
  14974. -echo "${ECHO_T}no" >&6; }
  14975. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14976. +$as_echo "no" >&6; }
  14977. fi
  14978. if test "x$ac_ct_LIPO" = x; then
  14979. @@ -6998,12 +6666,8 @@
  14980. else
  14981. case $cross_compiling:$ac_tool_warned in
  14982. yes:)
  14983. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  14984. -whose name does not start with the host triplet. If you think this
  14985. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  14986. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  14987. -whose name does not start with the host triplet. If you think this
  14988. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  14989. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14990. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14991. ac_tool_warned=yes ;;
  14992. esac
  14993. LIPO=$ac_ct_LIPO
  14994. @@ -7015,10 +6679,10 @@
  14995. if test -n "$ac_tool_prefix"; then
  14996. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  14997. set dummy ${ac_tool_prefix}otool; ac_word=$2
  14998. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  14999. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  15000. -if test "${ac_cv_prog_OTOOL+set}" = set; then
  15001. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15002. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15003. +$as_echo_n "checking for $ac_word... " >&6; }
  15004. +if test "${ac_cv_prog_OTOOL+set}" = set; then :
  15005. + $as_echo_n "(cached) " >&6
  15006. else
  15007. if test -n "$OTOOL"; then
  15008. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  15009. @@ -7028,25 +6692,25 @@
  15010. do
  15011. IFS=$as_save_IFS
  15012. test -z "$as_dir" && as_dir=.
  15013. - for ac_exec_ext in '' $ac_executable_extensions; do
  15014. + for ac_exec_ext in '' $ac_executable_extensions; do
  15015. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  15016. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  15017. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  15018. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15019. break 2
  15020. fi
  15021. done
  15022. -done
  15023. + done
  15024. IFS=$as_save_IFS
  15025. fi
  15026. fi
  15027. OTOOL=$ac_cv_prog_OTOOL
  15028. if test -n "$OTOOL"; then
  15029. - { echo "$as_me:$LINENO: result: $OTOOL" >&5
  15030. -echo "${ECHO_T}$OTOOL" >&6; }
  15031. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  15032. +$as_echo "$OTOOL" >&6; }
  15033. else
  15034. - { echo "$as_me:$LINENO: result: no" >&5
  15035. -echo "${ECHO_T}no" >&6; }
  15036. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15037. +$as_echo "no" >&6; }
  15038. fi
  15039. @@ -7055,10 +6719,10 @@
  15040. ac_ct_OTOOL=$OTOOL
  15041. # Extract the first word of "otool", so it can be a program name with args.
  15042. set dummy otool; ac_word=$2
  15043. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  15044. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  15045. -if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
  15046. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15047. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15048. +$as_echo_n "checking for $ac_word... " >&6; }
  15049. +if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
  15050. + $as_echo_n "(cached) " >&6
  15051. else
  15052. if test -n "$ac_ct_OTOOL"; then
  15053. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  15054. @@ -7068,25 +6732,25 @@
  15055. do
  15056. IFS=$as_save_IFS
  15057. test -z "$as_dir" && as_dir=.
  15058. - for ac_exec_ext in '' $ac_executable_extensions; do
  15059. + for ac_exec_ext in '' $ac_executable_extensions; do
  15060. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  15061. ac_cv_prog_ac_ct_OTOOL="otool"
  15062. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  15063. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15064. break 2
  15065. fi
  15066. done
  15067. -done
  15068. + done
  15069. IFS=$as_save_IFS
  15070. fi
  15071. fi
  15072. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  15073. if test -n "$ac_ct_OTOOL"; then
  15074. - { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
  15075. -echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
  15076. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  15077. +$as_echo "$ac_ct_OTOOL" >&6; }
  15078. else
  15079. - { echo "$as_me:$LINENO: result: no" >&5
  15080. -echo "${ECHO_T}no" >&6; }
  15081. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15082. +$as_echo "no" >&6; }
  15083. fi
  15084. if test "x$ac_ct_OTOOL" = x; then
  15085. @@ -7094,12 +6758,8 @@
  15086. else
  15087. case $cross_compiling:$ac_tool_warned in
  15088. yes:)
  15089. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  15090. -whose name does not start with the host triplet. If you think this
  15091. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  15092. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  15093. -whose name does not start with the host triplet. If you think this
  15094. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  15095. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  15096. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  15097. ac_tool_warned=yes ;;
  15098. esac
  15099. OTOOL=$ac_ct_OTOOL
  15100. @@ -7111,10 +6771,10 @@
  15101. if test -n "$ac_tool_prefix"; then
  15102. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  15103. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  15104. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  15105. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  15106. -if test "${ac_cv_prog_OTOOL64+set}" = set; then
  15107. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15108. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15109. +$as_echo_n "checking for $ac_word... " >&6; }
  15110. +if test "${ac_cv_prog_OTOOL64+set}" = set; then :
  15111. + $as_echo_n "(cached) " >&6
  15112. else
  15113. if test -n "$OTOOL64"; then
  15114. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  15115. @@ -7124,25 +6784,25 @@
  15116. do
  15117. IFS=$as_save_IFS
  15118. test -z "$as_dir" && as_dir=.
  15119. - for ac_exec_ext in '' $ac_executable_extensions; do
  15120. + for ac_exec_ext in '' $ac_executable_extensions; do
  15121. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  15122. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  15123. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  15124. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15125. break 2
  15126. fi
  15127. done
  15128. -done
  15129. + done
  15130. IFS=$as_save_IFS
  15131. fi
  15132. fi
  15133. OTOOL64=$ac_cv_prog_OTOOL64
  15134. if test -n "$OTOOL64"; then
  15135. - { echo "$as_me:$LINENO: result: $OTOOL64" >&5
  15136. -echo "${ECHO_T}$OTOOL64" >&6; }
  15137. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  15138. +$as_echo "$OTOOL64" >&6; }
  15139. else
  15140. - { echo "$as_me:$LINENO: result: no" >&5
  15141. -echo "${ECHO_T}no" >&6; }
  15142. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15143. +$as_echo "no" >&6; }
  15144. fi
  15145. @@ -7151,10 +6811,10 @@
  15146. ac_ct_OTOOL64=$OTOOL64
  15147. # Extract the first word of "otool64", so it can be a program name with args.
  15148. set dummy otool64; ac_word=$2
  15149. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  15150. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  15151. -if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
  15152. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15153. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15154. +$as_echo_n "checking for $ac_word... " >&6; }
  15155. +if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
  15156. + $as_echo_n "(cached) " >&6
  15157. else
  15158. if test -n "$ac_ct_OTOOL64"; then
  15159. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  15160. @@ -7164,25 +6824,25 @@
  15161. do
  15162. IFS=$as_save_IFS
  15163. test -z "$as_dir" && as_dir=.
  15164. - for ac_exec_ext in '' $ac_executable_extensions; do
  15165. + for ac_exec_ext in '' $ac_executable_extensions; do
  15166. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  15167. ac_cv_prog_ac_ct_OTOOL64="otool64"
  15168. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  15169. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15170. break 2
  15171. fi
  15172. done
  15173. -done
  15174. + done
  15175. IFS=$as_save_IFS
  15176. fi
  15177. fi
  15178. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  15179. if test -n "$ac_ct_OTOOL64"; then
  15180. - { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
  15181. -echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
  15182. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  15183. +$as_echo "$ac_ct_OTOOL64" >&6; }
  15184. else
  15185. - { echo "$as_me:$LINENO: result: no" >&5
  15186. -echo "${ECHO_T}no" >&6; }
  15187. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15188. +$as_echo "no" >&6; }
  15189. fi
  15190. if test "x$ac_ct_OTOOL64" = x; then
  15191. @@ -7190,12 +6850,8 @@
  15192. else
  15193. case $cross_compiling:$ac_tool_warned in
  15194. yes:)
  15195. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  15196. -whose name does not start with the host triplet. If you think this
  15197. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  15198. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  15199. -whose name does not start with the host triplet. If you think this
  15200. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  15201. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  15202. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  15203. ac_tool_warned=yes ;;
  15204. esac
  15205. OTOOL64=$ac_ct_OTOOL64
  15206. @@ -7230,10 +6886,10 @@
  15207. - { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
  15208. -echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
  15209. -if test "${lt_cv_apple_cc_single_mod+set}" = set; then
  15210. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15211. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  15212. +$as_echo_n "checking for -single_module linker flag... " >&6; }
  15213. +if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
  15214. + $as_echo_n "(cached) " >&6
  15215. else
  15216. lt_cv_apple_cc_single_mod=no
  15217. if test -z "${LT_MULTI_MODULE}"; then
  15218. @@ -7257,22 +6913,18 @@
  15219. rm -f conftest.*
  15220. fi
  15221. fi
  15222. -{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
  15223. -echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
  15224. - { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
  15225. -echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
  15226. -if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
  15227. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15228. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  15229. +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  15230. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  15231. +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  15232. +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
  15233. + $as_echo_n "(cached) " >&6
  15234. else
  15235. lt_cv_ld_exported_symbols_list=no
  15236. save_LDFLAGS=$LDFLAGS
  15237. echo "_main" > conftest.sym
  15238. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  15239. - cat >conftest.$ac_ext <<_ACEOF
  15240. -/* confdefs.h. */
  15241. -_ACEOF
  15242. -cat confdefs.h >>conftest.$ac_ext
  15243. -cat >>conftest.$ac_ext <<_ACEOF
  15244. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15245. /* end confdefs.h. */
  15246. int
  15247. @@ -7283,39 +6935,18 @@
  15248. return 0;
  15249. }
  15250. _ACEOF
  15251. -rm -f conftest.$ac_objext conftest$ac_exeext
  15252. -if { (ac_try="$ac_link"
  15253. -case "(($ac_try" in
  15254. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15255. - *) ac_try_echo=$ac_try;;
  15256. -esac
  15257. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15258. - (eval "$ac_link") 2>conftest.er1
  15259. - ac_status=$?
  15260. - grep -v '^ *+' conftest.er1 >conftest.err
  15261. - rm -f conftest.er1
  15262. - cat conftest.err >&5
  15263. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15264. - (exit $ac_status); } && {
  15265. - test -z "$ac_c_werror_flag" ||
  15266. - test ! -s conftest.err
  15267. - } && test -s conftest$ac_exeext &&
  15268. - $as_test_x conftest$ac_exeext; then
  15269. +if ac_fn_c_try_link "$LINENO"; then :
  15270. lt_cv_ld_exported_symbols_list=yes
  15271. else
  15272. - echo "$as_me: failed program was:" >&5
  15273. -sed 's/^/| /' conftest.$ac_ext >&5
  15274. -
  15275. - lt_cv_ld_exported_symbols_list=no
  15276. + lt_cv_ld_exported_symbols_list=no
  15277. fi
  15278. -
  15279. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15280. - conftest$ac_exeext conftest.$ac_ext
  15281. +rm -f core conftest.err conftest.$ac_objext \
  15282. + conftest$ac_exeext conftest.$ac_ext
  15283. LDFLAGS="$save_LDFLAGS"
  15284. fi
  15285. -{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
  15286. -echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
  15287. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  15288. +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  15289. case $host_os in
  15290. rhapsody* | darwin1.[012])
  15291. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  15292. @@ -7351,78 +6982,301 @@
  15293. ;;
  15294. esac
  15295. -
  15296. -for ac_header in dlfcn.h
  15297. -do
  15298. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15299. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  15300. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  15301. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15302. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15303. +ac_ext=c
  15304. +ac_cpp='$CPP $CPPFLAGS'
  15305. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15306. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15307. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15308. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  15309. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  15310. +# On Suns, sometimes $CPP names a directory.
  15311. +if test -n "$CPP" && test -d "$CPP"; then
  15312. + CPP=
  15313. +fi
  15314. +if test -z "$CPP"; then
  15315. + if test "${ac_cv_prog_CPP+set}" = set; then :
  15316. + $as_echo_n "(cached) " >&6
  15317. else
  15318. - cat >conftest.$ac_ext <<_ACEOF
  15319. -/* confdefs.h. */
  15320. -_ACEOF
  15321. -cat confdefs.h >>conftest.$ac_ext
  15322. -cat >>conftest.$ac_ext <<_ACEOF
  15323. + # Double quotes because CPP needs to be expanded
  15324. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  15325. + do
  15326. + ac_preproc_ok=false
  15327. +for ac_c_preproc_warn_flag in '' yes
  15328. +do
  15329. + # Use a header file that comes with gcc, so configuring glibc
  15330. + # with a fresh cross-compiler works.
  15331. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  15332. + # <limits.h> exists even on freestanding compilers.
  15333. + # On the NeXT, cc -E runs the code through the compiler's parser,
  15334. + # not just through cpp. "Syntax error" is here to catch this case.
  15335. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15336. /* end confdefs.h. */
  15337. -$ac_includes_default
  15338. +#ifdef __STDC__
  15339. +# include <limits.h>
  15340. +#else
  15341. +# include <assert.h>
  15342. +#endif
  15343. + Syntax error
  15344. +_ACEOF
  15345. +if ac_fn_c_try_cpp "$LINENO"; then :
  15346. +
  15347. +else
  15348. + # Broken: fails on valid input.
  15349. +continue
  15350. +fi
  15351. +rm -f conftest.err conftest.$ac_ext
  15352. -#include <$ac_header>
  15353. + # OK, works on sane cases. Now check whether nonexistent headers
  15354. + # can be detected and how.
  15355. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15356. +/* end confdefs.h. */
  15357. +#include <ac_nonexistent.h>
  15358. _ACEOF
  15359. -rm -f conftest.$ac_objext
  15360. -if { (ac_try="$ac_compile"
  15361. -case "(($ac_try" in
  15362. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15363. - *) ac_try_echo=$ac_try;;
  15364. -esac
  15365. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  15366. - (eval "$ac_compile") 2>conftest.er1
  15367. - ac_status=$?
  15368. - grep -v '^ *+' conftest.er1 >conftest.err
  15369. - rm -f conftest.er1
  15370. - cat conftest.err >&5
  15371. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15372. - (exit $ac_status); } && {
  15373. - test -z "$ac_c_werror_flag" ||
  15374. - test ! -s conftest.err
  15375. - } && test -s conftest.$ac_objext; then
  15376. - eval "$as_ac_Header=yes"
  15377. +if ac_fn_c_try_cpp "$LINENO"; then :
  15378. + # Broken: success on invalid input.
  15379. +continue
  15380. else
  15381. - echo "$as_me: failed program was:" >&5
  15382. -sed 's/^/| /' conftest.$ac_ext >&5
  15383. + # Passes both tests.
  15384. +ac_preproc_ok=:
  15385. +break
  15386. +fi
  15387. +rm -f conftest.err conftest.$ac_ext
  15388. - eval "$as_ac_Header=no"
  15389. +done
  15390. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  15391. +rm -f conftest.err conftest.$ac_ext
  15392. +if $ac_preproc_ok; then :
  15393. + break
  15394. fi
  15395. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15396. + done
  15397. + ac_cv_prog_CPP=$CPP
  15398. +
  15399. fi
  15400. -ac_res=`eval echo '${'$as_ac_Header'}'`
  15401. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  15402. -echo "${ECHO_T}$ac_res" >&6; }
  15403. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  15404. - cat >>confdefs.h <<_ACEOF
  15405. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15406. + CPP=$ac_cv_prog_CPP
  15407. +else
  15408. + ac_cv_prog_CPP=$CPP
  15409. +fi
  15410. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  15411. +$as_echo "$CPP" >&6; }
  15412. +ac_preproc_ok=false
  15413. +for ac_c_preproc_warn_flag in '' yes
  15414. +do
  15415. + # Use a header file that comes with gcc, so configuring glibc
  15416. + # with a fresh cross-compiler works.
  15417. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  15418. + # <limits.h> exists even on freestanding compilers.
  15419. + # On the NeXT, cc -E runs the code through the compiler's parser,
  15420. + # not just through cpp. "Syntax error" is here to catch this case.
  15421. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15422. +/* end confdefs.h. */
  15423. +#ifdef __STDC__
  15424. +# include <limits.h>
  15425. +#else
  15426. +# include <assert.h>
  15427. +#endif
  15428. + Syntax error
  15429. _ACEOF
  15430. +if ac_fn_c_try_cpp "$LINENO"; then :
  15431. +
  15432. +else
  15433. + # Broken: fails on valid input.
  15434. +continue
  15435. +fi
  15436. +rm -f conftest.err conftest.$ac_ext
  15437. + # OK, works on sane cases. Now check whether nonexistent headers
  15438. + # can be detected and how.
  15439. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15440. +/* end confdefs.h. */
  15441. +#include <ac_nonexistent.h>
  15442. +_ACEOF
  15443. +if ac_fn_c_try_cpp "$LINENO"; then :
  15444. + # Broken: success on invalid input.
  15445. +continue
  15446. +else
  15447. + # Passes both tests.
  15448. +ac_preproc_ok=:
  15449. +break
  15450. fi
  15451. +rm -f conftest.err conftest.$ac_ext
  15452. done
  15453. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  15454. +rm -f conftest.err conftest.$ac_ext
  15455. +if $ac_preproc_ok; then :
  15456. +else
  15457. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  15458. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  15459. +as_fn_error "C preprocessor \"$CPP\" fails sanity check
  15460. +See \`config.log' for more details." "$LINENO" 5; }
  15461. +fi
  15462. +ac_ext=c
  15463. +ac_cpp='$CPP $CPPFLAGS'
  15464. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15465. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15466. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15467. -# Set options
  15468. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  15469. +$as_echo_n "checking for ANSI C header files... " >&6; }
  15470. +if test "${ac_cv_header_stdc+set}" = set; then :
  15471. + $as_echo_n "(cached) " >&6
  15472. +else
  15473. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15474. +/* end confdefs.h. */
  15475. +#include <stdlib.h>
  15476. +#include <stdarg.h>
  15477. +#include <string.h>
  15478. +#include <float.h>
  15479. +int
  15480. +main ()
  15481. +{
  15482. +
  15483. + ;
  15484. + return 0;
  15485. +}
  15486. +_ACEOF
  15487. +if ac_fn_c_try_compile "$LINENO"; then :
  15488. + ac_cv_header_stdc=yes
  15489. +else
  15490. + ac_cv_header_stdc=no
  15491. +fi
  15492. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15493. +
  15494. +if test $ac_cv_header_stdc = yes; then
  15495. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  15496. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15497. +/* end confdefs.h. */
  15498. +#include <string.h>
  15499. +
  15500. +_ACEOF
  15501. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  15502. + $EGREP "memchr" >/dev/null 2>&1; then :
  15503. +
  15504. +else
  15505. + ac_cv_header_stdc=no
  15506. +fi
  15507. +rm -f conftest*
  15508. +
  15509. +fi
  15510. +
  15511. +if test $ac_cv_header_stdc = yes; then
  15512. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  15513. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15514. +/* end confdefs.h. */
  15515. +#include <stdlib.h>
  15516. +
  15517. +_ACEOF
  15518. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  15519. + $EGREP "free" >/dev/null 2>&1; then :
  15520. +
  15521. +else
  15522. + ac_cv_header_stdc=no
  15523. +fi
  15524. +rm -f conftest*
  15525. +
  15526. +fi
  15527. +
  15528. +if test $ac_cv_header_stdc = yes; then
  15529. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  15530. + if test "$cross_compiling" = yes; then :
  15531. + :
  15532. +else
  15533. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15534. +/* end confdefs.h. */
  15535. +#include <ctype.h>
  15536. +#include <stdlib.h>
  15537. +#if ((' ' & 0x0FF) == 0x020)
  15538. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  15539. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  15540. +#else
  15541. +# define ISLOWER(c) \
  15542. + (('a' <= (c) && (c) <= 'i') \
  15543. + || ('j' <= (c) && (c) <= 'r') \
  15544. + || ('s' <= (c) && (c) <= 'z'))
  15545. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  15546. +#endif
  15547. +
  15548. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  15549. +int
  15550. +main ()
  15551. +{
  15552. + int i;
  15553. + for (i = 0; i < 256; i++)
  15554. + if (XOR (islower (i), ISLOWER (i))
  15555. + || toupper (i) != TOUPPER (i))
  15556. + return 2;
  15557. + return 0;
  15558. +}
  15559. +_ACEOF
  15560. +if ac_fn_c_try_run "$LINENO"; then :
  15561. +
  15562. +else
  15563. + ac_cv_header_stdc=no
  15564. +fi
  15565. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  15566. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  15567. +fi
  15568. +
  15569. +fi
  15570. +fi
  15571. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  15572. +$as_echo "$ac_cv_header_stdc" >&6; }
  15573. +if test $ac_cv_header_stdc = yes; then
  15574. +
  15575. +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  15576. +
  15577. +fi
  15578. +
  15579. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  15580. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  15581. + inttypes.h stdint.h unistd.h
  15582. +do :
  15583. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15584. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  15585. +"
  15586. +eval as_val=\$$as_ac_Header
  15587. + if test "x$as_val" = x""yes; then :
  15588. + cat >>confdefs.h <<_ACEOF
  15589. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15590. +_ACEOF
  15591. +
  15592. +fi
  15593. +
  15594. +done
  15595. +
  15596. +
  15597. +for ac_header in dlfcn.h
  15598. +do :
  15599. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  15600. +"
  15601. +if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
  15602. + cat >>confdefs.h <<_ACEOF
  15603. +#define HAVE_DLFCN_H 1
  15604. +_ACEOF
  15605. +
  15606. +fi
  15607. +
  15608. +done
  15609. - enable_dlopen=no
  15610. +
  15611. +
  15612. +# Set options
  15613. +
  15614. +
  15615. +
  15616. + enable_dlopen=no
  15617. enable_win32_dll=no
  15618. # Check whether --enable-shared was given.
  15619. -if test "${enable_shared+set}" = set; then
  15620. +if test "${enable_shared+set}" = set; then :
  15621. enableval=$enable_shared; p=${PACKAGE-default}
  15622. case $enableval in
  15623. yes) enable_shared=yes ;;
  15624. @@ -7453,7 +7307,7 @@
  15625. # Check whether --enable-static was given.
  15626. -if test "${enable_static+set}" = set; then
  15627. +if test "${enable_static+set}" = set; then :
  15628. enableval=$enable_static; p=${PACKAGE-default}
  15629. case $enableval in
  15630. yes) enable_static=yes ;;
  15631. @@ -7485,7 +7339,7 @@
  15632. # Check whether --with-pic was given.
  15633. -if test "${with_pic+set}" = set; then
  15634. +if test "${with_pic+set}" = set; then :
  15635. withval=$with_pic; pic_mode="$withval"
  15636. else
  15637. pic_mode=default
  15638. @@ -7501,7 +7355,7 @@
  15639. # Check whether --enable-fast-install was given.
  15640. -if test "${enable_fast_install+set}" = set; then
  15641. +if test "${enable_fast_install+set}" = set; then :
  15642. enableval=$enable_fast_install; p=${PACKAGE-default}
  15643. case $enableval in
  15644. yes) enable_fast_install=yes ;;
  15645. @@ -7582,10 +7436,10 @@
  15646. setopt NO_GLOB_SUBST
  15647. fi
  15648. -{ echo "$as_me:$LINENO: checking for objdir" >&5
  15649. -echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
  15650. -if test "${lt_cv_objdir+set}" = set; then
  15651. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15652. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  15653. +$as_echo_n "checking for objdir... " >&6; }
  15654. +if test "${lt_cv_objdir+set}" = set; then :
  15655. + $as_echo_n "(cached) " >&6
  15656. else
  15657. rm -f .libs 2>/dev/null
  15658. mkdir .libs 2>/dev/null
  15659. @@ -7597,8 +7451,8 @@
  15660. fi
  15661. rmdir .libs 2>/dev/null
  15662. fi
  15663. -{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
  15664. -echo "${ECHO_T}$lt_cv_objdir" >&6; }
  15665. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  15666. +$as_echo "$lt_cv_objdir" >&6; }
  15667. objdir=$lt_cv_objdir
  15668. @@ -7690,10 +7544,10 @@
  15669. case $deplibs_check_method in
  15670. file_magic*)
  15671. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  15672. - { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
  15673. -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
  15674. -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  15675. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15676. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  15677. +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  15678. +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  15679. + $as_echo_n "(cached) " >&6
  15680. else
  15681. case $MAGIC_CMD in
  15682. [\\/*] | ?:[\\/]*)
  15683. @@ -7743,11 +7597,11 @@
  15684. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  15685. if test -n "$MAGIC_CMD"; then
  15686. - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  15687. -echo "${ECHO_T}$MAGIC_CMD" >&6; }
  15688. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  15689. +$as_echo "$MAGIC_CMD" >&6; }
  15690. else
  15691. - { echo "$as_me:$LINENO: result: no" >&5
  15692. -echo "${ECHO_T}no" >&6; }
  15693. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15694. +$as_echo "no" >&6; }
  15695. fi
  15696. @@ -7756,10 +7610,10 @@
  15697. if test -z "$lt_cv_path_MAGIC_CMD"; then
  15698. if test -n "$ac_tool_prefix"; then
  15699. - { echo "$as_me:$LINENO: checking for file" >&5
  15700. -echo $ECHO_N "checking for file... $ECHO_C" >&6; }
  15701. -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  15702. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15703. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  15704. +$as_echo_n "checking for file... " >&6; }
  15705. +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  15706. + $as_echo_n "(cached) " >&6
  15707. else
  15708. case $MAGIC_CMD in
  15709. [\\/*] | ?:[\\/]*)
  15710. @@ -7809,11 +7663,11 @@
  15711. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  15712. if test -n "$MAGIC_CMD"; then
  15713. - { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  15714. -echo "${ECHO_T}$MAGIC_CMD" >&6; }
  15715. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  15716. +$as_echo "$MAGIC_CMD" >&6; }
  15717. else
  15718. - { echo "$as_me:$LINENO: result: no" >&5
  15719. -echo "${ECHO_T}no" >&6; }
  15720. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15721. +$as_echo "no" >&6; }
  15722. fi
  15723. @@ -7889,10 +7743,10 @@
  15724. if test "$GCC" = yes; then
  15725. lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  15726. - { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  15727. -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
  15728. -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  15729. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15730. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  15731. +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  15732. +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
  15733. + $as_echo_n "(cached) " >&6
  15734. else
  15735. lt_cv_prog_compiler_rtti_exceptions=no
  15736. ac_outfile=conftest.$ac_objext
  15737. @@ -7907,11 +7761,11 @@
  15738. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  15739. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  15740. -e 's:$: $lt_compiler_flag:'`
  15741. - (eval echo "\"\$as_me:7910: $lt_compile\"" >&5)
  15742. + (eval echo "\"\$as_me:7764: $lt_compile\"" >&5)
  15743. (eval "$lt_compile" 2>conftest.err)
  15744. ac_status=$?
  15745. cat conftest.err >&5
  15746. - echo "$as_me:7914: \$? = $ac_status" >&5
  15747. + echo "$as_me:7768: \$? = $ac_status" >&5
  15748. if (exit $ac_status) && test -s "$ac_outfile"; then
  15749. # The compiler can only warn and ignore the option if not recognized
  15750. # So say no if there are warnings other than the usual output.
  15751. @@ -7924,8 +7778,8 @@
  15752. $RM conftest*
  15753. fi
  15754. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  15755. -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  15756. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  15757. +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  15758. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  15759. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  15760. @@ -7944,8 +7798,8 @@
  15761. lt_prog_compiler_pic=
  15762. lt_prog_compiler_static=
  15763. -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  15764. -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
  15765. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  15766. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  15767. if test "$GCC" = yes; then
  15768. lt_prog_compiler_wl='-Wl,'
  15769. @@ -7979,7 +7833,7 @@
  15770. # PIC is the default for these OSes.
  15771. ;;
  15772. - mingw* | cygwin* | pw32* | os2*)
  15773. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  15774. # This hack is so that the source file can tell whether it is being
  15775. # built for inclusion in a dll (and should export symbols for example).
  15776. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  15777. @@ -7994,10 +7848,11 @@
  15778. ;;
  15779. hpux*)
  15780. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  15781. - # not for PA HP-UX.
  15782. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  15783. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  15784. + # sets the default TLS model and affects inlining.
  15785. case $host_cpu in
  15786. - hppa*64*|ia64*)
  15787. + hppa*64*)
  15788. # +Z the default
  15789. ;;
  15790. *)
  15791. @@ -8047,7 +7902,7 @@
  15792. fi
  15793. ;;
  15794. - mingw* | cygwin* | pw32* | os2*)
  15795. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  15796. # This hack is so that the source file can tell whether it is being
  15797. # built for inclusion in a dll (and should export symbols for example).
  15798. lt_prog_compiler_pic='-DDLL_EXPORT'
  15799. @@ -8075,13 +7930,27 @@
  15800. lt_prog_compiler_static='-non_shared'
  15801. ;;
  15802. - linux* | k*bsd*-gnu)
  15803. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  15804. case $cc_basename in
  15805. - icc* | ecc* | ifort*)
  15806. + # old Intel for x86_64 which still supported -KPIC.
  15807. + ecc*)
  15808. lt_prog_compiler_wl='-Wl,'
  15809. lt_prog_compiler_pic='-KPIC'
  15810. lt_prog_compiler_static='-static'
  15811. ;;
  15812. + # icc used to be incompatible with GCC.
  15813. + # ICC 10 doesn't accept -KPIC any more.
  15814. + icc* | ifort*)
  15815. + lt_prog_compiler_wl='-Wl,'
  15816. + lt_prog_compiler_pic='-fPIC'
  15817. + lt_prog_compiler_static='-static'
  15818. + ;;
  15819. + # Lahey Fortran 8.1.
  15820. + lf95*)
  15821. + lt_prog_compiler_wl='-Wl,'
  15822. + lt_prog_compiler_pic='--shared'
  15823. + lt_prog_compiler_static='--static'
  15824. + ;;
  15825. pgcc* | pgf77* | pgf90* | pgf95*)
  15826. # Portland Group compilers (*not* the Pentium gcc compiler,
  15827. # which looks to be a dead project)
  15828. @@ -8201,8 +8070,8 @@
  15829. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  15830. ;;
  15831. esac
  15832. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  15833. -echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
  15834. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  15835. +$as_echo "$lt_prog_compiler_pic" >&6; }
  15836. @@ -8213,10 +8082,10 @@
  15837. # Check to make sure the PIC flag actually works.
  15838. #
  15839. if test -n "$lt_prog_compiler_pic"; then
  15840. - { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  15841. -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
  15842. -if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
  15843. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15844. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  15845. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  15846. +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
  15847. + $as_echo_n "(cached) " >&6
  15848. else
  15849. lt_cv_prog_compiler_pic_works=no
  15850. ac_outfile=conftest.$ac_objext
  15851. @@ -8231,11 +8100,11 @@
  15852. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  15853. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  15854. -e 's:$: $lt_compiler_flag:'`
  15855. - (eval echo "\"\$as_me:8234: $lt_compile\"" >&5)
  15856. + (eval echo "\"\$as_me:8103: $lt_compile\"" >&5)
  15857. (eval "$lt_compile" 2>conftest.err)
  15858. ac_status=$?
  15859. cat conftest.err >&5
  15860. - echo "$as_me:8238: \$? = $ac_status" >&5
  15861. + echo "$as_me:8107: \$? = $ac_status" >&5
  15862. if (exit $ac_status) && test -s "$ac_outfile"; then
  15863. # The compiler can only warn and ignore the option if not recognized
  15864. # So say no if there are warnings other than the usual output.
  15865. @@ -8248,8 +8117,8 @@
  15866. $RM conftest*
  15867. fi
  15868. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
  15869. -echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
  15870. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  15871. +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  15872. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  15873. case $lt_prog_compiler_pic in
  15874. @@ -8272,10 +8141,10 @@
  15875. # Check to make sure the static flag actually works.
  15876. #
  15877. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  15878. -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  15879. -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
  15880. -if test "${lt_cv_prog_compiler_static_works+set}" = set; then
  15881. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15882. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  15883. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  15884. +if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
  15885. + $as_echo_n "(cached) " >&6
  15886. else
  15887. lt_cv_prog_compiler_static_works=no
  15888. save_LDFLAGS="$LDFLAGS"
  15889. @@ -8300,8 +8169,8 @@
  15890. LDFLAGS="$save_LDFLAGS"
  15891. fi
  15892. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
  15893. -echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
  15894. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  15895. +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  15896. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  15897. :
  15898. @@ -8315,10 +8184,10 @@
  15899. - { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  15900. -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  15901. -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  15902. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15903. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  15904. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  15905. +if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  15906. + $as_echo_n "(cached) " >&6
  15907. else
  15908. lt_cv_prog_compiler_c_o=no
  15909. $RM -r conftest 2>/dev/null
  15910. @@ -8336,11 +8205,11 @@
  15911. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  15912. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  15913. -e 's:$: $lt_compiler_flag:'`
  15914. - (eval echo "\"\$as_me:8339: $lt_compile\"" >&5)
  15915. + (eval echo "\"\$as_me:8208: $lt_compile\"" >&5)
  15916. (eval "$lt_compile" 2>out/conftest.err)
  15917. ac_status=$?
  15918. cat out/conftest.err >&5
  15919. - echo "$as_me:8343: \$? = $ac_status" >&5
  15920. + echo "$as_me:8212: \$? = $ac_status" >&5
  15921. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  15922. then
  15923. # The compiler can only warn and ignore the option if not recognized
  15924. @@ -8362,18 +8231,18 @@
  15925. $RM conftest*
  15926. fi
  15927. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  15928. -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
  15929. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  15930. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  15931. - { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  15932. -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  15933. -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  15934. - echo $ECHO_N "(cached) $ECHO_C" >&6
  15935. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  15936. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  15937. +if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  15938. + $as_echo_n "(cached) " >&6
  15939. else
  15940. lt_cv_prog_compiler_c_o=no
  15941. $RM -r conftest 2>/dev/null
  15942. @@ -8391,11 +8260,11 @@
  15943. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  15944. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  15945. -e 's:$: $lt_compiler_flag:'`
  15946. - (eval echo "\"\$as_me:8394: $lt_compile\"" >&5)
  15947. + (eval echo "\"\$as_me:8263: $lt_compile\"" >&5)
  15948. (eval "$lt_compile" 2>out/conftest.err)
  15949. ac_status=$?
  15950. cat out/conftest.err >&5
  15951. - echo "$as_me:8398: \$? = $ac_status" >&5
  15952. + echo "$as_me:8267: \$? = $ac_status" >&5
  15953. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  15954. then
  15955. # The compiler can only warn and ignore the option if not recognized
  15956. @@ -8417,8 +8286,8 @@
  15957. $RM conftest*
  15958. fi
  15959. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  15960. -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
  15961. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  15962. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  15963. @@ -8426,19 +8295,19 @@
  15964. hard_links="nottested"
  15965. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  15966. # do not overwrite the value of need_locks provided by the user
  15967. - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  15968. -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
  15969. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  15970. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  15971. hard_links=yes
  15972. $RM conftest*
  15973. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  15974. touch conftest.a
  15975. ln conftest.a conftest.b 2>&5 || hard_links=no
  15976. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  15977. - { echo "$as_me:$LINENO: result: $hard_links" >&5
  15978. -echo "${ECHO_T}$hard_links" >&6; }
  15979. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  15980. +$as_echo "$hard_links" >&6; }
  15981. if test "$hard_links" = no; then
  15982. - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  15983. -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  15984. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  15985. +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  15986. need_locks=warn
  15987. fi
  15988. else
  15989. @@ -8450,8 +8319,8 @@
  15990. - { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  15991. -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  15992. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  15993. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  15994. runpath_var=
  15995. allow_undefined_flag=
  15996. @@ -8495,7 +8364,7 @@
  15997. extract_expsyms_cmds=
  15998. case $host_os in
  15999. - cygwin* | mingw* | pw32*)
  16000. + cygwin* | mingw* | pw32* | cegcc*)
  16001. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  16002. # When not using gcc, we currently assume that we are using
  16003. # Microsoft Visual C++.
  16004. @@ -8510,6 +8379,9 @@
  16005. openbsd*)
  16006. with_gnu_ld=no
  16007. ;;
  16008. + linux* | k*bsd*-gnu)
  16009. + link_all_deplibs=no
  16010. + ;;
  16011. esac
  16012. ld_shlibs=yes
  16013. @@ -8531,6 +8403,7 @@
  16014. fi
  16015. supports_anon_versioning=no
  16016. case `$LD -v 2>&1` in
  16017. + *GNU\ gold*) supports_anon_versioning=yes ;;
  16018. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  16019. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  16020. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  16021. @@ -8582,7 +8455,7 @@
  16022. fi
  16023. ;;
  16024. - cygwin* | mingw* | pw32*)
  16025. + cygwin* | mingw* | pw32* | cegcc*)
  16026. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  16027. # as there is no search path for DLLs.
  16028. hardcode_libdir_flag_spec='-L$libdir'
  16029. @@ -8622,7 +8495,7 @@
  16030. archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  16031. ;;
  16032. - gnu* | linux* | tpf* | k*bsd*-gnu)
  16033. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  16034. tmp_diet=no
  16035. if test "$host_os" = linux-dietlibc; then
  16036. case $cc_basename in
  16037. @@ -8648,6 +8521,9 @@
  16038. tmp_addflag=' -i_dynamic -nofor_main' ;;
  16039. ifc* | ifort*) # Intel Fortran compiler
  16040. tmp_addflag=' -nofor_main' ;;
  16041. + lf95*) # Lahey Fortran 8.1
  16042. + whole_archive_flag_spec=
  16043. + tmp_sharedflag='--shared' ;;
  16044. xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  16045. tmp_sharedflag='-qmkshrobj'
  16046. tmp_addflag= ;;
  16047. @@ -8880,6 +8756,7 @@
  16048. fi
  16049. fi
  16050. + export_dynamic_flag_spec='${wl}-bexpall'
  16051. # It seems that -bexpall does not export symbols beginning with
  16052. # underscore (_), so it is better to generate a list of symbols to export.
  16053. always_export_symbols=yes
  16054. @@ -8889,11 +8766,7 @@
  16055. allow_undefined_flag='-berok'
  16056. # Determine the default libpath from the value encoded in an
  16057. # empty executable.
  16058. - cat >conftest.$ac_ext <<_ACEOF
  16059. -/* confdefs.h. */
  16060. -_ACEOF
  16061. -cat confdefs.h >>conftest.$ac_ext
  16062. -cat >>conftest.$ac_ext <<_ACEOF
  16063. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16064. /* end confdefs.h. */
  16065. int
  16066. @@ -8904,24 +8777,7 @@
  16067. return 0;
  16068. }
  16069. _ACEOF
  16070. -rm -f conftest.$ac_objext conftest$ac_exeext
  16071. -if { (ac_try="$ac_link"
  16072. -case "(($ac_try" in
  16073. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16074. - *) ac_try_echo=$ac_try;;
  16075. -esac
  16076. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16077. - (eval "$ac_link") 2>conftest.er1
  16078. - ac_status=$?
  16079. - grep -v '^ *+' conftest.er1 >conftest.err
  16080. - rm -f conftest.er1
  16081. - cat conftest.err >&5
  16082. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16083. - (exit $ac_status); } && {
  16084. - test -z "$ac_c_werror_flag" ||
  16085. - test ! -s conftest.err
  16086. - } && test -s conftest$ac_exeext &&
  16087. - $as_test_x conftest$ac_exeext; then
  16088. +if ac_fn_c_try_link "$LINENO"; then :
  16089. lt_aix_libpath_sed='
  16090. /Import File Strings/,/^$/ {
  16091. @@ -8935,15 +8791,9 @@
  16092. if test -z "$aix_libpath"; then
  16093. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  16094. fi
  16095. -else
  16096. - echo "$as_me: failed program was:" >&5
  16097. -sed 's/^/| /' conftest.$ac_ext >&5
  16098. -
  16099. -
  16100. fi
  16101. -
  16102. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16103. - conftest$ac_exeext conftest.$ac_ext
  16104. +rm -f core conftest.err conftest.$ac_objext \
  16105. + conftest$ac_exeext conftest.$ac_ext
  16106. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  16107. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  16108. @@ -8956,11 +8806,7 @@
  16109. else
  16110. # Determine the default libpath from the value encoded in an
  16111. # empty executable.
  16112. - cat >conftest.$ac_ext <<_ACEOF
  16113. -/* confdefs.h. */
  16114. -_ACEOF
  16115. -cat confdefs.h >>conftest.$ac_ext
  16116. -cat >>conftest.$ac_ext <<_ACEOF
  16117. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16118. /* end confdefs.h. */
  16119. int
  16120. @@ -8971,24 +8817,7 @@
  16121. return 0;
  16122. }
  16123. _ACEOF
  16124. -rm -f conftest.$ac_objext conftest$ac_exeext
  16125. -if { (ac_try="$ac_link"
  16126. -case "(($ac_try" in
  16127. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16128. - *) ac_try_echo=$ac_try;;
  16129. -esac
  16130. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16131. - (eval "$ac_link") 2>conftest.er1
  16132. - ac_status=$?
  16133. - grep -v '^ *+' conftest.er1 >conftest.err
  16134. - rm -f conftest.er1
  16135. - cat conftest.err >&5
  16136. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16137. - (exit $ac_status); } && {
  16138. - test -z "$ac_c_werror_flag" ||
  16139. - test ! -s conftest.err
  16140. - } && test -s conftest$ac_exeext &&
  16141. - $as_test_x conftest$ac_exeext; then
  16142. +if ac_fn_c_try_link "$LINENO"; then :
  16143. lt_aix_libpath_sed='
  16144. /Import File Strings/,/^$/ {
  16145. @@ -9002,15 +8831,9 @@
  16146. if test -z "$aix_libpath"; then
  16147. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  16148. fi
  16149. -else
  16150. - echo "$as_me: failed program was:" >&5
  16151. -sed 's/^/| /' conftest.$ac_ext >&5
  16152. -
  16153. -
  16154. fi
  16155. -
  16156. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16157. - conftest$ac_exeext conftest.$ac_ext
  16158. +rm -f core conftest.err conftest.$ac_objext \
  16159. + conftest$ac_exeext conftest.$ac_ext
  16160. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  16161. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  16162. @@ -9046,7 +8869,7 @@
  16163. export_dynamic_flag_spec=-rdynamic
  16164. ;;
  16165. - cygwin* | mingw* | pw32*)
  16166. + cygwin* | mingw* | pw32* | cegcc*)
  16167. # When not using gcc, we currently assume that we are using
  16168. # Microsoft Visual C++.
  16169. # hardcode_libdir_flag_spec is actually meaningless, as there is
  16170. @@ -9077,7 +8900,11 @@
  16171. whole_archive_flag_spec=''
  16172. link_all_deplibs=yes
  16173. allow_undefined_flag="$_lt_dar_allow_undefined"
  16174. - if test "$GCC" = "yes"; then
  16175. + case $cc_basename in
  16176. + ifort*) _lt_dar_can_shared=yes ;;
  16177. + *) _lt_dar_can_shared=$GCC ;;
  16178. + esac
  16179. + if test "$_lt_dar_can_shared" = "yes"; then
  16180. output_verbose_link_cmd=echo
  16181. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  16182. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  16183. @@ -9169,7 +8996,7 @@
  16184. archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  16185. ;;
  16186. ia64*)
  16187. - archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  16188. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  16189. ;;
  16190. *)
  16191. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  16192. @@ -9218,38 +9045,16 @@
  16193. # implicitly export all symbols.
  16194. save_LDFLAGS="$LDFLAGS"
  16195. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  16196. - cat >conftest.$ac_ext <<_ACEOF
  16197. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16198. +/* end confdefs.h. */
  16199. int foo(void) {}
  16200. _ACEOF
  16201. -rm -f conftest.$ac_objext conftest$ac_exeext
  16202. -if { (ac_try="$ac_link"
  16203. -case "(($ac_try" in
  16204. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16205. - *) ac_try_echo=$ac_try;;
  16206. -esac
  16207. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16208. - (eval "$ac_link") 2>conftest.er1
  16209. - ac_status=$?
  16210. - grep -v '^ *+' conftest.er1 >conftest.err
  16211. - rm -f conftest.er1
  16212. - cat conftest.err >&5
  16213. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16214. - (exit $ac_status); } && {
  16215. - test -z "$ac_c_werror_flag" ||
  16216. - test ! -s conftest.err
  16217. - } && test -s conftest$ac_exeext &&
  16218. - $as_test_x conftest$ac_exeext; then
  16219. +if ac_fn_c_try_link "$LINENO"; then :
  16220. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  16221. -else
  16222. - echo "$as_me: failed program was:" >&5
  16223. -sed 's/^/| /' conftest.$ac_ext >&5
  16224. -
  16225. -
  16226. fi
  16227. -
  16228. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16229. - conftest$ac_exeext conftest.$ac_ext
  16230. +rm -f core conftest.err conftest.$ac_objext \
  16231. + conftest$ac_exeext conftest.$ac_ext
  16232. LDFLAGS="$save_LDFLAGS"
  16233. else
  16234. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  16235. @@ -9505,8 +9310,8 @@
  16236. fi
  16237. fi
  16238. -{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
  16239. -echo "${ECHO_T}$ld_shlibs" >&6; }
  16240. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  16241. +$as_echo "$ld_shlibs" >&6; }
  16242. test "$ld_shlibs" = no && can_build_shared=no
  16243. with_gnu_ld=$with_gnu_ld
  16244. @@ -9542,16 +9347,16 @@
  16245. # Test whether the compiler implicitly links with -lc since on some
  16246. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  16247. # to ld, don't add -lc before -lgcc.
  16248. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  16249. -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
  16250. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  16251. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  16252. $RM conftest*
  16253. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  16254. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  16255. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  16256. (eval $ac_compile) 2>&5
  16257. ac_status=$?
  16258. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16259. - (exit $ac_status); } 2>conftest.err; then
  16260. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  16261. + test $ac_status = 0; } 2>conftest.err; then
  16262. soname=conftest
  16263. lib=conftest
  16264. libobjs=conftest.$ac_objext
  16265. @@ -9565,11 +9370,11 @@
  16266. libname=conftest
  16267. lt_save_allow_undefined_flag=$allow_undefined_flag
  16268. allow_undefined_flag=
  16269. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
  16270. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  16271. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  16272. ac_status=$?
  16273. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16274. - (exit $ac_status); }
  16275. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  16276. + test $ac_status = 0; }
  16277. then
  16278. archive_cmds_need_lc=no
  16279. else
  16280. @@ -9580,8 +9385,8 @@
  16281. cat conftest.err 1>&5
  16282. fi
  16283. $RM conftest*
  16284. - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
  16285. -echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
  16286. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
  16287. +$as_echo "$archive_cmds_need_lc" >&6; }
  16288. ;;
  16289. esac
  16290. fi
  16291. @@ -9744,8 +9549,8 @@
  16292. - { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  16293. -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
  16294. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  16295. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  16296. if test "$GCC" = yes; then
  16297. case $host_os in
  16298. @@ -9907,14 +9712,14 @@
  16299. # libtool to hard-code these into programs
  16300. ;;
  16301. -cygwin* | mingw* | pw32*)
  16302. +cygwin* | mingw* | pw32* | cegcc*)
  16303. version_type=windows
  16304. shrext_cmds=".dll"
  16305. need_version=no
  16306. need_lib_prefix=no
  16307. case $GCC,$host_os in
  16308. - yes,cygwin* | yes,mingw* | yes,pw32*)
  16309. + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  16310. library_names_spec='$libname.dll.a'
  16311. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  16312. postinstall_cmds='base_file=`basename \${file}`~
  16313. @@ -9937,7 +9742,7 @@
  16314. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  16315. sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  16316. ;;
  16317. - mingw*)
  16318. + mingw* | cegcc*)
  16319. # MinGW DLLs use traditional 'lib' prefix
  16320. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  16321. sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  16322. @@ -10152,7 +9957,7 @@
  16323. ;;
  16324. # This must be Linux ELF.
  16325. -linux* | k*bsd*-gnu)
  16326. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  16327. version_type=linux
  16328. need_lib_prefix=no
  16329. need_version=no
  16330. @@ -10166,11 +9971,7 @@
  16331. save_libdir=$libdir
  16332. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  16333. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  16334. - cat >conftest.$ac_ext <<_ACEOF
  16335. -/* confdefs.h. */
  16336. -_ACEOF
  16337. -cat confdefs.h >>conftest.$ac_ext
  16338. -cat >>conftest.$ac_ext <<_ACEOF
  16339. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16340. /* end confdefs.h. */
  16341. int
  16342. @@ -10181,37 +9982,13 @@
  16343. return 0;
  16344. }
  16345. _ACEOF
  16346. -rm -f conftest.$ac_objext conftest$ac_exeext
  16347. -if { (ac_try="$ac_link"
  16348. -case "(($ac_try" in
  16349. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16350. - *) ac_try_echo=$ac_try;;
  16351. -esac
  16352. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16353. - (eval "$ac_link") 2>conftest.er1
  16354. - ac_status=$?
  16355. - grep -v '^ *+' conftest.er1 >conftest.err
  16356. - rm -f conftest.er1
  16357. - cat conftest.err >&5
  16358. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16359. - (exit $ac_status); } && {
  16360. - test -z "$ac_c_werror_flag" ||
  16361. - test ! -s conftest.err
  16362. - } && test -s conftest$ac_exeext &&
  16363. - $as_test_x conftest$ac_exeext; then
  16364. - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
  16365. +if ac_fn_c_try_link "$LINENO"; then :
  16366. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  16367. shlibpath_overrides_runpath=yes
  16368. fi
  16369. -
  16370. -else
  16371. - echo "$as_me: failed program was:" >&5
  16372. -sed 's/^/| /' conftest.$ac_ext >&5
  16373. -
  16374. -
  16375. fi
  16376. -
  16377. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16378. - conftest$ac_exeext conftest.$ac_ext
  16379. +rm -f core conftest.err conftest.$ac_objext \
  16380. + conftest$ac_exeext conftest.$ac_ext
  16381. LDFLAGS=$save_LDFLAGS
  16382. libdir=$save_libdir
  16383. @@ -10418,7 +10195,7 @@
  16384. version_type=linux
  16385. need_lib_prefix=no
  16386. need_version=no
  16387. - library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  16388. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  16389. shlibpath_var=LD_LIBRARY_PATH
  16390. shlibpath_overrides_runpath=no
  16391. hardcode_into_libs=yes
  16392. @@ -10435,8 +10212,8 @@
  16393. dynamic_linker=no
  16394. ;;
  16395. esac
  16396. -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  16397. -echo "${ECHO_T}$dynamic_linker" >&6; }
  16398. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  16399. +$as_echo "$dynamic_linker" >&6; }
  16400. test "$dynamic_linker" = no && can_build_shared=no
  16401. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  16402. @@ -10537,8 +10314,8 @@
  16403. - { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  16404. -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
  16405. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  16406. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  16407. hardcode_action=
  16408. if test -n "$hardcode_libdir_flag_spec" ||
  16409. test -n "$runpath_var" ||
  16410. @@ -10562,8 +10339,8 @@
  16411. # directories.
  16412. hardcode_action=unsupported
  16413. fi
  16414. -{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
  16415. -echo "${ECHO_T}$hardcode_action" >&6; }
  16416. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  16417. +$as_echo "$hardcode_action" >&6; }
  16418. if test "$hardcode_action" = relink ||
  16419. test "$inherit_rpath" = yes; then
  16420. @@ -10595,7 +10372,7 @@
  16421. lt_cv_dlopen_self=yes
  16422. ;;
  16423. - mingw* | pw32*)
  16424. + mingw* | pw32* | cegcc*)
  16425. lt_cv_dlopen="LoadLibrary"
  16426. lt_cv_dlopen_libs=
  16427. ;;
  16428. @@ -10607,18 +10384,14 @@
  16429. darwin*)
  16430. # if libdl is installed we need to link against it
  16431. - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  16432. -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
  16433. -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  16434. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16435. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  16436. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  16437. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  16438. + $as_echo_n "(cached) " >&6
  16439. else
  16440. ac_check_lib_save_LIBS=$LIBS
  16441. LIBS="-ldl $LIBS"
  16442. -cat >conftest.$ac_ext <<_ACEOF
  16443. -/* confdefs.h. */
  16444. -_ACEOF
  16445. -cat confdefs.h >>conftest.$ac_ext
  16446. -cat >>conftest.$ac_ext <<_ACEOF
  16447. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16448. /* end confdefs.h. */
  16449. /* Override any GCC internal prototype to avoid an error.
  16450. @@ -10636,39 +10409,18 @@
  16451. return 0;
  16452. }
  16453. _ACEOF
  16454. -rm -f conftest.$ac_objext conftest$ac_exeext
  16455. -if { (ac_try="$ac_link"
  16456. -case "(($ac_try" in
  16457. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16458. - *) ac_try_echo=$ac_try;;
  16459. -esac
  16460. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16461. - (eval "$ac_link") 2>conftest.er1
  16462. - ac_status=$?
  16463. - grep -v '^ *+' conftest.er1 >conftest.err
  16464. - rm -f conftest.er1
  16465. - cat conftest.err >&5
  16466. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16467. - (exit $ac_status); } && {
  16468. - test -z "$ac_c_werror_flag" ||
  16469. - test ! -s conftest.err
  16470. - } && test -s conftest$ac_exeext &&
  16471. - $as_test_x conftest$ac_exeext; then
  16472. +if ac_fn_c_try_link "$LINENO"; then :
  16473. ac_cv_lib_dl_dlopen=yes
  16474. else
  16475. - echo "$as_me: failed program was:" >&5
  16476. -sed 's/^/| /' conftest.$ac_ext >&5
  16477. -
  16478. - ac_cv_lib_dl_dlopen=no
  16479. + ac_cv_lib_dl_dlopen=no
  16480. fi
  16481. -
  16482. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16483. - conftest$ac_exeext conftest.$ac_ext
  16484. +rm -f core conftest.err conftest.$ac_objext \
  16485. + conftest$ac_exeext conftest.$ac_ext
  16486. LIBS=$ac_check_lib_save_LIBS
  16487. fi
  16488. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  16489. -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
  16490. -if test $ac_cv_lib_dl_dlopen = yes; then
  16491. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  16492. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  16493. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  16494. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  16495. else
  16496. @@ -10681,33 +10433,19 @@
  16497. ;;
  16498. *)
  16499. - { echo "$as_me:$LINENO: checking for shl_load" >&5
  16500. -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
  16501. -if test "${ac_cv_func_shl_load+set}" = set; then
  16502. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16503. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  16504. +if test "x$ac_cv_func_shl_load" = x""yes; then :
  16505. + lt_cv_dlopen="shl_load"
  16506. else
  16507. - cat >conftest.$ac_ext <<_ACEOF
  16508. -/* confdefs.h. */
  16509. -_ACEOF
  16510. -cat confdefs.h >>conftest.$ac_ext
  16511. -cat >>conftest.$ac_ext <<_ACEOF
  16512. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  16513. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  16514. +if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
  16515. + $as_echo_n "(cached) " >&6
  16516. +else
  16517. + ac_check_lib_save_LIBS=$LIBS
  16518. +LIBS="-ldld $LIBS"
  16519. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16520. /* end confdefs.h. */
  16521. -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  16522. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  16523. -#define shl_load innocuous_shl_load
  16524. -
  16525. -/* System header to define __stub macros and hopefully few prototypes,
  16526. - which can conflict with char shl_load (); below.
  16527. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16528. - <limits.h> exists even on freestanding compilers. */
  16529. -
  16530. -#ifdef __STDC__
  16531. -# include <limits.h>
  16532. -#else
  16533. -# include <assert.h>
  16534. -#endif
  16535. -
  16536. -#undef shl_load
  16537. /* Override any GCC internal prototype to avoid an error.
  16538. Use char because int might match the return type of a GCC
  16539. @@ -10716,13 +10454,6 @@
  16540. extern "C"
  16541. #endif
  16542. char shl_load ();
  16543. -/* The GNU C library defines this for functions which it implements
  16544. - to always fail with ENOSYS. Some functions are actually named
  16545. - something starting with __ and the normal name is an alias. */
  16546. -#if defined __stub_shl_load || defined __stub___shl_load
  16547. -choke me
  16548. -#endif
  16549. -
  16550. int
  16551. main ()
  16552. {
  16553. @@ -10731,52 +10462,32 @@
  16554. return 0;
  16555. }
  16556. _ACEOF
  16557. -rm -f conftest.$ac_objext conftest$ac_exeext
  16558. -if { (ac_try="$ac_link"
  16559. -case "(($ac_try" in
  16560. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16561. - *) ac_try_echo=$ac_try;;
  16562. -esac
  16563. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16564. - (eval "$ac_link") 2>conftest.er1
  16565. - ac_status=$?
  16566. - grep -v '^ *+' conftest.er1 >conftest.err
  16567. - rm -f conftest.er1
  16568. - cat conftest.err >&5
  16569. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16570. - (exit $ac_status); } && {
  16571. - test -z "$ac_c_werror_flag" ||
  16572. - test ! -s conftest.err
  16573. - } && test -s conftest$ac_exeext &&
  16574. - $as_test_x conftest$ac_exeext; then
  16575. - ac_cv_func_shl_load=yes
  16576. +if ac_fn_c_try_link "$LINENO"; then :
  16577. + ac_cv_lib_dld_shl_load=yes
  16578. else
  16579. - echo "$as_me: failed program was:" >&5
  16580. -sed 's/^/| /' conftest.$ac_ext >&5
  16581. -
  16582. - ac_cv_func_shl_load=no
  16583. + ac_cv_lib_dld_shl_load=no
  16584. fi
  16585. -
  16586. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16587. - conftest$ac_exeext conftest.$ac_ext
  16588. +rm -f core conftest.err conftest.$ac_objext \
  16589. + conftest$ac_exeext conftest.$ac_ext
  16590. +LIBS=$ac_check_lib_save_LIBS
  16591. fi
  16592. -{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  16593. -echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
  16594. -if test $ac_cv_func_shl_load = yes; then
  16595. - lt_cv_dlopen="shl_load"
  16596. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  16597. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  16598. +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
  16599. + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  16600. else
  16601. - { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  16602. -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
  16603. -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  16604. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16605. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  16606. +if test "x$ac_cv_func_dlopen" = x""yes; then :
  16607. + lt_cv_dlopen="dlopen"
  16608. +else
  16609. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  16610. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  16611. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  16612. + $as_echo_n "(cached) " >&6
  16613. else
  16614. ac_check_lib_save_LIBS=$LIBS
  16615. -LIBS="-ldld $LIBS"
  16616. -cat >conftest.$ac_ext <<_ACEOF
  16617. -/* confdefs.h. */
  16618. -_ACEOF
  16619. -cat confdefs.h >>conftest.$ac_ext
  16620. -cat >>conftest.$ac_ext <<_ACEOF
  16621. +LIBS="-ldl $LIBS"
  16622. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16623. /* end confdefs.h. */
  16624. /* Override any GCC internal prototype to avoid an error.
  16625. @@ -10785,210 +10496,37 @@
  16626. #ifdef __cplusplus
  16627. extern "C"
  16628. #endif
  16629. -char shl_load ();
  16630. +char dlopen ();
  16631. int
  16632. main ()
  16633. {
  16634. -return shl_load ();
  16635. +return dlopen ();
  16636. ;
  16637. return 0;
  16638. }
  16639. _ACEOF
  16640. -rm -f conftest.$ac_objext conftest$ac_exeext
  16641. -if { (ac_try="$ac_link"
  16642. -case "(($ac_try" in
  16643. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16644. - *) ac_try_echo=$ac_try;;
  16645. -esac
  16646. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16647. - (eval "$ac_link") 2>conftest.er1
  16648. - ac_status=$?
  16649. - grep -v '^ *+' conftest.er1 >conftest.err
  16650. - rm -f conftest.er1
  16651. - cat conftest.err >&5
  16652. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16653. - (exit $ac_status); } && {
  16654. - test -z "$ac_c_werror_flag" ||
  16655. - test ! -s conftest.err
  16656. - } && test -s conftest$ac_exeext &&
  16657. - $as_test_x conftest$ac_exeext; then
  16658. - ac_cv_lib_dld_shl_load=yes
  16659. +if ac_fn_c_try_link "$LINENO"; then :
  16660. + ac_cv_lib_dl_dlopen=yes
  16661. else
  16662. - echo "$as_me: failed program was:" >&5
  16663. -sed 's/^/| /' conftest.$ac_ext >&5
  16664. -
  16665. - ac_cv_lib_dld_shl_load=no
  16666. + ac_cv_lib_dl_dlopen=no
  16667. fi
  16668. -
  16669. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16670. - conftest$ac_exeext conftest.$ac_ext
  16671. +rm -f core conftest.err conftest.$ac_objext \
  16672. + conftest$ac_exeext conftest.$ac_ext
  16673. LIBS=$ac_check_lib_save_LIBS
  16674. fi
  16675. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  16676. -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
  16677. -if test $ac_cv_lib_dld_shl_load = yes; then
  16678. - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  16679. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  16680. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  16681. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  16682. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  16683. else
  16684. - { echo "$as_me:$LINENO: checking for dlopen" >&5
  16685. -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
  16686. -if test "${ac_cv_func_dlopen+set}" = set; then
  16687. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16688. -else
  16689. - cat >conftest.$ac_ext <<_ACEOF
  16690. -/* confdefs.h. */
  16691. -_ACEOF
  16692. -cat confdefs.h >>conftest.$ac_ext
  16693. -cat >>conftest.$ac_ext <<_ACEOF
  16694. -/* end confdefs.h. */
  16695. -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  16696. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  16697. -#define dlopen innocuous_dlopen
  16698. -
  16699. -/* System header to define __stub macros and hopefully few prototypes,
  16700. - which can conflict with char dlopen (); below.
  16701. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16702. - <limits.h> exists even on freestanding compilers. */
  16703. -
  16704. -#ifdef __STDC__
  16705. -# include <limits.h>
  16706. -#else
  16707. -# include <assert.h>
  16708. -#endif
  16709. -
  16710. -#undef dlopen
  16711. -
  16712. -/* Override any GCC internal prototype to avoid an error.
  16713. - Use char because int might match the return type of a GCC
  16714. - builtin and then its argument prototype would still apply. */
  16715. -#ifdef __cplusplus
  16716. -extern "C"
  16717. -#endif
  16718. -char dlopen ();
  16719. -/* The GNU C library defines this for functions which it implements
  16720. - to always fail with ENOSYS. Some functions are actually named
  16721. - something starting with __ and the normal name is an alias. */
  16722. -#if defined __stub_dlopen || defined __stub___dlopen
  16723. -choke me
  16724. -#endif
  16725. -
  16726. -int
  16727. -main ()
  16728. -{
  16729. -return dlopen ();
  16730. - ;
  16731. - return 0;
  16732. -}
  16733. -_ACEOF
  16734. -rm -f conftest.$ac_objext conftest$ac_exeext
  16735. -if { (ac_try="$ac_link"
  16736. -case "(($ac_try" in
  16737. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16738. - *) ac_try_echo=$ac_try;;
  16739. -esac
  16740. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16741. - (eval "$ac_link") 2>conftest.er1
  16742. - ac_status=$?
  16743. - grep -v '^ *+' conftest.er1 >conftest.err
  16744. - rm -f conftest.er1
  16745. - cat conftest.err >&5
  16746. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16747. - (exit $ac_status); } && {
  16748. - test -z "$ac_c_werror_flag" ||
  16749. - test ! -s conftest.err
  16750. - } && test -s conftest$ac_exeext &&
  16751. - $as_test_x conftest$ac_exeext; then
  16752. - ac_cv_func_dlopen=yes
  16753. -else
  16754. - echo "$as_me: failed program was:" >&5
  16755. -sed 's/^/| /' conftest.$ac_ext >&5
  16756. -
  16757. - ac_cv_func_dlopen=no
  16758. -fi
  16759. -
  16760. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16761. - conftest$ac_exeext conftest.$ac_ext
  16762. -fi
  16763. -{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  16764. -echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
  16765. -if test $ac_cv_func_dlopen = yes; then
  16766. - lt_cv_dlopen="dlopen"
  16767. -else
  16768. - { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  16769. -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
  16770. -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  16771. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16772. -else
  16773. - ac_check_lib_save_LIBS=$LIBS
  16774. -LIBS="-ldl $LIBS"
  16775. -cat >conftest.$ac_ext <<_ACEOF
  16776. -/* confdefs.h. */
  16777. -_ACEOF
  16778. -cat confdefs.h >>conftest.$ac_ext
  16779. -cat >>conftest.$ac_ext <<_ACEOF
  16780. -/* end confdefs.h. */
  16781. -
  16782. -/* Override any GCC internal prototype to avoid an error.
  16783. - Use char because int might match the return type of a GCC
  16784. - builtin and then its argument prototype would still apply. */
  16785. -#ifdef __cplusplus
  16786. -extern "C"
  16787. -#endif
  16788. -char dlopen ();
  16789. -int
  16790. -main ()
  16791. -{
  16792. -return dlopen ();
  16793. - ;
  16794. - return 0;
  16795. -}
  16796. -_ACEOF
  16797. -rm -f conftest.$ac_objext conftest$ac_exeext
  16798. -if { (ac_try="$ac_link"
  16799. -case "(($ac_try" in
  16800. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16801. - *) ac_try_echo=$ac_try;;
  16802. -esac
  16803. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16804. - (eval "$ac_link") 2>conftest.er1
  16805. - ac_status=$?
  16806. - grep -v '^ *+' conftest.er1 >conftest.err
  16807. - rm -f conftest.er1
  16808. - cat conftest.err >&5
  16809. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16810. - (exit $ac_status); } && {
  16811. - test -z "$ac_c_werror_flag" ||
  16812. - test ! -s conftest.err
  16813. - } && test -s conftest$ac_exeext &&
  16814. - $as_test_x conftest$ac_exeext; then
  16815. - ac_cv_lib_dl_dlopen=yes
  16816. -else
  16817. - echo "$as_me: failed program was:" >&5
  16818. -sed 's/^/| /' conftest.$ac_ext >&5
  16819. -
  16820. - ac_cv_lib_dl_dlopen=no
  16821. -fi
  16822. -
  16823. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16824. - conftest$ac_exeext conftest.$ac_ext
  16825. -LIBS=$ac_check_lib_save_LIBS
  16826. -fi
  16827. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  16828. -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
  16829. -if test $ac_cv_lib_dl_dlopen = yes; then
  16830. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  16831. -else
  16832. - { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
  16833. -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
  16834. -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
  16835. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16836. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  16837. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  16838. +if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
  16839. + $as_echo_n "(cached) " >&6
  16840. else
  16841. ac_check_lib_save_LIBS=$LIBS
  16842. LIBS="-lsvld $LIBS"
  16843. -cat >conftest.$ac_ext <<_ACEOF
  16844. -/* confdefs.h. */
  16845. -_ACEOF
  16846. -cat confdefs.h >>conftest.$ac_ext
  16847. -cat >>conftest.$ac_ext <<_ACEOF
  16848. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16849. /* end confdefs.h. */
  16850. /* Override any GCC internal prototype to avoid an error.
  16851. @@ -11006,53 +10544,28 @@
  16852. return 0;
  16853. }
  16854. _ACEOF
  16855. -rm -f conftest.$ac_objext conftest$ac_exeext
  16856. -if { (ac_try="$ac_link"
  16857. -case "(($ac_try" in
  16858. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16859. - *) ac_try_echo=$ac_try;;
  16860. -esac
  16861. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16862. - (eval "$ac_link") 2>conftest.er1
  16863. - ac_status=$?
  16864. - grep -v '^ *+' conftest.er1 >conftest.err
  16865. - rm -f conftest.er1
  16866. - cat conftest.err >&5
  16867. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16868. - (exit $ac_status); } && {
  16869. - test -z "$ac_c_werror_flag" ||
  16870. - test ! -s conftest.err
  16871. - } && test -s conftest$ac_exeext &&
  16872. - $as_test_x conftest$ac_exeext; then
  16873. +if ac_fn_c_try_link "$LINENO"; then :
  16874. ac_cv_lib_svld_dlopen=yes
  16875. else
  16876. - echo "$as_me: failed program was:" >&5
  16877. -sed 's/^/| /' conftest.$ac_ext >&5
  16878. -
  16879. - ac_cv_lib_svld_dlopen=no
  16880. + ac_cv_lib_svld_dlopen=no
  16881. fi
  16882. -
  16883. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16884. - conftest$ac_exeext conftest.$ac_ext
  16885. +rm -f core conftest.err conftest.$ac_objext \
  16886. + conftest$ac_exeext conftest.$ac_ext
  16887. LIBS=$ac_check_lib_save_LIBS
  16888. fi
  16889. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  16890. -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
  16891. -if test $ac_cv_lib_svld_dlopen = yes; then
  16892. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  16893. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  16894. +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
  16895. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  16896. else
  16897. - { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
  16898. -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
  16899. -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
  16900. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16901. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  16902. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  16903. +if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
  16904. + $as_echo_n "(cached) " >&6
  16905. else
  16906. ac_check_lib_save_LIBS=$LIBS
  16907. LIBS="-ldld $LIBS"
  16908. -cat >conftest.$ac_ext <<_ACEOF
  16909. -/* confdefs.h. */
  16910. -_ACEOF
  16911. -cat confdefs.h >>conftest.$ac_ext
  16912. -cat >>conftest.$ac_ext <<_ACEOF
  16913. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16914. /* end confdefs.h. */
  16915. /* Override any GCC internal prototype to avoid an error.
  16916. @@ -11070,39 +10583,18 @@
  16917. return 0;
  16918. }
  16919. _ACEOF
  16920. -rm -f conftest.$ac_objext conftest$ac_exeext
  16921. -if { (ac_try="$ac_link"
  16922. -case "(($ac_try" in
  16923. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16924. - *) ac_try_echo=$ac_try;;
  16925. -esac
  16926. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  16927. - (eval "$ac_link") 2>conftest.er1
  16928. - ac_status=$?
  16929. - grep -v '^ *+' conftest.er1 >conftest.err
  16930. - rm -f conftest.er1
  16931. - cat conftest.err >&5
  16932. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16933. - (exit $ac_status); } && {
  16934. - test -z "$ac_c_werror_flag" ||
  16935. - test ! -s conftest.err
  16936. - } && test -s conftest$ac_exeext &&
  16937. - $as_test_x conftest$ac_exeext; then
  16938. +if ac_fn_c_try_link "$LINENO"; then :
  16939. ac_cv_lib_dld_dld_link=yes
  16940. else
  16941. - echo "$as_me: failed program was:" >&5
  16942. -sed 's/^/| /' conftest.$ac_ext >&5
  16943. -
  16944. - ac_cv_lib_dld_dld_link=no
  16945. + ac_cv_lib_dld_dld_link=no
  16946. fi
  16947. -
  16948. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16949. - conftest$ac_exeext conftest.$ac_ext
  16950. +rm -f core conftest.err conftest.$ac_objext \
  16951. + conftest$ac_exeext conftest.$ac_ext
  16952. LIBS=$ac_check_lib_save_LIBS
  16953. fi
  16954. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  16955. -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
  16956. -if test $ac_cv_lib_dld_dld_link = yes; then
  16957. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  16958. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  16959. +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
  16960. lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  16961. fi
  16962. @@ -11141,10 +10633,10 @@
  16963. save_LIBS="$LIBS"
  16964. LIBS="$lt_cv_dlopen_libs $LIBS"
  16965. - { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
  16966. -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
  16967. -if test "${lt_cv_dlopen_self+set}" = set; then
  16968. - echo $ECHO_N "(cached) $ECHO_C" >&6
  16969. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  16970. +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  16971. +if test "${lt_cv_dlopen_self+set}" = set; then :
  16972. + $as_echo_n "(cached) " >&6
  16973. else
  16974. if test "$cross_compiling" = yes; then :
  16975. lt_cv_dlopen_self=cross
  16976. @@ -11152,7 +10644,7 @@
  16977. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  16978. lt_status=$lt_dlunknown
  16979. cat > conftest.$ac_ext <<_LT_EOF
  16980. -#line 11155 "configure"
  16981. +#line 10647 "configure"
  16982. #include "confdefs.h"
  16983. #if HAVE_DLFCN_H
  16984. @@ -11193,10 +10685,6 @@
  16985. # endif
  16986. #endif
  16987. -#ifdef __cplusplus
  16988. -extern "C" void exit (int);
  16989. -#endif
  16990. -
  16991. void fnord() { int i=42;}
  16992. int main ()
  16993. {
  16994. @@ -11212,14 +10700,14 @@
  16995. else
  16996. puts (dlerror ());
  16997. - exit (status);
  16998. + return status;
  16999. }
  17000. _LT_EOF
  17001. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  17002. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  17003. (eval $ac_link) 2>&5
  17004. ac_status=$?
  17005. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17006. - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  17007. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17008. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  17009. (./conftest; exit; ) >&5 2>/dev/null
  17010. lt_status=$?
  17011. case x$lt_status in
  17012. @@ -11236,15 +10724,15 @@
  17013. fi
  17014. -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
  17015. -echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
  17016. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  17017. +$as_echo "$lt_cv_dlopen_self" >&6; }
  17018. if test "x$lt_cv_dlopen_self" = xyes; then
  17019. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  17020. - { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
  17021. -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
  17022. -if test "${lt_cv_dlopen_self_static+set}" = set; then
  17023. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17024. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  17025. +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  17026. +if test "${lt_cv_dlopen_self_static+set}" = set; then :
  17027. + $as_echo_n "(cached) " >&6
  17028. else
  17029. if test "$cross_compiling" = yes; then :
  17030. lt_cv_dlopen_self_static=cross
  17031. @@ -11252,7 +10740,7 @@
  17032. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  17033. lt_status=$lt_dlunknown
  17034. cat > conftest.$ac_ext <<_LT_EOF
  17035. -#line 11255 "configure"
  17036. +#line 10743 "configure"
  17037. #include "confdefs.h"
  17038. #if HAVE_DLFCN_H
  17039. @@ -11293,10 +10781,6 @@
  17040. # endif
  17041. #endif
  17042. -#ifdef __cplusplus
  17043. -extern "C" void exit (int);
  17044. -#endif
  17045. -
  17046. void fnord() { int i=42;}
  17047. int main ()
  17048. {
  17049. @@ -11312,14 +10796,14 @@
  17050. else
  17051. puts (dlerror ());
  17052. - exit (status);
  17053. + return status;
  17054. }
  17055. _LT_EOF
  17056. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  17057. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  17058. (eval $ac_link) 2>&5
  17059. ac_status=$?
  17060. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17061. - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  17062. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17063. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  17064. (./conftest; exit; ) >&5 2>/dev/null
  17065. lt_status=$?
  17066. case x$lt_status in
  17067. @@ -11336,8 +10820,8 @@
  17068. fi
  17069. -{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
  17070. -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
  17071. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  17072. +$as_echo "$lt_cv_dlopen_self_static" >&6; }
  17073. fi
  17074. CPPFLAGS="$save_CPPFLAGS"
  17075. @@ -11375,13 +10859,13 @@
  17076. striplib=
  17077. old_striplib=
  17078. -{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
  17079. -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
  17080. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  17081. +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  17082. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  17083. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  17084. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  17085. - { echo "$as_me:$LINENO: result: yes" >&5
  17086. -echo "${ECHO_T}yes" >&6; }
  17087. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17088. +$as_echo "yes" >&6; }
  17089. else
  17090. # FIXME - insert some real tests, host_os isn't really good enough
  17091. case $host_os in
  17092. @@ -11389,16 +10873,16 @@
  17093. if test -n "$STRIP" ; then
  17094. striplib="$STRIP -x"
  17095. old_striplib="$STRIP -S"
  17096. - { echo "$as_me:$LINENO: result: yes" >&5
  17097. -echo "${ECHO_T}yes" >&6; }
  17098. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17099. +$as_echo "yes" >&6; }
  17100. else
  17101. - { echo "$as_me:$LINENO: result: no" >&5
  17102. -echo "${ECHO_T}no" >&6; }
  17103. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17104. +$as_echo "no" >&6; }
  17105. fi
  17106. ;;
  17107. *)
  17108. - { echo "$as_me:$LINENO: result: no" >&5
  17109. -echo "${ECHO_T}no" >&6; }
  17110. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17111. +$as_echo "no" >&6; }
  17112. ;;
  17113. esac
  17114. fi
  17115. @@ -11415,13 +10899,13 @@
  17116. # Report which library types will actually be built
  17117. - { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
  17118. -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
  17119. - { echo "$as_me:$LINENO: result: $can_build_shared" >&5
  17120. -echo "${ECHO_T}$can_build_shared" >&6; }
  17121. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  17122. +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  17123. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  17124. +$as_echo "$can_build_shared" >&6; }
  17125. - { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
  17126. -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
  17127. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  17128. +$as_echo_n "checking whether to build shared libraries... " >&6; }
  17129. test "$can_build_shared" = "no" && enable_shared=no
  17130. # On AIX, shared libraries and static libraries use the same namespace, and
  17131. @@ -11441,15 +10925,15 @@
  17132. fi
  17133. ;;
  17134. esac
  17135. - { echo "$as_me:$LINENO: result: $enable_shared" >&5
  17136. -echo "${ECHO_T}$enable_shared" >&6; }
  17137. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  17138. +$as_echo "$enable_shared" >&6; }
  17139. - { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
  17140. -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
  17141. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  17142. +$as_echo_n "checking whether to build static libraries... " >&6; }
  17143. # Make sure either enable_shared or enable_static is yes.
  17144. test "$enable_shared" = yes || enable_static=yes
  17145. - { echo "$as_me:$LINENO: result: $enable_static" >&5
  17146. -echo "${ECHO_T}$enable_static" >&6; }
  17147. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  17148. +$as_echo "$enable_static" >&6; }
  17149. @@ -11497,10 +10981,10 @@
  17150. do
  17151. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  17152. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  17153. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  17154. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  17155. -if test "${ac_cv_prog_CXX+set}" = set; then
  17156. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17157. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17158. +$as_echo_n "checking for $ac_word... " >&6; }
  17159. +if test "${ac_cv_prog_CXX+set}" = set; then :
  17160. + $as_echo_n "(cached) " >&6
  17161. else
  17162. if test -n "$CXX"; then
  17163. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  17164. @@ -11510,25 +10994,25 @@
  17165. do
  17166. IFS=$as_save_IFS
  17167. test -z "$as_dir" && as_dir=.
  17168. - for ac_exec_ext in '' $ac_executable_extensions; do
  17169. + for ac_exec_ext in '' $ac_executable_extensions; do
  17170. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17171. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  17172. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17173. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17174. break 2
  17175. fi
  17176. done
  17177. -done
  17178. + done
  17179. IFS=$as_save_IFS
  17180. fi
  17181. fi
  17182. CXX=$ac_cv_prog_CXX
  17183. if test -n "$CXX"; then
  17184. - { echo "$as_me:$LINENO: result: $CXX" >&5
  17185. -echo "${ECHO_T}$CXX" >&6; }
  17186. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  17187. +$as_echo "$CXX" >&6; }
  17188. else
  17189. - { echo "$as_me:$LINENO: result: no" >&5
  17190. -echo "${ECHO_T}no" >&6; }
  17191. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17192. +$as_echo "no" >&6; }
  17193. fi
  17194. @@ -11541,10 +11025,10 @@
  17195. do
  17196. # Extract the first word of "$ac_prog", so it can be a program name with args.
  17197. set dummy $ac_prog; ac_word=$2
  17198. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  17199. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  17200. -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
  17201. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17202. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17203. +$as_echo_n "checking for $ac_word... " >&6; }
  17204. +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
  17205. + $as_echo_n "(cached) " >&6
  17206. else
  17207. if test -n "$ac_ct_CXX"; then
  17208. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  17209. @@ -11554,25 +11038,25 @@
  17210. do
  17211. IFS=$as_save_IFS
  17212. test -z "$as_dir" && as_dir=.
  17213. - for ac_exec_ext in '' $ac_executable_extensions; do
  17214. + for ac_exec_ext in '' $ac_executable_extensions; do
  17215. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17216. ac_cv_prog_ac_ct_CXX="$ac_prog"
  17217. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17218. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17219. break 2
  17220. fi
  17221. done
  17222. -done
  17223. + done
  17224. IFS=$as_save_IFS
  17225. fi
  17226. fi
  17227. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  17228. if test -n "$ac_ct_CXX"; then
  17229. - { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
  17230. -echo "${ECHO_T}$ac_ct_CXX" >&6; }
  17231. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  17232. +$as_echo "$ac_ct_CXX" >&6; }
  17233. else
  17234. - { echo "$as_me:$LINENO: result: no" >&5
  17235. -echo "${ECHO_T}no" >&6; }
  17236. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17237. +$as_echo "no" >&6; }
  17238. fi
  17239. @@ -11584,12 +11068,8 @@
  17240. else
  17241. case $cross_compiling:$ac_tool_warned in
  17242. yes:)
  17243. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  17244. -whose name does not start with the host triplet. If you think this
  17245. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  17246. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  17247. -whose name does not start with the host triplet. If you think this
  17248. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  17249. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  17250. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  17251. ac_tool_warned=yes ;;
  17252. esac
  17253. CXX=$ac_ct_CXX
  17254. @@ -11599,49 +11079,36 @@
  17255. fi
  17256. fi
  17257. # Provide some information about the compiler.
  17258. -echo "$as_me:$LINENO: checking for C++ compiler version" >&5
  17259. -ac_compiler=`set X $ac_compile; echo $2`
  17260. -{ (ac_try="$ac_compiler --version >&5"
  17261. -case "(($ac_try" in
  17262. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17263. - *) ac_try_echo=$ac_try;;
  17264. -esac
  17265. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17266. - (eval "$ac_compiler --version >&5") 2>&5
  17267. - ac_status=$?
  17268. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17269. - (exit $ac_status); }
  17270. -{ (ac_try="$ac_compiler -v >&5"
  17271. -case "(($ac_try" in
  17272. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17273. - *) ac_try_echo=$ac_try;;
  17274. -esac
  17275. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17276. - (eval "$ac_compiler -v >&5") 2>&5
  17277. - ac_status=$?
  17278. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17279. - (exit $ac_status); }
  17280. -{ (ac_try="$ac_compiler -V >&5"
  17281. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  17282. +set X $ac_compile
  17283. +ac_compiler=$2
  17284. +for ac_option in --version -v -V -qversion; do
  17285. + { { ac_try="$ac_compiler $ac_option >&5"
  17286. case "(($ac_try" in
  17287. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17288. *) ac_try_echo=$ac_try;;
  17289. esac
  17290. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17291. - (eval "$ac_compiler -V >&5") 2>&5
  17292. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  17293. +$as_echo "$ac_try_echo"; } >&5
  17294. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  17295. ac_status=$?
  17296. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17297. - (exit $ac_status); }
  17298. + if test -s conftest.err; then
  17299. + sed '10a\
  17300. +... rest of stderr output deleted ...
  17301. + 10q' conftest.err >conftest.er1
  17302. + cat conftest.er1 >&5
  17303. + fi
  17304. + rm -f conftest.er1 conftest.err
  17305. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17306. + test $ac_status = 0; }
  17307. +done
  17308. -{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
  17309. -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
  17310. -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
  17311. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17312. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  17313. +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  17314. +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
  17315. + $as_echo_n "(cached) " >&6
  17316. else
  17317. - cat >conftest.$ac_ext <<_ACEOF
  17318. -/* confdefs.h. */
  17319. -_ACEOF
  17320. -cat confdefs.h >>conftest.$ac_ext
  17321. -cat >>conftest.$ac_ext <<_ACEOF
  17322. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17323. /* end confdefs.h. */
  17324. int
  17325. @@ -11655,54 +11122,34 @@
  17326. return 0;
  17327. }
  17328. _ACEOF
  17329. -rm -f conftest.$ac_objext
  17330. -if { (ac_try="$ac_compile"
  17331. -case "(($ac_try" in
  17332. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17333. - *) ac_try_echo=$ac_try;;
  17334. -esac
  17335. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17336. - (eval "$ac_compile") 2>conftest.er1
  17337. - ac_status=$?
  17338. - grep -v '^ *+' conftest.er1 >conftest.err
  17339. - rm -f conftest.er1
  17340. - cat conftest.err >&5
  17341. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17342. - (exit $ac_status); } && {
  17343. - test -z "$ac_cxx_werror_flag" ||
  17344. - test ! -s conftest.err
  17345. - } && test -s conftest.$ac_objext; then
  17346. +if ac_fn_cxx_try_compile "$LINENO"; then :
  17347. ac_compiler_gnu=yes
  17348. else
  17349. - echo "$as_me: failed program was:" >&5
  17350. -sed 's/^/| /' conftest.$ac_ext >&5
  17351. -
  17352. - ac_compiler_gnu=no
  17353. + ac_compiler_gnu=no
  17354. fi
  17355. -
  17356. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17357. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  17358. fi
  17359. -{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
  17360. -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
  17361. -GXX=`test $ac_compiler_gnu = yes && echo yes`
  17362. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  17363. +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  17364. +if test $ac_compiler_gnu = yes; then
  17365. + GXX=yes
  17366. +else
  17367. + GXX=
  17368. +fi
  17369. ac_test_CXXFLAGS=${CXXFLAGS+set}
  17370. ac_save_CXXFLAGS=$CXXFLAGS
  17371. -{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
  17372. -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
  17373. -if test "${ac_cv_prog_cxx_g+set}" = set; then
  17374. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17375. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  17376. +$as_echo_n "checking whether $CXX accepts -g... " >&6; }
  17377. +if test "${ac_cv_prog_cxx_g+set}" = set; then :
  17378. + $as_echo_n "(cached) " >&6
  17379. else
  17380. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  17381. ac_cxx_werror_flag=yes
  17382. ac_cv_prog_cxx_g=no
  17383. CXXFLAGS="-g"
  17384. - cat >conftest.$ac_ext <<_ACEOF
  17385. -/* confdefs.h. */
  17386. -_ACEOF
  17387. -cat confdefs.h >>conftest.$ac_ext
  17388. -cat >>conftest.$ac_ext <<_ACEOF
  17389. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17390. /* end confdefs.h. */
  17391. int
  17392. @@ -11713,34 +11160,11 @@
  17393. return 0;
  17394. }
  17395. _ACEOF
  17396. -rm -f conftest.$ac_objext
  17397. -if { (ac_try="$ac_compile"
  17398. -case "(($ac_try" in
  17399. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17400. - *) ac_try_echo=$ac_try;;
  17401. -esac
  17402. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17403. - (eval "$ac_compile") 2>conftest.er1
  17404. - ac_status=$?
  17405. - grep -v '^ *+' conftest.er1 >conftest.err
  17406. - rm -f conftest.er1
  17407. - cat conftest.err >&5
  17408. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17409. - (exit $ac_status); } && {
  17410. - test -z "$ac_cxx_werror_flag" ||
  17411. - test ! -s conftest.err
  17412. - } && test -s conftest.$ac_objext; then
  17413. +if ac_fn_cxx_try_compile "$LINENO"; then :
  17414. ac_cv_prog_cxx_g=yes
  17415. else
  17416. - echo "$as_me: failed program was:" >&5
  17417. -sed 's/^/| /' conftest.$ac_ext >&5
  17418. -
  17419. - CXXFLAGS=""
  17420. - cat >conftest.$ac_ext <<_ACEOF
  17421. -/* confdefs.h. */
  17422. -_ACEOF
  17423. -cat confdefs.h >>conftest.$ac_ext
  17424. -cat >>conftest.$ac_ext <<_ACEOF
  17425. + CXXFLAGS=""
  17426. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17427. /* end confdefs.h. */
  17428. int
  17429. @@ -11751,35 +11175,12 @@
  17430. return 0;
  17431. }
  17432. _ACEOF
  17433. -rm -f conftest.$ac_objext
  17434. -if { (ac_try="$ac_compile"
  17435. -case "(($ac_try" in
  17436. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17437. - *) ac_try_echo=$ac_try;;
  17438. -esac
  17439. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17440. - (eval "$ac_compile") 2>conftest.er1
  17441. - ac_status=$?
  17442. - grep -v '^ *+' conftest.er1 >conftest.err
  17443. - rm -f conftest.er1
  17444. - cat conftest.err >&5
  17445. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17446. - (exit $ac_status); } && {
  17447. - test -z "$ac_cxx_werror_flag" ||
  17448. - test ! -s conftest.err
  17449. - } && test -s conftest.$ac_objext; then
  17450. - :
  17451. -else
  17452. - echo "$as_me: failed program was:" >&5
  17453. -sed 's/^/| /' conftest.$ac_ext >&5
  17454. +if ac_fn_cxx_try_compile "$LINENO"; then :
  17455. - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  17456. +else
  17457. + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  17458. CXXFLAGS="-g"
  17459. - cat >conftest.$ac_ext <<_ACEOF
  17460. -/* confdefs.h. */
  17461. -_ACEOF
  17462. -cat confdefs.h >>conftest.$ac_ext
  17463. -cat >>conftest.$ac_ext <<_ACEOF
  17464. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17465. /* end confdefs.h. */
  17466. int
  17467. @@ -11790,42 +11191,18 @@
  17468. return 0;
  17469. }
  17470. _ACEOF
  17471. -rm -f conftest.$ac_objext
  17472. -if { (ac_try="$ac_compile"
  17473. -case "(($ac_try" in
  17474. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17475. - *) ac_try_echo=$ac_try;;
  17476. -esac
  17477. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17478. - (eval "$ac_compile") 2>conftest.er1
  17479. - ac_status=$?
  17480. - grep -v '^ *+' conftest.er1 >conftest.err
  17481. - rm -f conftest.er1
  17482. - cat conftest.err >&5
  17483. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17484. - (exit $ac_status); } && {
  17485. - test -z "$ac_cxx_werror_flag" ||
  17486. - test ! -s conftest.err
  17487. - } && test -s conftest.$ac_objext; then
  17488. +if ac_fn_cxx_try_compile "$LINENO"; then :
  17489. ac_cv_prog_cxx_g=yes
  17490. -else
  17491. - echo "$as_me: failed program was:" >&5
  17492. -sed 's/^/| /' conftest.$ac_ext >&5
  17493. -
  17494. -
  17495. fi
  17496. -
  17497. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17498. fi
  17499. -
  17500. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17501. fi
  17502. -
  17503. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17504. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  17505. fi
  17506. -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
  17507. -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
  17508. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  17509. +$as_echo "$ac_cv_prog_cxx_g" >&6; }
  17510. if test "$ac_test_CXXFLAGS" = set; then
  17511. CXXFLAGS=$ac_save_CXXFLAGS
  17512. elif test $ac_cv_prog_cxx_g = yes; then
  17513. @@ -11849,10 +11226,10 @@
  17514. depcc="$CXX" am_compiler_list=
  17515. -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  17516. -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  17517. -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
  17518. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17519. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  17520. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  17521. +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
  17522. + $as_echo_n "(cached) " >&6
  17523. else
  17524. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  17525. # We make a subdir and do the tests there. Otherwise we can end up
  17526. @@ -11877,6 +11254,11 @@
  17527. if test "$am_compiler_list" = ""; then
  17528. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  17529. fi
  17530. + am__universal=false
  17531. + case " $depcc " in #(
  17532. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  17533. + esac
  17534. +
  17535. for depmode in $am_compiler_list; do
  17536. # Setup a source with many dependencies, because some compilers
  17537. # like to wrap large dependency lists on column 80 (with \), and
  17538. @@ -11894,7 +11276,17 @@
  17539. done
  17540. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  17541. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  17542. + # mode. It turns out that the SunPro C++ compiler does not properly
  17543. + # handle `-M -o', and we need to detect this. Also, some Intel
  17544. + # versions had trouble with output in subdirs
  17545. + am__obj=sub/conftest.${OBJEXT-o}
  17546. + am__minus_obj="-o $am__obj"
  17547. case $depmode in
  17548. + gcc)
  17549. + # This depmode causes a compiler race in universal mode.
  17550. + test "$am__universal" = false || continue
  17551. + ;;
  17552. nosideeffect)
  17553. # after this tag, mechanisms are not by side-effect, so they'll
  17554. # only be used when explicitly requested
  17555. @@ -11904,19 +11296,23 @@
  17556. break
  17557. fi
  17558. ;;
  17559. + msvisualcpp | msvcmsys)
  17560. + # This compiler won't grok `-c -o', but also, the minuso test has
  17561. + # not run yet. These depmodes are late enough in the game, and
  17562. + # so weak that their functioning should not be impacted.
  17563. + am__obj=conftest.${OBJEXT-o}
  17564. + am__minus_obj=
  17565. + ;;
  17566. none) break ;;
  17567. esac
  17568. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  17569. - # mode. It turns out that the SunPro C++ compiler does not properly
  17570. - # handle `-M -o', and we need to detect this.
  17571. if depmode=$depmode \
  17572. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  17573. + source=sub/conftest.c object=$am__obj \
  17574. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  17575. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  17576. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  17577. >/dev/null 2>conftest.err &&
  17578. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  17579. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  17580. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  17581. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  17582. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  17583. # icc doesn't choke on unknown options, it will just issue warnings
  17584. # or remarks (even with -Werror). So we grep stderr for any message
  17585. @@ -11940,8 +11336,8 @@
  17586. fi
  17587. fi
  17588. -{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
  17589. -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
  17590. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  17591. +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  17592. CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  17593. if
  17594. @@ -11970,10 +11366,10 @@
  17595. do
  17596. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  17597. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  17598. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  17599. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  17600. -if test "${ac_cv_prog_CXX+set}" = set; then
  17601. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17602. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17603. +$as_echo_n "checking for $ac_word... " >&6; }
  17604. +if test "${ac_cv_prog_CXX+set}" = set; then :
  17605. + $as_echo_n "(cached) " >&6
  17606. else
  17607. if test -n "$CXX"; then
  17608. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  17609. @@ -11983,25 +11379,25 @@
  17610. do
  17611. IFS=$as_save_IFS
  17612. test -z "$as_dir" && as_dir=.
  17613. - for ac_exec_ext in '' $ac_executable_extensions; do
  17614. + for ac_exec_ext in '' $ac_executable_extensions; do
  17615. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17616. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  17617. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17618. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17619. break 2
  17620. fi
  17621. done
  17622. -done
  17623. + done
  17624. IFS=$as_save_IFS
  17625. fi
  17626. fi
  17627. CXX=$ac_cv_prog_CXX
  17628. if test -n "$CXX"; then
  17629. - { echo "$as_me:$LINENO: result: $CXX" >&5
  17630. -echo "${ECHO_T}$CXX" >&6; }
  17631. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  17632. +$as_echo "$CXX" >&6; }
  17633. else
  17634. - { echo "$as_me:$LINENO: result: no" >&5
  17635. -echo "${ECHO_T}no" >&6; }
  17636. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17637. +$as_echo "no" >&6; }
  17638. fi
  17639. @@ -12014,10 +11410,10 @@
  17640. do
  17641. # Extract the first word of "$ac_prog", so it can be a program name with args.
  17642. set dummy $ac_prog; ac_word=$2
  17643. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  17644. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  17645. -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
  17646. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17647. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17648. +$as_echo_n "checking for $ac_word... " >&6; }
  17649. +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
  17650. + $as_echo_n "(cached) " >&6
  17651. else
  17652. if test -n "$ac_ct_CXX"; then
  17653. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  17654. @@ -12027,25 +11423,25 @@
  17655. do
  17656. IFS=$as_save_IFS
  17657. test -z "$as_dir" && as_dir=.
  17658. - for ac_exec_ext in '' $ac_executable_extensions; do
  17659. + for ac_exec_ext in '' $ac_executable_extensions; do
  17660. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17661. ac_cv_prog_ac_ct_CXX="$ac_prog"
  17662. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17663. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17664. break 2
  17665. fi
  17666. done
  17667. -done
  17668. + done
  17669. IFS=$as_save_IFS
  17670. fi
  17671. fi
  17672. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  17673. if test -n "$ac_ct_CXX"; then
  17674. - { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
  17675. -echo "${ECHO_T}$ac_ct_CXX" >&6; }
  17676. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  17677. +$as_echo "$ac_ct_CXX" >&6; }
  17678. else
  17679. - { echo "$as_me:$LINENO: result: no" >&5
  17680. -echo "${ECHO_T}no" >&6; }
  17681. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17682. +$as_echo "no" >&6; }
  17683. fi
  17684. @@ -12057,12 +11453,8 @@
  17685. else
  17686. case $cross_compiling:$ac_tool_warned in
  17687. yes:)
  17688. -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  17689. -whose name does not start with the host triplet. If you think this
  17690. -configuration is useful to you, please write to autoconf@gnu.org." >&5
  17691. -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  17692. -whose name does not start with the host triplet. If you think this
  17693. -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  17694. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  17695. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  17696. ac_tool_warned=yes ;;
  17697. esac
  17698. CXX=$ac_ct_CXX
  17699. @@ -12072,49 +11464,36 @@
  17700. fi
  17701. fi
  17702. # Provide some information about the compiler.
  17703. -echo "$as_me:$LINENO: checking for C++ compiler version" >&5
  17704. -ac_compiler=`set X $ac_compile; echo $2`
  17705. -{ (ac_try="$ac_compiler --version >&5"
  17706. -case "(($ac_try" in
  17707. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17708. - *) ac_try_echo=$ac_try;;
  17709. -esac
  17710. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17711. - (eval "$ac_compiler --version >&5") 2>&5
  17712. - ac_status=$?
  17713. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17714. - (exit $ac_status); }
  17715. -{ (ac_try="$ac_compiler -v >&5"
  17716. -case "(($ac_try" in
  17717. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17718. - *) ac_try_echo=$ac_try;;
  17719. -esac
  17720. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17721. - (eval "$ac_compiler -v >&5") 2>&5
  17722. - ac_status=$?
  17723. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17724. - (exit $ac_status); }
  17725. -{ (ac_try="$ac_compiler -V >&5"
  17726. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  17727. +set X $ac_compile
  17728. +ac_compiler=$2
  17729. +for ac_option in --version -v -V -qversion; do
  17730. + { { ac_try="$ac_compiler $ac_option >&5"
  17731. case "(($ac_try" in
  17732. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17733. *) ac_try_echo=$ac_try;;
  17734. esac
  17735. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17736. - (eval "$ac_compiler -V >&5") 2>&5
  17737. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  17738. +$as_echo "$ac_try_echo"; } >&5
  17739. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  17740. ac_status=$?
  17741. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17742. - (exit $ac_status); }
  17743. + if test -s conftest.err; then
  17744. + sed '10a\
  17745. +... rest of stderr output deleted ...
  17746. + 10q' conftest.err >conftest.er1
  17747. + cat conftest.er1 >&5
  17748. + fi
  17749. + rm -f conftest.er1 conftest.err
  17750. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17751. + test $ac_status = 0; }
  17752. +done
  17753. -{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
  17754. -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
  17755. -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
  17756. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17757. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  17758. +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  17759. +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
  17760. + $as_echo_n "(cached) " >&6
  17761. else
  17762. - cat >conftest.$ac_ext <<_ACEOF
  17763. -/* confdefs.h. */
  17764. -_ACEOF
  17765. -cat confdefs.h >>conftest.$ac_ext
  17766. -cat >>conftest.$ac_ext <<_ACEOF
  17767. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17768. /* end confdefs.h. */
  17769. int
  17770. @@ -12128,54 +11507,34 @@
  17771. return 0;
  17772. }
  17773. _ACEOF
  17774. -rm -f conftest.$ac_objext
  17775. -if { (ac_try="$ac_compile"
  17776. -case "(($ac_try" in
  17777. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17778. - *) ac_try_echo=$ac_try;;
  17779. -esac
  17780. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17781. - (eval "$ac_compile") 2>conftest.er1
  17782. - ac_status=$?
  17783. - grep -v '^ *+' conftest.er1 >conftest.err
  17784. - rm -f conftest.er1
  17785. - cat conftest.err >&5
  17786. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17787. - (exit $ac_status); } && {
  17788. - test -z "$ac_cxx_werror_flag" ||
  17789. - test ! -s conftest.err
  17790. - } && test -s conftest.$ac_objext; then
  17791. +if ac_fn_cxx_try_compile "$LINENO"; then :
  17792. ac_compiler_gnu=yes
  17793. else
  17794. - echo "$as_me: failed program was:" >&5
  17795. -sed 's/^/| /' conftest.$ac_ext >&5
  17796. -
  17797. - ac_compiler_gnu=no
  17798. + ac_compiler_gnu=no
  17799. fi
  17800. -
  17801. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17802. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  17803. fi
  17804. -{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
  17805. -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
  17806. -GXX=`test $ac_compiler_gnu = yes && echo yes`
  17807. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  17808. +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  17809. +if test $ac_compiler_gnu = yes; then
  17810. + GXX=yes
  17811. +else
  17812. + GXX=
  17813. +fi
  17814. ac_test_CXXFLAGS=${CXXFLAGS+set}
  17815. ac_save_CXXFLAGS=$CXXFLAGS
  17816. -{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
  17817. -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
  17818. -if test "${ac_cv_prog_cxx_g+set}" = set; then
  17819. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17820. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  17821. +$as_echo_n "checking whether $CXX accepts -g... " >&6; }
  17822. +if test "${ac_cv_prog_cxx_g+set}" = set; then :
  17823. + $as_echo_n "(cached) " >&6
  17824. else
  17825. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  17826. ac_cxx_werror_flag=yes
  17827. ac_cv_prog_cxx_g=no
  17828. CXXFLAGS="-g"
  17829. - cat >conftest.$ac_ext <<_ACEOF
  17830. -/* confdefs.h. */
  17831. -_ACEOF
  17832. -cat confdefs.h >>conftest.$ac_ext
  17833. -cat >>conftest.$ac_ext <<_ACEOF
  17834. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17835. /* end confdefs.h. */
  17836. int
  17837. @@ -12186,34 +11545,11 @@
  17838. return 0;
  17839. }
  17840. _ACEOF
  17841. -rm -f conftest.$ac_objext
  17842. -if { (ac_try="$ac_compile"
  17843. -case "(($ac_try" in
  17844. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17845. - *) ac_try_echo=$ac_try;;
  17846. -esac
  17847. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17848. - (eval "$ac_compile") 2>conftest.er1
  17849. - ac_status=$?
  17850. - grep -v '^ *+' conftest.er1 >conftest.err
  17851. - rm -f conftest.er1
  17852. - cat conftest.err >&5
  17853. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17854. - (exit $ac_status); } && {
  17855. - test -z "$ac_cxx_werror_flag" ||
  17856. - test ! -s conftest.err
  17857. - } && test -s conftest.$ac_objext; then
  17858. +if ac_fn_cxx_try_compile "$LINENO"; then :
  17859. ac_cv_prog_cxx_g=yes
  17860. else
  17861. - echo "$as_me: failed program was:" >&5
  17862. -sed 's/^/| /' conftest.$ac_ext >&5
  17863. -
  17864. - CXXFLAGS=""
  17865. - cat >conftest.$ac_ext <<_ACEOF
  17866. -/* confdefs.h. */
  17867. -_ACEOF
  17868. -cat confdefs.h >>conftest.$ac_ext
  17869. -cat >>conftest.$ac_ext <<_ACEOF
  17870. + CXXFLAGS=""
  17871. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17872. /* end confdefs.h. */
  17873. int
  17874. @@ -12224,35 +11560,12 @@
  17875. return 0;
  17876. }
  17877. _ACEOF
  17878. -rm -f conftest.$ac_objext
  17879. -if { (ac_try="$ac_compile"
  17880. -case "(($ac_try" in
  17881. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17882. - *) ac_try_echo=$ac_try;;
  17883. -esac
  17884. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17885. - (eval "$ac_compile") 2>conftest.er1
  17886. - ac_status=$?
  17887. - grep -v '^ *+' conftest.er1 >conftest.err
  17888. - rm -f conftest.er1
  17889. - cat conftest.err >&5
  17890. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17891. - (exit $ac_status); } && {
  17892. - test -z "$ac_cxx_werror_flag" ||
  17893. - test ! -s conftest.err
  17894. - } && test -s conftest.$ac_objext; then
  17895. - :
  17896. -else
  17897. - echo "$as_me: failed program was:" >&5
  17898. -sed 's/^/| /' conftest.$ac_ext >&5
  17899. +if ac_fn_cxx_try_compile "$LINENO"; then :
  17900. - ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  17901. +else
  17902. + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  17903. CXXFLAGS="-g"
  17904. - cat >conftest.$ac_ext <<_ACEOF
  17905. -/* confdefs.h. */
  17906. -_ACEOF
  17907. -cat confdefs.h >>conftest.$ac_ext
  17908. -cat >>conftest.$ac_ext <<_ACEOF
  17909. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17910. /* end confdefs.h. */
  17911. int
  17912. @@ -12263,42 +11576,18 @@
  17913. return 0;
  17914. }
  17915. _ACEOF
  17916. -rm -f conftest.$ac_objext
  17917. -if { (ac_try="$ac_compile"
  17918. -case "(($ac_try" in
  17919. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17920. - *) ac_try_echo=$ac_try;;
  17921. -esac
  17922. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  17923. - (eval "$ac_compile") 2>conftest.er1
  17924. - ac_status=$?
  17925. - grep -v '^ *+' conftest.er1 >conftest.err
  17926. - rm -f conftest.er1
  17927. - cat conftest.err >&5
  17928. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17929. - (exit $ac_status); } && {
  17930. - test -z "$ac_cxx_werror_flag" ||
  17931. - test ! -s conftest.err
  17932. - } && test -s conftest.$ac_objext; then
  17933. +if ac_fn_cxx_try_compile "$LINENO"; then :
  17934. ac_cv_prog_cxx_g=yes
  17935. -else
  17936. - echo "$as_me: failed program was:" >&5
  17937. -sed 's/^/| /' conftest.$ac_ext >&5
  17938. -
  17939. -
  17940. fi
  17941. -
  17942. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17943. fi
  17944. -
  17945. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17946. fi
  17947. -
  17948. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17949. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  17950. fi
  17951. -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
  17952. -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
  17953. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  17954. +$as_echo "$ac_cv_prog_cxx_g" >&6; }
  17955. if test "$ac_test_CXXFLAGS" = set; then
  17956. CXXFLAGS=$ac_save_CXXFLAGS
  17957. elif test $ac_cv_prog_cxx_g = yes; then
  17958. @@ -12322,10 +11611,10 @@
  17959. depcc="$CXX" am_compiler_list=
  17960. -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  17961. -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  17962. -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
  17963. - echo $ECHO_N "(cached) $ECHO_C" >&6
  17964. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  17965. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  17966. +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
  17967. + $as_echo_n "(cached) " >&6
  17968. else
  17969. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  17970. # We make a subdir and do the tests there. Otherwise we can end up
  17971. @@ -12350,6 +11639,11 @@
  17972. if test "$am_compiler_list" = ""; then
  17973. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  17974. fi
  17975. + am__universal=false
  17976. + case " $depcc " in #(
  17977. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  17978. + esac
  17979. +
  17980. for depmode in $am_compiler_list; do
  17981. # Setup a source with many dependencies, because some compilers
  17982. # like to wrap large dependency lists on column 80 (with \), and
  17983. @@ -12367,7 +11661,17 @@
  17984. done
  17985. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  17986. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  17987. + # mode. It turns out that the SunPro C++ compiler does not properly
  17988. + # handle `-M -o', and we need to detect this. Also, some Intel
  17989. + # versions had trouble with output in subdirs
  17990. + am__obj=sub/conftest.${OBJEXT-o}
  17991. + am__minus_obj="-o $am__obj"
  17992. case $depmode in
  17993. + gcc)
  17994. + # This depmode causes a compiler race in universal mode.
  17995. + test "$am__universal" = false || continue
  17996. + ;;
  17997. nosideeffect)
  17998. # after this tag, mechanisms are not by side-effect, so they'll
  17999. # only be used when explicitly requested
  18000. @@ -12377,19 +11681,23 @@
  18001. break
  18002. fi
  18003. ;;
  18004. + msvisualcpp | msvcmsys)
  18005. + # This compiler won't grok `-c -o', but also, the minuso test has
  18006. + # not run yet. These depmodes are late enough in the game, and
  18007. + # so weak that their functioning should not be impacted.
  18008. + am__obj=conftest.${OBJEXT-o}
  18009. + am__minus_obj=
  18010. + ;;
  18011. none) break ;;
  18012. esac
  18013. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  18014. - # mode. It turns out that the SunPro C++ compiler does not properly
  18015. - # handle `-M -o', and we need to detect this.
  18016. if depmode=$depmode \
  18017. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  18018. + source=sub/conftest.c object=$am__obj \
  18019. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  18020. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  18021. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  18022. >/dev/null 2>conftest.err &&
  18023. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  18024. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  18025. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  18026. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  18027. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  18028. # icc doesn't choke on unknown options, it will just issue warnings
  18029. # or remarks (even with -Werror). So we grep stderr for any message
  18030. @@ -12413,8 +11721,8 @@
  18031. fi
  18032. fi
  18033. -{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
  18034. -echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
  18035. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  18036. +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  18037. CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  18038. if
  18039. @@ -12436,11 +11744,11 @@
  18040. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  18041. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  18042. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  18043. -{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
  18044. -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
  18045. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
  18046. +$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
  18047. if test -z "$CXXCPP"; then
  18048. - if test "${ac_cv_prog_CXXCPP+set}" = set; then
  18049. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18050. + if test "${ac_cv_prog_CXXCPP+set}" = set; then :
  18051. + $as_echo_n "(cached) " >&6
  18052. else
  18053. # Double quotes because CXXCPP needs to be expanded
  18054. for CXXCPP in "$CXX -E" "/lib/cpp"
  18055. @@ -12454,11 +11762,7 @@
  18056. # <limits.h> exists even on freestanding compilers.
  18057. # On the NeXT, cc -E runs the code through the compiler's parser,
  18058. # not just through cpp. "Syntax error" is here to catch this case.
  18059. - cat >conftest.$ac_ext <<_ACEOF
  18060. -/* confdefs.h. */
  18061. -_ACEOF
  18062. -cat confdefs.h >>conftest.$ac_ext
  18063. -cat >>conftest.$ac_ext <<_ACEOF
  18064. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18065. /* end confdefs.h. */
  18066. #ifdef __STDC__
  18067. # include <limits.h>
  18068. @@ -12467,76 +11771,34 @@
  18069. #endif
  18070. Syntax error
  18071. _ACEOF
  18072. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  18073. -case "(($ac_try" in
  18074. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18075. - *) ac_try_echo=$ac_try;;
  18076. -esac
  18077. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  18078. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  18079. - ac_status=$?
  18080. - grep -v '^ *+' conftest.er1 >conftest.err
  18081. - rm -f conftest.er1
  18082. - cat conftest.err >&5
  18083. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18084. - (exit $ac_status); } >/dev/null && {
  18085. - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  18086. - test ! -s conftest.err
  18087. - }; then
  18088. - :
  18089. -else
  18090. - echo "$as_me: failed program was:" >&5
  18091. -sed 's/^/| /' conftest.$ac_ext >&5
  18092. +if ac_fn_cxx_try_cpp "$LINENO"; then :
  18093. +else
  18094. # Broken: fails on valid input.
  18095. continue
  18096. fi
  18097. -
  18098. rm -f conftest.err conftest.$ac_ext
  18099. # OK, works on sane cases. Now check whether nonexistent headers
  18100. # can be detected and how.
  18101. - cat >conftest.$ac_ext <<_ACEOF
  18102. -/* confdefs.h. */
  18103. -_ACEOF
  18104. -cat confdefs.h >>conftest.$ac_ext
  18105. -cat >>conftest.$ac_ext <<_ACEOF
  18106. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18107. /* end confdefs.h. */
  18108. #include <ac_nonexistent.h>
  18109. _ACEOF
  18110. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  18111. -case "(($ac_try" in
  18112. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18113. - *) ac_try_echo=$ac_try;;
  18114. -esac
  18115. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  18116. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  18117. - ac_status=$?
  18118. - grep -v '^ *+' conftest.er1 >conftest.err
  18119. - rm -f conftest.er1
  18120. - cat conftest.err >&5
  18121. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18122. - (exit $ac_status); } >/dev/null && {
  18123. - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  18124. - test ! -s conftest.err
  18125. - }; then
  18126. +if ac_fn_cxx_try_cpp "$LINENO"; then :
  18127. # Broken: success on invalid input.
  18128. continue
  18129. else
  18130. - echo "$as_me: failed program was:" >&5
  18131. -sed 's/^/| /' conftest.$ac_ext >&5
  18132. -
  18133. # Passes both tests.
  18134. ac_preproc_ok=:
  18135. break
  18136. fi
  18137. -
  18138. rm -f conftest.err conftest.$ac_ext
  18139. done
  18140. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  18141. rm -f conftest.err conftest.$ac_ext
  18142. -if $ac_preproc_ok; then
  18143. +if $ac_preproc_ok; then :
  18144. break
  18145. fi
  18146. @@ -12548,8 +11810,8 @@
  18147. else
  18148. ac_cv_prog_CXXCPP=$CXXCPP
  18149. fi
  18150. -{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
  18151. -echo "${ECHO_T}$CXXCPP" >&6; }
  18152. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
  18153. +$as_echo "$CXXCPP" >&6; }
  18154. ac_preproc_ok=false
  18155. for ac_cxx_preproc_warn_flag in '' yes
  18156. do
  18157. @@ -12559,11 +11821,7 @@
  18158. # <limits.h> exists even on freestanding compilers.
  18159. # On the NeXT, cc -E runs the code through the compiler's parser,
  18160. # not just through cpp. "Syntax error" is here to catch this case.
  18161. - cat >conftest.$ac_ext <<_ACEOF
  18162. -/* confdefs.h. */
  18163. -_ACEOF
  18164. -cat confdefs.h >>conftest.$ac_ext
  18165. -cat >>conftest.$ac_ext <<_ACEOF
  18166. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18167. /* end confdefs.h. */
  18168. #ifdef __STDC__
  18169. # include <limits.h>
  18170. @@ -12572,79 +11830,39 @@
  18171. #endif
  18172. Syntax error
  18173. _ACEOF
  18174. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  18175. -case "(($ac_try" in
  18176. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18177. - *) ac_try_echo=$ac_try;;
  18178. -esac
  18179. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  18180. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  18181. - ac_status=$?
  18182. - grep -v '^ *+' conftest.er1 >conftest.err
  18183. - rm -f conftest.er1
  18184. - cat conftest.err >&5
  18185. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18186. - (exit $ac_status); } >/dev/null && {
  18187. - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  18188. - test ! -s conftest.err
  18189. - }; then
  18190. - :
  18191. -else
  18192. - echo "$as_me: failed program was:" >&5
  18193. -sed 's/^/| /' conftest.$ac_ext >&5
  18194. +if ac_fn_cxx_try_cpp "$LINENO"; then :
  18195. +else
  18196. # Broken: fails on valid input.
  18197. continue
  18198. fi
  18199. -
  18200. rm -f conftest.err conftest.$ac_ext
  18201. # OK, works on sane cases. Now check whether nonexistent headers
  18202. # can be detected and how.
  18203. - cat >conftest.$ac_ext <<_ACEOF
  18204. -/* confdefs.h. */
  18205. -_ACEOF
  18206. -cat confdefs.h >>conftest.$ac_ext
  18207. -cat >>conftest.$ac_ext <<_ACEOF
  18208. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18209. /* end confdefs.h. */
  18210. #include <ac_nonexistent.h>
  18211. _ACEOF
  18212. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  18213. -case "(($ac_try" in
  18214. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18215. - *) ac_try_echo=$ac_try;;
  18216. -esac
  18217. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  18218. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  18219. - ac_status=$?
  18220. - grep -v '^ *+' conftest.er1 >conftest.err
  18221. - rm -f conftest.er1
  18222. - cat conftest.err >&5
  18223. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18224. - (exit $ac_status); } >/dev/null && {
  18225. - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  18226. - test ! -s conftest.err
  18227. - }; then
  18228. +if ac_fn_cxx_try_cpp "$LINENO"; then :
  18229. # Broken: success on invalid input.
  18230. continue
  18231. else
  18232. - echo "$as_me: failed program was:" >&5
  18233. -sed 's/^/| /' conftest.$ac_ext >&5
  18234. -
  18235. # Passes both tests.
  18236. ac_preproc_ok=:
  18237. break
  18238. fi
  18239. -
  18240. rm -f conftest.err conftest.$ac_ext
  18241. done
  18242. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  18243. rm -f conftest.err conftest.$ac_ext
  18244. -if $ac_preproc_ok; then
  18245. - :
  18246. +if $ac_preproc_ok; then :
  18247. +
  18248. else
  18249. - _lt_caught_CXX_error=yes
  18250. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  18251. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  18252. +_lt_caught_CXX_error=yes; }
  18253. fi
  18254. ac_ext=c
  18255. @@ -12785,7 +12003,7 @@
  18256. # Check whether --with-gnu-ld was given.
  18257. -if test "${with_gnu_ld+set}" = set; then
  18258. +if test "${with_gnu_ld+set}" = set; then :
  18259. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  18260. else
  18261. with_gnu_ld=no
  18262. @@ -12794,8 +12012,8 @@
  18263. ac_prog=ld
  18264. if test "$GCC" = yes; then
  18265. # Check if gcc -print-prog-name=ld gives a path.
  18266. - { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  18267. -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
  18268. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  18269. +$as_echo_n "checking for ld used by $CC... " >&6; }
  18270. case $host in
  18271. *-*-mingw*)
  18272. # gcc leaves a trailing carriage return which upsets mingw
  18273. @@ -12824,14 +12042,14 @@
  18274. ;;
  18275. esac
  18276. elif test "$with_gnu_ld" = yes; then
  18277. - { echo "$as_me:$LINENO: checking for GNU ld" >&5
  18278. -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
  18279. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  18280. +$as_echo_n "checking for GNU ld... " >&6; }
  18281. else
  18282. - { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  18283. -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
  18284. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  18285. +$as_echo_n "checking for non-GNU ld... " >&6; }
  18286. fi
  18287. -if test "${lt_cv_path_LD+set}" = set; then
  18288. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18289. +if test "${lt_cv_path_LD+set}" = set; then :
  18290. + $as_echo_n "(cached) " >&6
  18291. else
  18292. if test -z "$LD"; then
  18293. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  18294. @@ -12861,19 +12079,17 @@
  18295. LD="$lt_cv_path_LD"
  18296. if test -n "$LD"; then
  18297. - { echo "$as_me:$LINENO: result: $LD" >&5
  18298. -echo "${ECHO_T}$LD" >&6; }
  18299. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  18300. +$as_echo "$LD" >&6; }
  18301. else
  18302. - { echo "$as_me:$LINENO: result: no" >&5
  18303. -echo "${ECHO_T}no" >&6; }
  18304. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18305. +$as_echo "no" >&6; }
  18306. fi
  18307. -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  18308. -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  18309. - { (exit 1); exit 1; }; }
  18310. -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  18311. -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
  18312. -if test "${lt_cv_prog_gnu_ld+set}" = set; then
  18313. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18314. +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  18315. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  18316. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  18317. +if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  18318. + $as_echo_n "(cached) " >&6
  18319. else
  18320. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  18321. case `$LD -v 2>&1 </dev/null` in
  18322. @@ -12885,8 +12101,8 @@
  18323. ;;
  18324. esac
  18325. fi
  18326. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  18327. -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
  18328. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  18329. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  18330. with_gnu_ld=$lt_cv_prog_gnu_ld
  18331. @@ -12940,8 +12156,8 @@
  18332. fi
  18333. # PORTME: fill in a description of your system's C++ link characteristics
  18334. - { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  18335. -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  18336. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  18337. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  18338. ld_shlibs_CXX=yes
  18339. case $host_os in
  18340. aix3*)
  18341. @@ -13030,6 +12246,7 @@
  18342. fi
  18343. fi
  18344. + export_dynamic_flag_spec_CXX='${wl}-bexpall'
  18345. # It seems that -bexpall does not export symbols beginning with
  18346. # underscore (_), so it is better to generate a list of symbols to
  18347. # export.
  18348. @@ -13040,11 +12257,7 @@
  18349. allow_undefined_flag_CXX='-berok'
  18350. # Determine the default libpath from the value encoded in an empty
  18351. # executable.
  18352. - cat >conftest.$ac_ext <<_ACEOF
  18353. -/* confdefs.h. */
  18354. -_ACEOF
  18355. -cat confdefs.h >>conftest.$ac_ext
  18356. -cat >>conftest.$ac_ext <<_ACEOF
  18357. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18358. /* end confdefs.h. */
  18359. int
  18360. @@ -13055,24 +12268,7 @@
  18361. return 0;
  18362. }
  18363. _ACEOF
  18364. -rm -f conftest.$ac_objext conftest$ac_exeext
  18365. -if { (ac_try="$ac_link"
  18366. -case "(($ac_try" in
  18367. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18368. - *) ac_try_echo=$ac_try;;
  18369. -esac
  18370. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  18371. - (eval "$ac_link") 2>conftest.er1
  18372. - ac_status=$?
  18373. - grep -v '^ *+' conftest.er1 >conftest.err
  18374. - rm -f conftest.er1
  18375. - cat conftest.err >&5
  18376. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18377. - (exit $ac_status); } && {
  18378. - test -z "$ac_cxx_werror_flag" ||
  18379. - test ! -s conftest.err
  18380. - } && test -s conftest$ac_exeext &&
  18381. - $as_test_x conftest$ac_exeext; then
  18382. +if ac_fn_cxx_try_link "$LINENO"; then :
  18383. lt_aix_libpath_sed='
  18384. /Import File Strings/,/^$/ {
  18385. @@ -13086,15 +12282,9 @@
  18386. if test -z "$aix_libpath"; then
  18387. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  18388. fi
  18389. -else
  18390. - echo "$as_me: failed program was:" >&5
  18391. -sed 's/^/| /' conftest.$ac_ext >&5
  18392. -
  18393. -
  18394. fi
  18395. -
  18396. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18397. - conftest$ac_exeext conftest.$ac_ext
  18398. +rm -f core conftest.err conftest.$ac_objext \
  18399. + conftest$ac_exeext conftest.$ac_ext
  18400. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  18401. hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  18402. @@ -13108,11 +12298,7 @@
  18403. else
  18404. # Determine the default libpath from the value encoded in an
  18405. # empty executable.
  18406. - cat >conftest.$ac_ext <<_ACEOF
  18407. -/* confdefs.h. */
  18408. -_ACEOF
  18409. -cat confdefs.h >>conftest.$ac_ext
  18410. -cat >>conftest.$ac_ext <<_ACEOF
  18411. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18412. /* end confdefs.h. */
  18413. int
  18414. @@ -13123,24 +12309,7 @@
  18415. return 0;
  18416. }
  18417. _ACEOF
  18418. -rm -f conftest.$ac_objext conftest$ac_exeext
  18419. -if { (ac_try="$ac_link"
  18420. -case "(($ac_try" in
  18421. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18422. - *) ac_try_echo=$ac_try;;
  18423. -esac
  18424. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  18425. - (eval "$ac_link") 2>conftest.er1
  18426. - ac_status=$?
  18427. - grep -v '^ *+' conftest.er1 >conftest.err
  18428. - rm -f conftest.er1
  18429. - cat conftest.err >&5
  18430. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18431. - (exit $ac_status); } && {
  18432. - test -z "$ac_cxx_werror_flag" ||
  18433. - test ! -s conftest.err
  18434. - } && test -s conftest$ac_exeext &&
  18435. - $as_test_x conftest$ac_exeext; then
  18436. +if ac_fn_cxx_try_link "$LINENO"; then :
  18437. lt_aix_libpath_sed='
  18438. /Import File Strings/,/^$/ {
  18439. @@ -13154,15 +12323,9 @@
  18440. if test -z "$aix_libpath"; then
  18441. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  18442. fi
  18443. -else
  18444. - echo "$as_me: failed program was:" >&5
  18445. -sed 's/^/| /' conftest.$ac_ext >&5
  18446. -
  18447. -
  18448. fi
  18449. -
  18450. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18451. - conftest$ac_exeext conftest.$ac_ext
  18452. +rm -f core conftest.err conftest.$ac_objext \
  18453. + conftest$ac_exeext conftest.$ac_ext
  18454. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  18455. hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
  18456. @@ -13200,7 +12363,7 @@
  18457. esac
  18458. ;;
  18459. - cygwin* | mingw* | pw32*)
  18460. + cygwin* | mingw* | pw32* | cegcc*)
  18461. # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
  18462. # as there is no search path for DLLs.
  18463. hardcode_libdir_flag_spec_CXX='-L$libdir'
  18464. @@ -13233,7 +12396,11 @@
  18465. whole_archive_flag_spec_CXX=''
  18466. link_all_deplibs_CXX=yes
  18467. allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
  18468. - if test "$GCC" = "yes"; then
  18469. + case $cc_basename in
  18470. + ifort*) _lt_dar_can_shared=yes ;;
  18471. + *) _lt_dar_can_shared=$GCC ;;
  18472. + esac
  18473. + if test "$_lt_dar_can_shared" = "yes"; then
  18474. output_verbose_link_cmd=echo
  18475. archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  18476. module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  18477. @@ -13443,7 +12610,7 @@
  18478. inherit_rpath_CXX=yes
  18479. ;;
  18480. - linux* | k*bsd*-gnu)
  18481. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  18482. case $cc_basename in
  18483. KCC*)
  18484. # Kuck and Associates, Inc. (KAI) C++ Compiler
  18485. @@ -13902,8 +13069,8 @@
  18486. ;;
  18487. esac
  18488. - { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
  18489. -echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
  18490. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  18491. +$as_echo "$ld_shlibs_CXX" >&6; }
  18492. test "$ld_shlibs_CXX" = no && can_build_shared=no
  18493. GCC_CXX="$GXX"
  18494. @@ -13930,11 +13097,11 @@
  18495. };
  18496. _LT_EOF
  18497. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  18498. +if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  18499. (eval $ac_compile) 2>&5
  18500. ac_status=$?
  18501. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18502. - (exit $ac_status); }; then
  18503. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18504. + test $ac_status = 0; }; then
  18505. # Parse the compiler output and extract the necessary
  18506. # objects, libraries and library flags.
  18507. @@ -14115,8 +13282,8 @@
  18508. lt_prog_compiler_pic_CXX=
  18509. lt_prog_compiler_static_CXX=
  18510. -{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  18511. -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
  18512. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  18513. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  18514. # C++ specific cases for pic, static, wl, etc.
  18515. if test "$GXX" = yes; then
  18516. @@ -14150,7 +13317,7 @@
  18517. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  18518. # PIC is the default for these OSes.
  18519. ;;
  18520. - mingw* | cygwin* | os2* | pw32*)
  18521. + mingw* | cygwin* | os2* | pw32* | cegcc*)
  18522. # This hack is so that the source file can tell whether it is being
  18523. # built for inclusion in a dll (and should export symbols for example).
  18524. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  18525. @@ -14176,10 +13343,11 @@
  18526. fi
  18527. ;;
  18528. hpux*)
  18529. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  18530. - # not for PA HP-UX.
  18531. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  18532. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  18533. + # sets the default TLS model and affects inlining.
  18534. case $host_cpu in
  18535. - hppa*64*|ia64*)
  18536. + hppa*64*)
  18537. ;;
  18538. *)
  18539. lt_prog_compiler_pic_CXX='-fPIC'
  18540. @@ -14270,19 +13438,26 @@
  18541. ;;
  18542. esac
  18543. ;;
  18544. - linux* | k*bsd*-gnu)
  18545. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  18546. case $cc_basename in
  18547. KCC*)
  18548. # KAI C++ Compiler
  18549. lt_prog_compiler_wl_CXX='--backend -Wl,'
  18550. lt_prog_compiler_pic_CXX='-fPIC'
  18551. ;;
  18552. - icpc* | ecpc* )
  18553. - # Intel C++
  18554. + ecpc* )
  18555. + # old Intel C++ for x86_64 which still supported -KPIC.
  18556. lt_prog_compiler_wl_CXX='-Wl,'
  18557. lt_prog_compiler_pic_CXX='-KPIC'
  18558. lt_prog_compiler_static_CXX='-static'
  18559. ;;
  18560. + icpc* )
  18561. + # Intel C++, used to be incompatible with GCC.
  18562. + # ICC 10 doesn't accept -KPIC any more.
  18563. + lt_prog_compiler_wl_CXX='-Wl,'
  18564. + lt_prog_compiler_pic_CXX='-fPIC'
  18565. + lt_prog_compiler_static_CXX='-static'
  18566. + ;;
  18567. pgCC* | pgcpp*)
  18568. # Portland Group C++ compiler
  18569. lt_prog_compiler_wl_CXX='-Wl,'
  18570. @@ -14424,8 +13599,8 @@
  18571. lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
  18572. ;;
  18573. esac
  18574. -{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
  18575. -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
  18576. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
  18577. +$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
  18578. @@ -14433,10 +13608,10 @@
  18579. # Check to make sure the PIC flag actually works.
  18580. #
  18581. if test -n "$lt_prog_compiler_pic_CXX"; then
  18582. - { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
  18583. -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
  18584. -if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
  18585. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18586. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
  18587. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
  18588. +if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
  18589. + $as_echo_n "(cached) " >&6
  18590. else
  18591. lt_cv_prog_compiler_pic_works_CXX=no
  18592. ac_outfile=conftest.$ac_objext
  18593. @@ -14451,11 +13626,11 @@
  18594. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  18595. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  18596. -e 's:$: $lt_compiler_flag:'`
  18597. - (eval echo "\"\$as_me:14454: $lt_compile\"" >&5)
  18598. + (eval echo "\"\$as_me:13629: $lt_compile\"" >&5)
  18599. (eval "$lt_compile" 2>conftest.err)
  18600. ac_status=$?
  18601. cat conftest.err >&5
  18602. - echo "$as_me:14458: \$? = $ac_status" >&5
  18603. + echo "$as_me:13633: \$? = $ac_status" >&5
  18604. if (exit $ac_status) && test -s "$ac_outfile"; then
  18605. # The compiler can only warn and ignore the option if not recognized
  18606. # So say no if there are warnings other than the usual output.
  18607. @@ -14468,8 +13643,8 @@
  18608. $RM conftest*
  18609. fi
  18610. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
  18611. -echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
  18612. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
  18613. +$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
  18614. if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
  18615. case $lt_prog_compiler_pic_CXX in
  18616. @@ -14489,10 +13664,10 @@
  18617. # Check to make sure the static flag actually works.
  18618. #
  18619. wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
  18620. -{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  18621. -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
  18622. -if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
  18623. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18624. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  18625. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  18626. +if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
  18627. + $as_echo_n "(cached) " >&6
  18628. else
  18629. lt_cv_prog_compiler_static_works_CXX=no
  18630. save_LDFLAGS="$LDFLAGS"
  18631. @@ -14517,8 +13692,8 @@
  18632. LDFLAGS="$save_LDFLAGS"
  18633. fi
  18634. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
  18635. -echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
  18636. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
  18637. +$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
  18638. if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
  18639. :
  18640. @@ -14529,10 +13704,10 @@
  18641. - { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  18642. -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  18643. -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
  18644. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18645. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  18646. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  18647. +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
  18648. + $as_echo_n "(cached) " >&6
  18649. else
  18650. lt_cv_prog_compiler_c_o_CXX=no
  18651. $RM -r conftest 2>/dev/null
  18652. @@ -14550,11 +13725,11 @@
  18653. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  18654. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  18655. -e 's:$: $lt_compiler_flag:'`
  18656. - (eval echo "\"\$as_me:14553: $lt_compile\"" >&5)
  18657. + (eval echo "\"\$as_me:13728: $lt_compile\"" >&5)
  18658. (eval "$lt_compile" 2>out/conftest.err)
  18659. ac_status=$?
  18660. cat out/conftest.err >&5
  18661. - echo "$as_me:14557: \$? = $ac_status" >&5
  18662. + echo "$as_me:13732: \$? = $ac_status" >&5
  18663. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  18664. then
  18665. # The compiler can only warn and ignore the option if not recognized
  18666. @@ -14576,15 +13751,15 @@
  18667. $RM conftest*
  18668. fi
  18669. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  18670. -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
  18671. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  18672. +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  18673. - { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  18674. -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
  18675. -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
  18676. - echo $ECHO_N "(cached) $ECHO_C" >&6
  18677. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  18678. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  18679. +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
  18680. + $as_echo_n "(cached) " >&6
  18681. else
  18682. lt_cv_prog_compiler_c_o_CXX=no
  18683. $RM -r conftest 2>/dev/null
  18684. @@ -14602,11 +13777,11 @@
  18685. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  18686. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  18687. -e 's:$: $lt_compiler_flag:'`
  18688. - (eval echo "\"\$as_me:14605: $lt_compile\"" >&5)
  18689. + (eval echo "\"\$as_me:13780: $lt_compile\"" >&5)
  18690. (eval "$lt_compile" 2>out/conftest.err)
  18691. ac_status=$?
  18692. cat out/conftest.err >&5
  18693. - echo "$as_me:14609: \$? = $ac_status" >&5
  18694. + echo "$as_me:13784: \$? = $ac_status" >&5
  18695. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  18696. then
  18697. # The compiler can only warn and ignore the option if not recognized
  18698. @@ -14628,8 +13803,8 @@
  18699. $RM conftest*
  18700. fi
  18701. -{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  18702. -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
  18703. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
  18704. +$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
  18705. @@ -14637,19 +13812,19 @@
  18706. hard_links="nottested"
  18707. if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
  18708. # do not overwrite the value of need_locks provided by the user
  18709. - { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  18710. -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
  18711. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  18712. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  18713. hard_links=yes
  18714. $RM conftest*
  18715. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  18716. touch conftest.a
  18717. ln conftest.a conftest.b 2>&5 || hard_links=no
  18718. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  18719. - { echo "$as_me:$LINENO: result: $hard_links" >&5
  18720. -echo "${ECHO_T}$hard_links" >&6; }
  18721. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  18722. +$as_echo "$hard_links" >&6; }
  18723. if test "$hard_links" = no; then
  18724. - { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  18725. -echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  18726. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  18727. +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  18728. need_locks=warn
  18729. fi
  18730. else
  18731. @@ -14658,8 +13833,8 @@
  18732. - { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  18733. -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
  18734. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  18735. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  18736. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  18737. case $host_os in
  18738. @@ -14675,7 +13850,7 @@
  18739. pw32*)
  18740. export_symbols_cmds_CXX="$ltdll_cmds"
  18741. ;;
  18742. - cygwin* | mingw*)
  18743. + cygwin* | mingw* | cegcc*)
  18744. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  18745. ;;
  18746. linux* | k*bsd*-gnu)
  18747. @@ -14687,8 +13862,8 @@
  18748. esac
  18749. exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  18750. -{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
  18751. -echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
  18752. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
  18753. +$as_echo "$ld_shlibs_CXX" >&6; }
  18754. test "$ld_shlibs_CXX" = no && can_build_shared=no
  18755. with_gnu_ld_CXX=$with_gnu_ld
  18756. @@ -14715,16 +13890,16 @@
  18757. # Test whether the compiler implicitly links with -lc since on some
  18758. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  18759. # to ld, don't add -lc before -lgcc.
  18760. - { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  18761. -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
  18762. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  18763. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  18764. $RM conftest*
  18765. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  18766. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  18767. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  18768. (eval $ac_compile) 2>&5
  18769. ac_status=$?
  18770. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18771. - (exit $ac_status); } 2>conftest.err; then
  18772. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18773. + test $ac_status = 0; } 2>conftest.err; then
  18774. soname=conftest
  18775. lib=conftest
  18776. libobjs=conftest.$ac_objext
  18777. @@ -14738,11 +13913,11 @@
  18778. libname=conftest
  18779. lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
  18780. allow_undefined_flag_CXX=
  18781. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
  18782. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  18783. (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  18784. ac_status=$?
  18785. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18786. - (exit $ac_status); }
  18787. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18788. + test $ac_status = 0; }
  18789. then
  18790. archive_cmds_need_lc_CXX=no
  18791. else
  18792. @@ -14753,8 +13928,8 @@
  18793. cat conftest.err 1>&5
  18794. fi
  18795. $RM conftest*
  18796. - { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
  18797. -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
  18798. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
  18799. +$as_echo "$archive_cmds_need_lc_CXX" >&6; }
  18800. ;;
  18801. esac
  18802. fi
  18803. @@ -14824,8 +13999,8 @@
  18804. - { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  18805. -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
  18806. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  18807. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  18808. library_names_spec=
  18809. libname_spec='lib$name'
  18810. @@ -14936,14 +14111,14 @@
  18811. # libtool to hard-code these into programs
  18812. ;;
  18813. -cygwin* | mingw* | pw32*)
  18814. +cygwin* | mingw* | pw32* | cegcc*)
  18815. version_type=windows
  18816. shrext_cmds=".dll"
  18817. need_version=no
  18818. need_lib_prefix=no
  18819. case $GCC,$host_os in
  18820. - yes,cygwin* | yes,mingw* | yes,pw32*)
  18821. + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  18822. library_names_spec='$libname.dll.a'
  18823. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  18824. postinstall_cmds='base_file=`basename \${file}`~
  18825. @@ -14966,7 +14141,7 @@
  18826. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  18827. sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  18828. ;;
  18829. - mingw*)
  18830. + mingw* | cegcc*)
  18831. # MinGW DLLs use traditional 'lib' prefix
  18832. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  18833. sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  18834. @@ -15180,7 +14355,7 @@
  18835. ;;
  18836. # This must be Linux ELF.
  18837. -linux* | k*bsd*-gnu)
  18838. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  18839. version_type=linux
  18840. need_lib_prefix=no
  18841. need_version=no
  18842. @@ -15194,11 +14369,7 @@
  18843. save_libdir=$libdir
  18844. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
  18845. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
  18846. - cat >conftest.$ac_ext <<_ACEOF
  18847. -/* confdefs.h. */
  18848. -_ACEOF
  18849. -cat confdefs.h >>conftest.$ac_ext
  18850. -cat >>conftest.$ac_ext <<_ACEOF
  18851. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18852. /* end confdefs.h. */
  18853. int
  18854. @@ -15209,37 +14380,13 @@
  18855. return 0;
  18856. }
  18857. _ACEOF
  18858. -rm -f conftest.$ac_objext conftest$ac_exeext
  18859. -if { (ac_try="$ac_link"
  18860. -case "(($ac_try" in
  18861. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18862. - *) ac_try_echo=$ac_try;;
  18863. -esac
  18864. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  18865. - (eval "$ac_link") 2>conftest.er1
  18866. - ac_status=$?
  18867. - grep -v '^ *+' conftest.er1 >conftest.err
  18868. - rm -f conftest.er1
  18869. - cat conftest.err >&5
  18870. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18871. - (exit $ac_status); } && {
  18872. - test -z "$ac_cxx_werror_flag" ||
  18873. - test ! -s conftest.err
  18874. - } && test -s conftest$ac_exeext &&
  18875. - $as_test_x conftest$ac_exeext; then
  18876. - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
  18877. +if ac_fn_cxx_try_link "$LINENO"; then :
  18878. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  18879. shlibpath_overrides_runpath=yes
  18880. fi
  18881. -
  18882. -else
  18883. - echo "$as_me: failed program was:" >&5
  18884. -sed 's/^/| /' conftest.$ac_ext >&5
  18885. -
  18886. -
  18887. fi
  18888. -
  18889. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18890. - conftest$ac_exeext conftest.$ac_ext
  18891. +rm -f core conftest.err conftest.$ac_objext \
  18892. + conftest$ac_exeext conftest.$ac_ext
  18893. LDFLAGS=$save_LDFLAGS
  18894. libdir=$save_libdir
  18895. @@ -15441,5297 +14588,1286 @@
  18896. sys_lib_dlsearch_path_spec='/usr/lib'
  18897. ;;
  18898. -tpf*)
  18899. - # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  18900. - version_type=linux
  18901. - need_lib_prefix=no
  18902. - need_version=no
  18903. - library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  18904. - shlibpath_var=LD_LIBRARY_PATH
  18905. - shlibpath_overrides_runpath=no
  18906. - hardcode_into_libs=yes
  18907. - ;;
  18908. -
  18909. -uts4*)
  18910. - version_type=linux
  18911. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  18912. - soname_spec='${libname}${release}${shared_ext}$major'
  18913. - shlibpath_var=LD_LIBRARY_PATH
  18914. - ;;
  18915. -
  18916. -*)
  18917. - dynamic_linker=no
  18918. - ;;
  18919. -esac
  18920. -{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  18921. -echo "${ECHO_T}$dynamic_linker" >&6; }
  18922. -test "$dynamic_linker" = no && can_build_shared=no
  18923. -
  18924. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  18925. -if test "$GCC" = yes; then
  18926. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  18927. -fi
  18928. -
  18929. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  18930. - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  18931. -fi
  18932. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  18933. - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  18934. -fi
  18935. -
  18936. -
  18937. -
  18938. -
  18939. -
  18940. -
  18941. -
  18942. -
  18943. -
  18944. -
  18945. -
  18946. -
  18947. -
  18948. -
  18949. -
  18950. -
  18951. -
  18952. -
  18953. -
  18954. -
  18955. -
  18956. -
  18957. -
  18958. -
  18959. -
  18960. -
  18961. -
  18962. -
  18963. -
  18964. -
  18965. -
  18966. -
  18967. -
  18968. -
  18969. -
  18970. -
  18971. - { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  18972. -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
  18973. -hardcode_action_CXX=
  18974. -if test -n "$hardcode_libdir_flag_spec_CXX" ||
  18975. - test -n "$runpath_var_CXX" ||
  18976. - test "X$hardcode_automatic_CXX" = "Xyes" ; then
  18977. -
  18978. - # We can hardcode non-existent directories.
  18979. - if test "$hardcode_direct_CXX" != no &&
  18980. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  18981. - # have to relink, otherwise we might link with an installed library
  18982. - # when we should be linking with a yet-to-be-installed one
  18983. - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
  18984. - test "$hardcode_minus_L_CXX" != no; then
  18985. - # Linking always hardcodes the temporary library directory.
  18986. - hardcode_action_CXX=relink
  18987. - else
  18988. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  18989. - hardcode_action_CXX=immediate
  18990. - fi
  18991. -else
  18992. - # We cannot hardcode anything, or else we can only hardcode existing
  18993. - # directories.
  18994. - hardcode_action_CXX=unsupported
  18995. -fi
  18996. -{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
  18997. -echo "${ECHO_T}$hardcode_action_CXX" >&6; }
  18998. -
  18999. -if test "$hardcode_action_CXX" = relink ||
  19000. - test "$inherit_rpath_CXX" = yes; then
  19001. - # Fast installation is not supported
  19002. - enable_fast_install=no
  19003. -elif test "$shlibpath_overrides_runpath" = yes ||
  19004. - test "$enable_shared" = no; then
  19005. - # Fast installation is not necessary
  19006. - enable_fast_install=needless
  19007. -fi
  19008. -
  19009. -
  19010. -
  19011. -
  19012. -
  19013. -
  19014. -
  19015. - fi # test -n "$compiler"
  19016. -
  19017. - CC=$lt_save_CC
  19018. - LDCXX=$LD
  19019. - LD=$lt_save_LD
  19020. - GCC=$lt_save_GCC
  19021. - with_gnu_ld=$lt_save_with_gnu_ld
  19022. - lt_cv_path_LDCXX=$lt_cv_path_LD
  19023. - lt_cv_path_LD=$lt_save_path_LD
  19024. - lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  19025. - lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  19026. -fi # test "$_lt_caught_CXX_error" != yes
  19027. -
  19028. -ac_ext=c
  19029. -ac_cpp='$CPP $CPPFLAGS'
  19030. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  19031. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  19032. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  19033. -
  19034. -
  19035. -{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
  19036. -echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
  19037. -if test "${ac_cv_c_bigendian+set}" = set; then
  19038. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19039. -else
  19040. - # See if sys/param.h defines the BYTE_ORDER macro.
  19041. -cat >conftest.$ac_ext <<_ACEOF
  19042. -/* confdefs.h. */
  19043. -_ACEOF
  19044. -cat confdefs.h >>conftest.$ac_ext
  19045. -cat >>conftest.$ac_ext <<_ACEOF
  19046. -/* end confdefs.h. */
  19047. -#include <sys/types.h>
  19048. -#include <sys/param.h>
  19049. -
  19050. -int
  19051. -main ()
  19052. -{
  19053. -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
  19054. - && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
  19055. - bogus endian macros
  19056. -#endif
  19057. -
  19058. - ;
  19059. - return 0;
  19060. -}
  19061. -_ACEOF
  19062. -rm -f conftest.$ac_objext
  19063. -if { (ac_try="$ac_compile"
  19064. -case "(($ac_try" in
  19065. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19066. - *) ac_try_echo=$ac_try;;
  19067. -esac
  19068. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19069. - (eval "$ac_compile") 2>conftest.er1
  19070. - ac_status=$?
  19071. - grep -v '^ *+' conftest.er1 >conftest.err
  19072. - rm -f conftest.er1
  19073. - cat conftest.err >&5
  19074. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19075. - (exit $ac_status); } && {
  19076. - test -z "$ac_c_werror_flag" ||
  19077. - test ! -s conftest.err
  19078. - } && test -s conftest.$ac_objext; then
  19079. - # It does; now see whether it defined to BIG_ENDIAN or not.
  19080. -cat >conftest.$ac_ext <<_ACEOF
  19081. -/* confdefs.h. */
  19082. -_ACEOF
  19083. -cat confdefs.h >>conftest.$ac_ext
  19084. -cat >>conftest.$ac_ext <<_ACEOF
  19085. -/* end confdefs.h. */
  19086. -#include <sys/types.h>
  19087. -#include <sys/param.h>
  19088. -
  19089. -int
  19090. -main ()
  19091. -{
  19092. -#if BYTE_ORDER != BIG_ENDIAN
  19093. - not big endian
  19094. -#endif
  19095. -
  19096. - ;
  19097. - return 0;
  19098. -}
  19099. -_ACEOF
  19100. -rm -f conftest.$ac_objext
  19101. -if { (ac_try="$ac_compile"
  19102. -case "(($ac_try" in
  19103. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19104. - *) ac_try_echo=$ac_try;;
  19105. -esac
  19106. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19107. - (eval "$ac_compile") 2>conftest.er1
  19108. - ac_status=$?
  19109. - grep -v '^ *+' conftest.er1 >conftest.err
  19110. - rm -f conftest.er1
  19111. - cat conftest.err >&5
  19112. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19113. - (exit $ac_status); } && {
  19114. - test -z "$ac_c_werror_flag" ||
  19115. - test ! -s conftest.err
  19116. - } && test -s conftest.$ac_objext; then
  19117. - ac_cv_c_bigendian=yes
  19118. -else
  19119. - echo "$as_me: failed program was:" >&5
  19120. -sed 's/^/| /' conftest.$ac_ext >&5
  19121. -
  19122. - ac_cv_c_bigendian=no
  19123. -fi
  19124. -
  19125. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19126. -else
  19127. - echo "$as_me: failed program was:" >&5
  19128. -sed 's/^/| /' conftest.$ac_ext >&5
  19129. -
  19130. - # It does not; compile a test program.
  19131. -if test "$cross_compiling" = yes; then
  19132. - # try to guess the endianness by grepping values into an object file
  19133. - ac_cv_c_bigendian=unknown
  19134. - cat >conftest.$ac_ext <<_ACEOF
  19135. -/* confdefs.h. */
  19136. -_ACEOF
  19137. -cat confdefs.h >>conftest.$ac_ext
  19138. -cat >>conftest.$ac_ext <<_ACEOF
  19139. -/* end confdefs.h. */
  19140. -short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  19141. -short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  19142. -void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
  19143. -short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  19144. -short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  19145. -void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
  19146. -int
  19147. -main ()
  19148. -{
  19149. - _ascii (); _ebcdic ();
  19150. - ;
  19151. - return 0;
  19152. -}
  19153. -_ACEOF
  19154. -rm -f conftest.$ac_objext
  19155. -if { (ac_try="$ac_compile"
  19156. -case "(($ac_try" in
  19157. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19158. - *) ac_try_echo=$ac_try;;
  19159. -esac
  19160. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19161. - (eval "$ac_compile") 2>conftest.er1
  19162. - ac_status=$?
  19163. - grep -v '^ *+' conftest.er1 >conftest.err
  19164. - rm -f conftest.er1
  19165. - cat conftest.err >&5
  19166. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19167. - (exit $ac_status); } && {
  19168. - test -z "$ac_c_werror_flag" ||
  19169. - test ! -s conftest.err
  19170. - } && test -s conftest.$ac_objext; then
  19171. - if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
  19172. - ac_cv_c_bigendian=yes
  19173. -fi
  19174. -if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  19175. - if test "$ac_cv_c_bigendian" = unknown; then
  19176. - ac_cv_c_bigendian=no
  19177. - else
  19178. - # finding both strings is unlikely to happen, but who knows?
  19179. - ac_cv_c_bigendian=unknown
  19180. - fi
  19181. -fi
  19182. -else
  19183. - echo "$as_me: failed program was:" >&5
  19184. -sed 's/^/| /' conftest.$ac_ext >&5
  19185. -
  19186. -
  19187. -fi
  19188. -
  19189. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19190. -else
  19191. - cat >conftest.$ac_ext <<_ACEOF
  19192. -/* confdefs.h. */
  19193. -_ACEOF
  19194. -cat confdefs.h >>conftest.$ac_ext
  19195. -cat >>conftest.$ac_ext <<_ACEOF
  19196. -/* end confdefs.h. */
  19197. -$ac_includes_default
  19198. -int
  19199. -main ()
  19200. -{
  19201. -
  19202. - /* Are we little or big endian? From Harbison&Steele. */
  19203. - union
  19204. - {
  19205. - long int l;
  19206. - char c[sizeof (long int)];
  19207. - } u;
  19208. - u.l = 1;
  19209. - return u.c[sizeof (long int) - 1] == 1;
  19210. -
  19211. - ;
  19212. - return 0;
  19213. -}
  19214. -_ACEOF
  19215. -rm -f conftest$ac_exeext
  19216. -if { (ac_try="$ac_link"
  19217. -case "(($ac_try" in
  19218. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19219. - *) ac_try_echo=$ac_try;;
  19220. -esac
  19221. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19222. - (eval "$ac_link") 2>&5
  19223. - ac_status=$?
  19224. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19225. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  19226. - { (case "(($ac_try" in
  19227. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19228. - *) ac_try_echo=$ac_try;;
  19229. -esac
  19230. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19231. - (eval "$ac_try") 2>&5
  19232. - ac_status=$?
  19233. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19234. - (exit $ac_status); }; }; then
  19235. - ac_cv_c_bigendian=no
  19236. -else
  19237. - echo "$as_me: program exited with status $ac_status" >&5
  19238. -echo "$as_me: failed program was:" >&5
  19239. -sed 's/^/| /' conftest.$ac_ext >&5
  19240. -
  19241. -( exit $ac_status )
  19242. -ac_cv_c_bigendian=yes
  19243. -fi
  19244. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  19245. -fi
  19246. -
  19247. -
  19248. -fi
  19249. -
  19250. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19251. -fi
  19252. -{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
  19253. -echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
  19254. -case $ac_cv_c_bigendian in
  19255. - yes)
  19256. -
  19257. -cat >>confdefs.h <<\_ACEOF
  19258. -#define WORDS_BIGENDIAN 1
  19259. -_ACEOF
  19260. - ;;
  19261. - no)
  19262. - ;;
  19263. - *)
  19264. - { { echo "$as_me:$LINENO: error: unknown endianness
  19265. -presetting ac_cv_c_bigendian=no (or yes) will help" >&5
  19266. -echo "$as_me: error: unknown endianness
  19267. -presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
  19268. - { (exit 1); exit 1; }; } ;;
  19269. -esac
  19270. -
  19271. -type_error="no"
  19272. -{ echo "$as_me:$LINENO: checking for char" >&5
  19273. -echo $ECHO_N "checking for char... $ECHO_C" >&6; }
  19274. -if test "${ac_cv_type_char+set}" = set; then
  19275. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19276. -else
  19277. - cat >conftest.$ac_ext <<_ACEOF
  19278. -/* confdefs.h. */
  19279. -_ACEOF
  19280. -cat confdefs.h >>conftest.$ac_ext
  19281. -cat >>conftest.$ac_ext <<_ACEOF
  19282. -/* end confdefs.h. */
  19283. -$ac_includes_default
  19284. -typedef char ac__type_new_;
  19285. -int
  19286. -main ()
  19287. -{
  19288. -if ((ac__type_new_ *) 0)
  19289. - return 0;
  19290. -if (sizeof (ac__type_new_))
  19291. - return 0;
  19292. - ;
  19293. - return 0;
  19294. -}
  19295. -_ACEOF
  19296. -rm -f conftest.$ac_objext
  19297. -if { (ac_try="$ac_compile"
  19298. -case "(($ac_try" in
  19299. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19300. - *) ac_try_echo=$ac_try;;
  19301. -esac
  19302. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19303. - (eval "$ac_compile") 2>conftest.er1
  19304. - ac_status=$?
  19305. - grep -v '^ *+' conftest.er1 >conftest.err
  19306. - rm -f conftest.er1
  19307. - cat conftest.err >&5
  19308. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19309. - (exit $ac_status); } && {
  19310. - test -z "$ac_c_werror_flag" ||
  19311. - test ! -s conftest.err
  19312. - } && test -s conftest.$ac_objext; then
  19313. - ac_cv_type_char=yes
  19314. -else
  19315. - echo "$as_me: failed program was:" >&5
  19316. -sed 's/^/| /' conftest.$ac_ext >&5
  19317. -
  19318. - ac_cv_type_char=no
  19319. -fi
  19320. -
  19321. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19322. -fi
  19323. -{ echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
  19324. -echo "${ECHO_T}$ac_cv_type_char" >&6; }
  19325. -
  19326. -# The cast to long int works around a bug in the HP C Compiler
  19327. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  19328. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  19329. -# This bug is HP SR number 8606223364.
  19330. -{ echo "$as_me:$LINENO: checking size of char" >&5
  19331. -echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
  19332. -if test "${ac_cv_sizeof_char+set}" = set; then
  19333. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19334. -else
  19335. - if test "$cross_compiling" = yes; then
  19336. - # Depending upon the size, compute the lo and hi bounds.
  19337. -cat >conftest.$ac_ext <<_ACEOF
  19338. -/* confdefs.h. */
  19339. -_ACEOF
  19340. -cat confdefs.h >>conftest.$ac_ext
  19341. -cat >>conftest.$ac_ext <<_ACEOF
  19342. -/* end confdefs.h. */
  19343. -$ac_includes_default
  19344. - typedef char ac__type_sizeof_;
  19345. -int
  19346. -main ()
  19347. -{
  19348. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  19349. -test_array [0] = 0
  19350. -
  19351. - ;
  19352. - return 0;
  19353. -}
  19354. -_ACEOF
  19355. -rm -f conftest.$ac_objext
  19356. -if { (ac_try="$ac_compile"
  19357. -case "(($ac_try" in
  19358. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19359. - *) ac_try_echo=$ac_try;;
  19360. -esac
  19361. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19362. - (eval "$ac_compile") 2>conftest.er1
  19363. - ac_status=$?
  19364. - grep -v '^ *+' conftest.er1 >conftest.err
  19365. - rm -f conftest.er1
  19366. - cat conftest.err >&5
  19367. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19368. - (exit $ac_status); } && {
  19369. - test -z "$ac_c_werror_flag" ||
  19370. - test ! -s conftest.err
  19371. - } && test -s conftest.$ac_objext; then
  19372. - ac_lo=0 ac_mid=0
  19373. - while :; do
  19374. - cat >conftest.$ac_ext <<_ACEOF
  19375. -/* confdefs.h. */
  19376. -_ACEOF
  19377. -cat confdefs.h >>conftest.$ac_ext
  19378. -cat >>conftest.$ac_ext <<_ACEOF
  19379. -/* end confdefs.h. */
  19380. -$ac_includes_default
  19381. - typedef char ac__type_sizeof_;
  19382. -int
  19383. -main ()
  19384. -{
  19385. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  19386. -test_array [0] = 0
  19387. -
  19388. - ;
  19389. - return 0;
  19390. -}
  19391. -_ACEOF
  19392. -rm -f conftest.$ac_objext
  19393. -if { (ac_try="$ac_compile"
  19394. -case "(($ac_try" in
  19395. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19396. - *) ac_try_echo=$ac_try;;
  19397. -esac
  19398. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19399. - (eval "$ac_compile") 2>conftest.er1
  19400. - ac_status=$?
  19401. - grep -v '^ *+' conftest.er1 >conftest.err
  19402. - rm -f conftest.er1
  19403. - cat conftest.err >&5
  19404. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19405. - (exit $ac_status); } && {
  19406. - test -z "$ac_c_werror_flag" ||
  19407. - test ! -s conftest.err
  19408. - } && test -s conftest.$ac_objext; then
  19409. - ac_hi=$ac_mid; break
  19410. -else
  19411. - echo "$as_me: failed program was:" >&5
  19412. -sed 's/^/| /' conftest.$ac_ext >&5
  19413. -
  19414. - ac_lo=`expr $ac_mid + 1`
  19415. - if test $ac_lo -le $ac_mid; then
  19416. - ac_lo= ac_hi=
  19417. - break
  19418. - fi
  19419. - ac_mid=`expr 2 '*' $ac_mid + 1`
  19420. -fi
  19421. -
  19422. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19423. - done
  19424. -else
  19425. - echo "$as_me: failed program was:" >&5
  19426. -sed 's/^/| /' conftest.$ac_ext >&5
  19427. -
  19428. - cat >conftest.$ac_ext <<_ACEOF
  19429. -/* confdefs.h. */
  19430. -_ACEOF
  19431. -cat confdefs.h >>conftest.$ac_ext
  19432. -cat >>conftest.$ac_ext <<_ACEOF
  19433. -/* end confdefs.h. */
  19434. -$ac_includes_default
  19435. - typedef char ac__type_sizeof_;
  19436. -int
  19437. -main ()
  19438. -{
  19439. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  19440. -test_array [0] = 0
  19441. -
  19442. - ;
  19443. - return 0;
  19444. -}
  19445. -_ACEOF
  19446. -rm -f conftest.$ac_objext
  19447. -if { (ac_try="$ac_compile"
  19448. -case "(($ac_try" in
  19449. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19450. - *) ac_try_echo=$ac_try;;
  19451. -esac
  19452. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19453. - (eval "$ac_compile") 2>conftest.er1
  19454. - ac_status=$?
  19455. - grep -v '^ *+' conftest.er1 >conftest.err
  19456. - rm -f conftest.er1
  19457. - cat conftest.err >&5
  19458. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19459. - (exit $ac_status); } && {
  19460. - test -z "$ac_c_werror_flag" ||
  19461. - test ! -s conftest.err
  19462. - } && test -s conftest.$ac_objext; then
  19463. - ac_hi=-1 ac_mid=-1
  19464. - while :; do
  19465. - cat >conftest.$ac_ext <<_ACEOF
  19466. -/* confdefs.h. */
  19467. -_ACEOF
  19468. -cat confdefs.h >>conftest.$ac_ext
  19469. -cat >>conftest.$ac_ext <<_ACEOF
  19470. -/* end confdefs.h. */
  19471. -$ac_includes_default
  19472. - typedef char ac__type_sizeof_;
  19473. -int
  19474. -main ()
  19475. -{
  19476. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  19477. -test_array [0] = 0
  19478. -
  19479. - ;
  19480. - return 0;
  19481. -}
  19482. -_ACEOF
  19483. -rm -f conftest.$ac_objext
  19484. -if { (ac_try="$ac_compile"
  19485. -case "(($ac_try" in
  19486. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19487. - *) ac_try_echo=$ac_try;;
  19488. -esac
  19489. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19490. - (eval "$ac_compile") 2>conftest.er1
  19491. - ac_status=$?
  19492. - grep -v '^ *+' conftest.er1 >conftest.err
  19493. - rm -f conftest.er1
  19494. - cat conftest.err >&5
  19495. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19496. - (exit $ac_status); } && {
  19497. - test -z "$ac_c_werror_flag" ||
  19498. - test ! -s conftest.err
  19499. - } && test -s conftest.$ac_objext; then
  19500. - ac_lo=$ac_mid; break
  19501. -else
  19502. - echo "$as_me: failed program was:" >&5
  19503. -sed 's/^/| /' conftest.$ac_ext >&5
  19504. -
  19505. - ac_hi=`expr '(' $ac_mid ')' - 1`
  19506. - if test $ac_mid -le $ac_hi; then
  19507. - ac_lo= ac_hi=
  19508. - break
  19509. - fi
  19510. - ac_mid=`expr 2 '*' $ac_mid`
  19511. -fi
  19512. -
  19513. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19514. - done
  19515. -else
  19516. - echo "$as_me: failed program was:" >&5
  19517. -sed 's/^/| /' conftest.$ac_ext >&5
  19518. -
  19519. - ac_lo= ac_hi=
  19520. -fi
  19521. -
  19522. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19523. -fi
  19524. -
  19525. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19526. -# Binary search between lo and hi bounds.
  19527. -while test "x$ac_lo" != "x$ac_hi"; do
  19528. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  19529. - cat >conftest.$ac_ext <<_ACEOF
  19530. -/* confdefs.h. */
  19531. -_ACEOF
  19532. -cat confdefs.h >>conftest.$ac_ext
  19533. -cat >>conftest.$ac_ext <<_ACEOF
  19534. -/* end confdefs.h. */
  19535. -$ac_includes_default
  19536. - typedef char ac__type_sizeof_;
  19537. -int
  19538. -main ()
  19539. -{
  19540. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  19541. -test_array [0] = 0
  19542. -
  19543. - ;
  19544. - return 0;
  19545. -}
  19546. -_ACEOF
  19547. -rm -f conftest.$ac_objext
  19548. -if { (ac_try="$ac_compile"
  19549. -case "(($ac_try" in
  19550. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19551. - *) ac_try_echo=$ac_try;;
  19552. -esac
  19553. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19554. - (eval "$ac_compile") 2>conftest.er1
  19555. - ac_status=$?
  19556. - grep -v '^ *+' conftest.er1 >conftest.err
  19557. - rm -f conftest.er1
  19558. - cat conftest.err >&5
  19559. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19560. - (exit $ac_status); } && {
  19561. - test -z "$ac_c_werror_flag" ||
  19562. - test ! -s conftest.err
  19563. - } && test -s conftest.$ac_objext; then
  19564. - ac_hi=$ac_mid
  19565. -else
  19566. - echo "$as_me: failed program was:" >&5
  19567. -sed 's/^/| /' conftest.$ac_ext >&5
  19568. -
  19569. - ac_lo=`expr '(' $ac_mid ')' + 1`
  19570. -fi
  19571. -
  19572. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19573. -done
  19574. -case $ac_lo in
  19575. -?*) ac_cv_sizeof_char=$ac_lo;;
  19576. -'') if test "$ac_cv_type_char" = yes; then
  19577. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
  19578. -See \`config.log' for more details." >&5
  19579. -echo "$as_me: error: cannot compute sizeof (char)
  19580. -See \`config.log' for more details." >&2;}
  19581. - { (exit 77); exit 77; }; }
  19582. - else
  19583. - ac_cv_sizeof_char=0
  19584. - fi ;;
  19585. -esac
  19586. -else
  19587. - cat >conftest.$ac_ext <<_ACEOF
  19588. -/* confdefs.h. */
  19589. -_ACEOF
  19590. -cat confdefs.h >>conftest.$ac_ext
  19591. -cat >>conftest.$ac_ext <<_ACEOF
  19592. -/* end confdefs.h. */
  19593. -$ac_includes_default
  19594. - typedef char ac__type_sizeof_;
  19595. -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  19596. -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  19597. -#include <stdio.h>
  19598. -#include <stdlib.h>
  19599. -int
  19600. -main ()
  19601. -{
  19602. -
  19603. - FILE *f = fopen ("conftest.val", "w");
  19604. - if (! f)
  19605. - return 1;
  19606. - if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  19607. - {
  19608. - long int i = longval ();
  19609. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  19610. - return 1;
  19611. - fprintf (f, "%ld\n", i);
  19612. - }
  19613. - else
  19614. - {
  19615. - unsigned long int i = ulongval ();
  19616. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  19617. - return 1;
  19618. - fprintf (f, "%lu\n", i);
  19619. - }
  19620. - return ferror (f) || fclose (f) != 0;
  19621. -
  19622. - ;
  19623. - return 0;
  19624. -}
  19625. -_ACEOF
  19626. -rm -f conftest$ac_exeext
  19627. -if { (ac_try="$ac_link"
  19628. -case "(($ac_try" in
  19629. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19630. - *) ac_try_echo=$ac_try;;
  19631. -esac
  19632. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19633. - (eval "$ac_link") 2>&5
  19634. - ac_status=$?
  19635. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19636. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  19637. - { (case "(($ac_try" in
  19638. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19639. - *) ac_try_echo=$ac_try;;
  19640. -esac
  19641. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19642. - (eval "$ac_try") 2>&5
  19643. - ac_status=$?
  19644. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19645. - (exit $ac_status); }; }; then
  19646. - ac_cv_sizeof_char=`cat conftest.val`
  19647. -else
  19648. - echo "$as_me: program exited with status $ac_status" >&5
  19649. -echo "$as_me: failed program was:" >&5
  19650. -sed 's/^/| /' conftest.$ac_ext >&5
  19651. -
  19652. -( exit $ac_status )
  19653. -if test "$ac_cv_type_char" = yes; then
  19654. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
  19655. -See \`config.log' for more details." >&5
  19656. -echo "$as_me: error: cannot compute sizeof (char)
  19657. -See \`config.log' for more details." >&2;}
  19658. - { (exit 77); exit 77; }; }
  19659. - else
  19660. - ac_cv_sizeof_char=0
  19661. - fi
  19662. -fi
  19663. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  19664. -fi
  19665. -rm -f conftest.val
  19666. -fi
  19667. -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
  19668. -echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
  19669. -
  19670. -
  19671. -
  19672. -cat >>confdefs.h <<_ACEOF
  19673. -#define SIZEOF_CHAR $ac_cv_sizeof_char
  19674. -_ACEOF
  19675. -
  19676. -
  19677. -{ echo "$as_me:$LINENO: checking for short" >&5
  19678. -echo $ECHO_N "checking for short... $ECHO_C" >&6; }
  19679. -if test "${ac_cv_type_short+set}" = set; then
  19680. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19681. -else
  19682. - cat >conftest.$ac_ext <<_ACEOF
  19683. -/* confdefs.h. */
  19684. -_ACEOF
  19685. -cat confdefs.h >>conftest.$ac_ext
  19686. -cat >>conftest.$ac_ext <<_ACEOF
  19687. -/* end confdefs.h. */
  19688. -$ac_includes_default
  19689. -typedef short ac__type_new_;
  19690. -int
  19691. -main ()
  19692. -{
  19693. -if ((ac__type_new_ *) 0)
  19694. - return 0;
  19695. -if (sizeof (ac__type_new_))
  19696. - return 0;
  19697. - ;
  19698. - return 0;
  19699. -}
  19700. -_ACEOF
  19701. -rm -f conftest.$ac_objext
  19702. -if { (ac_try="$ac_compile"
  19703. -case "(($ac_try" in
  19704. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19705. - *) ac_try_echo=$ac_try;;
  19706. -esac
  19707. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19708. - (eval "$ac_compile") 2>conftest.er1
  19709. - ac_status=$?
  19710. - grep -v '^ *+' conftest.er1 >conftest.err
  19711. - rm -f conftest.er1
  19712. - cat conftest.err >&5
  19713. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19714. - (exit $ac_status); } && {
  19715. - test -z "$ac_c_werror_flag" ||
  19716. - test ! -s conftest.err
  19717. - } && test -s conftest.$ac_objext; then
  19718. - ac_cv_type_short=yes
  19719. -else
  19720. - echo "$as_me: failed program was:" >&5
  19721. -sed 's/^/| /' conftest.$ac_ext >&5
  19722. -
  19723. - ac_cv_type_short=no
  19724. -fi
  19725. -
  19726. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19727. -fi
  19728. -{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
  19729. -echo "${ECHO_T}$ac_cv_type_short" >&6; }
  19730. -
  19731. -# The cast to long int works around a bug in the HP C Compiler
  19732. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  19733. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  19734. -# This bug is HP SR number 8606223364.
  19735. -{ echo "$as_me:$LINENO: checking size of short" >&5
  19736. -echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
  19737. -if test "${ac_cv_sizeof_short+set}" = set; then
  19738. - echo $ECHO_N "(cached) $ECHO_C" >&6
  19739. -else
  19740. - if test "$cross_compiling" = yes; then
  19741. - # Depending upon the size, compute the lo and hi bounds.
  19742. -cat >conftest.$ac_ext <<_ACEOF
  19743. -/* confdefs.h. */
  19744. -_ACEOF
  19745. -cat confdefs.h >>conftest.$ac_ext
  19746. -cat >>conftest.$ac_ext <<_ACEOF
  19747. -/* end confdefs.h. */
  19748. -$ac_includes_default
  19749. - typedef short ac__type_sizeof_;
  19750. -int
  19751. -main ()
  19752. -{
  19753. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  19754. -test_array [0] = 0
  19755. -
  19756. - ;
  19757. - return 0;
  19758. -}
  19759. -_ACEOF
  19760. -rm -f conftest.$ac_objext
  19761. -if { (ac_try="$ac_compile"
  19762. -case "(($ac_try" in
  19763. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19764. - *) ac_try_echo=$ac_try;;
  19765. -esac
  19766. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19767. - (eval "$ac_compile") 2>conftest.er1
  19768. - ac_status=$?
  19769. - grep -v '^ *+' conftest.er1 >conftest.err
  19770. - rm -f conftest.er1
  19771. - cat conftest.err >&5
  19772. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19773. - (exit $ac_status); } && {
  19774. - test -z "$ac_c_werror_flag" ||
  19775. - test ! -s conftest.err
  19776. - } && test -s conftest.$ac_objext; then
  19777. - ac_lo=0 ac_mid=0
  19778. - while :; do
  19779. - cat >conftest.$ac_ext <<_ACEOF
  19780. -/* confdefs.h. */
  19781. -_ACEOF
  19782. -cat confdefs.h >>conftest.$ac_ext
  19783. -cat >>conftest.$ac_ext <<_ACEOF
  19784. -/* end confdefs.h. */
  19785. -$ac_includes_default
  19786. - typedef short ac__type_sizeof_;
  19787. -int
  19788. -main ()
  19789. -{
  19790. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  19791. -test_array [0] = 0
  19792. -
  19793. - ;
  19794. - return 0;
  19795. -}
  19796. -_ACEOF
  19797. -rm -f conftest.$ac_objext
  19798. -if { (ac_try="$ac_compile"
  19799. -case "(($ac_try" in
  19800. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19801. - *) ac_try_echo=$ac_try;;
  19802. -esac
  19803. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19804. - (eval "$ac_compile") 2>conftest.er1
  19805. - ac_status=$?
  19806. - grep -v '^ *+' conftest.er1 >conftest.err
  19807. - rm -f conftest.er1
  19808. - cat conftest.err >&5
  19809. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19810. - (exit $ac_status); } && {
  19811. - test -z "$ac_c_werror_flag" ||
  19812. - test ! -s conftest.err
  19813. - } && test -s conftest.$ac_objext; then
  19814. - ac_hi=$ac_mid; break
  19815. -else
  19816. - echo "$as_me: failed program was:" >&5
  19817. -sed 's/^/| /' conftest.$ac_ext >&5
  19818. -
  19819. - ac_lo=`expr $ac_mid + 1`
  19820. - if test $ac_lo -le $ac_mid; then
  19821. - ac_lo= ac_hi=
  19822. - break
  19823. - fi
  19824. - ac_mid=`expr 2 '*' $ac_mid + 1`
  19825. -fi
  19826. -
  19827. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19828. - done
  19829. -else
  19830. - echo "$as_me: failed program was:" >&5
  19831. -sed 's/^/| /' conftest.$ac_ext >&5
  19832. -
  19833. - cat >conftest.$ac_ext <<_ACEOF
  19834. -/* confdefs.h. */
  19835. -_ACEOF
  19836. -cat confdefs.h >>conftest.$ac_ext
  19837. -cat >>conftest.$ac_ext <<_ACEOF
  19838. -/* end confdefs.h. */
  19839. -$ac_includes_default
  19840. - typedef short ac__type_sizeof_;
  19841. -int
  19842. -main ()
  19843. -{
  19844. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  19845. -test_array [0] = 0
  19846. -
  19847. - ;
  19848. - return 0;
  19849. -}
  19850. -_ACEOF
  19851. -rm -f conftest.$ac_objext
  19852. -if { (ac_try="$ac_compile"
  19853. -case "(($ac_try" in
  19854. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19855. - *) ac_try_echo=$ac_try;;
  19856. -esac
  19857. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19858. - (eval "$ac_compile") 2>conftest.er1
  19859. - ac_status=$?
  19860. - grep -v '^ *+' conftest.er1 >conftest.err
  19861. - rm -f conftest.er1
  19862. - cat conftest.err >&5
  19863. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19864. - (exit $ac_status); } && {
  19865. - test -z "$ac_c_werror_flag" ||
  19866. - test ! -s conftest.err
  19867. - } && test -s conftest.$ac_objext; then
  19868. - ac_hi=-1 ac_mid=-1
  19869. - while :; do
  19870. - cat >conftest.$ac_ext <<_ACEOF
  19871. -/* confdefs.h. */
  19872. -_ACEOF
  19873. -cat confdefs.h >>conftest.$ac_ext
  19874. -cat >>conftest.$ac_ext <<_ACEOF
  19875. -/* end confdefs.h. */
  19876. -$ac_includes_default
  19877. - typedef short ac__type_sizeof_;
  19878. -int
  19879. -main ()
  19880. -{
  19881. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  19882. -test_array [0] = 0
  19883. -
  19884. - ;
  19885. - return 0;
  19886. -}
  19887. -_ACEOF
  19888. -rm -f conftest.$ac_objext
  19889. -if { (ac_try="$ac_compile"
  19890. -case "(($ac_try" in
  19891. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19892. - *) ac_try_echo=$ac_try;;
  19893. -esac
  19894. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19895. - (eval "$ac_compile") 2>conftest.er1
  19896. - ac_status=$?
  19897. - grep -v '^ *+' conftest.er1 >conftest.err
  19898. - rm -f conftest.er1
  19899. - cat conftest.err >&5
  19900. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19901. - (exit $ac_status); } && {
  19902. - test -z "$ac_c_werror_flag" ||
  19903. - test ! -s conftest.err
  19904. - } && test -s conftest.$ac_objext; then
  19905. - ac_lo=$ac_mid; break
  19906. -else
  19907. - echo "$as_me: failed program was:" >&5
  19908. -sed 's/^/| /' conftest.$ac_ext >&5
  19909. -
  19910. - ac_hi=`expr '(' $ac_mid ')' - 1`
  19911. - if test $ac_mid -le $ac_hi; then
  19912. - ac_lo= ac_hi=
  19913. - break
  19914. - fi
  19915. - ac_mid=`expr 2 '*' $ac_mid`
  19916. -fi
  19917. -
  19918. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19919. - done
  19920. -else
  19921. - echo "$as_me: failed program was:" >&5
  19922. -sed 's/^/| /' conftest.$ac_ext >&5
  19923. -
  19924. - ac_lo= ac_hi=
  19925. -fi
  19926. -
  19927. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19928. -fi
  19929. -
  19930. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19931. -# Binary search between lo and hi bounds.
  19932. -while test "x$ac_lo" != "x$ac_hi"; do
  19933. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  19934. - cat >conftest.$ac_ext <<_ACEOF
  19935. -/* confdefs.h. */
  19936. -_ACEOF
  19937. -cat confdefs.h >>conftest.$ac_ext
  19938. -cat >>conftest.$ac_ext <<_ACEOF
  19939. -/* end confdefs.h. */
  19940. -$ac_includes_default
  19941. - typedef short ac__type_sizeof_;
  19942. -int
  19943. -main ()
  19944. -{
  19945. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  19946. -test_array [0] = 0
  19947. -
  19948. - ;
  19949. - return 0;
  19950. -}
  19951. -_ACEOF
  19952. -rm -f conftest.$ac_objext
  19953. -if { (ac_try="$ac_compile"
  19954. -case "(($ac_try" in
  19955. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19956. - *) ac_try_echo=$ac_try;;
  19957. -esac
  19958. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  19959. - (eval "$ac_compile") 2>conftest.er1
  19960. - ac_status=$?
  19961. - grep -v '^ *+' conftest.er1 >conftest.err
  19962. - rm -f conftest.er1
  19963. - cat conftest.err >&5
  19964. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19965. - (exit $ac_status); } && {
  19966. - test -z "$ac_c_werror_flag" ||
  19967. - test ! -s conftest.err
  19968. - } && test -s conftest.$ac_objext; then
  19969. - ac_hi=$ac_mid
  19970. -else
  19971. - echo "$as_me: failed program was:" >&5
  19972. -sed 's/^/| /' conftest.$ac_ext >&5
  19973. -
  19974. - ac_lo=`expr '(' $ac_mid ')' + 1`
  19975. -fi
  19976. -
  19977. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19978. -done
  19979. -case $ac_lo in
  19980. -?*) ac_cv_sizeof_short=$ac_lo;;
  19981. -'') if test "$ac_cv_type_short" = yes; then
  19982. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
  19983. -See \`config.log' for more details." >&5
  19984. -echo "$as_me: error: cannot compute sizeof (short)
  19985. -See \`config.log' for more details." >&2;}
  19986. - { (exit 77); exit 77; }; }
  19987. - else
  19988. - ac_cv_sizeof_short=0
  19989. - fi ;;
  19990. -esac
  19991. -else
  19992. - cat >conftest.$ac_ext <<_ACEOF
  19993. -/* confdefs.h. */
  19994. -_ACEOF
  19995. -cat confdefs.h >>conftest.$ac_ext
  19996. -cat >>conftest.$ac_ext <<_ACEOF
  19997. -/* end confdefs.h. */
  19998. -$ac_includes_default
  19999. - typedef short ac__type_sizeof_;
  20000. -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  20001. -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  20002. -#include <stdio.h>
  20003. -#include <stdlib.h>
  20004. -int
  20005. -main ()
  20006. -{
  20007. -
  20008. - FILE *f = fopen ("conftest.val", "w");
  20009. - if (! f)
  20010. - return 1;
  20011. - if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  20012. - {
  20013. - long int i = longval ();
  20014. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  20015. - return 1;
  20016. - fprintf (f, "%ld\n", i);
  20017. - }
  20018. - else
  20019. - {
  20020. - unsigned long int i = ulongval ();
  20021. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  20022. - return 1;
  20023. - fprintf (f, "%lu\n", i);
  20024. - }
  20025. - return ferror (f) || fclose (f) != 0;
  20026. -
  20027. - ;
  20028. - return 0;
  20029. -}
  20030. -_ACEOF
  20031. -rm -f conftest$ac_exeext
  20032. -if { (ac_try="$ac_link"
  20033. -case "(($ac_try" in
  20034. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20035. - *) ac_try_echo=$ac_try;;
  20036. -esac
  20037. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20038. - (eval "$ac_link") 2>&5
  20039. - ac_status=$?
  20040. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20041. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  20042. - { (case "(($ac_try" in
  20043. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20044. - *) ac_try_echo=$ac_try;;
  20045. -esac
  20046. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20047. - (eval "$ac_try") 2>&5
  20048. - ac_status=$?
  20049. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20050. - (exit $ac_status); }; }; then
  20051. - ac_cv_sizeof_short=`cat conftest.val`
  20052. -else
  20053. - echo "$as_me: program exited with status $ac_status" >&5
  20054. -echo "$as_me: failed program was:" >&5
  20055. -sed 's/^/| /' conftest.$ac_ext >&5
  20056. -
  20057. -( exit $ac_status )
  20058. -if test "$ac_cv_type_short" = yes; then
  20059. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
  20060. -See \`config.log' for more details." >&5
  20061. -echo "$as_me: error: cannot compute sizeof (short)
  20062. -See \`config.log' for more details." >&2;}
  20063. - { (exit 77); exit 77; }; }
  20064. - else
  20065. - ac_cv_sizeof_short=0
  20066. - fi
  20067. -fi
  20068. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  20069. -fi
  20070. -rm -f conftest.val
  20071. -fi
  20072. -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
  20073. -echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
  20074. -
  20075. -
  20076. -
  20077. -cat >>confdefs.h <<_ACEOF
  20078. -#define SIZEOF_SHORT $ac_cv_sizeof_short
  20079. -_ACEOF
  20080. -
  20081. -
  20082. -{ echo "$as_me:$LINENO: checking for int" >&5
  20083. -echo $ECHO_N "checking for int... $ECHO_C" >&6; }
  20084. -if test "${ac_cv_type_int+set}" = set; then
  20085. - echo $ECHO_N "(cached) $ECHO_C" >&6
  20086. -else
  20087. - cat >conftest.$ac_ext <<_ACEOF
  20088. -/* confdefs.h. */
  20089. -_ACEOF
  20090. -cat confdefs.h >>conftest.$ac_ext
  20091. -cat >>conftest.$ac_ext <<_ACEOF
  20092. -/* end confdefs.h. */
  20093. -$ac_includes_default
  20094. -typedef int ac__type_new_;
  20095. -int
  20096. -main ()
  20097. -{
  20098. -if ((ac__type_new_ *) 0)
  20099. - return 0;
  20100. -if (sizeof (ac__type_new_))
  20101. - return 0;
  20102. - ;
  20103. - return 0;
  20104. -}
  20105. -_ACEOF
  20106. -rm -f conftest.$ac_objext
  20107. -if { (ac_try="$ac_compile"
  20108. -case "(($ac_try" in
  20109. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20110. - *) ac_try_echo=$ac_try;;
  20111. -esac
  20112. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20113. - (eval "$ac_compile") 2>conftest.er1
  20114. - ac_status=$?
  20115. - grep -v '^ *+' conftest.er1 >conftest.err
  20116. - rm -f conftest.er1
  20117. - cat conftest.err >&5
  20118. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20119. - (exit $ac_status); } && {
  20120. - test -z "$ac_c_werror_flag" ||
  20121. - test ! -s conftest.err
  20122. - } && test -s conftest.$ac_objext; then
  20123. - ac_cv_type_int=yes
  20124. -else
  20125. - echo "$as_me: failed program was:" >&5
  20126. -sed 's/^/| /' conftest.$ac_ext >&5
  20127. -
  20128. - ac_cv_type_int=no
  20129. -fi
  20130. -
  20131. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20132. -fi
  20133. -{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
  20134. -echo "${ECHO_T}$ac_cv_type_int" >&6; }
  20135. -
  20136. -# The cast to long int works around a bug in the HP C Compiler
  20137. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  20138. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  20139. -# This bug is HP SR number 8606223364.
  20140. -{ echo "$as_me:$LINENO: checking size of int" >&5
  20141. -echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
  20142. -if test "${ac_cv_sizeof_int+set}" = set; then
  20143. - echo $ECHO_N "(cached) $ECHO_C" >&6
  20144. -else
  20145. - if test "$cross_compiling" = yes; then
  20146. - # Depending upon the size, compute the lo and hi bounds.
  20147. -cat >conftest.$ac_ext <<_ACEOF
  20148. -/* confdefs.h. */
  20149. -_ACEOF
  20150. -cat confdefs.h >>conftest.$ac_ext
  20151. -cat >>conftest.$ac_ext <<_ACEOF
  20152. -/* end confdefs.h. */
  20153. -$ac_includes_default
  20154. - typedef int ac__type_sizeof_;
  20155. -int
  20156. -main ()
  20157. -{
  20158. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  20159. -test_array [0] = 0
  20160. -
  20161. - ;
  20162. - return 0;
  20163. -}
  20164. -_ACEOF
  20165. -rm -f conftest.$ac_objext
  20166. -if { (ac_try="$ac_compile"
  20167. -case "(($ac_try" in
  20168. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20169. - *) ac_try_echo=$ac_try;;
  20170. -esac
  20171. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20172. - (eval "$ac_compile") 2>conftest.er1
  20173. - ac_status=$?
  20174. - grep -v '^ *+' conftest.er1 >conftest.err
  20175. - rm -f conftest.er1
  20176. - cat conftest.err >&5
  20177. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20178. - (exit $ac_status); } && {
  20179. - test -z "$ac_c_werror_flag" ||
  20180. - test ! -s conftest.err
  20181. - } && test -s conftest.$ac_objext; then
  20182. - ac_lo=0 ac_mid=0
  20183. - while :; do
  20184. - cat >conftest.$ac_ext <<_ACEOF
  20185. -/* confdefs.h. */
  20186. -_ACEOF
  20187. -cat confdefs.h >>conftest.$ac_ext
  20188. -cat >>conftest.$ac_ext <<_ACEOF
  20189. -/* end confdefs.h. */
  20190. -$ac_includes_default
  20191. - typedef int ac__type_sizeof_;
  20192. -int
  20193. -main ()
  20194. -{
  20195. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  20196. -test_array [0] = 0
  20197. -
  20198. - ;
  20199. - return 0;
  20200. -}
  20201. -_ACEOF
  20202. -rm -f conftest.$ac_objext
  20203. -if { (ac_try="$ac_compile"
  20204. -case "(($ac_try" in
  20205. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20206. - *) ac_try_echo=$ac_try;;
  20207. -esac
  20208. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20209. - (eval "$ac_compile") 2>conftest.er1
  20210. - ac_status=$?
  20211. - grep -v '^ *+' conftest.er1 >conftest.err
  20212. - rm -f conftest.er1
  20213. - cat conftest.err >&5
  20214. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20215. - (exit $ac_status); } && {
  20216. - test -z "$ac_c_werror_flag" ||
  20217. - test ! -s conftest.err
  20218. - } && test -s conftest.$ac_objext; then
  20219. - ac_hi=$ac_mid; break
  20220. -else
  20221. - echo "$as_me: failed program was:" >&5
  20222. -sed 's/^/| /' conftest.$ac_ext >&5
  20223. -
  20224. - ac_lo=`expr $ac_mid + 1`
  20225. - if test $ac_lo -le $ac_mid; then
  20226. - ac_lo= ac_hi=
  20227. - break
  20228. - fi
  20229. - ac_mid=`expr 2 '*' $ac_mid + 1`
  20230. -fi
  20231. -
  20232. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20233. - done
  20234. -else
  20235. - echo "$as_me: failed program was:" >&5
  20236. -sed 's/^/| /' conftest.$ac_ext >&5
  20237. -
  20238. - cat >conftest.$ac_ext <<_ACEOF
  20239. -/* confdefs.h. */
  20240. -_ACEOF
  20241. -cat confdefs.h >>conftest.$ac_ext
  20242. -cat >>conftest.$ac_ext <<_ACEOF
  20243. -/* end confdefs.h. */
  20244. -$ac_includes_default
  20245. - typedef int ac__type_sizeof_;
  20246. -int
  20247. -main ()
  20248. -{
  20249. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  20250. -test_array [0] = 0
  20251. -
  20252. - ;
  20253. - return 0;
  20254. -}
  20255. -_ACEOF
  20256. -rm -f conftest.$ac_objext
  20257. -if { (ac_try="$ac_compile"
  20258. -case "(($ac_try" in
  20259. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20260. - *) ac_try_echo=$ac_try;;
  20261. -esac
  20262. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20263. - (eval "$ac_compile") 2>conftest.er1
  20264. - ac_status=$?
  20265. - grep -v '^ *+' conftest.er1 >conftest.err
  20266. - rm -f conftest.er1
  20267. - cat conftest.err >&5
  20268. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20269. - (exit $ac_status); } && {
  20270. - test -z "$ac_c_werror_flag" ||
  20271. - test ! -s conftest.err
  20272. - } && test -s conftest.$ac_objext; then
  20273. - ac_hi=-1 ac_mid=-1
  20274. - while :; do
  20275. - cat >conftest.$ac_ext <<_ACEOF
  20276. -/* confdefs.h. */
  20277. -_ACEOF
  20278. -cat confdefs.h >>conftest.$ac_ext
  20279. -cat >>conftest.$ac_ext <<_ACEOF
  20280. -/* end confdefs.h. */
  20281. -$ac_includes_default
  20282. - typedef int ac__type_sizeof_;
  20283. -int
  20284. -main ()
  20285. -{
  20286. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  20287. -test_array [0] = 0
  20288. -
  20289. - ;
  20290. - return 0;
  20291. -}
  20292. -_ACEOF
  20293. -rm -f conftest.$ac_objext
  20294. -if { (ac_try="$ac_compile"
  20295. -case "(($ac_try" in
  20296. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20297. - *) ac_try_echo=$ac_try;;
  20298. -esac
  20299. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20300. - (eval "$ac_compile") 2>conftest.er1
  20301. - ac_status=$?
  20302. - grep -v '^ *+' conftest.er1 >conftest.err
  20303. - rm -f conftest.er1
  20304. - cat conftest.err >&5
  20305. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20306. - (exit $ac_status); } && {
  20307. - test -z "$ac_c_werror_flag" ||
  20308. - test ! -s conftest.err
  20309. - } && test -s conftest.$ac_objext; then
  20310. - ac_lo=$ac_mid; break
  20311. -else
  20312. - echo "$as_me: failed program was:" >&5
  20313. -sed 's/^/| /' conftest.$ac_ext >&5
  20314. -
  20315. - ac_hi=`expr '(' $ac_mid ')' - 1`
  20316. - if test $ac_mid -le $ac_hi; then
  20317. - ac_lo= ac_hi=
  20318. - break
  20319. - fi
  20320. - ac_mid=`expr 2 '*' $ac_mid`
  20321. -fi
  20322. -
  20323. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20324. - done
  20325. -else
  20326. - echo "$as_me: failed program was:" >&5
  20327. -sed 's/^/| /' conftest.$ac_ext >&5
  20328. -
  20329. - ac_lo= ac_hi=
  20330. -fi
  20331. -
  20332. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20333. -fi
  20334. -
  20335. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20336. -# Binary search between lo and hi bounds.
  20337. -while test "x$ac_lo" != "x$ac_hi"; do
  20338. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  20339. - cat >conftest.$ac_ext <<_ACEOF
  20340. -/* confdefs.h. */
  20341. -_ACEOF
  20342. -cat confdefs.h >>conftest.$ac_ext
  20343. -cat >>conftest.$ac_ext <<_ACEOF
  20344. -/* end confdefs.h. */
  20345. -$ac_includes_default
  20346. - typedef int ac__type_sizeof_;
  20347. -int
  20348. -main ()
  20349. -{
  20350. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  20351. -test_array [0] = 0
  20352. -
  20353. - ;
  20354. - return 0;
  20355. -}
  20356. -_ACEOF
  20357. -rm -f conftest.$ac_objext
  20358. -if { (ac_try="$ac_compile"
  20359. -case "(($ac_try" in
  20360. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20361. - *) ac_try_echo=$ac_try;;
  20362. -esac
  20363. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20364. - (eval "$ac_compile") 2>conftest.er1
  20365. - ac_status=$?
  20366. - grep -v '^ *+' conftest.er1 >conftest.err
  20367. - rm -f conftest.er1
  20368. - cat conftest.err >&5
  20369. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20370. - (exit $ac_status); } && {
  20371. - test -z "$ac_c_werror_flag" ||
  20372. - test ! -s conftest.err
  20373. - } && test -s conftest.$ac_objext; then
  20374. - ac_hi=$ac_mid
  20375. -else
  20376. - echo "$as_me: failed program was:" >&5
  20377. -sed 's/^/| /' conftest.$ac_ext >&5
  20378. -
  20379. - ac_lo=`expr '(' $ac_mid ')' + 1`
  20380. -fi
  20381. -
  20382. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20383. -done
  20384. -case $ac_lo in
  20385. -?*) ac_cv_sizeof_int=$ac_lo;;
  20386. -'') if test "$ac_cv_type_int" = yes; then
  20387. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
  20388. -See \`config.log' for more details." >&5
  20389. -echo "$as_me: error: cannot compute sizeof (int)
  20390. -See \`config.log' for more details." >&2;}
  20391. - { (exit 77); exit 77; }; }
  20392. - else
  20393. - ac_cv_sizeof_int=0
  20394. - fi ;;
  20395. -esac
  20396. -else
  20397. - cat >conftest.$ac_ext <<_ACEOF
  20398. -/* confdefs.h. */
  20399. -_ACEOF
  20400. -cat confdefs.h >>conftest.$ac_ext
  20401. -cat >>conftest.$ac_ext <<_ACEOF
  20402. -/* end confdefs.h. */
  20403. -$ac_includes_default
  20404. - typedef int ac__type_sizeof_;
  20405. -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  20406. -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  20407. -#include <stdio.h>
  20408. -#include <stdlib.h>
  20409. -int
  20410. -main ()
  20411. -{
  20412. -
  20413. - FILE *f = fopen ("conftest.val", "w");
  20414. - if (! f)
  20415. - return 1;
  20416. - if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  20417. - {
  20418. - long int i = longval ();
  20419. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  20420. - return 1;
  20421. - fprintf (f, "%ld\n", i);
  20422. - }
  20423. - else
  20424. - {
  20425. - unsigned long int i = ulongval ();
  20426. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  20427. - return 1;
  20428. - fprintf (f, "%lu\n", i);
  20429. - }
  20430. - return ferror (f) || fclose (f) != 0;
  20431. -
  20432. - ;
  20433. - return 0;
  20434. -}
  20435. -_ACEOF
  20436. -rm -f conftest$ac_exeext
  20437. -if { (ac_try="$ac_link"
  20438. -case "(($ac_try" in
  20439. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20440. - *) ac_try_echo=$ac_try;;
  20441. -esac
  20442. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20443. - (eval "$ac_link") 2>&5
  20444. - ac_status=$?
  20445. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20446. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  20447. - { (case "(($ac_try" in
  20448. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20449. - *) ac_try_echo=$ac_try;;
  20450. -esac
  20451. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20452. - (eval "$ac_try") 2>&5
  20453. - ac_status=$?
  20454. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20455. - (exit $ac_status); }; }; then
  20456. - ac_cv_sizeof_int=`cat conftest.val`
  20457. -else
  20458. - echo "$as_me: program exited with status $ac_status" >&5
  20459. -echo "$as_me: failed program was:" >&5
  20460. -sed 's/^/| /' conftest.$ac_ext >&5
  20461. -
  20462. -( exit $ac_status )
  20463. -if test "$ac_cv_type_int" = yes; then
  20464. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
  20465. -See \`config.log' for more details." >&5
  20466. -echo "$as_me: error: cannot compute sizeof (int)
  20467. -See \`config.log' for more details." >&2;}
  20468. - { (exit 77); exit 77; }; }
  20469. - else
  20470. - ac_cv_sizeof_int=0
  20471. - fi
  20472. -fi
  20473. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  20474. -fi
  20475. -rm -f conftest.val
  20476. -fi
  20477. -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
  20478. -echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
  20479. -
  20480. -
  20481. -
  20482. -cat >>confdefs.h <<_ACEOF
  20483. -#define SIZEOF_INT $ac_cv_sizeof_int
  20484. -_ACEOF
  20485. -
  20486. -
  20487. -{ echo "$as_me:$LINENO: checking for long" >&5
  20488. -echo $ECHO_N "checking for long... $ECHO_C" >&6; }
  20489. -if test "${ac_cv_type_long+set}" = set; then
  20490. - echo $ECHO_N "(cached) $ECHO_C" >&6
  20491. -else
  20492. - cat >conftest.$ac_ext <<_ACEOF
  20493. -/* confdefs.h. */
  20494. -_ACEOF
  20495. -cat confdefs.h >>conftest.$ac_ext
  20496. -cat >>conftest.$ac_ext <<_ACEOF
  20497. -/* end confdefs.h. */
  20498. -$ac_includes_default
  20499. -typedef long ac__type_new_;
  20500. -int
  20501. -main ()
  20502. -{
  20503. -if ((ac__type_new_ *) 0)
  20504. - return 0;
  20505. -if (sizeof (ac__type_new_))
  20506. - return 0;
  20507. - ;
  20508. - return 0;
  20509. -}
  20510. -_ACEOF
  20511. -rm -f conftest.$ac_objext
  20512. -if { (ac_try="$ac_compile"
  20513. -case "(($ac_try" in
  20514. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20515. - *) ac_try_echo=$ac_try;;
  20516. -esac
  20517. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20518. - (eval "$ac_compile") 2>conftest.er1
  20519. - ac_status=$?
  20520. - grep -v '^ *+' conftest.er1 >conftest.err
  20521. - rm -f conftest.er1
  20522. - cat conftest.err >&5
  20523. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20524. - (exit $ac_status); } && {
  20525. - test -z "$ac_c_werror_flag" ||
  20526. - test ! -s conftest.err
  20527. - } && test -s conftest.$ac_objext; then
  20528. - ac_cv_type_long=yes
  20529. -else
  20530. - echo "$as_me: failed program was:" >&5
  20531. -sed 's/^/| /' conftest.$ac_ext >&5
  20532. -
  20533. - ac_cv_type_long=no
  20534. -fi
  20535. -
  20536. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20537. -fi
  20538. -{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
  20539. -echo "${ECHO_T}$ac_cv_type_long" >&6; }
  20540. -
  20541. -# The cast to long int works around a bug in the HP C Compiler
  20542. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  20543. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  20544. -# This bug is HP SR number 8606223364.
  20545. -{ echo "$as_me:$LINENO: checking size of long" >&5
  20546. -echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
  20547. -if test "${ac_cv_sizeof_long+set}" = set; then
  20548. - echo $ECHO_N "(cached) $ECHO_C" >&6
  20549. -else
  20550. - if test "$cross_compiling" = yes; then
  20551. - # Depending upon the size, compute the lo and hi bounds.
  20552. -cat >conftest.$ac_ext <<_ACEOF
  20553. -/* confdefs.h. */
  20554. -_ACEOF
  20555. -cat confdefs.h >>conftest.$ac_ext
  20556. -cat >>conftest.$ac_ext <<_ACEOF
  20557. -/* end confdefs.h. */
  20558. -$ac_includes_default
  20559. - typedef long ac__type_sizeof_;
  20560. -int
  20561. -main ()
  20562. -{
  20563. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  20564. -test_array [0] = 0
  20565. -
  20566. - ;
  20567. - return 0;
  20568. -}
  20569. -_ACEOF
  20570. -rm -f conftest.$ac_objext
  20571. -if { (ac_try="$ac_compile"
  20572. -case "(($ac_try" in
  20573. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20574. - *) ac_try_echo=$ac_try;;
  20575. -esac
  20576. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20577. - (eval "$ac_compile") 2>conftest.er1
  20578. - ac_status=$?
  20579. - grep -v '^ *+' conftest.er1 >conftest.err
  20580. - rm -f conftest.er1
  20581. - cat conftest.err >&5
  20582. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20583. - (exit $ac_status); } && {
  20584. - test -z "$ac_c_werror_flag" ||
  20585. - test ! -s conftest.err
  20586. - } && test -s conftest.$ac_objext; then
  20587. - ac_lo=0 ac_mid=0
  20588. - while :; do
  20589. - cat >conftest.$ac_ext <<_ACEOF
  20590. -/* confdefs.h. */
  20591. -_ACEOF
  20592. -cat confdefs.h >>conftest.$ac_ext
  20593. -cat >>conftest.$ac_ext <<_ACEOF
  20594. -/* end confdefs.h. */
  20595. -$ac_includes_default
  20596. - typedef long ac__type_sizeof_;
  20597. -int
  20598. -main ()
  20599. -{
  20600. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  20601. -test_array [0] = 0
  20602. -
  20603. - ;
  20604. - return 0;
  20605. -}
  20606. -_ACEOF
  20607. -rm -f conftest.$ac_objext
  20608. -if { (ac_try="$ac_compile"
  20609. -case "(($ac_try" in
  20610. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20611. - *) ac_try_echo=$ac_try;;
  20612. -esac
  20613. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20614. - (eval "$ac_compile") 2>conftest.er1
  20615. - ac_status=$?
  20616. - grep -v '^ *+' conftest.er1 >conftest.err
  20617. - rm -f conftest.er1
  20618. - cat conftest.err >&5
  20619. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20620. - (exit $ac_status); } && {
  20621. - test -z "$ac_c_werror_flag" ||
  20622. - test ! -s conftest.err
  20623. - } && test -s conftest.$ac_objext; then
  20624. - ac_hi=$ac_mid; break
  20625. -else
  20626. - echo "$as_me: failed program was:" >&5
  20627. -sed 's/^/| /' conftest.$ac_ext >&5
  20628. -
  20629. - ac_lo=`expr $ac_mid + 1`
  20630. - if test $ac_lo -le $ac_mid; then
  20631. - ac_lo= ac_hi=
  20632. - break
  20633. - fi
  20634. - ac_mid=`expr 2 '*' $ac_mid + 1`
  20635. -fi
  20636. -
  20637. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20638. - done
  20639. -else
  20640. - echo "$as_me: failed program was:" >&5
  20641. -sed 's/^/| /' conftest.$ac_ext >&5
  20642. -
  20643. - cat >conftest.$ac_ext <<_ACEOF
  20644. -/* confdefs.h. */
  20645. -_ACEOF
  20646. -cat confdefs.h >>conftest.$ac_ext
  20647. -cat >>conftest.$ac_ext <<_ACEOF
  20648. -/* end confdefs.h. */
  20649. -$ac_includes_default
  20650. - typedef long ac__type_sizeof_;
  20651. -int
  20652. -main ()
  20653. -{
  20654. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  20655. -test_array [0] = 0
  20656. -
  20657. - ;
  20658. - return 0;
  20659. -}
  20660. -_ACEOF
  20661. -rm -f conftest.$ac_objext
  20662. -if { (ac_try="$ac_compile"
  20663. -case "(($ac_try" in
  20664. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20665. - *) ac_try_echo=$ac_try;;
  20666. -esac
  20667. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20668. - (eval "$ac_compile") 2>conftest.er1
  20669. - ac_status=$?
  20670. - grep -v '^ *+' conftest.er1 >conftest.err
  20671. - rm -f conftest.er1
  20672. - cat conftest.err >&5
  20673. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20674. - (exit $ac_status); } && {
  20675. - test -z "$ac_c_werror_flag" ||
  20676. - test ! -s conftest.err
  20677. - } && test -s conftest.$ac_objext; then
  20678. - ac_hi=-1 ac_mid=-1
  20679. - while :; do
  20680. - cat >conftest.$ac_ext <<_ACEOF
  20681. -/* confdefs.h. */
  20682. -_ACEOF
  20683. -cat confdefs.h >>conftest.$ac_ext
  20684. -cat >>conftest.$ac_ext <<_ACEOF
  20685. -/* end confdefs.h. */
  20686. -$ac_includes_default
  20687. - typedef long ac__type_sizeof_;
  20688. -int
  20689. -main ()
  20690. -{
  20691. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  20692. -test_array [0] = 0
  20693. -
  20694. - ;
  20695. - return 0;
  20696. -}
  20697. -_ACEOF
  20698. -rm -f conftest.$ac_objext
  20699. -if { (ac_try="$ac_compile"
  20700. -case "(($ac_try" in
  20701. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20702. - *) ac_try_echo=$ac_try;;
  20703. -esac
  20704. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20705. - (eval "$ac_compile") 2>conftest.er1
  20706. - ac_status=$?
  20707. - grep -v '^ *+' conftest.er1 >conftest.err
  20708. - rm -f conftest.er1
  20709. - cat conftest.err >&5
  20710. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20711. - (exit $ac_status); } && {
  20712. - test -z "$ac_c_werror_flag" ||
  20713. - test ! -s conftest.err
  20714. - } && test -s conftest.$ac_objext; then
  20715. - ac_lo=$ac_mid; break
  20716. -else
  20717. - echo "$as_me: failed program was:" >&5
  20718. -sed 's/^/| /' conftest.$ac_ext >&5
  20719. -
  20720. - ac_hi=`expr '(' $ac_mid ')' - 1`
  20721. - if test $ac_mid -le $ac_hi; then
  20722. - ac_lo= ac_hi=
  20723. - break
  20724. - fi
  20725. - ac_mid=`expr 2 '*' $ac_mid`
  20726. -fi
  20727. -
  20728. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20729. - done
  20730. -else
  20731. - echo "$as_me: failed program was:" >&5
  20732. -sed 's/^/| /' conftest.$ac_ext >&5
  20733. -
  20734. - ac_lo= ac_hi=
  20735. -fi
  20736. -
  20737. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20738. -fi
  20739. -
  20740. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20741. -# Binary search between lo and hi bounds.
  20742. -while test "x$ac_lo" != "x$ac_hi"; do
  20743. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  20744. - cat >conftest.$ac_ext <<_ACEOF
  20745. -/* confdefs.h. */
  20746. -_ACEOF
  20747. -cat confdefs.h >>conftest.$ac_ext
  20748. -cat >>conftest.$ac_ext <<_ACEOF
  20749. -/* end confdefs.h. */
  20750. -$ac_includes_default
  20751. - typedef long ac__type_sizeof_;
  20752. -int
  20753. -main ()
  20754. -{
  20755. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  20756. -test_array [0] = 0
  20757. -
  20758. - ;
  20759. - return 0;
  20760. -}
  20761. -_ACEOF
  20762. -rm -f conftest.$ac_objext
  20763. -if { (ac_try="$ac_compile"
  20764. -case "(($ac_try" in
  20765. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20766. - *) ac_try_echo=$ac_try;;
  20767. -esac
  20768. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20769. - (eval "$ac_compile") 2>conftest.er1
  20770. - ac_status=$?
  20771. - grep -v '^ *+' conftest.er1 >conftest.err
  20772. - rm -f conftest.er1
  20773. - cat conftest.err >&5
  20774. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20775. - (exit $ac_status); } && {
  20776. - test -z "$ac_c_werror_flag" ||
  20777. - test ! -s conftest.err
  20778. - } && test -s conftest.$ac_objext; then
  20779. - ac_hi=$ac_mid
  20780. -else
  20781. - echo "$as_me: failed program was:" >&5
  20782. -sed 's/^/| /' conftest.$ac_ext >&5
  20783. -
  20784. - ac_lo=`expr '(' $ac_mid ')' + 1`
  20785. -fi
  20786. -
  20787. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20788. -done
  20789. -case $ac_lo in
  20790. -?*) ac_cv_sizeof_long=$ac_lo;;
  20791. -'') if test "$ac_cv_type_long" = yes; then
  20792. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
  20793. -See \`config.log' for more details." >&5
  20794. -echo "$as_me: error: cannot compute sizeof (long)
  20795. -See \`config.log' for more details." >&2;}
  20796. - { (exit 77); exit 77; }; }
  20797. - else
  20798. - ac_cv_sizeof_long=0
  20799. - fi ;;
  20800. -esac
  20801. -else
  20802. - cat >conftest.$ac_ext <<_ACEOF
  20803. -/* confdefs.h. */
  20804. -_ACEOF
  20805. -cat confdefs.h >>conftest.$ac_ext
  20806. -cat >>conftest.$ac_ext <<_ACEOF
  20807. -/* end confdefs.h. */
  20808. -$ac_includes_default
  20809. - typedef long ac__type_sizeof_;
  20810. -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  20811. -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  20812. -#include <stdio.h>
  20813. -#include <stdlib.h>
  20814. -int
  20815. -main ()
  20816. -{
  20817. -
  20818. - FILE *f = fopen ("conftest.val", "w");
  20819. - if (! f)
  20820. - return 1;
  20821. - if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  20822. - {
  20823. - long int i = longval ();
  20824. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  20825. - return 1;
  20826. - fprintf (f, "%ld\n", i);
  20827. - }
  20828. - else
  20829. - {
  20830. - unsigned long int i = ulongval ();
  20831. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  20832. - return 1;
  20833. - fprintf (f, "%lu\n", i);
  20834. - }
  20835. - return ferror (f) || fclose (f) != 0;
  20836. -
  20837. - ;
  20838. - return 0;
  20839. -}
  20840. -_ACEOF
  20841. -rm -f conftest$ac_exeext
  20842. -if { (ac_try="$ac_link"
  20843. -case "(($ac_try" in
  20844. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20845. - *) ac_try_echo=$ac_try;;
  20846. -esac
  20847. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20848. - (eval "$ac_link") 2>&5
  20849. - ac_status=$?
  20850. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20851. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  20852. - { (case "(($ac_try" in
  20853. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20854. - *) ac_try_echo=$ac_try;;
  20855. -esac
  20856. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20857. - (eval "$ac_try") 2>&5
  20858. - ac_status=$?
  20859. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20860. - (exit $ac_status); }; }; then
  20861. - ac_cv_sizeof_long=`cat conftest.val`
  20862. -else
  20863. - echo "$as_me: program exited with status $ac_status" >&5
  20864. -echo "$as_me: failed program was:" >&5
  20865. -sed 's/^/| /' conftest.$ac_ext >&5
  20866. -
  20867. -( exit $ac_status )
  20868. -if test "$ac_cv_type_long" = yes; then
  20869. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
  20870. -See \`config.log' for more details." >&5
  20871. -echo "$as_me: error: cannot compute sizeof (long)
  20872. -See \`config.log' for more details." >&2;}
  20873. - { (exit 77); exit 77; }; }
  20874. - else
  20875. - ac_cv_sizeof_long=0
  20876. - fi
  20877. -fi
  20878. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  20879. -fi
  20880. -rm -f conftest.val
  20881. -fi
  20882. -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
  20883. -echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
  20884. -
  20885. -
  20886. -
  20887. -cat >>confdefs.h <<_ACEOF
  20888. -#define SIZEOF_LONG $ac_cv_sizeof_long
  20889. -_ACEOF
  20890. -
  20891. -
  20892. -{ echo "$as_me:$LINENO: checking for long long" >&5
  20893. -echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
  20894. -if test "${ac_cv_type_long_long+set}" = set; then
  20895. - echo $ECHO_N "(cached) $ECHO_C" >&6
  20896. -else
  20897. - cat >conftest.$ac_ext <<_ACEOF
  20898. -/* confdefs.h. */
  20899. -_ACEOF
  20900. -cat confdefs.h >>conftest.$ac_ext
  20901. -cat >>conftest.$ac_ext <<_ACEOF
  20902. -/* end confdefs.h. */
  20903. -$ac_includes_default
  20904. -typedef long long ac__type_new_;
  20905. -int
  20906. -main ()
  20907. -{
  20908. -if ((ac__type_new_ *) 0)
  20909. - return 0;
  20910. -if (sizeof (ac__type_new_))
  20911. - return 0;
  20912. - ;
  20913. - return 0;
  20914. -}
  20915. -_ACEOF
  20916. -rm -f conftest.$ac_objext
  20917. -if { (ac_try="$ac_compile"
  20918. -case "(($ac_try" in
  20919. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20920. - *) ac_try_echo=$ac_try;;
  20921. -esac
  20922. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20923. - (eval "$ac_compile") 2>conftest.er1
  20924. - ac_status=$?
  20925. - grep -v '^ *+' conftest.er1 >conftest.err
  20926. - rm -f conftest.er1
  20927. - cat conftest.err >&5
  20928. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20929. - (exit $ac_status); } && {
  20930. - test -z "$ac_c_werror_flag" ||
  20931. - test ! -s conftest.err
  20932. - } && test -s conftest.$ac_objext; then
  20933. - ac_cv_type_long_long=yes
  20934. -else
  20935. - echo "$as_me: failed program was:" >&5
  20936. -sed 's/^/| /' conftest.$ac_ext >&5
  20937. -
  20938. - ac_cv_type_long_long=no
  20939. -fi
  20940. -
  20941. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20942. -fi
  20943. -{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
  20944. -echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
  20945. -
  20946. -# The cast to long int works around a bug in the HP C Compiler
  20947. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  20948. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  20949. -# This bug is HP SR number 8606223364.
  20950. -{ echo "$as_me:$LINENO: checking size of long long" >&5
  20951. -echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
  20952. -if test "${ac_cv_sizeof_long_long+set}" = set; then
  20953. - echo $ECHO_N "(cached) $ECHO_C" >&6
  20954. -else
  20955. - if test "$cross_compiling" = yes; then
  20956. - # Depending upon the size, compute the lo and hi bounds.
  20957. -cat >conftest.$ac_ext <<_ACEOF
  20958. -/* confdefs.h. */
  20959. -_ACEOF
  20960. -cat confdefs.h >>conftest.$ac_ext
  20961. -cat >>conftest.$ac_ext <<_ACEOF
  20962. -/* end confdefs.h. */
  20963. -$ac_includes_default
  20964. - typedef long long ac__type_sizeof_;
  20965. -int
  20966. -main ()
  20967. -{
  20968. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  20969. -test_array [0] = 0
  20970. -
  20971. - ;
  20972. - return 0;
  20973. -}
  20974. -_ACEOF
  20975. -rm -f conftest.$ac_objext
  20976. -if { (ac_try="$ac_compile"
  20977. -case "(($ac_try" in
  20978. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20979. - *) ac_try_echo=$ac_try;;
  20980. -esac
  20981. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  20982. - (eval "$ac_compile") 2>conftest.er1
  20983. - ac_status=$?
  20984. - grep -v '^ *+' conftest.er1 >conftest.err
  20985. - rm -f conftest.er1
  20986. - cat conftest.err >&5
  20987. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20988. - (exit $ac_status); } && {
  20989. - test -z "$ac_c_werror_flag" ||
  20990. - test ! -s conftest.err
  20991. - } && test -s conftest.$ac_objext; then
  20992. - ac_lo=0 ac_mid=0
  20993. - while :; do
  20994. - cat >conftest.$ac_ext <<_ACEOF
  20995. -/* confdefs.h. */
  20996. -_ACEOF
  20997. -cat confdefs.h >>conftest.$ac_ext
  20998. -cat >>conftest.$ac_ext <<_ACEOF
  20999. -/* end confdefs.h. */
  21000. -$ac_includes_default
  21001. - typedef long long ac__type_sizeof_;
  21002. -int
  21003. -main ()
  21004. -{
  21005. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  21006. -test_array [0] = 0
  21007. -
  21008. - ;
  21009. - return 0;
  21010. -}
  21011. -_ACEOF
  21012. -rm -f conftest.$ac_objext
  21013. -if { (ac_try="$ac_compile"
  21014. -case "(($ac_try" in
  21015. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21016. - *) ac_try_echo=$ac_try;;
  21017. -esac
  21018. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21019. - (eval "$ac_compile") 2>conftest.er1
  21020. - ac_status=$?
  21021. - grep -v '^ *+' conftest.er1 >conftest.err
  21022. - rm -f conftest.er1
  21023. - cat conftest.err >&5
  21024. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21025. - (exit $ac_status); } && {
  21026. - test -z "$ac_c_werror_flag" ||
  21027. - test ! -s conftest.err
  21028. - } && test -s conftest.$ac_objext; then
  21029. - ac_hi=$ac_mid; break
  21030. -else
  21031. - echo "$as_me: failed program was:" >&5
  21032. -sed 's/^/| /' conftest.$ac_ext >&5
  21033. -
  21034. - ac_lo=`expr $ac_mid + 1`
  21035. - if test $ac_lo -le $ac_mid; then
  21036. - ac_lo= ac_hi=
  21037. - break
  21038. - fi
  21039. - ac_mid=`expr 2 '*' $ac_mid + 1`
  21040. -fi
  21041. -
  21042. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21043. - done
  21044. -else
  21045. - echo "$as_me: failed program was:" >&5
  21046. -sed 's/^/| /' conftest.$ac_ext >&5
  21047. -
  21048. - cat >conftest.$ac_ext <<_ACEOF
  21049. -/* confdefs.h. */
  21050. -_ACEOF
  21051. -cat confdefs.h >>conftest.$ac_ext
  21052. -cat >>conftest.$ac_ext <<_ACEOF
  21053. -/* end confdefs.h. */
  21054. -$ac_includes_default
  21055. - typedef long long ac__type_sizeof_;
  21056. -int
  21057. -main ()
  21058. -{
  21059. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  21060. -test_array [0] = 0
  21061. -
  21062. - ;
  21063. - return 0;
  21064. -}
  21065. -_ACEOF
  21066. -rm -f conftest.$ac_objext
  21067. -if { (ac_try="$ac_compile"
  21068. -case "(($ac_try" in
  21069. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21070. - *) ac_try_echo=$ac_try;;
  21071. -esac
  21072. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21073. - (eval "$ac_compile") 2>conftest.er1
  21074. - ac_status=$?
  21075. - grep -v '^ *+' conftest.er1 >conftest.err
  21076. - rm -f conftest.er1
  21077. - cat conftest.err >&5
  21078. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21079. - (exit $ac_status); } && {
  21080. - test -z "$ac_c_werror_flag" ||
  21081. - test ! -s conftest.err
  21082. - } && test -s conftest.$ac_objext; then
  21083. - ac_hi=-1 ac_mid=-1
  21084. - while :; do
  21085. - cat >conftest.$ac_ext <<_ACEOF
  21086. -/* confdefs.h. */
  21087. -_ACEOF
  21088. -cat confdefs.h >>conftest.$ac_ext
  21089. -cat >>conftest.$ac_ext <<_ACEOF
  21090. -/* end confdefs.h. */
  21091. -$ac_includes_default
  21092. - typedef long long ac__type_sizeof_;
  21093. -int
  21094. -main ()
  21095. -{
  21096. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  21097. -test_array [0] = 0
  21098. -
  21099. - ;
  21100. - return 0;
  21101. -}
  21102. -_ACEOF
  21103. -rm -f conftest.$ac_objext
  21104. -if { (ac_try="$ac_compile"
  21105. -case "(($ac_try" in
  21106. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21107. - *) ac_try_echo=$ac_try;;
  21108. -esac
  21109. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21110. - (eval "$ac_compile") 2>conftest.er1
  21111. - ac_status=$?
  21112. - grep -v '^ *+' conftest.er1 >conftest.err
  21113. - rm -f conftest.er1
  21114. - cat conftest.err >&5
  21115. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21116. - (exit $ac_status); } && {
  21117. - test -z "$ac_c_werror_flag" ||
  21118. - test ! -s conftest.err
  21119. - } && test -s conftest.$ac_objext; then
  21120. - ac_lo=$ac_mid; break
  21121. -else
  21122. - echo "$as_me: failed program was:" >&5
  21123. -sed 's/^/| /' conftest.$ac_ext >&5
  21124. -
  21125. - ac_hi=`expr '(' $ac_mid ')' - 1`
  21126. - if test $ac_mid -le $ac_hi; then
  21127. - ac_lo= ac_hi=
  21128. - break
  21129. - fi
  21130. - ac_mid=`expr 2 '*' $ac_mid`
  21131. -fi
  21132. -
  21133. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21134. - done
  21135. -else
  21136. - echo "$as_me: failed program was:" >&5
  21137. -sed 's/^/| /' conftest.$ac_ext >&5
  21138. -
  21139. - ac_lo= ac_hi=
  21140. -fi
  21141. -
  21142. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21143. -fi
  21144. -
  21145. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21146. -# Binary search between lo and hi bounds.
  21147. -while test "x$ac_lo" != "x$ac_hi"; do
  21148. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  21149. - cat >conftest.$ac_ext <<_ACEOF
  21150. -/* confdefs.h. */
  21151. -_ACEOF
  21152. -cat confdefs.h >>conftest.$ac_ext
  21153. -cat >>conftest.$ac_ext <<_ACEOF
  21154. -/* end confdefs.h. */
  21155. -$ac_includes_default
  21156. - typedef long long ac__type_sizeof_;
  21157. -int
  21158. -main ()
  21159. -{
  21160. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  21161. -test_array [0] = 0
  21162. -
  21163. - ;
  21164. - return 0;
  21165. -}
  21166. -_ACEOF
  21167. -rm -f conftest.$ac_objext
  21168. -if { (ac_try="$ac_compile"
  21169. -case "(($ac_try" in
  21170. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21171. - *) ac_try_echo=$ac_try;;
  21172. -esac
  21173. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21174. - (eval "$ac_compile") 2>conftest.er1
  21175. - ac_status=$?
  21176. - grep -v '^ *+' conftest.er1 >conftest.err
  21177. - rm -f conftest.er1
  21178. - cat conftest.err >&5
  21179. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21180. - (exit $ac_status); } && {
  21181. - test -z "$ac_c_werror_flag" ||
  21182. - test ! -s conftest.err
  21183. - } && test -s conftest.$ac_objext; then
  21184. - ac_hi=$ac_mid
  21185. -else
  21186. - echo "$as_me: failed program was:" >&5
  21187. -sed 's/^/| /' conftest.$ac_ext >&5
  21188. -
  21189. - ac_lo=`expr '(' $ac_mid ')' + 1`
  21190. -fi
  21191. -
  21192. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21193. -done
  21194. -case $ac_lo in
  21195. -?*) ac_cv_sizeof_long_long=$ac_lo;;
  21196. -'') if test "$ac_cv_type_long_long" = yes; then
  21197. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
  21198. -See \`config.log' for more details." >&5
  21199. -echo "$as_me: error: cannot compute sizeof (long long)
  21200. -See \`config.log' for more details." >&2;}
  21201. - { (exit 77); exit 77; }; }
  21202. - else
  21203. - ac_cv_sizeof_long_long=0
  21204. - fi ;;
  21205. -esac
  21206. -else
  21207. - cat >conftest.$ac_ext <<_ACEOF
  21208. -/* confdefs.h. */
  21209. -_ACEOF
  21210. -cat confdefs.h >>conftest.$ac_ext
  21211. -cat >>conftest.$ac_ext <<_ACEOF
  21212. -/* end confdefs.h. */
  21213. -$ac_includes_default
  21214. - typedef long long ac__type_sizeof_;
  21215. -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  21216. -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  21217. -#include <stdio.h>
  21218. -#include <stdlib.h>
  21219. -int
  21220. -main ()
  21221. -{
  21222. -
  21223. - FILE *f = fopen ("conftest.val", "w");
  21224. - if (! f)
  21225. - return 1;
  21226. - if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  21227. - {
  21228. - long int i = longval ();
  21229. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  21230. - return 1;
  21231. - fprintf (f, "%ld\n", i);
  21232. - }
  21233. - else
  21234. - {
  21235. - unsigned long int i = ulongval ();
  21236. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  21237. - return 1;
  21238. - fprintf (f, "%lu\n", i);
  21239. - }
  21240. - return ferror (f) || fclose (f) != 0;
  21241. -
  21242. - ;
  21243. - return 0;
  21244. -}
  21245. -_ACEOF
  21246. -rm -f conftest$ac_exeext
  21247. -if { (ac_try="$ac_link"
  21248. -case "(($ac_try" in
  21249. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21250. - *) ac_try_echo=$ac_try;;
  21251. -esac
  21252. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21253. - (eval "$ac_link") 2>&5
  21254. - ac_status=$?
  21255. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21256. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  21257. - { (case "(($ac_try" in
  21258. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21259. - *) ac_try_echo=$ac_try;;
  21260. -esac
  21261. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21262. - (eval "$ac_try") 2>&5
  21263. - ac_status=$?
  21264. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21265. - (exit $ac_status); }; }; then
  21266. - ac_cv_sizeof_long_long=`cat conftest.val`
  21267. -else
  21268. - echo "$as_me: program exited with status $ac_status" >&5
  21269. -echo "$as_me: failed program was:" >&5
  21270. -sed 's/^/| /' conftest.$ac_ext >&5
  21271. -
  21272. -( exit $ac_status )
  21273. -if test "$ac_cv_type_long_long" = yes; then
  21274. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
  21275. -See \`config.log' for more details." >&5
  21276. -echo "$as_me: error: cannot compute sizeof (long long)
  21277. -See \`config.log' for more details." >&2;}
  21278. - { (exit 77); exit 77; }; }
  21279. - else
  21280. - ac_cv_sizeof_long_long=0
  21281. - fi
  21282. -fi
  21283. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  21284. -fi
  21285. -rm -f conftest.val
  21286. -fi
  21287. -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
  21288. -echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
  21289. -
  21290. -
  21291. -
  21292. -cat >>confdefs.h <<_ACEOF
  21293. -#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
  21294. -_ACEOF
  21295. -
  21296. -
  21297. -{ echo "$as_me:$LINENO: checking for float" >&5
  21298. -echo $ECHO_N "checking for float... $ECHO_C" >&6; }
  21299. -if test "${ac_cv_type_float+set}" = set; then
  21300. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21301. -else
  21302. - cat >conftest.$ac_ext <<_ACEOF
  21303. -/* confdefs.h. */
  21304. -_ACEOF
  21305. -cat confdefs.h >>conftest.$ac_ext
  21306. -cat >>conftest.$ac_ext <<_ACEOF
  21307. -/* end confdefs.h. */
  21308. -$ac_includes_default
  21309. -typedef float ac__type_new_;
  21310. -int
  21311. -main ()
  21312. -{
  21313. -if ((ac__type_new_ *) 0)
  21314. - return 0;
  21315. -if (sizeof (ac__type_new_))
  21316. - return 0;
  21317. - ;
  21318. - return 0;
  21319. -}
  21320. -_ACEOF
  21321. -rm -f conftest.$ac_objext
  21322. -if { (ac_try="$ac_compile"
  21323. -case "(($ac_try" in
  21324. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21325. - *) ac_try_echo=$ac_try;;
  21326. -esac
  21327. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21328. - (eval "$ac_compile") 2>conftest.er1
  21329. - ac_status=$?
  21330. - grep -v '^ *+' conftest.er1 >conftest.err
  21331. - rm -f conftest.er1
  21332. - cat conftest.err >&5
  21333. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21334. - (exit $ac_status); } && {
  21335. - test -z "$ac_c_werror_flag" ||
  21336. - test ! -s conftest.err
  21337. - } && test -s conftest.$ac_objext; then
  21338. - ac_cv_type_float=yes
  21339. -else
  21340. - echo "$as_me: failed program was:" >&5
  21341. -sed 's/^/| /' conftest.$ac_ext >&5
  21342. -
  21343. - ac_cv_type_float=no
  21344. -fi
  21345. -
  21346. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21347. -fi
  21348. -{ echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5
  21349. -echo "${ECHO_T}$ac_cv_type_float" >&6; }
  21350. -
  21351. -# The cast to long int works around a bug in the HP C Compiler
  21352. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  21353. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  21354. -# This bug is HP SR number 8606223364.
  21355. -{ echo "$as_me:$LINENO: checking size of float" >&5
  21356. -echo $ECHO_N "checking size of float... $ECHO_C" >&6; }
  21357. -if test "${ac_cv_sizeof_float+set}" = set; then
  21358. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21359. -else
  21360. - if test "$cross_compiling" = yes; then
  21361. - # Depending upon the size, compute the lo and hi bounds.
  21362. -cat >conftest.$ac_ext <<_ACEOF
  21363. -/* confdefs.h. */
  21364. -_ACEOF
  21365. -cat confdefs.h >>conftest.$ac_ext
  21366. -cat >>conftest.$ac_ext <<_ACEOF
  21367. -/* end confdefs.h. */
  21368. -$ac_includes_default
  21369. - typedef float ac__type_sizeof_;
  21370. -int
  21371. -main ()
  21372. -{
  21373. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  21374. -test_array [0] = 0
  21375. -
  21376. - ;
  21377. - return 0;
  21378. -}
  21379. -_ACEOF
  21380. -rm -f conftest.$ac_objext
  21381. -if { (ac_try="$ac_compile"
  21382. -case "(($ac_try" in
  21383. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21384. - *) ac_try_echo=$ac_try;;
  21385. -esac
  21386. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21387. - (eval "$ac_compile") 2>conftest.er1
  21388. - ac_status=$?
  21389. - grep -v '^ *+' conftest.er1 >conftest.err
  21390. - rm -f conftest.er1
  21391. - cat conftest.err >&5
  21392. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21393. - (exit $ac_status); } && {
  21394. - test -z "$ac_c_werror_flag" ||
  21395. - test ! -s conftest.err
  21396. - } && test -s conftest.$ac_objext; then
  21397. - ac_lo=0 ac_mid=0
  21398. - while :; do
  21399. - cat >conftest.$ac_ext <<_ACEOF
  21400. -/* confdefs.h. */
  21401. -_ACEOF
  21402. -cat confdefs.h >>conftest.$ac_ext
  21403. -cat >>conftest.$ac_ext <<_ACEOF
  21404. -/* end confdefs.h. */
  21405. -$ac_includes_default
  21406. - typedef float ac__type_sizeof_;
  21407. -int
  21408. -main ()
  21409. -{
  21410. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  21411. -test_array [0] = 0
  21412. -
  21413. - ;
  21414. - return 0;
  21415. -}
  21416. -_ACEOF
  21417. -rm -f conftest.$ac_objext
  21418. -if { (ac_try="$ac_compile"
  21419. -case "(($ac_try" in
  21420. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21421. - *) ac_try_echo=$ac_try;;
  21422. -esac
  21423. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21424. - (eval "$ac_compile") 2>conftest.er1
  21425. - ac_status=$?
  21426. - grep -v '^ *+' conftest.er1 >conftest.err
  21427. - rm -f conftest.er1
  21428. - cat conftest.err >&5
  21429. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21430. - (exit $ac_status); } && {
  21431. - test -z "$ac_c_werror_flag" ||
  21432. - test ! -s conftest.err
  21433. - } && test -s conftest.$ac_objext; then
  21434. - ac_hi=$ac_mid; break
  21435. -else
  21436. - echo "$as_me: failed program was:" >&5
  21437. -sed 's/^/| /' conftest.$ac_ext >&5
  21438. -
  21439. - ac_lo=`expr $ac_mid + 1`
  21440. - if test $ac_lo -le $ac_mid; then
  21441. - ac_lo= ac_hi=
  21442. - break
  21443. - fi
  21444. - ac_mid=`expr 2 '*' $ac_mid + 1`
  21445. -fi
  21446. -
  21447. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21448. - done
  21449. -else
  21450. - echo "$as_me: failed program was:" >&5
  21451. -sed 's/^/| /' conftest.$ac_ext >&5
  21452. -
  21453. - cat >conftest.$ac_ext <<_ACEOF
  21454. -/* confdefs.h. */
  21455. -_ACEOF
  21456. -cat confdefs.h >>conftest.$ac_ext
  21457. -cat >>conftest.$ac_ext <<_ACEOF
  21458. -/* end confdefs.h. */
  21459. -$ac_includes_default
  21460. - typedef float ac__type_sizeof_;
  21461. -int
  21462. -main ()
  21463. -{
  21464. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  21465. -test_array [0] = 0
  21466. -
  21467. - ;
  21468. - return 0;
  21469. -}
  21470. -_ACEOF
  21471. -rm -f conftest.$ac_objext
  21472. -if { (ac_try="$ac_compile"
  21473. -case "(($ac_try" in
  21474. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21475. - *) ac_try_echo=$ac_try;;
  21476. -esac
  21477. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21478. - (eval "$ac_compile") 2>conftest.er1
  21479. - ac_status=$?
  21480. - grep -v '^ *+' conftest.er1 >conftest.err
  21481. - rm -f conftest.er1
  21482. - cat conftest.err >&5
  21483. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21484. - (exit $ac_status); } && {
  21485. - test -z "$ac_c_werror_flag" ||
  21486. - test ! -s conftest.err
  21487. - } && test -s conftest.$ac_objext; then
  21488. - ac_hi=-1 ac_mid=-1
  21489. - while :; do
  21490. - cat >conftest.$ac_ext <<_ACEOF
  21491. -/* confdefs.h. */
  21492. -_ACEOF
  21493. -cat confdefs.h >>conftest.$ac_ext
  21494. -cat >>conftest.$ac_ext <<_ACEOF
  21495. -/* end confdefs.h. */
  21496. -$ac_includes_default
  21497. - typedef float ac__type_sizeof_;
  21498. -int
  21499. -main ()
  21500. -{
  21501. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  21502. -test_array [0] = 0
  21503. -
  21504. - ;
  21505. - return 0;
  21506. -}
  21507. -_ACEOF
  21508. -rm -f conftest.$ac_objext
  21509. -if { (ac_try="$ac_compile"
  21510. -case "(($ac_try" in
  21511. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21512. - *) ac_try_echo=$ac_try;;
  21513. -esac
  21514. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21515. - (eval "$ac_compile") 2>conftest.er1
  21516. - ac_status=$?
  21517. - grep -v '^ *+' conftest.er1 >conftest.err
  21518. - rm -f conftest.er1
  21519. - cat conftest.err >&5
  21520. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21521. - (exit $ac_status); } && {
  21522. - test -z "$ac_c_werror_flag" ||
  21523. - test ! -s conftest.err
  21524. - } && test -s conftest.$ac_objext; then
  21525. - ac_lo=$ac_mid; break
  21526. -else
  21527. - echo "$as_me: failed program was:" >&5
  21528. -sed 's/^/| /' conftest.$ac_ext >&5
  21529. -
  21530. - ac_hi=`expr '(' $ac_mid ')' - 1`
  21531. - if test $ac_mid -le $ac_hi; then
  21532. - ac_lo= ac_hi=
  21533. - break
  21534. - fi
  21535. - ac_mid=`expr 2 '*' $ac_mid`
  21536. -fi
  21537. -
  21538. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21539. - done
  21540. -else
  21541. - echo "$as_me: failed program was:" >&5
  21542. -sed 's/^/| /' conftest.$ac_ext >&5
  21543. -
  21544. - ac_lo= ac_hi=
  21545. -fi
  21546. -
  21547. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21548. -fi
  21549. -
  21550. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21551. -# Binary search between lo and hi bounds.
  21552. -while test "x$ac_lo" != "x$ac_hi"; do
  21553. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  21554. - cat >conftest.$ac_ext <<_ACEOF
  21555. -/* confdefs.h. */
  21556. -_ACEOF
  21557. -cat confdefs.h >>conftest.$ac_ext
  21558. -cat >>conftest.$ac_ext <<_ACEOF
  21559. -/* end confdefs.h. */
  21560. -$ac_includes_default
  21561. - typedef float ac__type_sizeof_;
  21562. -int
  21563. -main ()
  21564. -{
  21565. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  21566. -test_array [0] = 0
  21567. -
  21568. - ;
  21569. - return 0;
  21570. -}
  21571. -_ACEOF
  21572. -rm -f conftest.$ac_objext
  21573. -if { (ac_try="$ac_compile"
  21574. -case "(($ac_try" in
  21575. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21576. - *) ac_try_echo=$ac_try;;
  21577. -esac
  21578. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21579. - (eval "$ac_compile") 2>conftest.er1
  21580. - ac_status=$?
  21581. - grep -v '^ *+' conftest.er1 >conftest.err
  21582. - rm -f conftest.er1
  21583. - cat conftest.err >&5
  21584. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21585. - (exit $ac_status); } && {
  21586. - test -z "$ac_c_werror_flag" ||
  21587. - test ! -s conftest.err
  21588. - } && test -s conftest.$ac_objext; then
  21589. - ac_hi=$ac_mid
  21590. -else
  21591. - echo "$as_me: failed program was:" >&5
  21592. -sed 's/^/| /' conftest.$ac_ext >&5
  21593. -
  21594. - ac_lo=`expr '(' $ac_mid ')' + 1`
  21595. -fi
  21596. -
  21597. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21598. -done
  21599. -case $ac_lo in
  21600. -?*) ac_cv_sizeof_float=$ac_lo;;
  21601. -'') if test "$ac_cv_type_float" = yes; then
  21602. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
  21603. -See \`config.log' for more details." >&5
  21604. -echo "$as_me: error: cannot compute sizeof (float)
  21605. -See \`config.log' for more details." >&2;}
  21606. - { (exit 77); exit 77; }; }
  21607. - else
  21608. - ac_cv_sizeof_float=0
  21609. - fi ;;
  21610. -esac
  21611. -else
  21612. - cat >conftest.$ac_ext <<_ACEOF
  21613. -/* confdefs.h. */
  21614. -_ACEOF
  21615. -cat confdefs.h >>conftest.$ac_ext
  21616. -cat >>conftest.$ac_ext <<_ACEOF
  21617. -/* end confdefs.h. */
  21618. -$ac_includes_default
  21619. - typedef float ac__type_sizeof_;
  21620. -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  21621. -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  21622. -#include <stdio.h>
  21623. -#include <stdlib.h>
  21624. -int
  21625. -main ()
  21626. -{
  21627. -
  21628. - FILE *f = fopen ("conftest.val", "w");
  21629. - if (! f)
  21630. - return 1;
  21631. - if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  21632. - {
  21633. - long int i = longval ();
  21634. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  21635. - return 1;
  21636. - fprintf (f, "%ld\n", i);
  21637. - }
  21638. - else
  21639. - {
  21640. - unsigned long int i = ulongval ();
  21641. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  21642. - return 1;
  21643. - fprintf (f, "%lu\n", i);
  21644. - }
  21645. - return ferror (f) || fclose (f) != 0;
  21646. -
  21647. - ;
  21648. - return 0;
  21649. -}
  21650. -_ACEOF
  21651. -rm -f conftest$ac_exeext
  21652. -if { (ac_try="$ac_link"
  21653. -case "(($ac_try" in
  21654. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21655. - *) ac_try_echo=$ac_try;;
  21656. -esac
  21657. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21658. - (eval "$ac_link") 2>&5
  21659. - ac_status=$?
  21660. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21661. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  21662. - { (case "(($ac_try" in
  21663. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21664. - *) ac_try_echo=$ac_try;;
  21665. -esac
  21666. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21667. - (eval "$ac_try") 2>&5
  21668. - ac_status=$?
  21669. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21670. - (exit $ac_status); }; }; then
  21671. - ac_cv_sizeof_float=`cat conftest.val`
  21672. -else
  21673. - echo "$as_me: program exited with status $ac_status" >&5
  21674. -echo "$as_me: failed program was:" >&5
  21675. -sed 's/^/| /' conftest.$ac_ext >&5
  21676. -
  21677. -( exit $ac_status )
  21678. -if test "$ac_cv_type_float" = yes; then
  21679. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
  21680. -See \`config.log' for more details." >&5
  21681. -echo "$as_me: error: cannot compute sizeof (float)
  21682. -See \`config.log' for more details." >&2;}
  21683. - { (exit 77); exit 77; }; }
  21684. - else
  21685. - ac_cv_sizeof_float=0
  21686. - fi
  21687. -fi
  21688. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  21689. -fi
  21690. -rm -f conftest.val
  21691. -fi
  21692. -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
  21693. -echo "${ECHO_T}$ac_cv_sizeof_float" >&6; }
  21694. -
  21695. -
  21696. -
  21697. -cat >>confdefs.h <<_ACEOF
  21698. -#define SIZEOF_FLOAT $ac_cv_sizeof_float
  21699. -_ACEOF
  21700. -
  21701. -
  21702. -{ echo "$as_me:$LINENO: checking for double" >&5
  21703. -echo $ECHO_N "checking for double... $ECHO_C" >&6; }
  21704. -if test "${ac_cv_type_double+set}" = set; then
  21705. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21706. -else
  21707. - cat >conftest.$ac_ext <<_ACEOF
  21708. -/* confdefs.h. */
  21709. -_ACEOF
  21710. -cat confdefs.h >>conftest.$ac_ext
  21711. -cat >>conftest.$ac_ext <<_ACEOF
  21712. -/* end confdefs.h. */
  21713. -$ac_includes_default
  21714. -typedef double ac__type_new_;
  21715. -int
  21716. -main ()
  21717. -{
  21718. -if ((ac__type_new_ *) 0)
  21719. - return 0;
  21720. -if (sizeof (ac__type_new_))
  21721. - return 0;
  21722. - ;
  21723. - return 0;
  21724. -}
  21725. -_ACEOF
  21726. -rm -f conftest.$ac_objext
  21727. -if { (ac_try="$ac_compile"
  21728. -case "(($ac_try" in
  21729. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21730. - *) ac_try_echo=$ac_try;;
  21731. -esac
  21732. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21733. - (eval "$ac_compile") 2>conftest.er1
  21734. - ac_status=$?
  21735. - grep -v '^ *+' conftest.er1 >conftest.err
  21736. - rm -f conftest.er1
  21737. - cat conftest.err >&5
  21738. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21739. - (exit $ac_status); } && {
  21740. - test -z "$ac_c_werror_flag" ||
  21741. - test ! -s conftest.err
  21742. - } && test -s conftest.$ac_objext; then
  21743. - ac_cv_type_double=yes
  21744. -else
  21745. - echo "$as_me: failed program was:" >&5
  21746. -sed 's/^/| /' conftest.$ac_ext >&5
  21747. -
  21748. - ac_cv_type_double=no
  21749. -fi
  21750. -
  21751. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21752. -fi
  21753. -{ echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
  21754. -echo "${ECHO_T}$ac_cv_type_double" >&6; }
  21755. -
  21756. -# The cast to long int works around a bug in the HP C Compiler
  21757. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  21758. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  21759. -# This bug is HP SR number 8606223364.
  21760. -{ echo "$as_me:$LINENO: checking size of double" >&5
  21761. -echo $ECHO_N "checking size of double... $ECHO_C" >&6; }
  21762. -if test "${ac_cv_sizeof_double+set}" = set; then
  21763. - echo $ECHO_N "(cached) $ECHO_C" >&6
  21764. -else
  21765. - if test "$cross_compiling" = yes; then
  21766. - # Depending upon the size, compute the lo and hi bounds.
  21767. -cat >conftest.$ac_ext <<_ACEOF
  21768. -/* confdefs.h. */
  21769. -_ACEOF
  21770. -cat confdefs.h >>conftest.$ac_ext
  21771. -cat >>conftest.$ac_ext <<_ACEOF
  21772. -/* end confdefs.h. */
  21773. -$ac_includes_default
  21774. - typedef double ac__type_sizeof_;
  21775. -int
  21776. -main ()
  21777. -{
  21778. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  21779. -test_array [0] = 0
  21780. -
  21781. - ;
  21782. - return 0;
  21783. -}
  21784. -_ACEOF
  21785. -rm -f conftest.$ac_objext
  21786. -if { (ac_try="$ac_compile"
  21787. -case "(($ac_try" in
  21788. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21789. - *) ac_try_echo=$ac_try;;
  21790. -esac
  21791. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21792. - (eval "$ac_compile") 2>conftest.er1
  21793. - ac_status=$?
  21794. - grep -v '^ *+' conftest.er1 >conftest.err
  21795. - rm -f conftest.er1
  21796. - cat conftest.err >&5
  21797. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21798. - (exit $ac_status); } && {
  21799. - test -z "$ac_c_werror_flag" ||
  21800. - test ! -s conftest.err
  21801. - } && test -s conftest.$ac_objext; then
  21802. - ac_lo=0 ac_mid=0
  21803. - while :; do
  21804. - cat >conftest.$ac_ext <<_ACEOF
  21805. -/* confdefs.h. */
  21806. -_ACEOF
  21807. -cat confdefs.h >>conftest.$ac_ext
  21808. -cat >>conftest.$ac_ext <<_ACEOF
  21809. -/* end confdefs.h. */
  21810. -$ac_includes_default
  21811. - typedef double ac__type_sizeof_;
  21812. -int
  21813. -main ()
  21814. -{
  21815. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  21816. -test_array [0] = 0
  21817. -
  21818. - ;
  21819. - return 0;
  21820. -}
  21821. -_ACEOF
  21822. -rm -f conftest.$ac_objext
  21823. -if { (ac_try="$ac_compile"
  21824. -case "(($ac_try" in
  21825. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21826. - *) ac_try_echo=$ac_try;;
  21827. -esac
  21828. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21829. - (eval "$ac_compile") 2>conftest.er1
  21830. - ac_status=$?
  21831. - grep -v '^ *+' conftest.er1 >conftest.err
  21832. - rm -f conftest.er1
  21833. - cat conftest.err >&5
  21834. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21835. - (exit $ac_status); } && {
  21836. - test -z "$ac_c_werror_flag" ||
  21837. - test ! -s conftest.err
  21838. - } && test -s conftest.$ac_objext; then
  21839. - ac_hi=$ac_mid; break
  21840. -else
  21841. - echo "$as_me: failed program was:" >&5
  21842. -sed 's/^/| /' conftest.$ac_ext >&5
  21843. -
  21844. - ac_lo=`expr $ac_mid + 1`
  21845. - if test $ac_lo -le $ac_mid; then
  21846. - ac_lo= ac_hi=
  21847. - break
  21848. - fi
  21849. - ac_mid=`expr 2 '*' $ac_mid + 1`
  21850. -fi
  21851. -
  21852. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21853. - done
  21854. -else
  21855. - echo "$as_me: failed program was:" >&5
  21856. -sed 's/^/| /' conftest.$ac_ext >&5
  21857. -
  21858. - cat >conftest.$ac_ext <<_ACEOF
  21859. -/* confdefs.h. */
  21860. -_ACEOF
  21861. -cat confdefs.h >>conftest.$ac_ext
  21862. -cat >>conftest.$ac_ext <<_ACEOF
  21863. -/* end confdefs.h. */
  21864. -$ac_includes_default
  21865. - typedef double ac__type_sizeof_;
  21866. -int
  21867. -main ()
  21868. -{
  21869. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  21870. -test_array [0] = 0
  21871. +tpf*)
  21872. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  21873. + version_type=linux
  21874. + need_lib_prefix=no
  21875. + need_version=no
  21876. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  21877. + shlibpath_var=LD_LIBRARY_PATH
  21878. + shlibpath_overrides_runpath=no
  21879. + hardcode_into_libs=yes
  21880. + ;;
  21881. - ;
  21882. - return 0;
  21883. -}
  21884. -_ACEOF
  21885. -rm -f conftest.$ac_objext
  21886. -if { (ac_try="$ac_compile"
  21887. -case "(($ac_try" in
  21888. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21889. - *) ac_try_echo=$ac_try;;
  21890. -esac
  21891. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21892. - (eval "$ac_compile") 2>conftest.er1
  21893. - ac_status=$?
  21894. - grep -v '^ *+' conftest.er1 >conftest.err
  21895. - rm -f conftest.er1
  21896. - cat conftest.err >&5
  21897. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21898. - (exit $ac_status); } && {
  21899. - test -z "$ac_c_werror_flag" ||
  21900. - test ! -s conftest.err
  21901. - } && test -s conftest.$ac_objext; then
  21902. - ac_hi=-1 ac_mid=-1
  21903. - while :; do
  21904. - cat >conftest.$ac_ext <<_ACEOF
  21905. -/* confdefs.h. */
  21906. -_ACEOF
  21907. -cat confdefs.h >>conftest.$ac_ext
  21908. -cat >>conftest.$ac_ext <<_ACEOF
  21909. -/* end confdefs.h. */
  21910. -$ac_includes_default
  21911. - typedef double ac__type_sizeof_;
  21912. -int
  21913. -main ()
  21914. -{
  21915. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  21916. -test_array [0] = 0
  21917. +uts4*)
  21918. + version_type=linux
  21919. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  21920. + soname_spec='${libname}${release}${shared_ext}$major'
  21921. + shlibpath_var=LD_LIBRARY_PATH
  21922. + ;;
  21923. - ;
  21924. - return 0;
  21925. -}
  21926. -_ACEOF
  21927. -rm -f conftest.$ac_objext
  21928. -if { (ac_try="$ac_compile"
  21929. -case "(($ac_try" in
  21930. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21931. - *) ac_try_echo=$ac_try;;
  21932. +*)
  21933. + dynamic_linker=no
  21934. + ;;
  21935. esac
  21936. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  21937. - (eval "$ac_compile") 2>conftest.er1
  21938. - ac_status=$?
  21939. - grep -v '^ *+' conftest.er1 >conftest.err
  21940. - rm -f conftest.er1
  21941. - cat conftest.err >&5
  21942. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21943. - (exit $ac_status); } && {
  21944. - test -z "$ac_c_werror_flag" ||
  21945. - test ! -s conftest.err
  21946. - } && test -s conftest.$ac_objext; then
  21947. - ac_lo=$ac_mid; break
  21948. -else
  21949. - echo "$as_me: failed program was:" >&5
  21950. -sed 's/^/| /' conftest.$ac_ext >&5
  21951. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  21952. +$as_echo "$dynamic_linker" >&6; }
  21953. +test "$dynamic_linker" = no && can_build_shared=no
  21954. - ac_hi=`expr '(' $ac_mid ')' - 1`
  21955. - if test $ac_mid -le $ac_hi; then
  21956. - ac_lo= ac_hi=
  21957. - break
  21958. - fi
  21959. - ac_mid=`expr 2 '*' $ac_mid`
  21960. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  21961. +if test "$GCC" = yes; then
  21962. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  21963. fi
  21964. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21965. - done
  21966. -else
  21967. - echo "$as_me: failed program was:" >&5
  21968. -sed 's/^/| /' conftest.$ac_ext >&5
  21969. -
  21970. - ac_lo= ac_hi=
  21971. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  21972. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  21973. fi
  21974. -
  21975. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21976. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  21977. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  21978. fi
  21979. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21980. -# Binary search between lo and hi bounds.
  21981. -while test "x$ac_lo" != "x$ac_hi"; do
  21982. - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  21983. - cat >conftest.$ac_ext <<_ACEOF
  21984. -/* confdefs.h. */
  21985. -_ACEOF
  21986. -cat confdefs.h >>conftest.$ac_ext
  21987. -cat >>conftest.$ac_ext <<_ACEOF
  21988. -/* end confdefs.h. */
  21989. -$ac_includes_default
  21990. - typedef double ac__type_sizeof_;
  21991. -int
  21992. -main ()
  21993. -{
  21994. -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  21995. -test_array [0] = 0
  21996. - ;
  21997. - return 0;
  21998. -}
  21999. -_ACEOF
  22000. -rm -f conftest.$ac_objext
  22001. -if { (ac_try="$ac_compile"
  22002. -case "(($ac_try" in
  22003. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22004. - *) ac_try_echo=$ac_try;;
  22005. -esac
  22006. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  22007. - (eval "$ac_compile") 2>conftest.er1
  22008. - ac_status=$?
  22009. - grep -v '^ *+' conftest.er1 >conftest.err
  22010. - rm -f conftest.er1
  22011. - cat conftest.err >&5
  22012. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22013. - (exit $ac_status); } && {
  22014. - test -z "$ac_c_werror_flag" ||
  22015. - test ! -s conftest.err
  22016. - } && test -s conftest.$ac_objext; then
  22017. - ac_hi=$ac_mid
  22018. -else
  22019. - echo "$as_me: failed program was:" >&5
  22020. -sed 's/^/| /' conftest.$ac_ext >&5
  22021. - ac_lo=`expr '(' $ac_mid ')' + 1`
  22022. -fi
  22023. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22024. -done
  22025. -case $ac_lo in
  22026. -?*) ac_cv_sizeof_double=$ac_lo;;
  22027. -'') if test "$ac_cv_type_double" = yes; then
  22028. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
  22029. -See \`config.log' for more details." >&5
  22030. -echo "$as_me: error: cannot compute sizeof (double)
  22031. -See \`config.log' for more details." >&2;}
  22032. - { (exit 77); exit 77; }; }
  22033. - else
  22034. - ac_cv_sizeof_double=0
  22035. - fi ;;
  22036. -esac
  22037. -else
  22038. - cat >conftest.$ac_ext <<_ACEOF
  22039. -/* confdefs.h. */
  22040. -_ACEOF
  22041. -cat confdefs.h >>conftest.$ac_ext
  22042. -cat >>conftest.$ac_ext <<_ACEOF
  22043. -/* end confdefs.h. */
  22044. -$ac_includes_default
  22045. - typedef double ac__type_sizeof_;
  22046. -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  22047. -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  22048. -#include <stdio.h>
  22049. -#include <stdlib.h>
  22050. -int
  22051. -main ()
  22052. -{
  22053. - FILE *f = fopen ("conftest.val", "w");
  22054. - if (! f)
  22055. - return 1;
  22056. - if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  22057. - {
  22058. - long int i = longval ();
  22059. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  22060. - return 1;
  22061. - fprintf (f, "%ld\n", i);
  22062. - }
  22063. - else
  22064. - {
  22065. - unsigned long int i = ulongval ();
  22066. - if (i != ((long int) (sizeof (ac__type_sizeof_))))
  22067. - return 1;
  22068. - fprintf (f, "%lu\n", i);
  22069. - }
  22070. - return ferror (f) || fclose (f) != 0;
  22071. - ;
  22072. - return 0;
  22073. -}
  22074. -_ACEOF
  22075. -rm -f conftest$ac_exeext
  22076. -if { (ac_try="$ac_link"
  22077. -case "(($ac_try" in
  22078. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22079. - *) ac_try_echo=$ac_try;;
  22080. -esac
  22081. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  22082. - (eval "$ac_link") 2>&5
  22083. - ac_status=$?
  22084. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22085. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  22086. - { (case "(($ac_try" in
  22087. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22088. - *) ac_try_echo=$ac_try;;
  22089. -esac
  22090. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  22091. - (eval "$ac_try") 2>&5
  22092. - ac_status=$?
  22093. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22094. - (exit $ac_status); }; }; then
  22095. - ac_cv_sizeof_double=`cat conftest.val`
  22096. -else
  22097. - echo "$as_me: program exited with status $ac_status" >&5
  22098. -echo "$as_me: failed program was:" >&5
  22099. -sed 's/^/| /' conftest.$ac_ext >&5
  22100. -( exit $ac_status )
  22101. -if test "$ac_cv_type_double" = yes; then
  22102. - { { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
  22103. -See \`config.log' for more details." >&5
  22104. -echo "$as_me: error: cannot compute sizeof (double)
  22105. -See \`config.log' for more details." >&2;}
  22106. - { (exit 77); exit 77; }; }
  22107. - else
  22108. - ac_cv_sizeof_double=0
  22109. - fi
  22110. -fi
  22111. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  22112. -fi
  22113. -rm -f conftest.val
  22114. -fi
  22115. -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
  22116. -echo "${ECHO_T}$ac_cv_sizeof_double" >&6; }
  22117. -cat >>confdefs.h <<_ACEOF
  22118. -#define SIZEOF_DOUBLE $ac_cv_sizeof_double
  22119. -_ACEOF
  22120. -if test x"$ac_cv_sizeof_char" != "x1" ; then
  22121. - { echo "$as_me:$LINENO: WARNING: gpsd requires sizeof(char)==1" >&5
  22122. -echo "$as_me: WARNING: gpsd requires sizeof(char)==1" >&2;};
  22123. - type_error="yes"
  22124. -fi
  22125. -if test x"$ac_cv_sizeof_short" != "x2" ; then
  22126. - { echo "$as_me:$LINENO: WARNING: gpsd requires sizeof(short)==2" >&5
  22127. -echo "$as_me: WARNING: gpsd requires sizeof(short)==2" >&2;};
  22128. - type_error="yes"
  22129. -fi
  22130. -if test x"$ac_cv_sizeof_int" != "x4" ; then
  22131. - { echo "$as_me:$LINENO: WARNING: gpsd requires sizeof(int)==4" >&5
  22132. -echo "$as_me: WARNING: gpsd requires sizeof(int)==4" >&2;};
  22133. - type_error="yes"
  22134. -fi
  22135. -if test x"$ac_cv_sizeof_long_long" != "x8" ; then
  22136. - { echo "$as_me:$LINENO: WARNING: gpsd requires sizeof(long long)==8" >&5
  22137. -echo "$as_me: WARNING: gpsd requires sizeof(long long)==8" >&2;};
  22138. - type_error="yes"
  22139. -fi
  22140. -if test x"$ac_cv_sizeof_float" != "x4" ; then
  22141. - { echo "$as_me:$LINENO: WARNING: gpsd requires sizeof(float)==4" >&5
  22142. -echo "$as_me: WARNING: gpsd requires sizeof(float)==4" >&2;};
  22143. - type_error="yes"
  22144. -fi
  22145. -if test x"$ac_cv_sizeof_double" != "x8" ; then
  22146. - { echo "$as_me:$LINENO: WARNING: gpsd requires sizeof(double)==8" >&5
  22147. -echo "$as_me: WARNING: gpsd requires sizeof(double)==8" >&2;};
  22148. - type_error="yes"
  22149. -fi
  22150. -if test x"$type_error" = "xyes" ; then
  22151. - { { echo "$as_me:$LINENO: error: Your system does not provide all required data types" >&5
  22152. -echo "$as_me: error: Your system does not provide all required data types" >&2;}
  22153. - { (exit 1); exit 1; }; };
  22154. -fi
  22155. -# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  22156. -# for constant arguments. Useless!
  22157. -{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
  22158. -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
  22159. -if test "${ac_cv_working_alloca_h+set}" = set; then
  22160. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22161. -else
  22162. - cat >conftest.$ac_ext <<_ACEOF
  22163. -/* confdefs.h. */
  22164. -_ACEOF
  22165. -cat confdefs.h >>conftest.$ac_ext
  22166. -cat >>conftest.$ac_ext <<_ACEOF
  22167. -/* end confdefs.h. */
  22168. -#include <alloca.h>
  22169. -int
  22170. -main ()
  22171. -{
  22172. -char *p = (char *) alloca (2 * sizeof (int));
  22173. - if (p) return 0;
  22174. - ;
  22175. - return 0;
  22176. -}
  22177. -_ACEOF
  22178. -rm -f conftest.$ac_objext conftest$ac_exeext
  22179. -if { (ac_try="$ac_link"
  22180. -case "(($ac_try" in
  22181. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22182. - *) ac_try_echo=$ac_try;;
  22183. -esac
  22184. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  22185. - (eval "$ac_link") 2>conftest.er1
  22186. - ac_status=$?
  22187. - grep -v '^ *+' conftest.er1 >conftest.err
  22188. - rm -f conftest.er1
  22189. - cat conftest.err >&5
  22190. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22191. - (exit $ac_status); } && {
  22192. - test -z "$ac_c_werror_flag" ||
  22193. - test ! -s conftest.err
  22194. - } && test -s conftest$ac_exeext &&
  22195. - $as_test_x conftest$ac_exeext; then
  22196. - ac_cv_working_alloca_h=yes
  22197. -else
  22198. - echo "$as_me: failed program was:" >&5
  22199. -sed 's/^/| /' conftest.$ac_ext >&5
  22200. - ac_cv_working_alloca_h=no
  22201. -fi
  22202. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  22203. - conftest$ac_exeext conftest.$ac_ext
  22204. -fi
  22205. -{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
  22206. -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
  22207. -if test $ac_cv_working_alloca_h = yes; then
  22208. -cat >>confdefs.h <<\_ACEOF
  22209. -#define HAVE_ALLOCA_H 1
  22210. -_ACEOF
  22211. -fi
  22212. -{ echo "$as_me:$LINENO: checking for alloca" >&5
  22213. -echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
  22214. -if test "${ac_cv_func_alloca_works+set}" = set; then
  22215. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22216. -else
  22217. - cat >conftest.$ac_ext <<_ACEOF
  22218. -/* confdefs.h. */
  22219. -_ACEOF
  22220. -cat confdefs.h >>conftest.$ac_ext
  22221. -cat >>conftest.$ac_ext <<_ACEOF
  22222. -/* end confdefs.h. */
  22223. -#ifdef __GNUC__
  22224. -# define alloca __builtin_alloca
  22225. -#else
  22226. -# ifdef _MSC_VER
  22227. -# include <malloc.h>
  22228. -# define alloca _alloca
  22229. -# else
  22230. -# ifdef HAVE_ALLOCA_H
  22231. -# include <alloca.h>
  22232. -# else
  22233. -# ifdef _AIX
  22234. - #pragma alloca
  22235. -# else
  22236. -# ifndef alloca /* predefined by HP cc +Olibcalls */
  22237. -char *alloca ();
  22238. -# endif
  22239. -# endif
  22240. -# endif
  22241. -# endif
  22242. -#endif
  22243. -int
  22244. -main ()
  22245. -{
  22246. -char *p = (char *) alloca (1);
  22247. - if (p) return 0;
  22248. - ;
  22249. - return 0;
  22250. -}
  22251. -_ACEOF
  22252. -rm -f conftest.$ac_objext conftest$ac_exeext
  22253. -if { (ac_try="$ac_link"
  22254. -case "(($ac_try" in
  22255. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22256. - *) ac_try_echo=$ac_try;;
  22257. -esac
  22258. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  22259. - (eval "$ac_link") 2>conftest.er1
  22260. - ac_status=$?
  22261. - grep -v '^ *+' conftest.er1 >conftest.err
  22262. - rm -f conftest.er1
  22263. - cat conftest.err >&5
  22264. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22265. - (exit $ac_status); } && {
  22266. - test -z "$ac_c_werror_flag" ||
  22267. - test ! -s conftest.err
  22268. - } && test -s conftest$ac_exeext &&
  22269. - $as_test_x conftest$ac_exeext; then
  22270. - ac_cv_func_alloca_works=yes
  22271. -else
  22272. - echo "$as_me: failed program was:" >&5
  22273. -sed 's/^/| /' conftest.$ac_ext >&5
  22274. - ac_cv_func_alloca_works=no
  22275. -fi
  22276. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  22277. - conftest$ac_exeext conftest.$ac_ext
  22278. -fi
  22279. -{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
  22280. -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
  22281. -if test $ac_cv_func_alloca_works = yes; then
  22282. -cat >>confdefs.h <<\_ACEOF
  22283. -#define HAVE_ALLOCA 1
  22284. -_ACEOF
  22285. -else
  22286. - # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  22287. -# that cause trouble. Some versions do not even contain alloca or
  22288. -# contain a buggy version. If you still want to use their alloca,
  22289. -# use ar to extract alloca.o from them instead of compiling alloca.c.
  22290. -ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
  22291. -cat >>confdefs.h <<\_ACEOF
  22292. -#define C_ALLOCA 1
  22293. -_ACEOF
  22294. -{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
  22295. -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
  22296. -if test "${ac_cv_os_cray+set}" = set; then
  22297. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22298. -else
  22299. - cat >conftest.$ac_ext <<_ACEOF
  22300. -/* confdefs.h. */
  22301. -_ACEOF
  22302. -cat confdefs.h >>conftest.$ac_ext
  22303. -cat >>conftest.$ac_ext <<_ACEOF
  22304. -/* end confdefs.h. */
  22305. -#if defined CRAY && ! defined CRAY2
  22306. -webecray
  22307. -#else
  22308. -wenotbecray
  22309. -#endif
  22310. -_ACEOF
  22311. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  22312. - $EGREP "webecray" >/dev/null 2>&1; then
  22313. - ac_cv_os_cray=yes
  22314. -else
  22315. - ac_cv_os_cray=no
  22316. -fi
  22317. -rm -f conftest*
  22318. -fi
  22319. -{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
  22320. -echo "${ECHO_T}$ac_cv_os_cray" >&6; }
  22321. -if test $ac_cv_os_cray = yes; then
  22322. - for ac_func in _getb67 GETB67 getb67; do
  22323. - as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  22324. -{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  22325. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  22326. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  22327. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22328. -else
  22329. - cat >conftest.$ac_ext <<_ACEOF
  22330. -/* confdefs.h. */
  22331. -_ACEOF
  22332. -cat confdefs.h >>conftest.$ac_ext
  22333. -cat >>conftest.$ac_ext <<_ACEOF
  22334. -/* end confdefs.h. */
  22335. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  22336. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  22337. -#define $ac_func innocuous_$ac_func
  22338. -/* System header to define __stub macros and hopefully few prototypes,
  22339. - which can conflict with char $ac_func (); below.
  22340. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  22341. - <limits.h> exists even on freestanding compilers. */
  22342. -#ifdef __STDC__
  22343. -# include <limits.h>
  22344. -#else
  22345. -# include <assert.h>
  22346. -#endif
  22347. -#undef $ac_func
  22348. -/* Override any GCC internal prototype to avoid an error.
  22349. - Use char because int might match the return type of a GCC
  22350. - builtin and then its argument prototype would still apply. */
  22351. -#ifdef __cplusplus
  22352. -extern "C"
  22353. -#endif
  22354. -char $ac_func ();
  22355. -/* The GNU C library defines this for functions which it implements
  22356. - to always fail with ENOSYS. Some functions are actually named
  22357. - something starting with __ and the normal name is an alias. */
  22358. -#if defined __stub_$ac_func || defined __stub___$ac_func
  22359. -choke me
  22360. -#endif
  22361. -int
  22362. -main ()
  22363. -{
  22364. -return $ac_func ();
  22365. - ;
  22366. - return 0;
  22367. -}
  22368. -_ACEOF
  22369. -rm -f conftest.$ac_objext conftest$ac_exeext
  22370. -if { (ac_try="$ac_link"
  22371. -case "(($ac_try" in
  22372. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22373. - *) ac_try_echo=$ac_try;;
  22374. -esac
  22375. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  22376. - (eval "$ac_link") 2>conftest.er1
  22377. - ac_status=$?
  22378. - grep -v '^ *+' conftest.er1 >conftest.err
  22379. - rm -f conftest.er1
  22380. - cat conftest.err >&5
  22381. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22382. - (exit $ac_status); } && {
  22383. - test -z "$ac_c_werror_flag" ||
  22384. - test ! -s conftest.err
  22385. - } && test -s conftest$ac_exeext &&
  22386. - $as_test_x conftest$ac_exeext; then
  22387. - eval "$as_ac_var=yes"
  22388. +
  22389. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  22390. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  22391. +hardcode_action_CXX=
  22392. +if test -n "$hardcode_libdir_flag_spec_CXX" ||
  22393. + test -n "$runpath_var_CXX" ||
  22394. + test "X$hardcode_automatic_CXX" = "Xyes" ; then
  22395. +
  22396. + # We can hardcode non-existent directories.
  22397. + if test "$hardcode_direct_CXX" != no &&
  22398. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  22399. + # have to relink, otherwise we might link with an installed library
  22400. + # when we should be linking with a yet-to-be-installed one
  22401. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
  22402. + test "$hardcode_minus_L_CXX" != no; then
  22403. + # Linking always hardcodes the temporary library directory.
  22404. + hardcode_action_CXX=relink
  22405. + else
  22406. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  22407. + hardcode_action_CXX=immediate
  22408. + fi
  22409. else
  22410. - echo "$as_me: failed program was:" >&5
  22411. -sed 's/^/| /' conftest.$ac_ext >&5
  22412. -
  22413. - eval "$as_ac_var=no"
  22414. + # We cannot hardcode anything, or else we can only hardcode existing
  22415. + # directories.
  22416. + hardcode_action_CXX=unsupported
  22417. fi
  22418. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
  22419. +$as_echo "$hardcode_action_CXX" >&6; }
  22420. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  22421. - conftest$ac_exeext conftest.$ac_ext
  22422. +if test "$hardcode_action_CXX" = relink ||
  22423. + test "$inherit_rpath_CXX" = yes; then
  22424. + # Fast installation is not supported
  22425. + enable_fast_install=no
  22426. +elif test "$shlibpath_overrides_runpath" = yes ||
  22427. + test "$enable_shared" = no; then
  22428. + # Fast installation is not necessary
  22429. + enable_fast_install=needless
  22430. fi
  22431. -ac_res=`eval echo '${'$as_ac_var'}'`
  22432. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  22433. -echo "${ECHO_T}$ac_res" >&6; }
  22434. -if test `eval echo '${'$as_ac_var'}'` = yes; then
  22435. -
  22436. -cat >>confdefs.h <<_ACEOF
  22437. -#define CRAY_STACKSEG_END $ac_func
  22438. -_ACEOF
  22439. - break
  22440. -fi
  22441. - done
  22442. -fi
  22443. -{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
  22444. -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
  22445. -if test "${ac_cv_c_stack_direction+set}" = set; then
  22446. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22447. -else
  22448. - if test "$cross_compiling" = yes; then
  22449. - ac_cv_c_stack_direction=0
  22450. -else
  22451. - cat >conftest.$ac_ext <<_ACEOF
  22452. -/* confdefs.h. */
  22453. -_ACEOF
  22454. -cat confdefs.h >>conftest.$ac_ext
  22455. -cat >>conftest.$ac_ext <<_ACEOF
  22456. -/* end confdefs.h. */
  22457. -$ac_includes_default
  22458. -int
  22459. -find_stack_direction ()
  22460. -{
  22461. - static char *addr = 0;
  22462. - auto char dummy;
  22463. - if (addr == 0)
  22464. - {
  22465. - addr = &dummy;
  22466. - return find_stack_direction ();
  22467. - }
  22468. - else
  22469. - return (&dummy > addr) ? 1 : -1;
  22470. -}
  22471. -int
  22472. -main ()
  22473. -{
  22474. - return find_stack_direction () < 0;
  22475. -}
  22476. -_ACEOF
  22477. -rm -f conftest$ac_exeext
  22478. -if { (ac_try="$ac_link"
  22479. -case "(($ac_try" in
  22480. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22481. - *) ac_try_echo=$ac_try;;
  22482. -esac
  22483. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  22484. - (eval "$ac_link") 2>&5
  22485. - ac_status=$?
  22486. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22487. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  22488. - { (case "(($ac_try" in
  22489. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22490. - *) ac_try_echo=$ac_try;;
  22491. -esac
  22492. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  22493. - (eval "$ac_try") 2>&5
  22494. - ac_status=$?
  22495. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22496. - (exit $ac_status); }; }; then
  22497. - ac_cv_c_stack_direction=1
  22498. -else
  22499. - echo "$as_me: program exited with status $ac_status" >&5
  22500. -echo "$as_me: failed program was:" >&5
  22501. -sed 's/^/| /' conftest.$ac_ext >&5
  22502. -( exit $ac_status )
  22503. -ac_cv_c_stack_direction=-1
  22504. -fi
  22505. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  22506. -fi
  22507. -fi
  22508. -{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
  22509. -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
  22510. + fi # test -n "$compiler"
  22511. -cat >>confdefs.h <<_ACEOF
  22512. -#define STACK_DIRECTION $ac_cv_c_stack_direction
  22513. -_ACEOF
  22514. + CC=$lt_save_CC
  22515. + LDCXX=$LD
  22516. + LD=$lt_save_LD
  22517. + GCC=$lt_save_GCC
  22518. + with_gnu_ld=$lt_save_with_gnu_ld
  22519. + lt_cv_path_LDCXX=$lt_cv_path_LD
  22520. + lt_cv_path_LD=$lt_save_path_LD
  22521. + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  22522. + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  22523. +fi # test "$_lt_caught_CXX_error" != yes
  22524. +ac_ext=c
  22525. +ac_cpp='$CPP $CPPFLAGS'
  22526. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  22527. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  22528. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  22529. -fi
  22530. -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  22531. -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  22532. -if test "${ac_cv_header_stdc+set}" = set; then
  22533. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22534. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  22535. +$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  22536. +if test "${ac_cv_c_bigendian+set}" = set; then :
  22537. + $as_echo_n "(cached) " >&6
  22538. else
  22539. - cat >conftest.$ac_ext <<_ACEOF
  22540. -/* confdefs.h. */
  22541. -_ACEOF
  22542. -cat confdefs.h >>conftest.$ac_ext
  22543. -cat >>conftest.$ac_ext <<_ACEOF
  22544. + ac_cv_c_bigendian=unknown
  22545. + # See if we're dealing with a universal compiler.
  22546. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22547. /* end confdefs.h. */
  22548. -#include <stdlib.h>
  22549. -#include <stdarg.h>
  22550. -#include <string.h>
  22551. -#include <float.h>
  22552. +#ifndef __APPLE_CC__
  22553. + not a universal capable compiler
  22554. + #endif
  22555. + typedef int dummy;
  22556. +
  22557. +_ACEOF
  22558. +if ac_fn_c_try_compile "$LINENO"; then :
  22559. +
  22560. + # Check for potential -arch flags. It is not universal unless
  22561. + # there are at least two -arch flags with different values.
  22562. + ac_arch=
  22563. + ac_prev=
  22564. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  22565. + if test -n "$ac_prev"; then
  22566. + case $ac_word in
  22567. + i?86 | x86_64 | ppc | ppc64)
  22568. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  22569. + ac_arch=$ac_word
  22570. + else
  22571. + ac_cv_c_bigendian=universal
  22572. + break
  22573. + fi
  22574. + ;;
  22575. + esac
  22576. + ac_prev=
  22577. + elif test "x$ac_word" = "x-arch"; then
  22578. + ac_prev=arch
  22579. + fi
  22580. + done
  22581. +fi
  22582. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22583. + if test $ac_cv_c_bigendian = unknown; then
  22584. + # See if sys/param.h defines the BYTE_ORDER macro.
  22585. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22586. +/* end confdefs.h. */
  22587. +#include <sys/types.h>
  22588. + #include <sys/param.h>
  22589. int
  22590. main ()
  22591. {
  22592. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  22593. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  22594. + && LITTLE_ENDIAN)
  22595. + bogus endian macros
  22596. + #endif
  22597. ;
  22598. return 0;
  22599. }
  22600. _ACEOF
  22601. -rm -f conftest.$ac_objext
  22602. -if { (ac_try="$ac_compile"
  22603. -case "(($ac_try" in
  22604. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22605. - *) ac_try_echo=$ac_try;;
  22606. -esac
  22607. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  22608. - (eval "$ac_compile") 2>conftest.er1
  22609. - ac_status=$?
  22610. - grep -v '^ *+' conftest.er1 >conftest.err
  22611. - rm -f conftest.er1
  22612. - cat conftest.err >&5
  22613. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22614. - (exit $ac_status); } && {
  22615. - test -z "$ac_c_werror_flag" ||
  22616. - test ! -s conftest.err
  22617. - } && test -s conftest.$ac_objext; then
  22618. - ac_cv_header_stdc=yes
  22619. -else
  22620. - echo "$as_me: failed program was:" >&5
  22621. -sed 's/^/| /' conftest.$ac_ext >&5
  22622. -
  22623. - ac_cv_header_stdc=no
  22624. -fi
  22625. -
  22626. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22627. -
  22628. -if test $ac_cv_header_stdc = yes; then
  22629. - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  22630. - cat >conftest.$ac_ext <<_ACEOF
  22631. -/* confdefs.h. */
  22632. -_ACEOF
  22633. -cat confdefs.h >>conftest.$ac_ext
  22634. -cat >>conftest.$ac_ext <<_ACEOF
  22635. -/* end confdefs.h. */
  22636. -#include <string.h>
  22637. -
  22638. -_ACEOF
  22639. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  22640. - $EGREP "memchr" >/dev/null 2>&1; then
  22641. - :
  22642. -else
  22643. - ac_cv_header_stdc=no
  22644. -fi
  22645. -rm -f conftest*
  22646. -
  22647. -fi
  22648. -
  22649. -if test $ac_cv_header_stdc = yes; then
  22650. - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  22651. - cat >conftest.$ac_ext <<_ACEOF
  22652. -/* confdefs.h. */
  22653. -_ACEOF
  22654. -cat confdefs.h >>conftest.$ac_ext
  22655. -cat >>conftest.$ac_ext <<_ACEOF
  22656. -/* end confdefs.h. */
  22657. -#include <stdlib.h>
  22658. -
  22659. -_ACEOF
  22660. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  22661. - $EGREP "free" >/dev/null 2>&1; then
  22662. - :
  22663. -else
  22664. - ac_cv_header_stdc=no
  22665. -fi
  22666. -rm -f conftest*
  22667. -
  22668. -fi
  22669. -
  22670. -if test $ac_cv_header_stdc = yes; then
  22671. - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  22672. - if test "$cross_compiling" = yes; then
  22673. - :
  22674. -else
  22675. - cat >conftest.$ac_ext <<_ACEOF
  22676. -/* confdefs.h. */
  22677. -_ACEOF
  22678. -cat confdefs.h >>conftest.$ac_ext
  22679. -cat >>conftest.$ac_ext <<_ACEOF
  22680. +if ac_fn_c_try_compile "$LINENO"; then :
  22681. + # It does; now see whether it defined to BIG_ENDIAN or not.
  22682. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22683. /* end confdefs.h. */
  22684. -#include <ctype.h>
  22685. -#include <stdlib.h>
  22686. -#if ((' ' & 0x0FF) == 0x020)
  22687. -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  22688. -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  22689. -#else
  22690. -# define ISLOWER(c) \
  22691. - (('a' <= (c) && (c) <= 'i') \
  22692. - || ('j' <= (c) && (c) <= 'r') \
  22693. - || ('s' <= (c) && (c) <= 'z'))
  22694. -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  22695. -#endif
  22696. +#include <sys/types.h>
  22697. + #include <sys/param.h>
  22698. -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  22699. int
  22700. main ()
  22701. -{
  22702. - int i;
  22703. - for (i = 0; i < 256; i++)
  22704. - if (XOR (islower (i), ISLOWER (i))
  22705. - || toupper (i) != TOUPPER (i))
  22706. - return 2;
  22707. +{
  22708. +#if BYTE_ORDER != BIG_ENDIAN
  22709. + not big endian
  22710. + #endif
  22711. +
  22712. + ;
  22713. return 0;
  22714. }
  22715. _ACEOF
  22716. -rm -f conftest$ac_exeext
  22717. -if { (ac_try="$ac_link"
  22718. -case "(($ac_try" in
  22719. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22720. - *) ac_try_echo=$ac_try;;
  22721. -esac
  22722. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  22723. - (eval "$ac_link") 2>&5
  22724. - ac_status=$?
  22725. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22726. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  22727. - { (case "(($ac_try" in
  22728. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22729. - *) ac_try_echo=$ac_try;;
  22730. -esac
  22731. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  22732. - (eval "$ac_try") 2>&5
  22733. - ac_status=$?
  22734. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22735. - (exit $ac_status); }; }; then
  22736. - :
  22737. +if ac_fn_c_try_compile "$LINENO"; then :
  22738. + ac_cv_c_bigendian=yes
  22739. else
  22740. - echo "$as_me: program exited with status $ac_status" >&5
  22741. -echo "$as_me: failed program was:" >&5
  22742. -sed 's/^/| /' conftest.$ac_ext >&5
  22743. -
  22744. -( exit $ac_status )
  22745. -ac_cv_header_stdc=no
  22746. -fi
  22747. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  22748. -fi
  22749. -
  22750. -
  22751. + ac_cv_c_bigendian=no
  22752. fi
  22753. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22754. fi
  22755. -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  22756. -echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  22757. -if test $ac_cv_header_stdc = yes; then
  22758. -
  22759. -cat >>confdefs.h <<\_ACEOF
  22760. -#define STDC_HEADERS 1
  22761. -_ACEOF
  22762. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22763. + fi
  22764. + if test $ac_cv_c_bigendian = unknown; then
  22765. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  22766. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22767. +/* end confdefs.h. */
  22768. +#include <limits.h>
  22769. -fi
  22770. +int
  22771. +main ()
  22772. +{
  22773. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  22774. + bogus endian macros
  22775. + #endif
  22776. -{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  22777. -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
  22778. -if test "${ac_cv_c_const+set}" = set; then
  22779. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22780. -else
  22781. - cat >conftest.$ac_ext <<_ACEOF
  22782. -/* confdefs.h. */
  22783. + ;
  22784. + return 0;
  22785. +}
  22786. _ACEOF
  22787. -cat confdefs.h >>conftest.$ac_ext
  22788. -cat >>conftest.$ac_ext <<_ACEOF
  22789. +if ac_fn_c_try_compile "$LINENO"; then :
  22790. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  22791. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22792. /* end confdefs.h. */
  22793. +#include <limits.h>
  22794. int
  22795. main ()
  22796. {
  22797. -/* FIXME: Include the comments suggested by Paul. */
  22798. -#ifndef __cplusplus
  22799. - /* Ultrix mips cc rejects this. */
  22800. - typedef int charset[2];
  22801. - const charset cs;
  22802. - /* SunOS 4.1.1 cc rejects this. */
  22803. - char const *const *pcpcc;
  22804. - char **ppc;
  22805. - /* NEC SVR4.0.2 mips cc rejects this. */
  22806. - struct point {int x, y;};
  22807. - static struct point const zero = {0,0};
  22808. - /* AIX XL C 1.02.0.0 rejects this.
  22809. - It does not let you subtract one const X* pointer from another in
  22810. - an arm of an if-expression whose if-part is not a constant
  22811. - expression */
  22812. - const char *g = "string";
  22813. - pcpcc = &g + (g ? g-g : 0);
  22814. - /* HPUX 7.0 cc rejects these. */
  22815. - ++pcpcc;
  22816. - ppc = (char**) pcpcc;
  22817. - pcpcc = (char const *const *) ppc;
  22818. - { /* SCO 3.2v4 cc rejects this. */
  22819. - char *t;
  22820. - char const *s = 0 ? (char *) 0 : (char const *) 0;
  22821. -
  22822. - *t++ = 0;
  22823. - if (s) return 0;
  22824. - }
  22825. - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  22826. - int x[] = {25, 17};
  22827. - const int *foo = &x[0];
  22828. - ++foo;
  22829. - }
  22830. - { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  22831. - typedef const int *iptr;
  22832. - iptr p = 0;
  22833. - ++p;
  22834. - }
  22835. - { /* AIX XL C 1.02.0.0 rejects this saying
  22836. - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  22837. - struct s { int j; const int *ap[3]; };
  22838. - struct s *b; b->j = 5;
  22839. - }
  22840. - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  22841. - const int foo = 10;
  22842. - if (!foo) return 0;
  22843. - }
  22844. - return !cs[0] && !zero.x;
  22845. -#endif
  22846. +#ifndef _BIG_ENDIAN
  22847. + not big endian
  22848. + #endif
  22849. ;
  22850. return 0;
  22851. }
  22852. _ACEOF
  22853. -rm -f conftest.$ac_objext
  22854. -if { (ac_try="$ac_compile"
  22855. -case "(($ac_try" in
  22856. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22857. - *) ac_try_echo=$ac_try;;
  22858. -esac
  22859. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  22860. - (eval "$ac_compile") 2>conftest.er1
  22861. - ac_status=$?
  22862. - grep -v '^ *+' conftest.er1 >conftest.err
  22863. - rm -f conftest.er1
  22864. - cat conftest.err >&5
  22865. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22866. - (exit $ac_status); } && {
  22867. - test -z "$ac_c_werror_flag" ||
  22868. - test ! -s conftest.err
  22869. - } && test -s conftest.$ac_objext; then
  22870. - ac_cv_c_const=yes
  22871. +if ac_fn_c_try_compile "$LINENO"; then :
  22872. + ac_cv_c_bigendian=yes
  22873. else
  22874. - echo "$as_me: failed program was:" >&5
  22875. -sed 's/^/| /' conftest.$ac_ext >&5
  22876. -
  22877. - ac_cv_c_const=no
  22878. + ac_cv_c_bigendian=no
  22879. fi
  22880. -
  22881. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22882. fi
  22883. -{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  22884. -echo "${ECHO_T}$ac_cv_c_const" >&6; }
  22885. -if test $ac_cv_c_const = no; then
  22886. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22887. + fi
  22888. + if test $ac_cv_c_bigendian = unknown; then
  22889. + # Compile a test program.
  22890. + if test "$cross_compiling" = yes; then :
  22891. + # Try to guess by grepping values from an object file.
  22892. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22893. +/* end confdefs.h. */
  22894. +short int ascii_mm[] =
  22895. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  22896. + short int ascii_ii[] =
  22897. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  22898. + int use_ascii (int i) {
  22899. + return ascii_mm[i] + ascii_ii[i];
  22900. + }
  22901. + short int ebcdic_ii[] =
  22902. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  22903. + short int ebcdic_mm[] =
  22904. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  22905. + int use_ebcdic (int i) {
  22906. + return ebcdic_mm[i] + ebcdic_ii[i];
  22907. + }
  22908. + extern int foo;
  22909. -cat >>confdefs.h <<\_ACEOF
  22910. -#define const
  22911. +int
  22912. +main ()
  22913. +{
  22914. +return use_ascii (foo) == use_ebcdic (foo);
  22915. + ;
  22916. + return 0;
  22917. +}
  22918. _ACEOF
  22919. -
  22920. -fi
  22921. -
  22922. -
  22923. -{ echo "$as_me:$LINENO: checking for properly working floating point implementation" >&5
  22924. -echo $ECHO_N "checking for properly working floating point implementation... $ECHO_C" >&6; }
  22925. -if test "x$build" = "x$host"; then
  22926. - if eval "$CC $CFLAGS -o test_float ${srcdir}/test_float.c"; then
  22927. - if ./test_float > /dev/null; then
  22928. - { echo "$as_me:$LINENO: result: yes" >&5
  22929. -echo "${ECHO_T}yes" >&6; }
  22930. - else
  22931. - { echo "$as_me:$LINENO: result: no" >&5
  22932. -echo "${ECHO_T}no" >&6; }
  22933. - { echo "$as_me:$LINENO: WARNING: We strongly recommend you manually examine the test_float results" >&5
  22934. -echo "$as_me: WARNING: We strongly recommend you manually examine the test_float results" >&2;}
  22935. - fi
  22936. - else
  22937. - { echo "$as_me:$LINENO: result: failure compiling test_float" >&5
  22938. -echo "${ECHO_T}failure compiling test_float" >&6; }
  22939. - fi
  22940. -else
  22941. - { echo "$as_me:$LINENO: result: skipped test (cross-compiling)" >&5
  22942. -echo "${ECHO_T}skipped test (cross-compiling)" >&6; }
  22943. - { echo "$as_me:$LINENO: WARNING: We are cross-compiling, and thus cannot run the floating point test now.
  22944. -We strongly recommend running test_float on the target platform." >&5
  22945. -echo "$as_me: WARNING: We are cross-compiling, and thus cannot run the floating point test now.
  22946. -We strongly recommend running test_float on the target platform." >&2;}
  22947. +if ac_fn_c_try_compile "$LINENO"; then :
  22948. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  22949. + ac_cv_c_bigendian=yes
  22950. + fi
  22951. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  22952. + if test "$ac_cv_c_bigendian" = unknown; then
  22953. + ac_cv_c_bigendian=no
  22954. + else
  22955. + # finding both strings is unlikely to happen, but who knows?
  22956. + ac_cv_c_bigendian=unknown
  22957. + fi
  22958. + fi
  22959. fi
  22960. -
  22961. -
  22962. -if eval "test x$GCC = xyes"; then
  22963. - CFLAGS="$CFLAGS -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE"
  22964. - fi
  22965. -
  22966. -
  22967. -
  22968. -
  22969. -
  22970. -
  22971. -
  22972. -
  22973. -for ac_header in sys/termios.h sys/select.h sys/time.h sys/modem.h sys/ipc.h sys/shm.h sys/socket.h
  22974. -do
  22975. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  22976. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  22977. - { echo "$as_me:$LINENO: checking for $ac_header" >&5
  22978. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  22979. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  22980. - echo $ECHO_N "(cached) $ECHO_C" >&6
  22981. -fi
  22982. -ac_res=`eval echo '${'$as_ac_Header'}'`
  22983. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  22984. -echo "${ECHO_T}$ac_res" >&6; }
  22985. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22986. else
  22987. - # Is the header compilable?
  22988. -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  22989. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  22990. -cat >conftest.$ac_ext <<_ACEOF
  22991. -/* confdefs.h. */
  22992. -_ACEOF
  22993. -cat confdefs.h >>conftest.$ac_ext
  22994. -cat >>conftest.$ac_ext <<_ACEOF
  22995. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22996. /* end confdefs.h. */
  22997. $ac_includes_default
  22998. -#include <$ac_header>
  22999. -_ACEOF
  23000. -rm -f conftest.$ac_objext
  23001. -if { (ac_try="$ac_compile"
  23002. -case "(($ac_try" in
  23003. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23004. - *) ac_try_echo=$ac_try;;
  23005. -esac
  23006. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23007. - (eval "$ac_compile") 2>conftest.er1
  23008. - ac_status=$?
  23009. - grep -v '^ *+' conftest.er1 >conftest.err
  23010. - rm -f conftest.er1
  23011. - cat conftest.err >&5
  23012. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23013. - (exit $ac_status); } && {
  23014. - test -z "$ac_c_werror_flag" ||
  23015. - test ! -s conftest.err
  23016. - } && test -s conftest.$ac_objext; then
  23017. - ac_header_compiler=yes
  23018. -else
  23019. - echo "$as_me: failed program was:" >&5
  23020. -sed 's/^/| /' conftest.$ac_ext >&5
  23021. -
  23022. - ac_header_compiler=no
  23023. -fi
  23024. +int
  23025. +main ()
  23026. +{
  23027. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23028. -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  23029. -echo "${ECHO_T}$ac_header_compiler" >&6; }
  23030. + /* Are we little or big endian? From Harbison&Steele. */
  23031. + union
  23032. + {
  23033. + long int l;
  23034. + char c[sizeof (long int)];
  23035. + } u;
  23036. + u.l = 1;
  23037. + return u.c[sizeof (long int) - 1] == 1;
  23038. -# Is the header present?
  23039. -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  23040. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  23041. -cat >conftest.$ac_ext <<_ACEOF
  23042. -/* confdefs.h. */
  23043. -_ACEOF
  23044. -cat confdefs.h >>conftest.$ac_ext
  23045. -cat >>conftest.$ac_ext <<_ACEOF
  23046. -/* end confdefs.h. */
  23047. -#include <$ac_header>
  23048. + ;
  23049. + return 0;
  23050. +}
  23051. _ACEOF
  23052. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  23053. -case "(($ac_try" in
  23054. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23055. - *) ac_try_echo=$ac_try;;
  23056. -esac
  23057. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23058. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  23059. - ac_status=$?
  23060. - grep -v '^ *+' conftest.er1 >conftest.err
  23061. - rm -f conftest.er1
  23062. - cat conftest.err >&5
  23063. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23064. - (exit $ac_status); } >/dev/null && {
  23065. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  23066. - test ! -s conftest.err
  23067. - }; then
  23068. - ac_header_preproc=yes
  23069. +if ac_fn_c_try_run "$LINENO"; then :
  23070. + ac_cv_c_bigendian=no
  23071. else
  23072. - echo "$as_me: failed program was:" >&5
  23073. -sed 's/^/| /' conftest.$ac_ext >&5
  23074. + ac_cv_c_bigendian=yes
  23075. +fi
  23076. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  23077. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  23078. +fi
  23079. - ac_header_preproc=no
  23080. + fi
  23081. fi
  23082. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  23083. +$as_echo "$ac_cv_c_bigendian" >&6; }
  23084. + case $ac_cv_c_bigendian in #(
  23085. + yes)
  23086. + $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
  23087. +;; #(
  23088. + no)
  23089. + ;; #(
  23090. + universal)
  23091. -rm -f conftest.err conftest.$ac_ext
  23092. -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  23093. -echo "${ECHO_T}$ac_header_preproc" >&6; }
  23094. +$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  23095. -# So? What about this header?
  23096. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  23097. - yes:no: )
  23098. - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  23099. -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  23100. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  23101. -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  23102. - ac_header_preproc=yes
  23103. - ;;
  23104. - no:yes:* )
  23105. - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  23106. -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  23107. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  23108. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  23109. - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  23110. -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  23111. - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  23112. -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  23113. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  23114. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  23115. - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  23116. -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  23117. + ;; #(
  23118. + *)
  23119. + as_fn_error "unknown endianness
  23120. + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  23121. + esac
  23122. - ;;
  23123. -esac
  23124. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  23125. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  23126. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  23127. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23128. -else
  23129. - eval "$as_ac_Header=\$ac_header_preproc"
  23130. -fi
  23131. -ac_res=`eval echo '${'$as_ac_Header'}'`
  23132. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  23133. -echo "${ECHO_T}$ac_res" >&6; }
  23134. +type_error="no"
  23135. +# The cast to long int works around a bug in the HP C Compiler
  23136. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  23137. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  23138. +# This bug is HP SR number 8606223364.
  23139. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
  23140. +$as_echo_n "checking size of char... " >&6; }
  23141. +if test "${ac_cv_sizeof_char+set}" = set; then :
  23142. + $as_echo_n "(cached) " >&6
  23143. +else
  23144. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
  23145. +else
  23146. + if test "$ac_cv_type_char" = yes; then
  23147. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  23148. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  23149. +{ as_fn_set_status 77
  23150. +as_fn_error "cannot compute sizeof (char)
  23151. +See \`config.log' for more details." "$LINENO" 5; }; }
  23152. + else
  23153. + ac_cv_sizeof_char=0
  23154. + fi
  23155. fi
  23156. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  23157. - cat >>confdefs.h <<_ACEOF
  23158. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  23159. -_ACEOF
  23160. fi
  23161. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
  23162. +$as_echo "$ac_cv_sizeof_char" >&6; }
  23163. -done
  23164. +cat >>confdefs.h <<_ACEOF
  23165. +#define SIZEOF_CHAR $ac_cv_sizeof_char
  23166. +_ACEOF
  23167. +# The cast to long int works around a bug in the HP C Compiler
  23168. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  23169. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  23170. +# This bug is HP SR number 8606223364.
  23171. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  23172. +$as_echo_n "checking size of short... " >&6; }
  23173. +if test "${ac_cv_sizeof_short+set}" = set; then :
  23174. + $as_echo_n "(cached) " >&6
  23175. +else
  23176. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
  23177. -for ac_header in arpa/inet.h netinet/in_systm.h netinet/in.h netinet/tcp.h
  23178. -do
  23179. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  23180. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  23181. - { echo "$as_me:$LINENO: checking for $ac_header" >&5
  23182. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  23183. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  23184. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23185. -fi
  23186. -ac_res=`eval echo '${'$as_ac_Header'}'`
  23187. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  23188. -echo "${ECHO_T}$ac_res" >&6; }
  23189. -else
  23190. - # Is the header compilable?
  23191. -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  23192. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  23193. -cat >conftest.$ac_ext <<_ACEOF
  23194. -/* confdefs.h. */
  23195. -_ACEOF
  23196. -cat confdefs.h >>conftest.$ac_ext
  23197. -cat >>conftest.$ac_ext <<_ACEOF
  23198. -/* end confdefs.h. */
  23199. -$ac_includes_default
  23200. -#include <$ac_header>
  23201. -_ACEOF
  23202. -rm -f conftest.$ac_objext
  23203. -if { (ac_try="$ac_compile"
  23204. -case "(($ac_try" in
  23205. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23206. - *) ac_try_echo=$ac_try;;
  23207. -esac
  23208. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23209. - (eval "$ac_compile") 2>conftest.er1
  23210. - ac_status=$?
  23211. - grep -v '^ *+' conftest.er1 >conftest.err
  23212. - rm -f conftest.er1
  23213. - cat conftest.err >&5
  23214. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23215. - (exit $ac_status); } && {
  23216. - test -z "$ac_c_werror_flag" ||
  23217. - test ! -s conftest.err
  23218. - } && test -s conftest.$ac_objext; then
  23219. - ac_header_compiler=yes
  23220. else
  23221. - echo "$as_me: failed program was:" >&5
  23222. -sed 's/^/| /' conftest.$ac_ext >&5
  23223. + if test "$ac_cv_type_short" = yes; then
  23224. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  23225. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  23226. +{ as_fn_set_status 77
  23227. +as_fn_error "cannot compute sizeof (short)
  23228. +See \`config.log' for more details." "$LINENO" 5; }; }
  23229. + else
  23230. + ac_cv_sizeof_short=0
  23231. + fi
  23232. +fi
  23233. - ac_header_compiler=no
  23234. fi
  23235. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  23236. +$as_echo "$ac_cv_sizeof_short" >&6; }
  23237. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23238. -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  23239. -echo "${ECHO_T}$ac_header_compiler" >&6; }
  23240. -# Is the header present?
  23241. -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  23242. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  23243. -cat >conftest.$ac_ext <<_ACEOF
  23244. -/* confdefs.h. */
  23245. -_ACEOF
  23246. -cat confdefs.h >>conftest.$ac_ext
  23247. -cat >>conftest.$ac_ext <<_ACEOF
  23248. -/* end confdefs.h. */
  23249. -#include <$ac_header>
  23250. +
  23251. +cat >>confdefs.h <<_ACEOF
  23252. +#define SIZEOF_SHORT $ac_cv_sizeof_short
  23253. _ACEOF
  23254. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  23255. -case "(($ac_try" in
  23256. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23257. - *) ac_try_echo=$ac_try;;
  23258. -esac
  23259. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23260. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  23261. - ac_status=$?
  23262. - grep -v '^ *+' conftest.er1 >conftest.err
  23263. - rm -f conftest.er1
  23264. - cat conftest.err >&5
  23265. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23266. - (exit $ac_status); } >/dev/null && {
  23267. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  23268. - test ! -s conftest.err
  23269. - }; then
  23270. - ac_header_preproc=yes
  23271. +
  23272. +
  23273. +# The cast to long int works around a bug in the HP C Compiler
  23274. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  23275. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  23276. +# This bug is HP SR number 8606223364.
  23277. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  23278. +$as_echo_n "checking size of int... " >&6; }
  23279. +if test "${ac_cv_sizeof_int+set}" = set; then :
  23280. + $as_echo_n "(cached) " >&6
  23281. +else
  23282. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  23283. +
  23284. else
  23285. - echo "$as_me: failed program was:" >&5
  23286. -sed 's/^/| /' conftest.$ac_ext >&5
  23287. + if test "$ac_cv_type_int" = yes; then
  23288. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  23289. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  23290. +{ as_fn_set_status 77
  23291. +as_fn_error "cannot compute sizeof (int)
  23292. +See \`config.log' for more details." "$LINENO" 5; }; }
  23293. + else
  23294. + ac_cv_sizeof_int=0
  23295. + fi
  23296. +fi
  23297. - ac_header_preproc=no
  23298. fi
  23299. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  23300. +$as_echo "$ac_cv_sizeof_int" >&6; }
  23301. -rm -f conftest.err conftest.$ac_ext
  23302. -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  23303. -echo "${ECHO_T}$ac_header_preproc" >&6; }
  23304. -# So? What about this header?
  23305. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  23306. - yes:no: )
  23307. - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  23308. -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  23309. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  23310. -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  23311. - ac_header_preproc=yes
  23312. - ;;
  23313. - no:yes:* )
  23314. - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  23315. -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  23316. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  23317. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  23318. - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  23319. -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  23320. - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  23321. -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  23322. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  23323. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  23324. - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  23325. -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  23326. - ;;
  23327. -esac
  23328. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  23329. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  23330. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  23331. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23332. -else
  23333. - eval "$as_ac_Header=\$ac_header_preproc"
  23334. -fi
  23335. -ac_res=`eval echo '${'$as_ac_Header'}'`
  23336. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  23337. -echo "${ECHO_T}$ac_res" >&6; }
  23338. +cat >>confdefs.h <<_ACEOF
  23339. +#define SIZEOF_INT $ac_cv_sizeof_int
  23340. +_ACEOF
  23341. +
  23342. +
  23343. +# The cast to long int works around a bug in the HP C Compiler
  23344. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  23345. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  23346. +# This bug is HP SR number 8606223364.
  23347. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
  23348. +$as_echo_n "checking size of long... " >&6; }
  23349. +if test "${ac_cv_sizeof_long+set}" = set; then :
  23350. + $as_echo_n "(cached) " >&6
  23351. +else
  23352. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
  23353. +else
  23354. + if test "$ac_cv_type_long" = yes; then
  23355. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  23356. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  23357. +{ as_fn_set_status 77
  23358. +as_fn_error "cannot compute sizeof (long)
  23359. +See \`config.log' for more details." "$LINENO" 5; }; }
  23360. + else
  23361. + ac_cv_sizeof_long=0
  23362. + fi
  23363. fi
  23364. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  23365. - cat >>confdefs.h <<_ACEOF
  23366. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  23367. -_ACEOF
  23368. fi
  23369. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
  23370. +$as_echo "$ac_cv_sizeof_long" >&6; }
  23371. -done
  23372. -for ac_header in netinet/ip.h
  23373. -do
  23374. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  23375. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  23376. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  23377. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  23378. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23379. -else
  23380. - cat >conftest.$ac_ext <<_ACEOF
  23381. -/* confdefs.h. */
  23382. +cat >>confdefs.h <<_ACEOF
  23383. +#define SIZEOF_LONG $ac_cv_sizeof_long
  23384. _ACEOF
  23385. -cat confdefs.h >>conftest.$ac_ext
  23386. -cat >>conftest.$ac_ext <<_ACEOF
  23387. -/* end confdefs.h. */
  23388. -#if HAVE_NETINET_IN_SYSTM_H && HAVE_NETINET_IN_H
  23389. -#include netinet/ip.h
  23390. -#endif
  23391. -#include <$ac_header>
  23392. -_ACEOF
  23393. -rm -f conftest.$ac_objext
  23394. -if { (ac_try="$ac_compile"
  23395. -case "(($ac_try" in
  23396. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23397. - *) ac_try_echo=$ac_try;;
  23398. -esac
  23399. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23400. - (eval "$ac_compile") 2>conftest.er1
  23401. - ac_status=$?
  23402. - grep -v '^ *+' conftest.er1 >conftest.err
  23403. - rm -f conftest.er1
  23404. - cat conftest.err >&5
  23405. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23406. - (exit $ac_status); } && {
  23407. - test -z "$ac_c_werror_flag" ||
  23408. - test ! -s conftest.err
  23409. - } && test -s conftest.$ac_objext; then
  23410. - eval "$as_ac_Header=yes"
  23411. -else
  23412. - echo "$as_me: failed program was:" >&5
  23413. -sed 's/^/| /' conftest.$ac_ext >&5
  23414. -
  23415. - eval "$as_ac_Header=no"
  23416. -fi
  23417. +# The cast to long int works around a bug in the HP C Compiler
  23418. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  23419. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  23420. +# This bug is HP SR number 8606223364.
  23421. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
  23422. +$as_echo_n "checking size of long long... " >&6; }
  23423. +if test "${ac_cv_sizeof_long_long+set}" = set; then :
  23424. + $as_echo_n "(cached) " >&6
  23425. +else
  23426. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
  23427. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23428. +else
  23429. + if test "$ac_cv_type_long_long" = yes; then
  23430. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  23431. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  23432. +{ as_fn_set_status 77
  23433. +as_fn_error "cannot compute sizeof (long long)
  23434. +See \`config.log' for more details." "$LINENO" 5; }; }
  23435. + else
  23436. + ac_cv_sizeof_long_long=0
  23437. + fi
  23438. fi
  23439. -ac_res=`eval echo '${'$as_ac_Header'}'`
  23440. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  23441. -echo "${ECHO_T}$ac_res" >&6; }
  23442. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  23443. - cat >>confdefs.h <<_ACEOF
  23444. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  23445. -_ACEOF
  23446. fi
  23447. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
  23448. +$as_echo "$ac_cv_sizeof_long_long" >&6; }
  23449. -done
  23450. +cat >>confdefs.h <<_ACEOF
  23451. +#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
  23452. +_ACEOF
  23453. +# The cast to long int works around a bug in the HP C Compiler
  23454. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  23455. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  23456. +# This bug is HP SR number 8606223364.
  23457. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
  23458. +$as_echo_n "checking size of float... " >&6; }
  23459. +if test "${ac_cv_sizeof_float+set}" = set; then :
  23460. + $as_echo_n "(cached) " >&6
  23461. +else
  23462. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then :
  23463. -for ac_header in termios.h strings.h getopt.h netdb.h
  23464. -do
  23465. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  23466. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  23467. - { echo "$as_me:$LINENO: checking for $ac_header" >&5
  23468. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  23469. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  23470. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23471. -fi
  23472. -ac_res=`eval echo '${'$as_ac_Header'}'`
  23473. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  23474. -echo "${ECHO_T}$ac_res" >&6; }
  23475. -else
  23476. - # Is the header compilable?
  23477. -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  23478. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  23479. -cat >conftest.$ac_ext <<_ACEOF
  23480. -/* confdefs.h. */
  23481. -_ACEOF
  23482. -cat confdefs.h >>conftest.$ac_ext
  23483. -cat >>conftest.$ac_ext <<_ACEOF
  23484. -/* end confdefs.h. */
  23485. -$ac_includes_default
  23486. -#include <$ac_header>
  23487. -_ACEOF
  23488. -rm -f conftest.$ac_objext
  23489. -if { (ac_try="$ac_compile"
  23490. -case "(($ac_try" in
  23491. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23492. - *) ac_try_echo=$ac_try;;
  23493. -esac
  23494. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23495. - (eval "$ac_compile") 2>conftest.er1
  23496. - ac_status=$?
  23497. - grep -v '^ *+' conftest.er1 >conftest.err
  23498. - rm -f conftest.er1
  23499. - cat conftest.err >&5
  23500. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23501. - (exit $ac_status); } && {
  23502. - test -z "$ac_c_werror_flag" ||
  23503. - test ! -s conftest.err
  23504. - } && test -s conftest.$ac_objext; then
  23505. - ac_header_compiler=yes
  23506. else
  23507. - echo "$as_me: failed program was:" >&5
  23508. -sed 's/^/| /' conftest.$ac_ext >&5
  23509. + if test "$ac_cv_type_float" = yes; then
  23510. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  23511. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  23512. +{ as_fn_set_status 77
  23513. +as_fn_error "cannot compute sizeof (float)
  23514. +See \`config.log' for more details." "$LINENO" 5; }; }
  23515. + else
  23516. + ac_cv_sizeof_float=0
  23517. + fi
  23518. +fi
  23519. - ac_header_compiler=no
  23520. fi
  23521. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
  23522. +$as_echo "$ac_cv_sizeof_float" >&6; }
  23523. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23524. -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  23525. -echo "${ECHO_T}$ac_header_compiler" >&6; }
  23526. -# Is the header present?
  23527. -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  23528. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  23529. -cat >conftest.$ac_ext <<_ACEOF
  23530. -/* confdefs.h. */
  23531. -_ACEOF
  23532. -cat confdefs.h >>conftest.$ac_ext
  23533. -cat >>conftest.$ac_ext <<_ACEOF
  23534. -/* end confdefs.h. */
  23535. -#include <$ac_header>
  23536. +
  23537. +cat >>confdefs.h <<_ACEOF
  23538. +#define SIZEOF_FLOAT $ac_cv_sizeof_float
  23539. _ACEOF
  23540. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  23541. -case "(($ac_try" in
  23542. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23543. - *) ac_try_echo=$ac_try;;
  23544. -esac
  23545. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23546. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  23547. - ac_status=$?
  23548. - grep -v '^ *+' conftest.er1 >conftest.err
  23549. - rm -f conftest.er1
  23550. - cat conftest.err >&5
  23551. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23552. - (exit $ac_status); } >/dev/null && {
  23553. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  23554. - test ! -s conftest.err
  23555. - }; then
  23556. - ac_header_preproc=yes
  23557. -else
  23558. - echo "$as_me: failed program was:" >&5
  23559. -sed 's/^/| /' conftest.$ac_ext >&5
  23560. - ac_header_preproc=no
  23561. +
  23562. +# The cast to long int works around a bug in the HP C Compiler
  23563. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  23564. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  23565. +# This bug is HP SR number 8606223364.
  23566. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
  23567. +$as_echo_n "checking size of double... " >&6; }
  23568. +if test "${ac_cv_sizeof_double+set}" = set; then :
  23569. + $as_echo_n "(cached) " >&6
  23570. +else
  23571. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
  23572. +
  23573. +else
  23574. + if test "$ac_cv_type_double" = yes; then
  23575. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  23576. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  23577. +{ as_fn_set_status 77
  23578. +as_fn_error "cannot compute sizeof (double)
  23579. +See \`config.log' for more details." "$LINENO" 5; }; }
  23580. + else
  23581. + ac_cv_sizeof_double=0
  23582. + fi
  23583. fi
  23584. -rm -f conftest.err conftest.$ac_ext
  23585. -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  23586. -echo "${ECHO_T}$ac_header_preproc" >&6; }
  23587. +fi
  23588. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
  23589. +$as_echo "$ac_cv_sizeof_double" >&6; }
  23590. -# So? What about this header?
  23591. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  23592. - yes:no: )
  23593. - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  23594. -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  23595. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  23596. -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  23597. - ac_header_preproc=yes
  23598. - ;;
  23599. - no:yes:* )
  23600. - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  23601. -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  23602. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  23603. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  23604. - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  23605. -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  23606. - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  23607. -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  23608. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  23609. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  23610. - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  23611. -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  23612. - ;;
  23613. -esac
  23614. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  23615. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  23616. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  23617. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23618. -else
  23619. - eval "$as_ac_Header=\$ac_header_preproc"
  23620. -fi
  23621. -ac_res=`eval echo '${'$as_ac_Header'}'`
  23622. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  23623. -echo "${ECHO_T}$ac_res" >&6; }
  23624. -fi
  23625. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  23626. - cat >>confdefs.h <<_ACEOF
  23627. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  23628. +cat >>confdefs.h <<_ACEOF
  23629. +#define SIZEOF_DOUBLE $ac_cv_sizeof_double
  23630. _ACEOF
  23631. +
  23632. +if test x"$ac_cv_sizeof_char" != "x1" ; then
  23633. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gpsd requires sizeof(char)==1" >&5
  23634. +$as_echo "$as_me: WARNING: gpsd requires sizeof(char)==1" >&2;};
  23635. + type_error="yes"
  23636. +fi
  23637. +if test x"$ac_cv_sizeof_short" != "x2" ; then
  23638. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gpsd requires sizeof(short)==2" >&5
  23639. +$as_echo "$as_me: WARNING: gpsd requires sizeof(short)==2" >&2;};
  23640. + type_error="yes"
  23641. +fi
  23642. +if test x"$ac_cv_sizeof_int" != "x4" ; then
  23643. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gpsd requires sizeof(int)==4" >&5
  23644. +$as_echo "$as_me: WARNING: gpsd requires sizeof(int)==4" >&2;};
  23645. + type_error="yes"
  23646. +fi
  23647. +if test x"$ac_cv_sizeof_long_long" != "x8" ; then
  23648. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gpsd requires sizeof(long long)==8" >&5
  23649. +$as_echo "$as_me: WARNING: gpsd requires sizeof(long long)==8" >&2;};
  23650. + type_error="yes"
  23651. +fi
  23652. +if test x"$ac_cv_sizeof_float" != "x4" ; then
  23653. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gpsd requires sizeof(float)==4" >&5
  23654. +$as_echo "$as_me: WARNING: gpsd requires sizeof(float)==4" >&2;};
  23655. + type_error="yes"
  23656. +fi
  23657. +if test x"$ac_cv_sizeof_double" != "x8" ; then
  23658. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gpsd requires sizeof(double)==8" >&5
  23659. +$as_echo "$as_me: WARNING: gpsd requires sizeof(double)==8" >&2;};
  23660. + type_error="yes"
  23661. +fi
  23662. +if test x"$type_error" = "xyes" ; then
  23663. + as_fn_error "Your system does not provide all required data types" "$LINENO" 5;
  23664. fi
  23665. -done
  23666. +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  23667. +# for constant arguments. Useless!
  23668. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
  23669. +$as_echo_n "checking for working alloca.h... " >&6; }
  23670. +if test "${ac_cv_working_alloca_h+set}" = set; then :
  23671. + $as_echo_n "(cached) " >&6
  23672. +else
  23673. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23674. +/* end confdefs.h. */
  23675. +#include <alloca.h>
  23676. +int
  23677. +main ()
  23678. +{
  23679. +char *p = (char *) alloca (2 * sizeof (int));
  23680. + if (p) return 0;
  23681. + ;
  23682. + return 0;
  23683. +}
  23684. +_ACEOF
  23685. +if ac_fn_c_try_link "$LINENO"; then :
  23686. + ac_cv_working_alloca_h=yes
  23687. +else
  23688. + ac_cv_working_alloca_h=no
  23689. +fi
  23690. +rm -f core conftest.err conftest.$ac_objext \
  23691. + conftest$ac_exeext conftest.$ac_ext
  23692. +fi
  23693. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
  23694. +$as_echo "$ac_cv_working_alloca_h" >&6; }
  23695. +if test $ac_cv_working_alloca_h = yes; then
  23696. +$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
  23697. +fi
  23698. -for ac_func in round
  23699. -do
  23700. -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  23701. -{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  23702. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  23703. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  23704. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23705. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  23706. +$as_echo_n "checking for alloca... " >&6; }
  23707. +if test "${ac_cv_func_alloca_works+set}" = set; then :
  23708. + $as_echo_n "(cached) " >&6
  23709. else
  23710. - cat >conftest.$ac_ext <<_ACEOF
  23711. -/* confdefs.h. */
  23712. -_ACEOF
  23713. -cat confdefs.h >>conftest.$ac_ext
  23714. -cat >>conftest.$ac_ext <<_ACEOF
  23715. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23716. /* end confdefs.h. */
  23717. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  23718. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  23719. -#define $ac_func innocuous_$ac_func
  23720. -
  23721. -/* System header to define __stub macros and hopefully few prototypes,
  23722. - which can conflict with char $ac_func (); below.
  23723. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  23724. - <limits.h> exists even on freestanding compilers. */
  23725. -
  23726. -#ifdef __STDC__
  23727. -# include <limits.h>
  23728. +#ifdef __GNUC__
  23729. +# define alloca __builtin_alloca
  23730. #else
  23731. -# include <assert.h>
  23732. -#endif
  23733. -
  23734. -#undef $ac_func
  23735. -
  23736. -/* Override any GCC internal prototype to avoid an error.
  23737. - Use char because int might match the return type of a GCC
  23738. - builtin and then its argument prototype would still apply. */
  23739. -#ifdef __cplusplus
  23740. -extern "C"
  23741. -#endif
  23742. -char $ac_func ();
  23743. -/* The GNU C library defines this for functions which it implements
  23744. - to always fail with ENOSYS. Some functions are actually named
  23745. - something starting with __ and the normal name is an alias. */
  23746. -#if defined __stub_$ac_func || defined __stub___$ac_func
  23747. -choke me
  23748. +# ifdef _MSC_VER
  23749. +# include <malloc.h>
  23750. +# define alloca _alloca
  23751. +# else
  23752. +# ifdef HAVE_ALLOCA_H
  23753. +# include <alloca.h>
  23754. +# else
  23755. +# ifdef _AIX
  23756. + #pragma alloca
  23757. +# else
  23758. +# ifndef alloca /* predefined by HP cc +Olibcalls */
  23759. +char *alloca ();
  23760. +# endif
  23761. +# endif
  23762. +# endif
  23763. +# endif
  23764. #endif
  23765. int
  23766. main ()
  23767. {
  23768. -return $ac_func ();
  23769. +char *p = (char *) alloca (1);
  23770. + if (p) return 0;
  23771. ;
  23772. return 0;
  23773. }
  23774. _ACEOF
  23775. -rm -f conftest.$ac_objext conftest$ac_exeext
  23776. -if { (ac_try="$ac_link"
  23777. -case "(($ac_try" in
  23778. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23779. - *) ac_try_echo=$ac_try;;
  23780. -esac
  23781. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23782. - (eval "$ac_link") 2>conftest.er1
  23783. - ac_status=$?
  23784. - grep -v '^ *+' conftest.er1 >conftest.err
  23785. - rm -f conftest.er1
  23786. - cat conftest.err >&5
  23787. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23788. - (exit $ac_status); } && {
  23789. - test -z "$ac_c_werror_flag" ||
  23790. - test ! -s conftest.err
  23791. - } && test -s conftest$ac_exeext &&
  23792. - $as_test_x conftest$ac_exeext; then
  23793. - eval "$as_ac_var=yes"
  23794. +if ac_fn_c_try_link "$LINENO"; then :
  23795. + ac_cv_func_alloca_works=yes
  23796. else
  23797. - echo "$as_me: failed program was:" >&5
  23798. -sed 's/^/| /' conftest.$ac_ext >&5
  23799. + ac_cv_func_alloca_works=no
  23800. +fi
  23801. +rm -f core conftest.err conftest.$ac_objext \
  23802. + conftest$ac_exeext conftest.$ac_ext
  23803. +fi
  23804. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
  23805. +$as_echo "$ac_cv_func_alloca_works" >&6; }
  23806. +
  23807. +if test $ac_cv_func_alloca_works = yes; then
  23808. +
  23809. +$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
  23810. +
  23811. +else
  23812. + # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  23813. +# that cause trouble. Some versions do not even contain alloca or
  23814. +# contain a buggy version. If you still want to use their alloca,
  23815. +# use ar to extract alloca.o from them instead of compiling alloca.c.
  23816. +
  23817. +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
  23818. +
  23819. +$as_echo "#define C_ALLOCA 1" >>confdefs.h
  23820. +
  23821. +
  23822. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
  23823. +$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
  23824. +if test "${ac_cv_os_cray+set}" = set; then :
  23825. + $as_echo_n "(cached) " >&6
  23826. +else
  23827. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23828. +/* end confdefs.h. */
  23829. +#if defined CRAY && ! defined CRAY2
  23830. +webecray
  23831. +#else
  23832. +wenotbecray
  23833. +#endif
  23834. - eval "$as_ac_var=no"
  23835. +_ACEOF
  23836. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  23837. + $EGREP "webecray" >/dev/null 2>&1; then :
  23838. + ac_cv_os_cray=yes
  23839. +else
  23840. + ac_cv_os_cray=no
  23841. fi
  23842. +rm -f conftest*
  23843. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  23844. - conftest$ac_exeext conftest.$ac_ext
  23845. fi
  23846. -ac_res=`eval echo '${'$as_ac_var'}'`
  23847. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  23848. -echo "${ECHO_T}$ac_res" >&6; }
  23849. -if test `eval echo '${'$as_ac_var'}'` = yes; then
  23850. - cat >>confdefs.h <<_ACEOF
  23851. -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  23852. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
  23853. +$as_echo "$ac_cv_os_cray" >&6; }
  23854. +if test $ac_cv_os_cray = yes; then
  23855. + for ac_func in _getb67 GETB67 getb67; do
  23856. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  23857. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  23858. +eval as_val=\$$as_ac_var
  23859. + if test "x$as_val" = x""yes; then :
  23860. +
  23861. +cat >>confdefs.h <<_ACEOF
  23862. +#define CRAY_STACKSEG_END $ac_func
  23863. _ACEOF
  23864. - roundf
  23865. +
  23866. + break
  23867. fi
  23868. -done
  23869. + done
  23870. +fi
  23871. -for ac_func in strlcpy
  23872. -do
  23873. -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  23874. -{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  23875. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  23876. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  23877. - echo $ECHO_N "(cached) $ECHO_C" >&6
  23878. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
  23879. +$as_echo_n "checking stack direction for C alloca... " >&6; }
  23880. +if test "${ac_cv_c_stack_direction+set}" = set; then :
  23881. + $as_echo_n "(cached) " >&6
  23882. else
  23883. - cat >conftest.$ac_ext <<_ACEOF
  23884. -/* confdefs.h. */
  23885. -_ACEOF
  23886. -cat confdefs.h >>conftest.$ac_ext
  23887. -cat >>conftest.$ac_ext <<_ACEOF
  23888. + if test "$cross_compiling" = yes; then :
  23889. + ac_cv_c_stack_direction=0
  23890. +else
  23891. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23892. /* end confdefs.h. */
  23893. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  23894. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  23895. -#define $ac_func innocuous_$ac_func
  23896. -
  23897. -/* System header to define __stub macros and hopefully few prototypes,
  23898. - which can conflict with char $ac_func (); below.
  23899. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  23900. - <limits.h> exists even on freestanding compilers. */
  23901. -
  23902. -#ifdef __STDC__
  23903. -# include <limits.h>
  23904. -#else
  23905. -# include <assert.h>
  23906. -#endif
  23907. -
  23908. -#undef $ac_func
  23909. -
  23910. -/* Override any GCC internal prototype to avoid an error.
  23911. - Use char because int might match the return type of a GCC
  23912. - builtin and then its argument prototype would still apply. */
  23913. -#ifdef __cplusplus
  23914. -extern "C"
  23915. -#endif
  23916. -char $ac_func ();
  23917. -/* The GNU C library defines this for functions which it implements
  23918. - to always fail with ENOSYS. Some functions are actually named
  23919. - something starting with __ and the normal name is an alias. */
  23920. -#if defined __stub_$ac_func || defined __stub___$ac_func
  23921. -choke me
  23922. -#endif
  23923. +$ac_includes_default
  23924. +int
  23925. +find_stack_direction ()
  23926. +{
  23927. + static char *addr = 0;
  23928. + auto char dummy;
  23929. + if (addr == 0)
  23930. + {
  23931. + addr = &dummy;
  23932. + return find_stack_direction ();
  23933. + }
  23934. + else
  23935. + return (&dummy > addr) ? 1 : -1;
  23936. +}
  23937. int
  23938. main ()
  23939. {
  23940. -return $ac_func ();
  23941. - ;
  23942. - return 0;
  23943. + return find_stack_direction () < 0;
  23944. }
  23945. _ACEOF
  23946. -rm -f conftest.$ac_objext conftest$ac_exeext
  23947. -if { (ac_try="$ac_link"
  23948. -case "(($ac_try" in
  23949. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23950. - *) ac_try_echo=$ac_try;;
  23951. -esac
  23952. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  23953. - (eval "$ac_link") 2>conftest.er1
  23954. - ac_status=$?
  23955. - grep -v '^ *+' conftest.er1 >conftest.err
  23956. - rm -f conftest.er1
  23957. - cat conftest.err >&5
  23958. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23959. - (exit $ac_status); } && {
  23960. - test -z "$ac_c_werror_flag" ||
  23961. - test ! -s conftest.err
  23962. - } && test -s conftest$ac_exeext &&
  23963. - $as_test_x conftest$ac_exeext; then
  23964. - eval "$as_ac_var=yes"
  23965. +if ac_fn_c_try_run "$LINENO"; then :
  23966. + ac_cv_c_stack_direction=1
  23967. else
  23968. - echo "$as_me: failed program was:" >&5
  23969. -sed 's/^/| /' conftest.$ac_ext >&5
  23970. -
  23971. - eval "$as_ac_var=no"
  23972. + ac_cv_c_stack_direction=-1
  23973. +fi
  23974. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  23975. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  23976. fi
  23977. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  23978. - conftest$ac_exeext conftest.$ac_ext
  23979. fi
  23980. -ac_res=`eval echo '${'$as_ac_var'}'`
  23981. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  23982. -echo "${ECHO_T}$ac_res" >&6; }
  23983. -if test `eval echo '${'$as_ac_var'}'` = yes; then
  23984. - cat >>confdefs.h <<_ACEOF
  23985. -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  23986. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
  23987. +$as_echo "$ac_cv_c_stack_direction" >&6; }
  23988. +cat >>confdefs.h <<_ACEOF
  23989. +#define STACK_DIRECTION $ac_cv_c_stack_direction
  23990. _ACEOF
  23991. -fi
  23992. -done
  23993. +fi
  23994. -for ac_func in strlcat
  23995. -do
  23996. -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  23997. -{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  23998. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  23999. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  24000. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24001. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  24002. +$as_echo_n "checking for ANSI C header files... " >&6; }
  24003. +if test "${ac_cv_header_stdc+set}" = set; then :
  24004. + $as_echo_n "(cached) " >&6
  24005. else
  24006. - cat >conftest.$ac_ext <<_ACEOF
  24007. -/* confdefs.h. */
  24008. -_ACEOF
  24009. -cat confdefs.h >>conftest.$ac_ext
  24010. -cat >>conftest.$ac_ext <<_ACEOF
  24011. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24012. /* end confdefs.h. */
  24013. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  24014. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  24015. -#define $ac_func innocuous_$ac_func
  24016. -
  24017. -/* System header to define __stub macros and hopefully few prototypes,
  24018. - which can conflict with char $ac_func (); below.
  24019. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  24020. - <limits.h> exists even on freestanding compilers. */
  24021. -
  24022. -#ifdef __STDC__
  24023. -# include <limits.h>
  24024. -#else
  24025. -# include <assert.h>
  24026. -#endif
  24027. -
  24028. -#undef $ac_func
  24029. -
  24030. -/* Override any GCC internal prototype to avoid an error.
  24031. - Use char because int might match the return type of a GCC
  24032. - builtin and then its argument prototype would still apply. */
  24033. -#ifdef __cplusplus
  24034. -extern "C"
  24035. -#endif
  24036. -char $ac_func ();
  24037. -/* The GNU C library defines this for functions which it implements
  24038. - to always fail with ENOSYS. Some functions are actually named
  24039. - something starting with __ and the normal name is an alias. */
  24040. -#if defined __stub_$ac_func || defined __stub___$ac_func
  24041. -choke me
  24042. -#endif
  24043. +#include <stdlib.h>
  24044. +#include <stdarg.h>
  24045. +#include <string.h>
  24046. +#include <float.h>
  24047. int
  24048. main ()
  24049. {
  24050. -return $ac_func ();
  24051. +
  24052. ;
  24053. return 0;
  24054. }
  24055. _ACEOF
  24056. -rm -f conftest.$ac_objext conftest$ac_exeext
  24057. -if { (ac_try="$ac_link"
  24058. -case "(($ac_try" in
  24059. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  24060. - *) ac_try_echo=$ac_try;;
  24061. -esac
  24062. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  24063. - (eval "$ac_link") 2>conftest.er1
  24064. - ac_status=$?
  24065. - grep -v '^ *+' conftest.er1 >conftest.err
  24066. - rm -f conftest.er1
  24067. - cat conftest.err >&5
  24068. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24069. - (exit $ac_status); } && {
  24070. - test -z "$ac_c_werror_flag" ||
  24071. - test ! -s conftest.err
  24072. - } && test -s conftest$ac_exeext &&
  24073. - $as_test_x conftest$ac_exeext; then
  24074. - eval "$as_ac_var=yes"
  24075. +if ac_fn_c_try_compile "$LINENO"; then :
  24076. + ac_cv_header_stdc=yes
  24077. else
  24078. - echo "$as_me: failed program was:" >&5
  24079. -sed 's/^/| /' conftest.$ac_ext >&5
  24080. -
  24081. - eval "$as_ac_var=no"
  24082. + ac_cv_header_stdc=no
  24083. fi
  24084. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24085. +
  24086. +if test $ac_cv_header_stdc = yes; then
  24087. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  24088. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24089. +/* end confdefs.h. */
  24090. +#include <string.h>
  24091. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  24092. - conftest$ac_exeext conftest.$ac_ext
  24093. -fi
  24094. -ac_res=`eval echo '${'$as_ac_var'}'`
  24095. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  24096. -echo "${ECHO_T}$ac_res" >&6; }
  24097. -if test `eval echo '${'$as_ac_var'}'` = yes; then
  24098. - cat >>confdefs.h <<_ACEOF
  24099. -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  24100. _ACEOF
  24101. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  24102. + $EGREP "memchr" >/dev/null 2>&1; then :
  24103. +else
  24104. + ac_cv_header_stdc=no
  24105. fi
  24106. -done
  24107. +rm -f conftest*
  24108. +fi
  24109. -for ac_func in strtonum
  24110. -do
  24111. -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  24112. -{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  24113. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  24114. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  24115. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24116. -else
  24117. - cat >conftest.$ac_ext <<_ACEOF
  24118. -/* confdefs.h. */
  24119. -_ACEOF
  24120. -cat confdefs.h >>conftest.$ac_ext
  24121. -cat >>conftest.$ac_ext <<_ACEOF
  24122. +if test $ac_cv_header_stdc = yes; then
  24123. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  24124. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24125. /* end confdefs.h. */
  24126. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  24127. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  24128. -#define $ac_func innocuous_$ac_func
  24129. +#include <stdlib.h>
  24130. -/* System header to define __stub macros and hopefully few prototypes,
  24131. - which can conflict with char $ac_func (); below.
  24132. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  24133. - <limits.h> exists even on freestanding compilers. */
  24134. +_ACEOF
  24135. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  24136. + $EGREP "free" >/dev/null 2>&1; then :
  24137. -#ifdef __STDC__
  24138. -# include <limits.h>
  24139. -#else
  24140. -# include <assert.h>
  24141. -#endif
  24142. +else
  24143. + ac_cv_header_stdc=no
  24144. +fi
  24145. +rm -f conftest*
  24146. -#undef $ac_func
  24147. +fi
  24148. -/* Override any GCC internal prototype to avoid an error.
  24149. - Use char because int might match the return type of a GCC
  24150. - builtin and then its argument prototype would still apply. */
  24151. -#ifdef __cplusplus
  24152. -extern "C"
  24153. -#endif
  24154. -char $ac_func ();
  24155. -/* The GNU C library defines this for functions which it implements
  24156. - to always fail with ENOSYS. Some functions are actually named
  24157. - something starting with __ and the normal name is an alias. */
  24158. -#if defined __stub_$ac_func || defined __stub___$ac_func
  24159. -choke me
  24160. +if test $ac_cv_header_stdc = yes; then
  24161. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  24162. + if test "$cross_compiling" = yes; then :
  24163. + :
  24164. +else
  24165. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24166. +/* end confdefs.h. */
  24167. +#include <ctype.h>
  24168. +#include <stdlib.h>
  24169. +#if ((' ' & 0x0FF) == 0x020)
  24170. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  24171. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  24172. +#else
  24173. +# define ISLOWER(c) \
  24174. + (('a' <= (c) && (c) <= 'i') \
  24175. + || ('j' <= (c) && (c) <= 'r') \
  24176. + || ('s' <= (c) && (c) <= 'z'))
  24177. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  24178. #endif
  24179. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  24180. int
  24181. main ()
  24182. {
  24183. -return $ac_func ();
  24184. - ;
  24185. + int i;
  24186. + for (i = 0; i < 256; i++)
  24187. + if (XOR (islower (i), ISLOWER (i))
  24188. + || toupper (i) != TOUPPER (i))
  24189. + return 2;
  24190. return 0;
  24191. }
  24192. _ACEOF
  24193. -rm -f conftest.$ac_objext conftest$ac_exeext
  24194. -if { (ac_try="$ac_link"
  24195. -case "(($ac_try" in
  24196. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  24197. - *) ac_try_echo=$ac_try;;
  24198. -esac
  24199. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  24200. - (eval "$ac_link") 2>conftest.er1
  24201. - ac_status=$?
  24202. - grep -v '^ *+' conftest.er1 >conftest.err
  24203. - rm -f conftest.er1
  24204. - cat conftest.err >&5
  24205. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24206. - (exit $ac_status); } && {
  24207. - test -z "$ac_c_werror_flag" ||
  24208. - test ! -s conftest.err
  24209. - } && test -s conftest$ac_exeext &&
  24210. - $as_test_x conftest$ac_exeext; then
  24211. - eval "$as_ac_var=yes"
  24212. -else
  24213. - echo "$as_me: failed program was:" >&5
  24214. -sed 's/^/| /' conftest.$ac_ext >&5
  24215. +if ac_fn_c_try_run "$LINENO"; then :
  24216. - eval "$as_ac_var=no"
  24217. +else
  24218. + ac_cv_header_stdc=no
  24219. fi
  24220. -
  24221. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  24222. - conftest$ac_exeext conftest.$ac_ext
  24223. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  24224. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  24225. fi
  24226. -ac_res=`eval echo '${'$as_ac_var'}'`
  24227. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  24228. -echo "${ECHO_T}$ac_res" >&6; }
  24229. -if test `eval echo '${'$as_ac_var'}'` = yes; then
  24230. - cat >>confdefs.h <<_ACEOF
  24231. -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  24232. -_ACEOF
  24233. fi
  24234. -done
  24235. +fi
  24236. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  24237. +$as_echo "$ac_cv_header_stdc" >&6; }
  24238. +if test $ac_cv_header_stdc = yes; then
  24239. +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  24240. -for ac_func in setlocale
  24241. -do
  24242. -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  24243. -{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  24244. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  24245. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  24246. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24247. +fi
  24248. +
  24249. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  24250. +$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  24251. +if test "${ac_cv_c_const+set}" = set; then :
  24252. + $as_echo_n "(cached) " >&6
  24253. else
  24254. - cat >conftest.$ac_ext <<_ACEOF
  24255. -/* confdefs.h. */
  24256. -_ACEOF
  24257. -cat confdefs.h >>conftest.$ac_ext
  24258. -cat >>conftest.$ac_ext <<_ACEOF
  24259. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24260. /* end confdefs.h. */
  24261. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  24262. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  24263. -#define $ac_func innocuous_$ac_func
  24264. -
  24265. -/* System header to define __stub macros and hopefully few prototypes,
  24266. - which can conflict with char $ac_func (); below.
  24267. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  24268. - <limits.h> exists even on freestanding compilers. */
  24269. -#ifdef __STDC__
  24270. -# include <limits.h>
  24271. -#else
  24272. -# include <assert.h>
  24273. -#endif
  24274. -
  24275. -#undef $ac_func
  24276. +int
  24277. +main ()
  24278. +{
  24279. +/* FIXME: Include the comments suggested by Paul. */
  24280. +#ifndef __cplusplus
  24281. + /* Ultrix mips cc rejects this. */
  24282. + typedef int charset[2];
  24283. + const charset cs;
  24284. + /* SunOS 4.1.1 cc rejects this. */
  24285. + char const *const *pcpcc;
  24286. + char **ppc;
  24287. + /* NEC SVR4.0.2 mips cc rejects this. */
  24288. + struct point {int x, y;};
  24289. + static struct point const zero = {0,0};
  24290. + /* AIX XL C 1.02.0.0 rejects this.
  24291. + It does not let you subtract one const X* pointer from another in
  24292. + an arm of an if-expression whose if-part is not a constant
  24293. + expression */
  24294. + const char *g = "string";
  24295. + pcpcc = &g + (g ? g-g : 0);
  24296. + /* HPUX 7.0 cc rejects these. */
  24297. + ++pcpcc;
  24298. + ppc = (char**) pcpcc;
  24299. + pcpcc = (char const *const *) ppc;
  24300. + { /* SCO 3.2v4 cc rejects this. */
  24301. + char *t;
  24302. + char const *s = 0 ? (char *) 0 : (char const *) 0;
  24303. -/* Override any GCC internal prototype to avoid an error.
  24304. - Use char because int might match the return type of a GCC
  24305. - builtin and then its argument prototype would still apply. */
  24306. -#ifdef __cplusplus
  24307. -extern "C"
  24308. -#endif
  24309. -char $ac_func ();
  24310. -/* The GNU C library defines this for functions which it implements
  24311. - to always fail with ENOSYS. Some functions are actually named
  24312. - something starting with __ and the normal name is an alias. */
  24313. -#if defined __stub_$ac_func || defined __stub___$ac_func
  24314. -choke me
  24315. + *t++ = 0;
  24316. + if (s) return 0;
  24317. + }
  24318. + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  24319. + int x[] = {25, 17};
  24320. + const int *foo = &x[0];
  24321. + ++foo;
  24322. + }
  24323. + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  24324. + typedef const int *iptr;
  24325. + iptr p = 0;
  24326. + ++p;
  24327. + }
  24328. + { /* AIX XL C 1.02.0.0 rejects this saying
  24329. + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  24330. + struct s { int j; const int *ap[3]; };
  24331. + struct s *b; b->j = 5;
  24332. + }
  24333. + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  24334. + const int foo = 10;
  24335. + if (!foo) return 0;
  24336. + }
  24337. + return !cs[0] && !zero.x;
  24338. #endif
  24339. -int
  24340. -main ()
  24341. -{
  24342. -return $ac_func ();
  24343. ;
  24344. return 0;
  24345. }
  24346. _ACEOF
  24347. -rm -f conftest.$ac_objext conftest$ac_exeext
  24348. -if { (ac_try="$ac_link"
  24349. -case "(($ac_try" in
  24350. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  24351. - *) ac_try_echo=$ac_try;;
  24352. -esac
  24353. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  24354. - (eval "$ac_link") 2>conftest.er1
  24355. - ac_status=$?
  24356. - grep -v '^ *+' conftest.er1 >conftest.err
  24357. - rm -f conftest.er1
  24358. - cat conftest.err >&5
  24359. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24360. - (exit $ac_status); } && {
  24361. - test -z "$ac_c_werror_flag" ||
  24362. - test ! -s conftest.err
  24363. - } && test -s conftest$ac_exeext &&
  24364. - $as_test_x conftest$ac_exeext; then
  24365. - eval "$as_ac_var=yes"
  24366. +if ac_fn_c_try_compile "$LINENO"; then :
  24367. + ac_cv_c_const=yes
  24368. else
  24369. - echo "$as_me: failed program was:" >&5
  24370. -sed 's/^/| /' conftest.$ac_ext >&5
  24371. + ac_cv_c_const=no
  24372. +fi
  24373. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24374. +fi
  24375. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  24376. +$as_echo "$ac_cv_c_const" >&6; }
  24377. +if test $ac_cv_c_const = no; then
  24378. +
  24379. +$as_echo "#define const /**/" >>confdefs.h
  24380. - eval "$as_ac_var=no"
  24381. fi
  24382. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  24383. - conftest$ac_exeext conftest.$ac_ext
  24384. +
  24385. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for properly working floating point implementation" >&5
  24386. +$as_echo_n "checking for properly working floating point implementation... " >&6; }
  24387. +if test "x$build" = "x$host"; then
  24388. + if eval "$CC $CFLAGS -o test_float ${srcdir}/test_float.c"; then
  24389. + if ./test_float > /dev/null; then
  24390. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  24391. +$as_echo "yes" >&6; }
  24392. + else
  24393. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24394. +$as_echo "no" >&6; }
  24395. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We strongly recommend you manually examine the test_float results" >&5
  24396. +$as_echo "$as_me: WARNING: We strongly recommend you manually examine the test_float results" >&2;}
  24397. + fi
  24398. + else
  24399. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failure compiling test_float" >&5
  24400. +$as_echo "failure compiling test_float" >&6; }
  24401. + fi
  24402. +else
  24403. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: skipped test (cross-compiling)" >&5
  24404. +$as_echo "skipped test (cross-compiling)" >&6; }
  24405. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We are cross-compiling, and thus cannot run the floating point test now.
  24406. +We strongly recommend running test_float on the target platform." >&5
  24407. +$as_echo "$as_me: WARNING: We are cross-compiling, and thus cannot run the floating point test now.
  24408. +We strongly recommend running test_float on the target platform." >&2;}
  24409. fi
  24410. -ac_res=`eval echo '${'$as_ac_var'}'`
  24411. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  24412. -echo "${ECHO_T}$ac_res" >&6; }
  24413. -if test `eval echo '${'$as_ac_var'}'` = yes; then
  24414. +
  24415. +
  24416. +if eval "test x$GCC = xyes"; then
  24417. + CFLAGS="$CFLAGS -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE"
  24418. + fi
  24419. +
  24420. +for ac_header in sys/termios.h sys/select.h sys/time.h sys/modem.h sys/ipc.h sys/shm.h sys/socket.h
  24421. +do :
  24422. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  24423. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  24424. +eval as_val=\$$as_ac_Header
  24425. + if test "x$as_val" = x""yes; then :
  24426. cat >>confdefs.h <<_ACEOF
  24427. -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  24428. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  24429. _ACEOF
  24430. fi
  24431. -done
  24432. +done
  24433. -for ac_func in vsnprintf
  24434. -do
  24435. -as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  24436. -{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  24437. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  24438. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  24439. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24440. -else
  24441. - cat >conftest.$ac_ext <<_ACEOF
  24442. -/* confdefs.h. */
  24443. +for ac_header in arpa/inet.h netinet/in_systm.h netinet/in.h netinet/tcp.h
  24444. +do :
  24445. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  24446. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  24447. +eval as_val=\$$as_ac_Header
  24448. + if test "x$as_val" = x""yes; then :
  24449. + cat >>confdefs.h <<_ACEOF
  24450. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  24451. _ACEOF
  24452. -cat confdefs.h >>conftest.$ac_ext
  24453. -cat >>conftest.$ac_ext <<_ACEOF
  24454. -/* end confdefs.h. */
  24455. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  24456. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  24457. -#define $ac_func innocuous_$ac_func
  24458. -
  24459. -/* System header to define __stub macros and hopefully few prototypes,
  24460. - which can conflict with char $ac_func (); below.
  24461. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  24462. - <limits.h> exists even on freestanding compilers. */
  24463. -#ifdef __STDC__
  24464. -# include <limits.h>
  24465. -#else
  24466. -# include <assert.h>
  24467. -#endif
  24468. +fi
  24469. -#undef $ac_func
  24470. +done
  24471. -/* Override any GCC internal prototype to avoid an error.
  24472. - Use char because int might match the return type of a GCC
  24473. - builtin and then its argument prototype would still apply. */
  24474. -#ifdef __cplusplus
  24475. -extern "C"
  24476. -#endif
  24477. -char $ac_func ();
  24478. -/* The GNU C library defines this for functions which it implements
  24479. - to always fail with ENOSYS. Some functions are actually named
  24480. - something starting with __ and the normal name is an alias. */
  24481. -#if defined __stub_$ac_func || defined __stub___$ac_func
  24482. -choke me
  24483. +for ac_header in netinet/ip.h
  24484. +do :
  24485. + ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if HAVE_NETINET_IN_SYSTM_H && HAVE_NETINET_IN_H
  24486. +#include netinet/ip.h
  24487. #endif
  24488. -int
  24489. -main ()
  24490. -{
  24491. -return $ac_func ();
  24492. - ;
  24493. - return 0;
  24494. -}
  24495. +"
  24496. +if test "x$ac_cv_header_netinet_ip_h" = x""yes; then :
  24497. + cat >>confdefs.h <<_ACEOF
  24498. +#define HAVE_NETINET_IP_H 1
  24499. _ACEOF
  24500. -rm -f conftest.$ac_objext conftest$ac_exeext
  24501. -if { (ac_try="$ac_link"
  24502. -case "(($ac_try" in
  24503. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  24504. - *) ac_try_echo=$ac_try;;
  24505. -esac
  24506. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  24507. - (eval "$ac_link") 2>conftest.er1
  24508. - ac_status=$?
  24509. - grep -v '^ *+' conftest.er1 >conftest.err
  24510. - rm -f conftest.er1
  24511. - cat conftest.err >&5
  24512. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24513. - (exit $ac_status); } && {
  24514. - test -z "$ac_c_werror_flag" ||
  24515. - test ! -s conftest.err
  24516. - } && test -s conftest$ac_exeext &&
  24517. - $as_test_x conftest$ac_exeext; then
  24518. - eval "$as_ac_var=yes"
  24519. -else
  24520. - echo "$as_me: failed program was:" >&5
  24521. -sed 's/^/| /' conftest.$ac_ext >&5
  24522. - eval "$as_ac_var=no"
  24523. fi
  24524. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  24525. - conftest$ac_exeext conftest.$ac_ext
  24526. -fi
  24527. -ac_res=`eval echo '${'$as_ac_var'}'`
  24528. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  24529. -echo "${ECHO_T}$ac_res" >&6; }
  24530. -if test `eval echo '${'$as_ac_var'}'` = yes; then
  24531. +done
  24532. +
  24533. +for ac_header in termios.h strings.h getopt.h netdb.h
  24534. +do :
  24535. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  24536. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  24537. +eval as_val=\$$as_ac_Header
  24538. + if test "x$as_val" = x""yes; then :
  24539. cat >>confdefs.h <<_ACEOF
  24540. -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  24541. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  24542. _ACEOF
  24543. fi
  24544. +
  24545. done
  24546. -{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  24547. -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
  24548. -if test "${ac_cv_header_time+set}" = set; then
  24549. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24550. -else
  24551. - cat >conftest.$ac_ext <<_ACEOF
  24552. -/* confdefs.h. */
  24553. +for ac_func in round
  24554. +do :
  24555. + ac_fn_c_check_func "$LINENO" "round" "ac_cv_func_round"
  24556. +if test "x$ac_cv_func_round" = x""yes; then :
  24557. + cat >>confdefs.h <<_ACEOF
  24558. +#define HAVE_ROUND 1
  24559. _ACEOF
  24560. -cat confdefs.h >>conftest.$ac_ext
  24561. -cat >>conftest.$ac_ext <<_ACEOF
  24562. -/* end confdefs.h. */
  24563. -#include <sys/types.h>
  24564. -#include <sys/time.h>
  24565. -#include <time.h>
  24566. + roundf
  24567. +fi
  24568. +done
  24569. -int
  24570. -main ()
  24571. -{
  24572. -if ((struct tm *) 0)
  24573. -return 0;
  24574. - ;
  24575. - return 0;
  24576. -}
  24577. +for ac_func in strlcpy
  24578. +do :
  24579. + ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
  24580. +if test "x$ac_cv_func_strlcpy" = x""yes; then :
  24581. + cat >>confdefs.h <<_ACEOF
  24582. +#define HAVE_STRLCPY 1
  24583. _ACEOF
  24584. -rm -f conftest.$ac_objext
  24585. -if { (ac_try="$ac_compile"
  24586. -case "(($ac_try" in
  24587. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  24588. - *) ac_try_echo=$ac_try;;
  24589. -esac
  24590. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  24591. - (eval "$ac_compile") 2>conftest.er1
  24592. - ac_status=$?
  24593. - grep -v '^ *+' conftest.er1 >conftest.err
  24594. - rm -f conftest.er1
  24595. - cat conftest.err >&5
  24596. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24597. - (exit $ac_status); } && {
  24598. - test -z "$ac_c_werror_flag" ||
  24599. - test ! -s conftest.err
  24600. - } && test -s conftest.$ac_objext; then
  24601. - ac_cv_header_time=yes
  24602. -else
  24603. - echo "$as_me: failed program was:" >&5
  24604. -sed 's/^/| /' conftest.$ac_ext >&5
  24605. - ac_cv_header_time=no
  24606. fi
  24607. +done
  24608. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24609. -fi
  24610. -{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  24611. -echo "${ECHO_T}$ac_cv_header_time" >&6; }
  24612. -if test $ac_cv_header_time = yes; then
  24613. -
  24614. -cat >>confdefs.h <<\_ACEOF
  24615. -#define TIME_WITH_SYS_TIME 1
  24616. +for ac_func in strlcat
  24617. +do :
  24618. + ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
  24619. +if test "x$ac_cv_func_strlcat" = x""yes; then :
  24620. + cat >>confdefs.h <<_ACEOF
  24621. +#define HAVE_STRLCAT 1
  24622. _ACEOF
  24623. fi
  24624. +done
  24625. -{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
  24626. -echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
  24627. -if test "${ac_cv_struct_tm+set}" = set; then
  24628. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24629. -else
  24630. - cat >conftest.$ac_ext <<_ACEOF
  24631. -/* confdefs.h. */
  24632. -_ACEOF
  24633. -cat confdefs.h >>conftest.$ac_ext
  24634. -cat >>conftest.$ac_ext <<_ACEOF
  24635. -/* end confdefs.h. */
  24636. -#include <sys/types.h>
  24637. -#include <time.h>
  24638. -
  24639. -int
  24640. -main ()
  24641. -{
  24642. -struct tm tm;
  24643. - int *p = &tm.tm_sec;
  24644. - return !p;
  24645. - ;
  24646. - return 0;
  24647. -}
  24648. +for ac_func in strtonum
  24649. +do :
  24650. + ac_fn_c_check_func "$LINENO" "strtonum" "ac_cv_func_strtonum"
  24651. +if test "x$ac_cv_func_strtonum" = x""yes; then :
  24652. + cat >>confdefs.h <<_ACEOF
  24653. +#define HAVE_STRTONUM 1
  24654. _ACEOF
  24655. -rm -f conftest.$ac_objext
  24656. -if { (ac_try="$ac_compile"
  24657. -case "(($ac_try" in
  24658. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  24659. - *) ac_try_echo=$ac_try;;
  24660. -esac
  24661. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  24662. - (eval "$ac_compile") 2>conftest.er1
  24663. - ac_status=$?
  24664. - grep -v '^ *+' conftest.er1 >conftest.err
  24665. - rm -f conftest.er1
  24666. - cat conftest.err >&5
  24667. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24668. - (exit $ac_status); } && {
  24669. - test -z "$ac_c_werror_flag" ||
  24670. - test ! -s conftest.err
  24671. - } && test -s conftest.$ac_objext; then
  24672. - ac_cv_struct_tm=time.h
  24673. -else
  24674. - echo "$as_me: failed program was:" >&5
  24675. -sed 's/^/| /' conftest.$ac_ext >&5
  24676. -
  24677. - ac_cv_struct_tm=sys/time.h
  24678. -fi
  24679. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24680. fi
  24681. -{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
  24682. -echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
  24683. -if test $ac_cv_struct_tm = sys/time.h; then
  24684. +done
  24685. -cat >>confdefs.h <<\_ACEOF
  24686. -#define TM_IN_SYS_TIME 1
  24687. +for ac_func in setlocale
  24688. +do :
  24689. + ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
  24690. +if test "x$ac_cv_func_setlocale" = x""yes; then :
  24691. + cat >>confdefs.h <<_ACEOF
  24692. +#define HAVE_SETLOCALE 1
  24693. _ACEOF
  24694. fi
  24695. +done
  24696. -{ echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
  24697. -echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
  24698. -if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
  24699. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24700. -else
  24701. - cat >conftest.$ac_ext <<_ACEOF
  24702. -/* confdefs.h. */
  24703. +for ac_func in vsnprintf
  24704. +do :
  24705. + ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
  24706. +if test "x$ac_cv_func_vsnprintf" = x""yes; then :
  24707. + cat >>confdefs.h <<_ACEOF
  24708. +#define HAVE_VSNPRINTF 1
  24709. _ACEOF
  24710. -cat confdefs.h >>conftest.$ac_ext
  24711. -cat >>conftest.$ac_ext <<_ACEOF
  24712. -/* end confdefs.h. */
  24713. -#include <sys/types.h>
  24714. -#include <$ac_cv_struct_tm>
  24715. +fi
  24716. +done
  24717. -int
  24718. -main ()
  24719. -{
  24720. -static struct tm ac_aggr;
  24721. -if (ac_aggr.tm_zone)
  24722. -return 0;
  24723. - ;
  24724. - return 0;
  24725. -}
  24726. -_ACEOF
  24727. -rm -f conftest.$ac_objext
  24728. -if { (ac_try="$ac_compile"
  24729. -case "(($ac_try" in
  24730. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  24731. - *) ac_try_echo=$ac_try;;
  24732. -esac
  24733. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  24734. - (eval "$ac_compile") 2>conftest.er1
  24735. - ac_status=$?
  24736. - grep -v '^ *+' conftest.er1 >conftest.err
  24737. - rm -f conftest.er1
  24738. - cat conftest.err >&5
  24739. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24740. - (exit $ac_status); } && {
  24741. - test -z "$ac_c_werror_flag" ||
  24742. - test ! -s conftest.err
  24743. - } && test -s conftest.$ac_objext; then
  24744. - ac_cv_member_struct_tm_tm_zone=yes
  24745. -else
  24746. - echo "$as_me: failed program was:" >&5
  24747. -sed 's/^/| /' conftest.$ac_ext >&5
  24748. - cat >conftest.$ac_ext <<_ACEOF
  24749. -/* confdefs.h. */
  24750. -_ACEOF
  24751. -cat confdefs.h >>conftest.$ac_ext
  24752. -cat >>conftest.$ac_ext <<_ACEOF
  24753. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
  24754. +$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
  24755. +if test "${ac_cv_header_time+set}" = set; then :
  24756. + $as_echo_n "(cached) " >&6
  24757. +else
  24758. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24759. /* end confdefs.h. */
  24760. #include <sys/types.h>
  24761. -#include <$ac_cv_struct_tm>
  24762. -
  24763. +#include <sys/time.h>
  24764. +#include <time.h>
  24765. int
  24766. main ()
  24767. {
  24768. -static struct tm ac_aggr;
  24769. -if (sizeof ac_aggr.tm_zone)
  24770. +if ((struct tm *) 0)
  24771. return 0;
  24772. ;
  24773. return 0;
  24774. }
  24775. _ACEOF
  24776. -rm -f conftest.$ac_objext
  24777. -if { (ac_try="$ac_compile"
  24778. -case "(($ac_try" in
  24779. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  24780. - *) ac_try_echo=$ac_try;;
  24781. -esac
  24782. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  24783. - (eval "$ac_compile") 2>conftest.er1
  24784. - ac_status=$?
  24785. - grep -v '^ *+' conftest.er1 >conftest.err
  24786. - rm -f conftest.er1
  24787. - cat conftest.err >&5
  24788. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24789. - (exit $ac_status); } && {
  24790. - test -z "$ac_c_werror_flag" ||
  24791. - test ! -s conftest.err
  24792. - } && test -s conftest.$ac_objext; then
  24793. - ac_cv_member_struct_tm_tm_zone=yes
  24794. +if ac_fn_c_try_compile "$LINENO"; then :
  24795. + ac_cv_header_time=yes
  24796. else
  24797. - echo "$as_me: failed program was:" >&5
  24798. -sed 's/^/| /' conftest.$ac_ext >&5
  24799. -
  24800. - ac_cv_member_struct_tm_tm_zone=no
  24801. -fi
  24802. -
  24803. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24804. + ac_cv_header_time=no
  24805. fi
  24806. -
  24807. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24808. fi
  24809. -{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
  24810. -echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
  24811. -if test $ac_cv_member_struct_tm_tm_zone = yes; then
  24812. -
  24813. -cat >>confdefs.h <<_ACEOF
  24814. -#define HAVE_STRUCT_TM_TM_ZONE 1
  24815. -_ACEOF
  24816. -
  24817. -
  24818. -fi
  24819. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
  24820. +$as_echo "$ac_cv_header_time" >&6; }
  24821. +if test $ac_cv_header_time = yes; then
  24822. -if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
  24823. +$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
  24824. -cat >>confdefs.h <<\_ACEOF
  24825. -#define HAVE_TM_ZONE 1
  24826. -_ACEOF
  24827. +fi
  24828. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
  24829. +$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
  24830. +if test "${ac_cv_struct_tm+set}" = set; then :
  24831. + $as_echo_n "(cached) " >&6
  24832. else
  24833. - { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
  24834. -echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
  24835. -if test "${ac_cv_have_decl_tzname+set}" = set; then
  24836. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24837. -else
  24838. - cat >conftest.$ac_ext <<_ACEOF
  24839. -/* confdefs.h. */
  24840. -_ACEOF
  24841. -cat confdefs.h >>conftest.$ac_ext
  24842. -cat >>conftest.$ac_ext <<_ACEOF
  24843. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24844. /* end confdefs.h. */
  24845. +#include <sys/types.h>
  24846. #include <time.h>
  24847. int
  24848. main ()
  24849. {
  24850. -#ifndef tzname
  24851. - (void) tzname;
  24852. -#endif
  24853. -
  24854. +struct tm tm;
  24855. + int *p = &tm.tm_sec;
  24856. + return !p;
  24857. ;
  24858. return 0;
  24859. }
  24860. _ACEOF
  24861. -rm -f conftest.$ac_objext
  24862. -if { (ac_try="$ac_compile"
  24863. -case "(($ac_try" in
  24864. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  24865. - *) ac_try_echo=$ac_try;;
  24866. -esac
  24867. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  24868. - (eval "$ac_compile") 2>conftest.er1
  24869. - ac_status=$?
  24870. - grep -v '^ *+' conftest.er1 >conftest.err
  24871. - rm -f conftest.er1
  24872. - cat conftest.err >&5
  24873. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24874. - (exit $ac_status); } && {
  24875. - test -z "$ac_c_werror_flag" ||
  24876. - test ! -s conftest.err
  24877. - } && test -s conftest.$ac_objext; then
  24878. - ac_cv_have_decl_tzname=yes
  24879. +if ac_fn_c_try_compile "$LINENO"; then :
  24880. + ac_cv_struct_tm=time.h
  24881. else
  24882. - echo "$as_me: failed program was:" >&5
  24883. -sed 's/^/| /' conftest.$ac_ext >&5
  24884. -
  24885. - ac_cv_have_decl_tzname=no
  24886. + ac_cv_struct_tm=sys/time.h
  24887. fi
  24888. -
  24889. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24890. fi
  24891. -{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
  24892. -echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
  24893. -if test $ac_cv_have_decl_tzname = yes; then
  24894. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
  24895. +$as_echo "$ac_cv_struct_tm" >&6; }
  24896. +if test $ac_cv_struct_tm = sys/time.h; then
  24897. -cat >>confdefs.h <<_ACEOF
  24898. -#define HAVE_DECL_TZNAME 1
  24899. -_ACEOF
  24900. +$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
  24901. +fi
  24902. -else
  24903. - cat >>confdefs.h <<_ACEOF
  24904. -#define HAVE_DECL_TZNAME 0
  24905. +ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
  24906. +#include <$ac_cv_struct_tm>
  24907. +
  24908. +"
  24909. +if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then :
  24910. +
  24911. +cat >>confdefs.h <<_ACEOF
  24912. +#define HAVE_STRUCT_TM_TM_ZONE 1
  24913. _ACEOF
  24914. fi
  24915. +if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
  24916. +
  24917. +$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
  24918. - { echo "$as_me:$LINENO: checking for tzname" >&5
  24919. -echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
  24920. -if test "${ac_cv_var_tzname+set}" = set; then
  24921. - echo $ECHO_N "(cached) $ECHO_C" >&6
  24922. else
  24923. - cat >conftest.$ac_ext <<_ACEOF
  24924. -/* confdefs.h. */
  24925. + ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
  24926. +"
  24927. +if test "x$ac_cv_have_decl_tzname" = x""yes; then :
  24928. + ac_have_decl=1
  24929. +else
  24930. + ac_have_decl=0
  24931. +fi
  24932. +
  24933. +cat >>confdefs.h <<_ACEOF
  24934. +#define HAVE_DECL_TZNAME $ac_have_decl
  24935. _ACEOF
  24936. -cat confdefs.h >>conftest.$ac_ext
  24937. -cat >>conftest.$ac_ext <<_ACEOF
  24938. +
  24939. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
  24940. +$as_echo_n "checking for tzname... " >&6; }
  24941. +if test "${ac_cv_var_tzname+set}" = set; then :
  24942. + $as_echo_n "(cached) " >&6
  24943. +else
  24944. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24945. /* end confdefs.h. */
  24946. #include <time.h>
  24947. #if !HAVE_DECL_TZNAME
  24948. @@ -20746,57 +15882,30 @@
  24949. return 0;
  24950. }
  24951. _ACEOF
  24952. -rm -f conftest.$ac_objext conftest$ac_exeext
  24953. -if { (ac_try="$ac_link"
  24954. -case "(($ac_try" in
  24955. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  24956. - *) ac_try_echo=$ac_try;;
  24957. -esac
  24958. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  24959. - (eval "$ac_link") 2>conftest.er1
  24960. - ac_status=$?
  24961. - grep -v '^ *+' conftest.er1 >conftest.err
  24962. - rm -f conftest.er1
  24963. - cat conftest.err >&5
  24964. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  24965. - (exit $ac_status); } && {
  24966. - test -z "$ac_c_werror_flag" ||
  24967. - test ! -s conftest.err
  24968. - } && test -s conftest$ac_exeext &&
  24969. - $as_test_x conftest$ac_exeext; then
  24970. +if ac_fn_c_try_link "$LINENO"; then :
  24971. ac_cv_var_tzname=yes
  24972. else
  24973. - echo "$as_me: failed program was:" >&5
  24974. -sed 's/^/| /' conftest.$ac_ext >&5
  24975. -
  24976. - ac_cv_var_tzname=no
  24977. + ac_cv_var_tzname=no
  24978. fi
  24979. -
  24980. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  24981. - conftest$ac_exeext conftest.$ac_ext
  24982. +rm -f core conftest.err conftest.$ac_objext \
  24983. + conftest$ac_exeext conftest.$ac_ext
  24984. fi
  24985. -{ echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
  24986. -echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
  24987. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
  24988. +$as_echo "$ac_cv_var_tzname" >&6; }
  24989. if test $ac_cv_var_tzname = yes; then
  24990. -cat >>confdefs.h <<\_ACEOF
  24991. -#define HAVE_TZNAME 1
  24992. -_ACEOF
  24993. +$as_echo "#define HAVE_TZNAME 1" >>confdefs.h
  24994. fi
  24995. fi
  24996. -{ echo "$as_me:$LINENO: checking for timezone variable" >&5
  24997. -echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
  24998. -if test "${ac_cv_var_timezone+set}" = set; then
  24999. - echo $ECHO_N "(cached) $ECHO_C" >&6
  25000. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
  25001. +$as_echo_n "checking for timezone variable... " >&6; }
  25002. +if test "${ac_cv_var_timezone+set}" = set; then :
  25003. + $as_echo_n "(cached) " >&6
  25004. else
  25005. - cat >conftest.$ac_ext <<_ACEOF
  25006. -/* confdefs.h. */
  25007. -_ACEOF
  25008. -cat confdefs.h >>conftest.$ac_ext
  25009. -cat >>conftest.$ac_ext <<_ACEOF
  25010. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25011. /* end confdefs.h. */
  25012. #include <time.h>
  25013. @@ -20811,52 +15920,26 @@
  25014. return 0;
  25015. }
  25016. _ACEOF
  25017. -rm -f conftest.$ac_objext
  25018. -if { (ac_try="$ac_compile"
  25019. -case "(($ac_try" in
  25020. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25021. - *) ac_try_echo=$ac_try;;
  25022. -esac
  25023. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  25024. - (eval "$ac_compile") 2>conftest.er1
  25025. - ac_status=$?
  25026. - grep -v '^ *+' conftest.er1 >conftest.err
  25027. - rm -f conftest.er1
  25028. - cat conftest.err >&5
  25029. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25030. - (exit $ac_status); } && {
  25031. - test -z "$ac_c_werror_flag" ||
  25032. - test ! -s conftest.err
  25033. - } && test -s conftest.$ac_objext; then
  25034. +if ac_fn_c_try_compile "$LINENO"; then :
  25035. ac_cv_var_timezone=yes
  25036. else
  25037. - echo "$as_me: failed program was:" >&5
  25038. -sed 's/^/| /' conftest.$ac_ext >&5
  25039. -
  25040. - ac_cv_var_timezone=no
  25041. + ac_cv_var_timezone=no
  25042. fi
  25043. -
  25044. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25045. fi
  25046. -{ echo "$as_me:$LINENO: result: $ac_cv_var_timezone" >&5
  25047. -echo "${ECHO_T}$ac_cv_var_timezone" >&6; }
  25048. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_timezone" >&5
  25049. +$as_echo "$ac_cv_var_timezone" >&6; }
  25050. if test $ac_cv_var_timezone = yes; then
  25051. -cat >>confdefs.h <<\_ACEOF
  25052. -#define HAVE_TIMEZONE
  25053. -_ACEOF
  25054. +$as_echo "#define HAVE_TIMEZONE /**/" >>confdefs.h
  25055. else
  25056. - { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
  25057. -echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
  25058. -if test "${ac_cv_struct_tm_gmtoff+set}" = set; then
  25059. - echo $ECHO_N "(cached) $ECHO_C" >&6
  25060. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
  25061. +$as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
  25062. +if test "${ac_cv_struct_tm_gmtoff+set}" = set; then :
  25063. + $as_echo_n "(cached) " >&6
  25064. else
  25065. - cat >conftest.$ac_ext <<_ACEOF
  25066. -/* confdefs.h. */
  25067. -_ACEOF
  25068. -cat confdefs.h >>conftest.$ac_ext
  25069. -cat >>conftest.$ac_ext <<_ACEOF
  25070. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25071. /* end confdefs.h. */
  25072. #include <time.h>
  25073. @@ -20872,58 +15955,30 @@
  25074. return 0;
  25075. }
  25076. _ACEOF
  25077. -rm -f conftest.$ac_objext
  25078. -if { (ac_try="$ac_compile"
  25079. -case "(($ac_try" in
  25080. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25081. - *) ac_try_echo=$ac_try;;
  25082. -esac
  25083. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  25084. - (eval "$ac_compile") 2>conftest.er1
  25085. - ac_status=$?
  25086. - grep -v '^ *+' conftest.er1 >conftest.err
  25087. - rm -f conftest.er1
  25088. - cat conftest.err >&5
  25089. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25090. - (exit $ac_status); } && {
  25091. - test -z "$ac_c_werror_flag" ||
  25092. - test ! -s conftest.err
  25093. - } && test -s conftest.$ac_objext; then
  25094. +if ac_fn_c_try_compile "$LINENO"; then :
  25095. ac_cv_struct_tm_gmtoff=yes
  25096. else
  25097. - echo "$as_me: failed program was:" >&5
  25098. -sed 's/^/| /' conftest.$ac_ext >&5
  25099. -
  25100. - ac_cv_struct_tm_gmtoff=no
  25101. + ac_cv_struct_tm_gmtoff=no
  25102. fi
  25103. -
  25104. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25105. fi
  25106. -{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm_gmtoff" >&5
  25107. -echo "${ECHO_T}$ac_cv_struct_tm_gmtoff" >&6; }
  25108. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_gmtoff" >&5
  25109. +$as_echo "$ac_cv_struct_tm_gmtoff" >&6; }
  25110. if test $ac_cv_struct_tm_gmtoff = yes; then
  25111. -cat >>confdefs.h <<\_ACEOF
  25112. -#define HAVE_TM_GMTOFF
  25113. -_ACEOF
  25114. +$as_echo "#define HAVE_TM_GMTOFF /**/" >>confdefs.h
  25115. else
  25116. - { { echo "$as_me:$LINENO: error: unable to find a way to determine timezone" >&5
  25117. -echo "$as_me: error: unable to find a way to determine timezone" >&2;}
  25118. - { (exit 1); exit 1; }; }
  25119. + as_fn_error "unable to find a way to determine timezone" "$LINENO" 5
  25120. fi
  25121. fi
  25122. -{ echo "$as_me:$LINENO: checking for daylight external" >&5
  25123. -echo $ECHO_N "checking for daylight external... $ECHO_C" >&6; }
  25124. -if test "${mb_cv_var_daylight+set}" = set; then
  25125. - echo $ECHO_N "(cached) $ECHO_C" >&6
  25126. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight external" >&5
  25127. +$as_echo_n "checking for daylight external... " >&6; }
  25128. +if test "${mb_cv_var_daylight+set}" = set; then :
  25129. + $as_echo_n "(cached) " >&6
  25130. else
  25131. - cat >conftest.$ac_ext <<_ACEOF
  25132. -/* confdefs.h. */
  25133. -_ACEOF
  25134. -cat confdefs.h >>conftest.$ac_ext
  25135. -cat >>conftest.$ac_ext <<_ACEOF
  25136. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25137. /* end confdefs.h. */
  25138. #include <time.h>
  25139. int
  25140. @@ -20934,58 +15989,31 @@
  25141. return 0;
  25142. }
  25143. _ACEOF
  25144. -rm -f conftest.$ac_objext conftest$ac_exeext
  25145. -if { (ac_try="$ac_link"
  25146. -case "(($ac_try" in
  25147. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25148. - *) ac_try_echo=$ac_try;;
  25149. -esac
  25150. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  25151. - (eval "$ac_link") 2>conftest.er1
  25152. - ac_status=$?
  25153. - grep -v '^ *+' conftest.er1 >conftest.err
  25154. - rm -f conftest.er1
  25155. - cat conftest.err >&5
  25156. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25157. - (exit $ac_status); } && {
  25158. - test -z "$ac_c_werror_flag" ||
  25159. - test ! -s conftest.err
  25160. - } && test -s conftest$ac_exeext &&
  25161. - $as_test_x conftest$ac_exeext; then
  25162. +if ac_fn_c_try_link "$LINENO"; then :
  25163. mb_cv_var_daylight=yes
  25164. else
  25165. - echo "$as_me: failed program was:" >&5
  25166. -sed 's/^/| /' conftest.$ac_ext >&5
  25167. -
  25168. - mb_cv_var_daylight=no
  25169. + mb_cv_var_daylight=no
  25170. fi
  25171. -
  25172. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  25173. - conftest$ac_exeext conftest.$ac_ext
  25174. +rm -f core conftest.err conftest.$ac_objext \
  25175. + conftest$ac_exeext conftest.$ac_ext
  25176. fi
  25177. -{ echo "$as_me:$LINENO: result: $mb_cv_var_daylight" >&5
  25178. -echo "${ECHO_T}$mb_cv_var_daylight" >&6; }
  25179. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mb_cv_var_daylight" >&5
  25180. +$as_echo "$mb_cv_var_daylight" >&6; }
  25181. if test $mb_cv_var_daylight = yes; then
  25182. -cat >>confdefs.h <<\_ACEOF
  25183. -#define HAVE_DAYLIGHT 1
  25184. -_ACEOF
  25185. +$as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
  25186. fi
  25187. -{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
  25188. -echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
  25189. -if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
  25190. - echo $ECHO_N "(cached) $ECHO_C" >&6
  25191. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
  25192. +$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
  25193. +if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
  25194. + $as_echo_n "(cached) " >&6
  25195. else
  25196. ac_check_lib_save_LIBS=$LIBS
  25197. LIBS="-lnsl $LIBS"
  25198. -cat >conftest.$ac_ext <<_ACEOF
  25199. -/* confdefs.h. */
  25200. -_ACEOF
  25201. -cat confdefs.h >>conftest.$ac_ext
  25202. -cat >>conftest.$ac_ext <<_ACEOF
  25203. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25204. /* end confdefs.h. */
  25205. /* Override any GCC internal prototype to avoid an error.
  25206. @@ -21003,55 +16031,30 @@
  25207. return 0;
  25208. }
  25209. _ACEOF
  25210. -rm -f conftest.$ac_objext conftest$ac_exeext
  25211. -if { (ac_try="$ac_link"
  25212. -case "(($ac_try" in
  25213. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25214. - *) ac_try_echo=$ac_try;;
  25215. -esac
  25216. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  25217. - (eval "$ac_link") 2>conftest.er1
  25218. - ac_status=$?
  25219. - grep -v '^ *+' conftest.er1 >conftest.err
  25220. - rm -f conftest.er1
  25221. - cat conftest.err >&5
  25222. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25223. - (exit $ac_status); } && {
  25224. - test -z "$ac_c_werror_flag" ||
  25225. - test ! -s conftest.err
  25226. - } && test -s conftest$ac_exeext &&
  25227. - $as_test_x conftest$ac_exeext; then
  25228. +if ac_fn_c_try_link "$LINENO"; then :
  25229. ac_cv_lib_nsl_gethostbyname=yes
  25230. else
  25231. - echo "$as_me: failed program was:" >&5
  25232. -sed 's/^/| /' conftest.$ac_ext >&5
  25233. -
  25234. - ac_cv_lib_nsl_gethostbyname=no
  25235. + ac_cv_lib_nsl_gethostbyname=no
  25236. fi
  25237. -
  25238. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  25239. - conftest$ac_exeext conftest.$ac_ext
  25240. +rm -f core conftest.err conftest.$ac_objext \
  25241. + conftest$ac_exeext conftest.$ac_ext
  25242. LIBS=$ac_check_lib_save_LIBS
  25243. fi
  25244. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
  25245. -echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
  25246. -if test $ac_cv_lib_nsl_gethostbyname = yes; then
  25247. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
  25248. +$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
  25249. +if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
  25250. LIBNSL="-lnsl"
  25251. fi
  25252. -{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
  25253. -echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
  25254. -if test "${ac_cv_lib_socket_socket+set}" = set; then
  25255. - echo $ECHO_N "(cached) $ECHO_C" >&6
  25256. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
  25257. +$as_echo_n "checking for socket in -lsocket... " >&6; }
  25258. +if test "${ac_cv_lib_socket_socket+set}" = set; then :
  25259. + $as_echo_n "(cached) " >&6
  25260. else
  25261. ac_check_lib_save_LIBS=$LIBS
  25262. LIBS="-lsocket $LIBS"
  25263. -cat >conftest.$ac_ext <<_ACEOF
  25264. -/* confdefs.h. */
  25265. -_ACEOF
  25266. -cat confdefs.h >>conftest.$ac_ext
  25267. -cat >>conftest.$ac_ext <<_ACEOF
  25268. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25269. /* end confdefs.h. */
  25270. /* Override any GCC internal prototype to avoid an error.
  25271. @@ -21069,55 +16072,30 @@
  25272. return 0;
  25273. }
  25274. _ACEOF
  25275. -rm -f conftest.$ac_objext conftest$ac_exeext
  25276. -if { (ac_try="$ac_link"
  25277. -case "(($ac_try" in
  25278. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25279. - *) ac_try_echo=$ac_try;;
  25280. -esac
  25281. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  25282. - (eval "$ac_link") 2>conftest.er1
  25283. - ac_status=$?
  25284. - grep -v '^ *+' conftest.er1 >conftest.err
  25285. - rm -f conftest.er1
  25286. - cat conftest.err >&5
  25287. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25288. - (exit $ac_status); } && {
  25289. - test -z "$ac_c_werror_flag" ||
  25290. - test ! -s conftest.err
  25291. - } && test -s conftest$ac_exeext &&
  25292. - $as_test_x conftest$ac_exeext; then
  25293. +if ac_fn_c_try_link "$LINENO"; then :
  25294. ac_cv_lib_socket_socket=yes
  25295. else
  25296. - echo "$as_me: failed program was:" >&5
  25297. -sed 's/^/| /' conftest.$ac_ext >&5
  25298. -
  25299. - ac_cv_lib_socket_socket=no
  25300. + ac_cv_lib_socket_socket=no
  25301. fi
  25302. -
  25303. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  25304. - conftest$ac_exeext conftest.$ac_ext
  25305. +rm -f core conftest.err conftest.$ac_objext \
  25306. + conftest$ac_exeext conftest.$ac_ext
  25307. LIBS=$ac_check_lib_save_LIBS
  25308. fi
  25309. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
  25310. -echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
  25311. -if test $ac_cv_lib_socket_socket = yes; then
  25312. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
  25313. +$as_echo "$ac_cv_lib_socket_socket" >&6; }
  25314. +if test "x$ac_cv_lib_socket_socket" = x""yes; then :
  25315. LIBSOCKET="-lsocket"
  25316. fi
  25317. -{ echo "$as_me:$LINENO: checking for rint in -lm" >&5
  25318. -echo $ECHO_N "checking for rint in -lm... $ECHO_C" >&6; }
  25319. -if test "${ac_cv_lib_m_rint+set}" = set; then
  25320. - echo $ECHO_N "(cached) $ECHO_C" >&6
  25321. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rint in -lm" >&5
  25322. +$as_echo_n "checking for rint in -lm... " >&6; }
  25323. +if test "${ac_cv_lib_m_rint+set}" = set; then :
  25324. + $as_echo_n "(cached) " >&6
  25325. else
  25326. ac_check_lib_save_LIBS=$LIBS
  25327. LIBS="-lm $LIBS"
  25328. -cat >conftest.$ac_ext <<_ACEOF
  25329. -/* confdefs.h. */
  25330. -_ACEOF
  25331. -cat confdefs.h >>conftest.$ac_ext
  25332. -cat >>conftest.$ac_ext <<_ACEOF
  25333. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25334. /* end confdefs.h. */
  25335. /* Override any GCC internal prototype to avoid an error.
  25336. @@ -21135,55 +16113,30 @@
  25337. return 0;
  25338. }
  25339. _ACEOF
  25340. -rm -f conftest.$ac_objext conftest$ac_exeext
  25341. -if { (ac_try="$ac_link"
  25342. -case "(($ac_try" in
  25343. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25344. - *) ac_try_echo=$ac_try;;
  25345. -esac
  25346. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  25347. - (eval "$ac_link") 2>conftest.er1
  25348. - ac_status=$?
  25349. - grep -v '^ *+' conftest.er1 >conftest.err
  25350. - rm -f conftest.er1
  25351. - cat conftest.err >&5
  25352. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25353. - (exit $ac_status); } && {
  25354. - test -z "$ac_c_werror_flag" ||
  25355. - test ! -s conftest.err
  25356. - } && test -s conftest$ac_exeext &&
  25357. - $as_test_x conftest$ac_exeext; then
  25358. +if ac_fn_c_try_link "$LINENO"; then :
  25359. ac_cv_lib_m_rint=yes
  25360. else
  25361. - echo "$as_me: failed program was:" >&5
  25362. -sed 's/^/| /' conftest.$ac_ext >&5
  25363. -
  25364. - ac_cv_lib_m_rint=no
  25365. + ac_cv_lib_m_rint=no
  25366. fi
  25367. -
  25368. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  25369. - conftest$ac_exeext conftest.$ac_ext
  25370. +rm -f core conftest.err conftest.$ac_objext \
  25371. + conftest$ac_exeext conftest.$ac_ext
  25372. LIBS=$ac_check_lib_save_LIBS
  25373. fi
  25374. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_rint" >&5
  25375. -echo "${ECHO_T}$ac_cv_lib_m_rint" >&6; }
  25376. -if test $ac_cv_lib_m_rint = yes; then
  25377. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_rint" >&5
  25378. +$as_echo "$ac_cv_lib_m_rint" >&6; }
  25379. +if test "x$ac_cv_lib_m_rint" = x""yes; then :
  25380. LIBM="-lm"
  25381. fi
  25382. -{ echo "$as_me:$LINENO: checking for open in -lc" >&5
  25383. -echo $ECHO_N "checking for open in -lc... $ECHO_C" >&6; }
  25384. -if test "${ac_cv_lib_c_open+set}" = set; then
  25385. - echo $ECHO_N "(cached) $ECHO_C" >&6
  25386. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for open in -lc" >&5
  25387. +$as_echo_n "checking for open in -lc... " >&6; }
  25388. +if test "${ac_cv_lib_c_open+set}" = set; then :
  25389. + $as_echo_n "(cached) " >&6
  25390. else
  25391. ac_check_lib_save_LIBS=$LIBS
  25392. LIBS="-lc $LIBS"
  25393. -cat >conftest.$ac_ext <<_ACEOF
  25394. -/* confdefs.h. */
  25395. -_ACEOF
  25396. -cat confdefs.h >>conftest.$ac_ext
  25397. -cat >>conftest.$ac_ext <<_ACEOF
  25398. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25399. /* end confdefs.h. */
  25400. /* Override any GCC internal prototype to avoid an error.
  25401. @@ -21201,55 +16154,30 @@
  25402. return 0;
  25403. }
  25404. _ACEOF
  25405. -rm -f conftest.$ac_objext conftest$ac_exeext
  25406. -if { (ac_try="$ac_link"
  25407. -case "(($ac_try" in
  25408. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25409. - *) ac_try_echo=$ac_try;;
  25410. -esac
  25411. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  25412. - (eval "$ac_link") 2>conftest.er1
  25413. - ac_status=$?
  25414. - grep -v '^ *+' conftest.er1 >conftest.err
  25415. - rm -f conftest.er1
  25416. - cat conftest.err >&5
  25417. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25418. - (exit $ac_status); } && {
  25419. - test -z "$ac_c_werror_flag" ||
  25420. - test ! -s conftest.err
  25421. - } && test -s conftest$ac_exeext &&
  25422. - $as_test_x conftest$ac_exeext; then
  25423. +if ac_fn_c_try_link "$LINENO"; then :
  25424. ac_cv_lib_c_open=yes
  25425. else
  25426. - echo "$as_me: failed program was:" >&5
  25427. -sed 's/^/| /' conftest.$ac_ext >&5
  25428. -
  25429. - ac_cv_lib_c_open=no
  25430. + ac_cv_lib_c_open=no
  25431. fi
  25432. -
  25433. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  25434. - conftest$ac_exeext conftest.$ac_ext
  25435. +rm -f core conftest.err conftest.$ac_objext \
  25436. + conftest$ac_exeext conftest.$ac_ext
  25437. LIBS=$ac_check_lib_save_LIBS
  25438. fi
  25439. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_open" >&5
  25440. -echo "${ECHO_T}$ac_cv_lib_c_open" >&6; }
  25441. -if test $ac_cv_lib_c_open = yes; then
  25442. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_open" >&5
  25443. +$as_echo "$ac_cv_lib_c_open" >&6; }
  25444. +if test "x$ac_cv_lib_c_open" = x""yes; then :
  25445. LIBC="-lc"
  25446. fi
  25447. -{ echo "$as_me:$LINENO: checking for pthread_setcancelstate in -lpthread" >&5
  25448. -echo $ECHO_N "checking for pthread_setcancelstate in -lpthread... $ECHO_C" >&6; }
  25449. -if test "${ac_cv_lib_pthread_pthread_setcancelstate+set}" = set; then
  25450. - echo $ECHO_N "(cached) $ECHO_C" >&6
  25451. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setcancelstate in -lpthread" >&5
  25452. +$as_echo_n "checking for pthread_setcancelstate in -lpthread... " >&6; }
  25453. +if test "${ac_cv_lib_pthread_pthread_setcancelstate+set}" = set; then :
  25454. + $as_echo_n "(cached) " >&6
  25455. else
  25456. ac_check_lib_save_LIBS=$LIBS
  25457. LIBS="-lpthread $LIBS"
  25458. -cat >conftest.$ac_ext <<_ACEOF
  25459. -/* confdefs.h. */
  25460. -_ACEOF
  25461. -cat confdefs.h >>conftest.$ac_ext
  25462. -cat >>conftest.$ac_ext <<_ACEOF
  25463. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25464. /* end confdefs.h. */
  25465. /* Override any GCC internal prototype to avoid an error.
  25466. @@ -21267,44 +16195,21 @@
  25467. return 0;
  25468. }
  25469. _ACEOF
  25470. -rm -f conftest.$ac_objext conftest$ac_exeext
  25471. -if { (ac_try="$ac_link"
  25472. -case "(($ac_try" in
  25473. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25474. - *) ac_try_echo=$ac_try;;
  25475. -esac
  25476. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  25477. - (eval "$ac_link") 2>conftest.er1
  25478. - ac_status=$?
  25479. - grep -v '^ *+' conftest.er1 >conftest.err
  25480. - rm -f conftest.er1
  25481. - cat conftest.err >&5
  25482. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25483. - (exit $ac_status); } && {
  25484. - test -z "$ac_c_werror_flag" ||
  25485. - test ! -s conftest.err
  25486. - } && test -s conftest$ac_exeext &&
  25487. - $as_test_x conftest$ac_exeext; then
  25488. +if ac_fn_c_try_link "$LINENO"; then :
  25489. ac_cv_lib_pthread_pthread_setcancelstate=yes
  25490. else
  25491. - echo "$as_me: failed program was:" >&5
  25492. -sed 's/^/| /' conftest.$ac_ext >&5
  25493. -
  25494. - ac_cv_lib_pthread_pthread_setcancelstate=no
  25495. + ac_cv_lib_pthread_pthread_setcancelstate=no
  25496. fi
  25497. -
  25498. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  25499. - conftest$ac_exeext conftest.$ac_ext
  25500. +rm -f core conftest.err conftest.$ac_objext \
  25501. + conftest$ac_exeext conftest.$ac_ext
  25502. LIBS=$ac_check_lib_save_LIBS
  25503. fi
  25504. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_setcancelstate" >&5
  25505. -echo "${ECHO_T}$ac_cv_lib_pthread_pthread_setcancelstate" >&6; }
  25506. -if test $ac_cv_lib_pthread_pthread_setcancelstate = yes; then
  25507. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setcancelstate" >&5
  25508. +$as_echo "$ac_cv_lib_pthread_pthread_setcancelstate" >&6; }
  25509. +if test "x$ac_cv_lib_pthread_pthread_setcancelstate" = x""yes; then :
  25510. LIBPTHREAD="-lpthread"
  25511. -cat >>confdefs.h <<\_ACEOF
  25512. -#define HAVE_LIBPTHREAD
  25513. -_ACEOF
  25514. +$as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h
  25515. fi
  25516. @@ -21312,145 +16217,17 @@
  25517. -
  25518. ac_x="no"
  25519. if test x"$with_x" != "xno" -a x"$have_x" != "xdisabled"
  25520. then
  25521. -
  25522. -
  25523. -for ac_header in X11/xpm.h xpm.h
  25524. -do
  25525. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  25526. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  25527. - { echo "$as_me:$LINENO: checking for $ac_header" >&5
  25528. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  25529. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  25530. - echo $ECHO_N "(cached) $ECHO_C" >&6
  25531. -fi
  25532. -ac_res=`eval echo '${'$as_ac_Header'}'`
  25533. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  25534. -echo "${ECHO_T}$ac_res" >&6; }
  25535. -else
  25536. - # Is the header compilable?
  25537. -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  25538. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  25539. -cat >conftest.$ac_ext <<_ACEOF
  25540. -/* confdefs.h. */
  25541. -_ACEOF
  25542. -cat confdefs.h >>conftest.$ac_ext
  25543. -cat >>conftest.$ac_ext <<_ACEOF
  25544. -/* end confdefs.h. */
  25545. -$ac_includes_default
  25546. -#include <$ac_header>
  25547. -_ACEOF
  25548. -rm -f conftest.$ac_objext
  25549. -if { (ac_try="$ac_compile"
  25550. -case "(($ac_try" in
  25551. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25552. - *) ac_try_echo=$ac_try;;
  25553. -esac
  25554. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  25555. - (eval "$ac_compile") 2>conftest.er1
  25556. - ac_status=$?
  25557. - grep -v '^ *+' conftest.er1 >conftest.err
  25558. - rm -f conftest.er1
  25559. - cat conftest.err >&5
  25560. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25561. - (exit $ac_status); } && {
  25562. - test -z "$ac_c_werror_flag" ||
  25563. - test ! -s conftest.err
  25564. - } && test -s conftest.$ac_objext; then
  25565. - ac_header_compiler=yes
  25566. -else
  25567. - echo "$as_me: failed program was:" >&5
  25568. -sed 's/^/| /' conftest.$ac_ext >&5
  25569. -
  25570. - ac_header_compiler=no
  25571. -fi
  25572. -
  25573. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25574. -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  25575. -echo "${ECHO_T}$ac_header_compiler" >&6; }
  25576. -
  25577. -# Is the header present?
  25578. -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  25579. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  25580. -cat >conftest.$ac_ext <<_ACEOF
  25581. -/* confdefs.h. */
  25582. -_ACEOF
  25583. -cat confdefs.h >>conftest.$ac_ext
  25584. -cat >>conftest.$ac_ext <<_ACEOF
  25585. -/* end confdefs.h. */
  25586. -#include <$ac_header>
  25587. -_ACEOF
  25588. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  25589. -case "(($ac_try" in
  25590. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25591. - *) ac_try_echo=$ac_try;;
  25592. -esac
  25593. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  25594. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  25595. - ac_status=$?
  25596. - grep -v '^ *+' conftest.er1 >conftest.err
  25597. - rm -f conftest.er1
  25598. - cat conftest.err >&5
  25599. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25600. - (exit $ac_status); } >/dev/null && {
  25601. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  25602. - test ! -s conftest.err
  25603. - }; then
  25604. - ac_header_preproc=yes
  25605. -else
  25606. - echo "$as_me: failed program was:" >&5
  25607. -sed 's/^/| /' conftest.$ac_ext >&5
  25608. -
  25609. - ac_header_preproc=no
  25610. -fi
  25611. -
  25612. -rm -f conftest.err conftest.$ac_ext
  25613. -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  25614. -echo "${ECHO_T}$ac_header_preproc" >&6; }
  25615. -
  25616. -# So? What about this header?
  25617. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  25618. - yes:no: )
  25619. - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  25620. -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  25621. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  25622. -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  25623. - ac_header_preproc=yes
  25624. - ;;
  25625. - no:yes:* )
  25626. - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  25627. -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  25628. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  25629. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  25630. - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  25631. -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  25632. - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  25633. -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  25634. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  25635. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  25636. - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  25637. -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  25638. -
  25639. - ;;
  25640. -esac
  25641. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  25642. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  25643. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  25644. - echo $ECHO_N "(cached) $ECHO_C" >&6
  25645. -else
  25646. - eval "$as_ac_Header=\$ac_header_preproc"
  25647. -fi
  25648. -ac_res=`eval echo '${'$as_ac_Header'}'`
  25649. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  25650. -echo "${ECHO_T}$ac_res" >&6; }
  25651. -
  25652. -fi
  25653. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  25654. + for ac_header in X11/xpm.h xpm.h
  25655. +do :
  25656. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  25657. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  25658. +eval as_val=\$$as_ac_Header
  25659. + if test "x$as_val" = x""yes; then :
  25660. cat >>confdefs.h <<_ACEOF
  25661. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  25662. +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  25663. _ACEOF
  25664. fi
  25665. @@ -21459,15 +16236,15 @@
  25666. if test x"$ac_cv_header_X11_xpm_h" = "xno" &&
  25667. test x"$ac_cv_header_xpm_h" = "xno"; then
  25668. - { echo "$as_me:$LINENO: WARNING: xpm.h problem - xgps won't be built." >&5
  25669. -echo "$as_me: WARNING: xpm.h problem - xgps won't be built." >&2;}
  25670. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xpm.h problem - xgps won't be built." >&5
  25671. +$as_echo "$as_me: WARNING: xpm.h problem - xgps won't be built." >&2;}
  25672. fi
  25673. - { echo "$as_me:$LINENO: checking for X" >&5
  25674. -echo $ECHO_N "checking for X... $ECHO_C" >&6; }
  25675. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
  25676. +$as_echo_n "checking for X... " >&6; }
  25677. # Check whether --with-x was given.
  25678. -if test "${with_x+set}" = set; then
  25679. +if test "${with_x+set}" = set; then :
  25680. withval=$with_x;
  25681. fi
  25682. @@ -21477,11 +16254,9 @@
  25683. have_x=disabled
  25684. else
  25685. case $x_includes,$x_libraries in #(
  25686. - *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
  25687. -echo "$as_me: error: Cannot use X directory names containing '" >&2;}
  25688. - { (exit 1); exit 1; }; };; #(
  25689. - *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
  25690. - echo $ECHO_N "(cached) $ECHO_C" >&6
  25691. + *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
  25692. + *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
  25693. + $as_echo_n "(cached) " >&6
  25694. else
  25695. # One or both of the vars are not set, and there is no cached value.
  25696. ac_x_includes=no ac_x_libraries=no
  25697. @@ -21502,7 +16277,7 @@
  25698. eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
  25699. done
  25700. # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
  25701. - for ac_extension in a so sl; do
  25702. + for ac_extension in a so sl dylib la dll; do
  25703. if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
  25704. test -f "$ac_im_libdir/libX11.$ac_extension"; then
  25705. ac_im_usrlibdir=$ac_im_libdir; break
  25706. @@ -21516,7 +16291,7 @@
  25707. *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  25708. esac
  25709. case $ac_im_usrlibdir in
  25710. - /usr/lib | /lib) ;;
  25711. + /usr/lib | /usr/lib64 | /lib | /lib64) ;;
  25712. *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
  25713. esac
  25714. fi
  25715. @@ -21528,21 +16303,25 @@
  25716. # Check X11 before X11Rn because it is often a symlink to the current release.
  25717. ac_x_header_dirs='
  25718. /usr/X11/include
  25719. +/usr/X11R7/include
  25720. /usr/X11R6/include
  25721. /usr/X11R5/include
  25722. /usr/X11R4/include
  25723. /usr/include/X11
  25724. +/usr/include/X11R7
  25725. /usr/include/X11R6
  25726. /usr/include/X11R5
  25727. /usr/include/X11R4
  25728. /usr/local/X11/include
  25729. +/usr/local/X11R7/include
  25730. /usr/local/X11R6/include
  25731. /usr/local/X11R5/include
  25732. /usr/local/X11R4/include
  25733. /usr/local/include/X11
  25734. +/usr/local/include/X11R7
  25735. /usr/local/include/X11R6
  25736. /usr/local/include/X11R5
  25737. /usr/local/include/X11R4
  25738. @@ -21564,36 +16343,14 @@
  25739. if test "$ac_x_includes" = no; then
  25740. # Guess where to find include files, by looking for Xlib.h.
  25741. # First, try using that file with no special directory specified.
  25742. - cat >conftest.$ac_ext <<_ACEOF
  25743. -/* confdefs.h. */
  25744. -_ACEOF
  25745. -cat confdefs.h >>conftest.$ac_ext
  25746. -cat >>conftest.$ac_ext <<_ACEOF
  25747. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25748. /* end confdefs.h. */
  25749. #include <X11/Xlib.h>
  25750. _ACEOF
  25751. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  25752. -case "(($ac_try" in
  25753. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25754. - *) ac_try_echo=$ac_try;;
  25755. -esac
  25756. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  25757. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  25758. - ac_status=$?
  25759. - grep -v '^ *+' conftest.er1 >conftest.err
  25760. - rm -f conftest.er1
  25761. - cat conftest.err >&5
  25762. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25763. - (exit $ac_status); } >/dev/null && {
  25764. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  25765. - test ! -s conftest.err
  25766. - }; then
  25767. +if ac_fn_c_try_cpp "$LINENO"; then :
  25768. # We can compile using X headers with no special include directory.
  25769. ac_x_includes=
  25770. else
  25771. - echo "$as_me: failed program was:" >&5
  25772. -sed 's/^/| /' conftest.$ac_ext >&5
  25773. -
  25774. for ac_dir in $ac_x_header_dirs; do
  25775. if test -r "$ac_dir/X11/Xlib.h"; then
  25776. ac_x_includes=$ac_dir
  25777. @@ -21601,7 +16358,6 @@
  25778. fi
  25779. done
  25780. fi
  25781. -
  25782. rm -f conftest.err conftest.$ac_ext
  25783. fi # $ac_x_includes = no
  25784. @@ -21611,11 +16367,7 @@
  25785. # Don't add to $LIBS permanently.
  25786. ac_save_LIBS=$LIBS
  25787. LIBS="-lX11 $LIBS"
  25788. - cat >conftest.$ac_ext <<_ACEOF
  25789. -/* confdefs.h. */
  25790. -_ACEOF
  25791. -cat confdefs.h >>conftest.$ac_ext
  25792. -cat >>conftest.$ac_ext <<_ACEOF
  25793. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25794. /* end confdefs.h. */
  25795. #include <X11/Xlib.h>
  25796. int
  25797. @@ -21626,36 +16378,16 @@
  25798. return 0;
  25799. }
  25800. _ACEOF
  25801. -rm -f conftest.$ac_objext conftest$ac_exeext
  25802. -if { (ac_try="$ac_link"
  25803. -case "(($ac_try" in
  25804. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25805. - *) ac_try_echo=$ac_try;;
  25806. -esac
  25807. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  25808. - (eval "$ac_link") 2>conftest.er1
  25809. - ac_status=$?
  25810. - grep -v '^ *+' conftest.er1 >conftest.err
  25811. - rm -f conftest.er1
  25812. - cat conftest.err >&5
  25813. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25814. - (exit $ac_status); } && {
  25815. - test -z "$ac_c_werror_flag" ||
  25816. - test ! -s conftest.err
  25817. - } && test -s conftest$ac_exeext &&
  25818. - $as_test_x conftest$ac_exeext; then
  25819. +if ac_fn_c_try_link "$LINENO"; then :
  25820. LIBS=$ac_save_LIBS
  25821. # We can link X programs with no special library path.
  25822. ac_x_libraries=
  25823. else
  25824. - echo "$as_me: failed program was:" >&5
  25825. -sed 's/^/| /' conftest.$ac_ext >&5
  25826. -
  25827. - LIBS=$ac_save_LIBS
  25828. -for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  25829. + LIBS=$ac_save_LIBS
  25830. +for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  25831. do
  25832. # Don't even attempt the hair of trying to link an X program!
  25833. - for ac_extension in a so sl; do
  25834. + for ac_extension in a so sl dylib la dll; do
  25835. if test -r "$ac_dir/libX11.$ac_extension"; then
  25836. ac_x_libraries=$ac_dir
  25837. break 2
  25838. @@ -21663,9 +16395,8 @@
  25839. done
  25840. done
  25841. fi
  25842. -
  25843. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  25844. - conftest$ac_exeext conftest.$ac_ext
  25845. +rm -f core conftest.err conftest.$ac_objext \
  25846. + conftest$ac_exeext conftest.$ac_ext
  25847. fi # $ac_x_libraries = no
  25848. case $ac_x_includes,$ac_x_libraries in #(
  25849. @@ -21686,8 +16417,8 @@
  25850. fi # $with_x != no
  25851. if test "$have_x" != yes; then
  25852. - { echo "$as_me:$LINENO: result: $have_x" >&5
  25853. -echo "${ECHO_T}$have_x" >&6; }
  25854. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
  25855. +$as_echo "$have_x" >&6; }
  25856. no_x=yes
  25857. else
  25858. # If each of the values was on the command line, it overrides each guess.
  25859. @@ -21697,16 +16428,14 @@
  25860. ac_cv_have_x="have_x=yes\
  25861. ac_x_includes='$x_includes'\
  25862. ac_x_libraries='$x_libraries'"
  25863. - { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
  25864. -echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
  25865. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
  25866. +$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
  25867. fi
  25868. if test "$no_x" = yes; then
  25869. # Not all programs may use this symbol, but it does not hurt to define it.
  25870. -cat >>confdefs.h <<\_ACEOF
  25871. -#define X_DISPLAY_MISSING 1
  25872. -_ACEOF
  25873. +$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
  25874. X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
  25875. else
  25876. @@ -21719,57 +16448,29 @@
  25877. X_LIBS="$X_LIBS -L$x_libraries"
  25878. # For Solaris; some versions of Sun CC require a space after -R and
  25879. # others require no space. Words are not sufficient . . . .
  25880. - { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
  25881. -echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
  25882. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
  25883. +$as_echo_n "checking whether -R must be followed by a space... " >&6; }
  25884. ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
  25885. ac_xsave_c_werror_flag=$ac_c_werror_flag
  25886. ac_c_werror_flag=yes
  25887. - cat >conftest.$ac_ext <<_ACEOF
  25888. -/* confdefs.h. */
  25889. -_ACEOF
  25890. -cat confdefs.h >>conftest.$ac_ext
  25891. -cat >>conftest.$ac_ext <<_ACEOF
  25892. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25893. /* end confdefs.h. */
  25894. -int
  25895. -main ()
  25896. -{
  25897. -
  25898. - ;
  25899. - return 0;
  25900. -}
  25901. -_ACEOF
  25902. -rm -f conftest.$ac_objext conftest$ac_exeext
  25903. -if { (ac_try="$ac_link"
  25904. -case "(($ac_try" in
  25905. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25906. - *) ac_try_echo=$ac_try;;
  25907. -esac
  25908. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  25909. - (eval "$ac_link") 2>conftest.er1
  25910. - ac_status=$?
  25911. - grep -v '^ *+' conftest.er1 >conftest.err
  25912. - rm -f conftest.er1
  25913. - cat conftest.err >&5
  25914. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25915. - (exit $ac_status); } && {
  25916. - test -z "$ac_c_werror_flag" ||
  25917. - test ! -s conftest.err
  25918. - } && test -s conftest$ac_exeext &&
  25919. - $as_test_x conftest$ac_exeext; then
  25920. - { echo "$as_me:$LINENO: result: no" >&5
  25921. -echo "${ECHO_T}no" >&6; }
  25922. - X_LIBS="$X_LIBS -R$x_libraries"
  25923. -else
  25924. - echo "$as_me: failed program was:" >&5
  25925. -sed 's/^/| /' conftest.$ac_ext >&5
  25926. +int
  25927. +main ()
  25928. +{
  25929. - LIBS="$ac_xsave_LIBS -R $x_libraries"
  25930. - cat >conftest.$ac_ext <<_ACEOF
  25931. -/* confdefs.h. */
  25932. + ;
  25933. + return 0;
  25934. +}
  25935. _ACEOF
  25936. -cat confdefs.h >>conftest.$ac_ext
  25937. -cat >>conftest.$ac_ext <<_ACEOF
  25938. +if ac_fn_c_try_link "$LINENO"; then :
  25939. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  25940. +$as_echo "no" >&6; }
  25941. + X_LIBS="$X_LIBS -R$x_libraries"
  25942. +else
  25943. + LIBS="$ac_xsave_LIBS -R $x_libraries"
  25944. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25945. /* end confdefs.h. */
  25946. int
  25947. @@ -21780,41 +16481,19 @@
  25948. return 0;
  25949. }
  25950. _ACEOF
  25951. -rm -f conftest.$ac_objext conftest$ac_exeext
  25952. -if { (ac_try="$ac_link"
  25953. -case "(($ac_try" in
  25954. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  25955. - *) ac_try_echo=$ac_try;;
  25956. -esac
  25957. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  25958. - (eval "$ac_link") 2>conftest.er1
  25959. - ac_status=$?
  25960. - grep -v '^ *+' conftest.er1 >conftest.err
  25961. - rm -f conftest.er1
  25962. - cat conftest.err >&5
  25963. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  25964. - (exit $ac_status); } && {
  25965. - test -z "$ac_c_werror_flag" ||
  25966. - test ! -s conftest.err
  25967. - } && test -s conftest$ac_exeext &&
  25968. - $as_test_x conftest$ac_exeext; then
  25969. - { echo "$as_me:$LINENO: result: yes" >&5
  25970. -echo "${ECHO_T}yes" >&6; }
  25971. +if ac_fn_c_try_link "$LINENO"; then :
  25972. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  25973. +$as_echo "yes" >&6; }
  25974. X_LIBS="$X_LIBS -R $x_libraries"
  25975. else
  25976. - echo "$as_me: failed program was:" >&5
  25977. -sed 's/^/| /' conftest.$ac_ext >&5
  25978. -
  25979. - { echo "$as_me:$LINENO: result: neither works" >&5
  25980. -echo "${ECHO_T}neither works" >&6; }
  25981. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
  25982. +$as_echo "neither works" >&6; }
  25983. fi
  25984. -
  25985. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  25986. - conftest$ac_exeext conftest.$ac_ext
  25987. +rm -f core conftest.err conftest.$ac_objext \
  25988. + conftest$ac_exeext conftest.$ac_ext
  25989. fi
  25990. -
  25991. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  25992. - conftest$ac_exeext conftest.$ac_ext
  25993. +rm -f core conftest.err conftest.$ac_objext \
  25994. + conftest$ac_exeext conftest.$ac_ext
  25995. ac_c_werror_flag=$ac_xsave_c_werror_flag
  25996. LIBS=$ac_xsave_LIBS
  25997. fi
  25998. @@ -21830,11 +16509,7 @@
  25999. # libraries were built with DECnet support. And Karl Berry says
  26000. # the Alpha needs dnet_stub (dnet does not exist).
  26001. ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
  26002. - cat >conftest.$ac_ext <<_ACEOF
  26003. -/* confdefs.h. */
  26004. -_ACEOF
  26005. -cat confdefs.h >>conftest.$ac_ext
  26006. -cat >>conftest.$ac_ext <<_ACEOF
  26007. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26008. /* end confdefs.h. */
  26009. /* Override any GCC internal prototype to avoid an error.
  26010. @@ -21852,41 +16527,17 @@
  26011. return 0;
  26012. }
  26013. _ACEOF
  26014. -rm -f conftest.$ac_objext conftest$ac_exeext
  26015. -if { (ac_try="$ac_link"
  26016. -case "(($ac_try" in
  26017. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26018. - *) ac_try_echo=$ac_try;;
  26019. -esac
  26020. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26021. - (eval "$ac_link") 2>conftest.er1
  26022. - ac_status=$?
  26023. - grep -v '^ *+' conftest.er1 >conftest.err
  26024. - rm -f conftest.er1
  26025. - cat conftest.err >&5
  26026. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26027. - (exit $ac_status); } && {
  26028. - test -z "$ac_c_werror_flag" ||
  26029. - test ! -s conftest.err
  26030. - } && test -s conftest$ac_exeext &&
  26031. - $as_test_x conftest$ac_exeext; then
  26032. - :
  26033. -else
  26034. - echo "$as_me: failed program was:" >&5
  26035. -sed 's/^/| /' conftest.$ac_ext >&5
  26036. +if ac_fn_c_try_link "$LINENO"; then :
  26037. - { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
  26038. -echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
  26039. -if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
  26040. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26041. +else
  26042. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
  26043. +$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
  26044. +if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
  26045. + $as_echo_n "(cached) " >&6
  26046. else
  26047. ac_check_lib_save_LIBS=$LIBS
  26048. LIBS="-ldnet $LIBS"
  26049. -cat >conftest.$ac_ext <<_ACEOF
  26050. -/* confdefs.h. */
  26051. -_ACEOF
  26052. -cat confdefs.h >>conftest.$ac_ext
  26053. -cat >>conftest.$ac_ext <<_ACEOF
  26054. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26055. /* end confdefs.h. */
  26056. /* Override any GCC internal prototype to avoid an error.
  26057. @@ -21904,55 +16555,30 @@
  26058. return 0;
  26059. }
  26060. _ACEOF
  26061. -rm -f conftest.$ac_objext conftest$ac_exeext
  26062. -if { (ac_try="$ac_link"
  26063. -case "(($ac_try" in
  26064. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26065. - *) ac_try_echo=$ac_try;;
  26066. -esac
  26067. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26068. - (eval "$ac_link") 2>conftest.er1
  26069. - ac_status=$?
  26070. - grep -v '^ *+' conftest.er1 >conftest.err
  26071. - rm -f conftest.er1
  26072. - cat conftest.err >&5
  26073. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26074. - (exit $ac_status); } && {
  26075. - test -z "$ac_c_werror_flag" ||
  26076. - test ! -s conftest.err
  26077. - } && test -s conftest$ac_exeext &&
  26078. - $as_test_x conftest$ac_exeext; then
  26079. +if ac_fn_c_try_link "$LINENO"; then :
  26080. ac_cv_lib_dnet_dnet_ntoa=yes
  26081. else
  26082. - echo "$as_me: failed program was:" >&5
  26083. -sed 's/^/| /' conftest.$ac_ext >&5
  26084. -
  26085. - ac_cv_lib_dnet_dnet_ntoa=no
  26086. + ac_cv_lib_dnet_dnet_ntoa=no
  26087. fi
  26088. -
  26089. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26090. - conftest$ac_exeext conftest.$ac_ext
  26091. +rm -f core conftest.err conftest.$ac_objext \
  26092. + conftest$ac_exeext conftest.$ac_ext
  26093. LIBS=$ac_check_lib_save_LIBS
  26094. fi
  26095. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  26096. -echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
  26097. -if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
  26098. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  26099. +$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
  26100. +if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
  26101. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  26102. fi
  26103. if test $ac_cv_lib_dnet_dnet_ntoa = no; then
  26104. - { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
  26105. -echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
  26106. -if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
  26107. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26108. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
  26109. +$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
  26110. +if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
  26111. + $as_echo_n "(cached) " >&6
  26112. else
  26113. ac_check_lib_save_LIBS=$LIBS
  26114. LIBS="-ldnet_stub $LIBS"
  26115. -cat >conftest.$ac_ext <<_ACEOF
  26116. -/* confdefs.h. */
  26117. -_ACEOF
  26118. -cat confdefs.h >>conftest.$ac_ext
  26119. -cat >>conftest.$ac_ext <<_ACEOF
  26120. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26121. /* end confdefs.h. */
  26122. /* Override any GCC internal prototype to avoid an error.
  26123. @@ -21970,376 +16596,49 @@
  26124. return 0;
  26125. }
  26126. _ACEOF
  26127. -rm -f conftest.$ac_objext conftest$ac_exeext
  26128. -if { (ac_try="$ac_link"
  26129. -case "(($ac_try" in
  26130. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26131. - *) ac_try_echo=$ac_try;;
  26132. -esac
  26133. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26134. - (eval "$ac_link") 2>conftest.er1
  26135. - ac_status=$?
  26136. - grep -v '^ *+' conftest.er1 >conftest.err
  26137. - rm -f conftest.er1
  26138. - cat conftest.err >&5
  26139. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26140. - (exit $ac_status); } && {
  26141. - test -z "$ac_c_werror_flag" ||
  26142. - test ! -s conftest.err
  26143. - } && test -s conftest$ac_exeext &&
  26144. - $as_test_x conftest$ac_exeext; then
  26145. +if ac_fn_c_try_link "$LINENO"; then :
  26146. ac_cv_lib_dnet_stub_dnet_ntoa=yes
  26147. else
  26148. - echo "$as_me: failed program was:" >&5
  26149. -sed 's/^/| /' conftest.$ac_ext >&5
  26150. -
  26151. - ac_cv_lib_dnet_stub_dnet_ntoa=no
  26152. + ac_cv_lib_dnet_stub_dnet_ntoa=no
  26153. fi
  26154. -
  26155. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26156. - conftest$ac_exeext conftest.$ac_ext
  26157. +rm -f core conftest.err conftest.$ac_objext \
  26158. + conftest$ac_exeext conftest.$ac_ext
  26159. LIBS=$ac_check_lib_save_LIBS
  26160. fi
  26161. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
  26162. -echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
  26163. -if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
  26164. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
  26165. +$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
  26166. +if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
  26167. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  26168. fi
  26169. fi
  26170. fi
  26171. -
  26172. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26173. - conftest$ac_exeext conftest.$ac_ext
  26174. +rm -f core conftest.err conftest.$ac_objext \
  26175. + conftest$ac_exeext conftest.$ac_ext
  26176. LIBS="$ac_xsave_LIBS"
  26177. # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
  26178. # to get the SysV transport functions.
  26179. # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
  26180. - # needs -lnsl.
  26181. - # The nsl library prevents programs from opening the X display
  26182. - # on Irix 5.2, according to T.E. Dickey.
  26183. - # The functions gethostbyname, getservbyname, and inet_addr are
  26184. - # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
  26185. - { echo "$as_me:$LINENO: checking for gethostbyname" >&5
  26186. -echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
  26187. -if test "${ac_cv_func_gethostbyname+set}" = set; then
  26188. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26189. -else
  26190. - cat >conftest.$ac_ext <<_ACEOF
  26191. -/* confdefs.h. */
  26192. -_ACEOF
  26193. -cat confdefs.h >>conftest.$ac_ext
  26194. -cat >>conftest.$ac_ext <<_ACEOF
  26195. -/* end confdefs.h. */
  26196. -/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
  26197. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  26198. -#define gethostbyname innocuous_gethostbyname
  26199. -
  26200. -/* System header to define __stub macros and hopefully few prototypes,
  26201. - which can conflict with char gethostbyname (); below.
  26202. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  26203. - <limits.h> exists even on freestanding compilers. */
  26204. -
  26205. -#ifdef __STDC__
  26206. -# include <limits.h>
  26207. -#else
  26208. -# include <assert.h>
  26209. -#endif
  26210. -
  26211. -#undef gethostbyname
  26212. -
  26213. -/* Override any GCC internal prototype to avoid an error.
  26214. - Use char because int might match the return type of a GCC
  26215. - builtin and then its argument prototype would still apply. */
  26216. -#ifdef __cplusplus
  26217. -extern "C"
  26218. -#endif
  26219. -char gethostbyname ();
  26220. -/* The GNU C library defines this for functions which it implements
  26221. - to always fail with ENOSYS. Some functions are actually named
  26222. - something starting with __ and the normal name is an alias. */
  26223. -#if defined __stub_gethostbyname || defined __stub___gethostbyname
  26224. -choke me
  26225. -#endif
  26226. -
  26227. -int
  26228. -main ()
  26229. -{
  26230. -return gethostbyname ();
  26231. - ;
  26232. - return 0;
  26233. -}
  26234. -_ACEOF
  26235. -rm -f conftest.$ac_objext conftest$ac_exeext
  26236. -if { (ac_try="$ac_link"
  26237. -case "(($ac_try" in
  26238. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26239. - *) ac_try_echo=$ac_try;;
  26240. -esac
  26241. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26242. - (eval "$ac_link") 2>conftest.er1
  26243. - ac_status=$?
  26244. - grep -v '^ *+' conftest.er1 >conftest.err
  26245. - rm -f conftest.er1
  26246. - cat conftest.err >&5
  26247. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26248. - (exit $ac_status); } && {
  26249. - test -z "$ac_c_werror_flag" ||
  26250. - test ! -s conftest.err
  26251. - } && test -s conftest$ac_exeext &&
  26252. - $as_test_x conftest$ac_exeext; then
  26253. - ac_cv_func_gethostbyname=yes
  26254. -else
  26255. - echo "$as_me: failed program was:" >&5
  26256. -sed 's/^/| /' conftest.$ac_ext >&5
  26257. -
  26258. - ac_cv_func_gethostbyname=no
  26259. -fi
  26260. -
  26261. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26262. - conftest$ac_exeext conftest.$ac_ext
  26263. -fi
  26264. -{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
  26265. -echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
  26266. -
  26267. - if test $ac_cv_func_gethostbyname = no; then
  26268. - { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
  26269. -echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
  26270. -if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
  26271. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26272. -else
  26273. - ac_check_lib_save_LIBS=$LIBS
  26274. -LIBS="-lnsl $LIBS"
  26275. -cat >conftest.$ac_ext <<_ACEOF
  26276. -/* confdefs.h. */
  26277. -_ACEOF
  26278. -cat confdefs.h >>conftest.$ac_ext
  26279. -cat >>conftest.$ac_ext <<_ACEOF
  26280. -/* end confdefs.h. */
  26281. -
  26282. -/* Override any GCC internal prototype to avoid an error.
  26283. - Use char because int might match the return type of a GCC
  26284. - builtin and then its argument prototype would still apply. */
  26285. -#ifdef __cplusplus
  26286. -extern "C"
  26287. -#endif
  26288. -char gethostbyname ();
  26289. -int
  26290. -main ()
  26291. -{
  26292. -return gethostbyname ();
  26293. - ;
  26294. - return 0;
  26295. -}
  26296. -_ACEOF
  26297. -rm -f conftest.$ac_objext conftest$ac_exeext
  26298. -if { (ac_try="$ac_link"
  26299. -case "(($ac_try" in
  26300. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26301. - *) ac_try_echo=$ac_try;;
  26302. -esac
  26303. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26304. - (eval "$ac_link") 2>conftest.er1
  26305. - ac_status=$?
  26306. - grep -v '^ *+' conftest.er1 >conftest.err
  26307. - rm -f conftest.er1
  26308. - cat conftest.err >&5
  26309. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26310. - (exit $ac_status); } && {
  26311. - test -z "$ac_c_werror_flag" ||
  26312. - test ! -s conftest.err
  26313. - } && test -s conftest$ac_exeext &&
  26314. - $as_test_x conftest$ac_exeext; then
  26315. - ac_cv_lib_nsl_gethostbyname=yes
  26316. -else
  26317. - echo "$as_me: failed program was:" >&5
  26318. -sed 's/^/| /' conftest.$ac_ext >&5
  26319. -
  26320. - ac_cv_lib_nsl_gethostbyname=no
  26321. -fi
  26322. -
  26323. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26324. - conftest$ac_exeext conftest.$ac_ext
  26325. -LIBS=$ac_check_lib_save_LIBS
  26326. -fi
  26327. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
  26328. -echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
  26329. -if test $ac_cv_lib_nsl_gethostbyname = yes; then
  26330. - X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  26331. -fi
  26332. -
  26333. - if test $ac_cv_lib_nsl_gethostbyname = no; then
  26334. - { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
  26335. -echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
  26336. -if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
  26337. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26338. -else
  26339. - ac_check_lib_save_LIBS=$LIBS
  26340. -LIBS="-lbsd $LIBS"
  26341. -cat >conftest.$ac_ext <<_ACEOF
  26342. -/* confdefs.h. */
  26343. -_ACEOF
  26344. -cat confdefs.h >>conftest.$ac_ext
  26345. -cat >>conftest.$ac_ext <<_ACEOF
  26346. -/* end confdefs.h. */
  26347. -
  26348. -/* Override any GCC internal prototype to avoid an error.
  26349. - Use char because int might match the return type of a GCC
  26350. - builtin and then its argument prototype would still apply. */
  26351. -#ifdef __cplusplus
  26352. -extern "C"
  26353. -#endif
  26354. -char gethostbyname ();
  26355. -int
  26356. -main ()
  26357. -{
  26358. -return gethostbyname ();
  26359. - ;
  26360. - return 0;
  26361. -}
  26362. -_ACEOF
  26363. -rm -f conftest.$ac_objext conftest$ac_exeext
  26364. -if { (ac_try="$ac_link"
  26365. -case "(($ac_try" in
  26366. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26367. - *) ac_try_echo=$ac_try;;
  26368. -esac
  26369. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26370. - (eval "$ac_link") 2>conftest.er1
  26371. - ac_status=$?
  26372. - grep -v '^ *+' conftest.er1 >conftest.err
  26373. - rm -f conftest.er1
  26374. - cat conftest.err >&5
  26375. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26376. - (exit $ac_status); } && {
  26377. - test -z "$ac_c_werror_flag" ||
  26378. - test ! -s conftest.err
  26379. - } && test -s conftest$ac_exeext &&
  26380. - $as_test_x conftest$ac_exeext; then
  26381. - ac_cv_lib_bsd_gethostbyname=yes
  26382. -else
  26383. - echo "$as_me: failed program was:" >&5
  26384. -sed 's/^/| /' conftest.$ac_ext >&5
  26385. -
  26386. - ac_cv_lib_bsd_gethostbyname=no
  26387. -fi
  26388. -
  26389. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26390. - conftest$ac_exeext conftest.$ac_ext
  26391. -LIBS=$ac_check_lib_save_LIBS
  26392. -fi
  26393. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
  26394. -echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
  26395. -if test $ac_cv_lib_bsd_gethostbyname = yes; then
  26396. - X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
  26397. -fi
  26398. -
  26399. - fi
  26400. - fi
  26401. -
  26402. - # lieder@skyler.mavd.honeywell.com says without -lsocket,
  26403. - # socket/setsockopt and other routines are undefined under SCO ODT
  26404. - # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
  26405. - # on later versions), says Simon Leinen: it contains gethostby*
  26406. - # variants that don't use the name server (or something). -lsocket
  26407. - # must be given before -lnsl if both are needed. We assume that
  26408. - # if connect needs -lnsl, so does gethostbyname.
  26409. - { echo "$as_me:$LINENO: checking for connect" >&5
  26410. -echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
  26411. -if test "${ac_cv_func_connect+set}" = set; then
  26412. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26413. -else
  26414. - cat >conftest.$ac_ext <<_ACEOF
  26415. -/* confdefs.h. */
  26416. -_ACEOF
  26417. -cat confdefs.h >>conftest.$ac_ext
  26418. -cat >>conftest.$ac_ext <<_ACEOF
  26419. -/* end confdefs.h. */
  26420. -/* Define connect to an innocuous variant, in case <limits.h> declares connect.
  26421. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  26422. -#define connect innocuous_connect
  26423. -
  26424. -/* System header to define __stub macros and hopefully few prototypes,
  26425. - which can conflict with char connect (); below.
  26426. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  26427. - <limits.h> exists even on freestanding compilers. */
  26428. -
  26429. -#ifdef __STDC__
  26430. -# include <limits.h>
  26431. -#else
  26432. -# include <assert.h>
  26433. -#endif
  26434. -
  26435. -#undef connect
  26436. -
  26437. -/* Override any GCC internal prototype to avoid an error.
  26438. - Use char because int might match the return type of a GCC
  26439. - builtin and then its argument prototype would still apply. */
  26440. -#ifdef __cplusplus
  26441. -extern "C"
  26442. -#endif
  26443. -char connect ();
  26444. -/* The GNU C library defines this for functions which it implements
  26445. - to always fail with ENOSYS. Some functions are actually named
  26446. - something starting with __ and the normal name is an alias. */
  26447. -#if defined __stub_connect || defined __stub___connect
  26448. -choke me
  26449. -#endif
  26450. -
  26451. -int
  26452. -main ()
  26453. -{
  26454. -return connect ();
  26455. - ;
  26456. - return 0;
  26457. -}
  26458. -_ACEOF
  26459. -rm -f conftest.$ac_objext conftest$ac_exeext
  26460. -if { (ac_try="$ac_link"
  26461. -case "(($ac_try" in
  26462. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26463. - *) ac_try_echo=$ac_try;;
  26464. -esac
  26465. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26466. - (eval "$ac_link") 2>conftest.er1
  26467. - ac_status=$?
  26468. - grep -v '^ *+' conftest.er1 >conftest.err
  26469. - rm -f conftest.er1
  26470. - cat conftest.err >&5
  26471. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26472. - (exit $ac_status); } && {
  26473. - test -z "$ac_c_werror_flag" ||
  26474. - test ! -s conftest.err
  26475. - } && test -s conftest$ac_exeext &&
  26476. - $as_test_x conftest$ac_exeext; then
  26477. - ac_cv_func_connect=yes
  26478. -else
  26479. - echo "$as_me: failed program was:" >&5
  26480. -sed 's/^/| /' conftest.$ac_ext >&5
  26481. -
  26482. - ac_cv_func_connect=no
  26483. -fi
  26484. + # needs -lnsl.
  26485. + # The nsl library prevents programs from opening the X display
  26486. + # on Irix 5.2, according to T.E. Dickey.
  26487. + # The functions gethostbyname, getservbyname, and inet_addr are
  26488. + # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
  26489. + ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
  26490. +if test "x$ac_cv_func_gethostbyname" = x""yes; then :
  26491. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26492. - conftest$ac_exeext conftest.$ac_ext
  26493. fi
  26494. -{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
  26495. -echo "${ECHO_T}$ac_cv_func_connect" >&6; }
  26496. - if test $ac_cv_func_connect = no; then
  26497. - { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
  26498. -echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
  26499. -if test "${ac_cv_lib_socket_connect+set}" = set; then
  26500. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26501. + if test $ac_cv_func_gethostbyname = no; then
  26502. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
  26503. +$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
  26504. +if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
  26505. + $as_echo_n "(cached) " >&6
  26506. else
  26507. ac_check_lib_save_LIBS=$LIBS
  26508. -LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
  26509. -cat >conftest.$ac_ext <<_ACEOF
  26510. -/* confdefs.h. */
  26511. -_ACEOF
  26512. -cat confdefs.h >>conftest.$ac_ext
  26513. -cat >>conftest.$ac_ext <<_ACEOF
  26514. +LIBS="-lnsl $LIBS"
  26515. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26516. /* end confdefs.h. */
  26517. /* Override any GCC internal prototype to avoid an error.
  26518. @@ -22348,81 +16647,40 @@
  26519. #ifdef __cplusplus
  26520. extern "C"
  26521. #endif
  26522. -char connect ();
  26523. +char gethostbyname ();
  26524. int
  26525. main ()
  26526. {
  26527. -return connect ();
  26528. +return gethostbyname ();
  26529. ;
  26530. return 0;
  26531. }
  26532. _ACEOF
  26533. -rm -f conftest.$ac_objext conftest$ac_exeext
  26534. -if { (ac_try="$ac_link"
  26535. -case "(($ac_try" in
  26536. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26537. - *) ac_try_echo=$ac_try;;
  26538. -esac
  26539. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26540. - (eval "$ac_link") 2>conftest.er1
  26541. - ac_status=$?
  26542. - grep -v '^ *+' conftest.er1 >conftest.err
  26543. - rm -f conftest.er1
  26544. - cat conftest.err >&5
  26545. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26546. - (exit $ac_status); } && {
  26547. - test -z "$ac_c_werror_flag" ||
  26548. - test ! -s conftest.err
  26549. - } && test -s conftest$ac_exeext &&
  26550. - $as_test_x conftest$ac_exeext; then
  26551. - ac_cv_lib_socket_connect=yes
  26552. +if ac_fn_c_try_link "$LINENO"; then :
  26553. + ac_cv_lib_nsl_gethostbyname=yes
  26554. else
  26555. - echo "$as_me: failed program was:" >&5
  26556. -sed 's/^/| /' conftest.$ac_ext >&5
  26557. -
  26558. - ac_cv_lib_socket_connect=no
  26559. + ac_cv_lib_nsl_gethostbyname=no
  26560. fi
  26561. -
  26562. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26563. - conftest$ac_exeext conftest.$ac_ext
  26564. +rm -f core conftest.err conftest.$ac_objext \
  26565. + conftest$ac_exeext conftest.$ac_ext
  26566. LIBS=$ac_check_lib_save_LIBS
  26567. fi
  26568. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
  26569. -echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
  26570. -if test $ac_cv_lib_socket_connect = yes; then
  26571. - X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
  26572. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
  26573. +$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
  26574. +if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
  26575. + X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  26576. fi
  26577. - fi
  26578. -
  26579. - # Guillermo Gomez says -lposix is necessary on A/UX.
  26580. - { echo "$as_me:$LINENO: checking for remove" >&5
  26581. -echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
  26582. -if test "${ac_cv_func_remove+set}" = set; then
  26583. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26584. + if test $ac_cv_lib_nsl_gethostbyname = no; then
  26585. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
  26586. +$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
  26587. +if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
  26588. + $as_echo_n "(cached) " >&6
  26589. else
  26590. - cat >conftest.$ac_ext <<_ACEOF
  26591. -/* confdefs.h. */
  26592. -_ACEOF
  26593. -cat confdefs.h >>conftest.$ac_ext
  26594. -cat >>conftest.$ac_ext <<_ACEOF
  26595. + ac_check_lib_save_LIBS=$LIBS
  26596. +LIBS="-lbsd $LIBS"
  26597. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26598. /* end confdefs.h. */
  26599. -/* Define remove to an innocuous variant, in case <limits.h> declares remove.
  26600. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  26601. -#define remove innocuous_remove
  26602. -
  26603. -/* System header to define __stub macros and hopefully few prototypes,
  26604. - which can conflict with char remove (); below.
  26605. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  26606. - <limits.h> exists even on freestanding compilers. */
  26607. -
  26608. -#ifdef __STDC__
  26609. -# include <limits.h>
  26610. -#else
  26611. -# include <assert.h>
  26612. -#endif
  26613. -
  26614. -#undef remove
  26615. /* Override any GCC internal prototype to avoid an error.
  26616. Use char because int might match the return type of a GCC
  26617. @@ -22430,67 +16688,54 @@
  26618. #ifdef __cplusplus
  26619. extern "C"
  26620. #endif
  26621. -char remove ();
  26622. -/* The GNU C library defines this for functions which it implements
  26623. - to always fail with ENOSYS. Some functions are actually named
  26624. - something starting with __ and the normal name is an alias. */
  26625. -#if defined __stub_remove || defined __stub___remove
  26626. -choke me
  26627. -#endif
  26628. -
  26629. +char gethostbyname ();
  26630. int
  26631. main ()
  26632. {
  26633. -return remove ();
  26634. +return gethostbyname ();
  26635. ;
  26636. return 0;
  26637. }
  26638. _ACEOF
  26639. -rm -f conftest.$ac_objext conftest$ac_exeext
  26640. -if { (ac_try="$ac_link"
  26641. -case "(($ac_try" in
  26642. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26643. - *) ac_try_echo=$ac_try;;
  26644. -esac
  26645. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26646. - (eval "$ac_link") 2>conftest.er1
  26647. - ac_status=$?
  26648. - grep -v '^ *+' conftest.er1 >conftest.err
  26649. - rm -f conftest.er1
  26650. - cat conftest.err >&5
  26651. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26652. - (exit $ac_status); } && {
  26653. - test -z "$ac_c_werror_flag" ||
  26654. - test ! -s conftest.err
  26655. - } && test -s conftest$ac_exeext &&
  26656. - $as_test_x conftest$ac_exeext; then
  26657. - ac_cv_func_remove=yes
  26658. +if ac_fn_c_try_link "$LINENO"; then :
  26659. + ac_cv_lib_bsd_gethostbyname=yes
  26660. else
  26661. - echo "$as_me: failed program was:" >&5
  26662. -sed 's/^/| /' conftest.$ac_ext >&5
  26663. -
  26664. - ac_cv_func_remove=no
  26665. + ac_cv_lib_bsd_gethostbyname=no
  26666. +fi
  26667. +rm -f core conftest.err conftest.$ac_objext \
  26668. + conftest$ac_exeext conftest.$ac_ext
  26669. +LIBS=$ac_check_lib_save_LIBS
  26670. +fi
  26671. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
  26672. +$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
  26673. +if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
  26674. + X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
  26675. fi
  26676. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26677. - conftest$ac_exeext conftest.$ac_ext
  26678. + fi
  26679. + fi
  26680. +
  26681. + # lieder@skyler.mavd.honeywell.com says without -lsocket,
  26682. + # socket/setsockopt and other routines are undefined under SCO ODT
  26683. + # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
  26684. + # on later versions), says Simon Leinen: it contains gethostby*
  26685. + # variants that don't use the name server (or something). -lsocket
  26686. + # must be given before -lnsl if both are needed. We assume that
  26687. + # if connect needs -lnsl, so does gethostbyname.
  26688. + ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
  26689. +if test "x$ac_cv_func_connect" = x""yes; then :
  26690. +
  26691. fi
  26692. -{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
  26693. -echo "${ECHO_T}$ac_cv_func_remove" >&6; }
  26694. - if test $ac_cv_func_remove = no; then
  26695. - { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
  26696. -echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
  26697. -if test "${ac_cv_lib_posix_remove+set}" = set; then
  26698. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26699. + if test $ac_cv_func_connect = no; then
  26700. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
  26701. +$as_echo_n "checking for connect in -lsocket... " >&6; }
  26702. +if test "${ac_cv_lib_socket_connect+set}" = set; then :
  26703. + $as_echo_n "(cached) " >&6
  26704. else
  26705. ac_check_lib_save_LIBS=$LIBS
  26706. -LIBS="-lposix $LIBS"
  26707. -cat >conftest.$ac_ext <<_ACEOF
  26708. -/* confdefs.h. */
  26709. -_ACEOF
  26710. -cat confdefs.h >>conftest.$ac_ext
  26711. -cat >>conftest.$ac_ext <<_ACEOF
  26712. +LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
  26713. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26714. /* end confdefs.h. */
  26715. /* Override any GCC internal prototype to avoid an error.
  26716. @@ -22499,81 +16744,48 @@
  26717. #ifdef __cplusplus
  26718. extern "C"
  26719. #endif
  26720. -char remove ();
  26721. +char connect ();
  26722. int
  26723. main ()
  26724. {
  26725. -return remove ();
  26726. +return connect ();
  26727. ;
  26728. return 0;
  26729. }
  26730. _ACEOF
  26731. -rm -f conftest.$ac_objext conftest$ac_exeext
  26732. -if { (ac_try="$ac_link"
  26733. -case "(($ac_try" in
  26734. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26735. - *) ac_try_echo=$ac_try;;
  26736. -esac
  26737. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26738. - (eval "$ac_link") 2>conftest.er1
  26739. - ac_status=$?
  26740. - grep -v '^ *+' conftest.er1 >conftest.err
  26741. - rm -f conftest.er1
  26742. - cat conftest.err >&5
  26743. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26744. - (exit $ac_status); } && {
  26745. - test -z "$ac_c_werror_flag" ||
  26746. - test ! -s conftest.err
  26747. - } && test -s conftest$ac_exeext &&
  26748. - $as_test_x conftest$ac_exeext; then
  26749. - ac_cv_lib_posix_remove=yes
  26750. +if ac_fn_c_try_link "$LINENO"; then :
  26751. + ac_cv_lib_socket_connect=yes
  26752. else
  26753. - echo "$as_me: failed program was:" >&5
  26754. -sed 's/^/| /' conftest.$ac_ext >&5
  26755. -
  26756. - ac_cv_lib_posix_remove=no
  26757. + ac_cv_lib_socket_connect=no
  26758. fi
  26759. -
  26760. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26761. - conftest$ac_exeext conftest.$ac_ext
  26762. +rm -f core conftest.err conftest.$ac_objext \
  26763. + conftest$ac_exeext conftest.$ac_ext
  26764. LIBS=$ac_check_lib_save_LIBS
  26765. fi
  26766. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
  26767. -echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
  26768. -if test $ac_cv_lib_posix_remove = yes; then
  26769. - X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
  26770. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
  26771. +$as_echo "$ac_cv_lib_socket_connect" >&6; }
  26772. +if test "x$ac_cv_lib_socket_connect" = x""yes; then :
  26773. + X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
  26774. fi
  26775. fi
  26776. - # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
  26777. - { echo "$as_me:$LINENO: checking for shmat" >&5
  26778. -echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
  26779. -if test "${ac_cv_func_shmat+set}" = set; then
  26780. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26781. -else
  26782. - cat >conftest.$ac_ext <<_ACEOF
  26783. -/* confdefs.h. */
  26784. -_ACEOF
  26785. -cat confdefs.h >>conftest.$ac_ext
  26786. -cat >>conftest.$ac_ext <<_ACEOF
  26787. -/* end confdefs.h. */
  26788. -/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
  26789. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  26790. -#define shmat innocuous_shmat
  26791. -
  26792. -/* System header to define __stub macros and hopefully few prototypes,
  26793. - which can conflict with char shmat (); below.
  26794. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  26795. - <limits.h> exists even on freestanding compilers. */
  26796. + # Guillermo Gomez says -lposix is necessary on A/UX.
  26797. + ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
  26798. +if test "x$ac_cv_func_remove" = x""yes; then :
  26799. -#ifdef __STDC__
  26800. -# include <limits.h>
  26801. -#else
  26802. -# include <assert.h>
  26803. -#endif
  26804. +fi
  26805. -#undef shmat
  26806. + if test $ac_cv_func_remove = no; then
  26807. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
  26808. +$as_echo_n "checking for remove in -lposix... " >&6; }
  26809. +if test "${ac_cv_lib_posix_remove+set}" = set; then :
  26810. + $as_echo_n "(cached) " >&6
  26811. +else
  26812. + ac_check_lib_save_LIBS=$LIBS
  26813. +LIBS="-lposix $LIBS"
  26814. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26815. +/* end confdefs.h. */
  26816. /* Override any GCC internal prototype to avoid an error.
  26817. Use char because int might match the return type of a GCC
  26818. @@ -22581,67 +16793,47 @@
  26819. #ifdef __cplusplus
  26820. extern "C"
  26821. #endif
  26822. -char shmat ();
  26823. -/* The GNU C library defines this for functions which it implements
  26824. - to always fail with ENOSYS. Some functions are actually named
  26825. - something starting with __ and the normal name is an alias. */
  26826. -#if defined __stub_shmat || defined __stub___shmat
  26827. -choke me
  26828. -#endif
  26829. -
  26830. +char remove ();
  26831. int
  26832. main ()
  26833. {
  26834. -return shmat ();
  26835. +return remove ();
  26836. ;
  26837. return 0;
  26838. }
  26839. _ACEOF
  26840. -rm -f conftest.$ac_objext conftest$ac_exeext
  26841. -if { (ac_try="$ac_link"
  26842. -case "(($ac_try" in
  26843. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26844. - *) ac_try_echo=$ac_try;;
  26845. -esac
  26846. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26847. - (eval "$ac_link") 2>conftest.er1
  26848. - ac_status=$?
  26849. - grep -v '^ *+' conftest.er1 >conftest.err
  26850. - rm -f conftest.er1
  26851. - cat conftest.err >&5
  26852. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26853. - (exit $ac_status); } && {
  26854. - test -z "$ac_c_werror_flag" ||
  26855. - test ! -s conftest.err
  26856. - } && test -s conftest$ac_exeext &&
  26857. - $as_test_x conftest$ac_exeext; then
  26858. - ac_cv_func_shmat=yes
  26859. +if ac_fn_c_try_link "$LINENO"; then :
  26860. + ac_cv_lib_posix_remove=yes
  26861. else
  26862. - echo "$as_me: failed program was:" >&5
  26863. -sed 's/^/| /' conftest.$ac_ext >&5
  26864. -
  26865. - ac_cv_func_shmat=no
  26866. + ac_cv_lib_posix_remove=no
  26867. +fi
  26868. +rm -f core conftest.err conftest.$ac_objext \
  26869. + conftest$ac_exeext conftest.$ac_ext
  26870. +LIBS=$ac_check_lib_save_LIBS
  26871. fi
  26872. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
  26873. +$as_echo "$ac_cv_lib_posix_remove" >&6; }
  26874. +if test "x$ac_cv_lib_posix_remove" = x""yes; then :
  26875. + X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
  26876. +fi
  26877. +
  26878. + fi
  26879. +
  26880. + # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
  26881. + ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
  26882. +if test "x$ac_cv_func_shmat" = x""yes; then :
  26883. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26884. - conftest$ac_exeext conftest.$ac_ext
  26885. fi
  26886. -{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
  26887. -echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
  26888. if test $ac_cv_func_shmat = no; then
  26889. - { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
  26890. -echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
  26891. -if test "${ac_cv_lib_ipc_shmat+set}" = set; then
  26892. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26893. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
  26894. +$as_echo_n "checking for shmat in -lipc... " >&6; }
  26895. +if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
  26896. + $as_echo_n "(cached) " >&6
  26897. else
  26898. ac_check_lib_save_LIBS=$LIBS
  26899. LIBS="-lipc $LIBS"
  26900. -cat >conftest.$ac_ext <<_ACEOF
  26901. -/* confdefs.h. */
  26902. -_ACEOF
  26903. -cat confdefs.h >>conftest.$ac_ext
  26904. -cat >>conftest.$ac_ext <<_ACEOF
  26905. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26906. /* end confdefs.h. */
  26907. /* Override any GCC internal prototype to avoid an error.
  26908. @@ -22659,39 +16851,18 @@
  26909. return 0;
  26910. }
  26911. _ACEOF
  26912. -rm -f conftest.$ac_objext conftest$ac_exeext
  26913. -if { (ac_try="$ac_link"
  26914. -case "(($ac_try" in
  26915. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26916. - *) ac_try_echo=$ac_try;;
  26917. -esac
  26918. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26919. - (eval "$ac_link") 2>conftest.er1
  26920. - ac_status=$?
  26921. - grep -v '^ *+' conftest.er1 >conftest.err
  26922. - rm -f conftest.er1
  26923. - cat conftest.err >&5
  26924. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26925. - (exit $ac_status); } && {
  26926. - test -z "$ac_c_werror_flag" ||
  26927. - test ! -s conftest.err
  26928. - } && test -s conftest$ac_exeext &&
  26929. - $as_test_x conftest$ac_exeext; then
  26930. +if ac_fn_c_try_link "$LINENO"; then :
  26931. ac_cv_lib_ipc_shmat=yes
  26932. else
  26933. - echo "$as_me: failed program was:" >&5
  26934. -sed 's/^/| /' conftest.$ac_ext >&5
  26935. -
  26936. - ac_cv_lib_ipc_shmat=no
  26937. + ac_cv_lib_ipc_shmat=no
  26938. fi
  26939. -
  26940. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  26941. - conftest$ac_exeext conftest.$ac_ext
  26942. +rm -f core conftest.err conftest.$ac_objext \
  26943. + conftest$ac_exeext conftest.$ac_ext
  26944. LIBS=$ac_check_lib_save_LIBS
  26945. fi
  26946. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
  26947. -echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
  26948. -if test $ac_cv_lib_ipc_shmat = yes; then
  26949. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
  26950. +$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
  26951. +if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
  26952. X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
  26953. fi
  26954. @@ -22707,18 +16878,14 @@
  26955. # These have to be linked with before -lX11, unlike the other
  26956. # libraries we check for below, so use a different variable.
  26957. # John Interrante, Karl Berry
  26958. - { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
  26959. -echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
  26960. -if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
  26961. - echo $ECHO_N "(cached) $ECHO_C" >&6
  26962. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
  26963. +$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
  26964. +if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
  26965. + $as_echo_n "(cached) " >&6
  26966. else
  26967. ac_check_lib_save_LIBS=$LIBS
  26968. LIBS="-lICE $X_EXTRA_LIBS $LIBS"
  26969. -cat >conftest.$ac_ext <<_ACEOF
  26970. -/* confdefs.h. */
  26971. -_ACEOF
  26972. -cat confdefs.h >>conftest.$ac_ext
  26973. -cat >>conftest.$ac_ext <<_ACEOF
  26974. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26975. /* end confdefs.h. */
  26976. /* Override any GCC internal prototype to avoid an error.
  26977. @@ -22736,39 +16903,18 @@
  26978. return 0;
  26979. }
  26980. _ACEOF
  26981. -rm -f conftest.$ac_objext conftest$ac_exeext
  26982. -if { (ac_try="$ac_link"
  26983. -case "(($ac_try" in
  26984. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  26985. - *) ac_try_echo=$ac_try;;
  26986. -esac
  26987. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  26988. - (eval "$ac_link") 2>conftest.er1
  26989. - ac_status=$?
  26990. - grep -v '^ *+' conftest.er1 >conftest.err
  26991. - rm -f conftest.er1
  26992. - cat conftest.err >&5
  26993. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  26994. - (exit $ac_status); } && {
  26995. - test -z "$ac_c_werror_flag" ||
  26996. - test ! -s conftest.err
  26997. - } && test -s conftest$ac_exeext &&
  26998. - $as_test_x conftest$ac_exeext; then
  26999. +if ac_fn_c_try_link "$LINENO"; then :
  27000. ac_cv_lib_ICE_IceConnectionNumber=yes
  27001. else
  27002. - echo "$as_me: failed program was:" >&5
  27003. -sed 's/^/| /' conftest.$ac_ext >&5
  27004. -
  27005. - ac_cv_lib_ICE_IceConnectionNumber=no
  27006. + ac_cv_lib_ICE_IceConnectionNumber=no
  27007. fi
  27008. -
  27009. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  27010. - conftest$ac_exeext conftest.$ac_ext
  27011. +rm -f core conftest.err conftest.$ac_objext \
  27012. + conftest$ac_exeext conftest.$ac_ext
  27013. LIBS=$ac_check_lib_save_LIBS
  27014. fi
  27015. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
  27016. -echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
  27017. -if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
  27018. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
  27019. +$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
  27020. +if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
  27021. X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  27022. fi
  27023. @@ -22777,8 +16923,8 @@
  27024. fi
  27025. if test x"$ac_cv_have_x" = "xno"; then
  27026. - { echo "$as_me:$LINENO: WARNING: X problem - xgps won't be built." >&5
  27027. -echo "$as_me: WARNING: X problem - xgps won't be built." >&2;}
  27028. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: X problem - xgps won't be built." >&5
  27029. +$as_echo "$as_me: WARNING: X problem - xgps won't be built." >&2;}
  27030. fi
  27031. LIBS="$LIBS $X_EXTRA_LIBS"
  27032. CFLAGS="$CFLAGS $X_CFLAGS"
  27033. @@ -22788,18 +16934,14 @@
  27034. - { echo "$as_me:$LINENO: checking for XtToolkitInitialize in -lXt" >&5
  27035. -echo $ECHO_N "checking for XtToolkitInitialize in -lXt... $ECHO_C" >&6; }
  27036. -if test "${ac_cv_lib_Xt_XtToolkitInitialize+set}" = set; then
  27037. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27038. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtToolkitInitialize in -lXt" >&5
  27039. +$as_echo_n "checking for XtToolkitInitialize in -lXt... " >&6; }
  27040. +if test "${ac_cv_lib_Xt_XtToolkitInitialize+set}" = set; then :
  27041. + $as_echo_n "(cached) " >&6
  27042. else
  27043. ac_check_lib_save_LIBS=$LIBS
  27044. LIBS="-lXt ${X_PRE_LIBS} ${X11_LIBS} $LIBS"
  27045. -cat >conftest.$ac_ext <<_ACEOF
  27046. -/* confdefs.h. */
  27047. -_ACEOF
  27048. -cat confdefs.h >>conftest.$ac_ext
  27049. -cat >>conftest.$ac_ext <<_ACEOF
  27050. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27051. /* end confdefs.h. */
  27052. /* Override any GCC internal prototype to avoid an error.
  27053. @@ -22817,191 +16959,42 @@
  27054. return 0;
  27055. }
  27056. _ACEOF
  27057. -rm -f conftest.$ac_objext conftest$ac_exeext
  27058. -if { (ac_try="$ac_link"
  27059. -case "(($ac_try" in
  27060. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27061. - *) ac_try_echo=$ac_try;;
  27062. -esac
  27063. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  27064. - (eval "$ac_link") 2>conftest.er1
  27065. - ac_status=$?
  27066. - grep -v '^ *+' conftest.er1 >conftest.err
  27067. - rm -f conftest.er1
  27068. - cat conftest.err >&5
  27069. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27070. - (exit $ac_status); } && {
  27071. - test -z "$ac_c_werror_flag" ||
  27072. - test ! -s conftest.err
  27073. - } && test -s conftest$ac_exeext &&
  27074. - $as_test_x conftest$ac_exeext; then
  27075. - ac_cv_lib_Xt_XtToolkitInitialize=yes
  27076. -else
  27077. - echo "$as_me: failed program was:" >&5
  27078. -sed 's/^/| /' conftest.$ac_ext >&5
  27079. -
  27080. - ac_cv_lib_Xt_XtToolkitInitialize=no
  27081. -fi
  27082. -
  27083. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  27084. - conftest$ac_exeext conftest.$ac_ext
  27085. -LIBS=$ac_check_lib_save_LIBS
  27086. -fi
  27087. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_XtToolkitInitialize" >&5
  27088. -echo "${ECHO_T}$ac_cv_lib_Xt_XtToolkitInitialize" >&6; }
  27089. -if test $ac_cv_lib_Xt_XtToolkitInitialize = yes; then
  27090. - XT_LIBS="-lXt"
  27091. -fi
  27092. -
  27093. -
  27094. - if test x"$ac_cv_lib_Xt_XtToolkitInitialize" = "xno"; then
  27095. - { echo "$as_me:$LINENO: WARNING: libXt problem - xgps won't be built." >&5
  27096. -echo "$as_me: WARNING: libXt problem - xgps won't be built." >&2;}
  27097. - fi
  27098. - if test "${ac_cv_header_X11_Xaw_Label_h+set}" = set; then
  27099. - { echo "$as_me:$LINENO: checking for X11/Xaw/Label.h" >&5
  27100. -echo $ECHO_N "checking for X11/Xaw/Label.h... $ECHO_C" >&6; }
  27101. -if test "${ac_cv_header_X11_Xaw_Label_h+set}" = set; then
  27102. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27103. -fi
  27104. -{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Label_h" >&5
  27105. -echo "${ECHO_T}$ac_cv_header_X11_Xaw_Label_h" >&6; }
  27106. -else
  27107. - # Is the header compilable?
  27108. -{ echo "$as_me:$LINENO: checking X11/Xaw/Label.h usability" >&5
  27109. -echo $ECHO_N "checking X11/Xaw/Label.h usability... $ECHO_C" >&6; }
  27110. -cat >conftest.$ac_ext <<_ACEOF
  27111. -/* confdefs.h. */
  27112. -_ACEOF
  27113. -cat confdefs.h >>conftest.$ac_ext
  27114. -cat >>conftest.$ac_ext <<_ACEOF
  27115. -/* end confdefs.h. */
  27116. -$ac_includes_default
  27117. -#include <X11/Xaw/Label.h>
  27118. -_ACEOF
  27119. -rm -f conftest.$ac_objext
  27120. -if { (ac_try="$ac_compile"
  27121. -case "(($ac_try" in
  27122. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27123. - *) ac_try_echo=$ac_try;;
  27124. -esac
  27125. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  27126. - (eval "$ac_compile") 2>conftest.er1
  27127. - ac_status=$?
  27128. - grep -v '^ *+' conftest.er1 >conftest.err
  27129. - rm -f conftest.er1
  27130. - cat conftest.err >&5
  27131. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27132. - (exit $ac_status); } && {
  27133. - test -z "$ac_c_werror_flag" ||
  27134. - test ! -s conftest.err
  27135. - } && test -s conftest.$ac_objext; then
  27136. - ac_header_compiler=yes
  27137. -else
  27138. - echo "$as_me: failed program was:" >&5
  27139. -sed 's/^/| /' conftest.$ac_ext >&5
  27140. -
  27141. - ac_header_compiler=no
  27142. -fi
  27143. -
  27144. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27145. -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  27146. -echo "${ECHO_T}$ac_header_compiler" >&6; }
  27147. -
  27148. -# Is the header present?
  27149. -{ echo "$as_me:$LINENO: checking X11/Xaw/Label.h presence" >&5
  27150. -echo $ECHO_N "checking X11/Xaw/Label.h presence... $ECHO_C" >&6; }
  27151. -cat >conftest.$ac_ext <<_ACEOF
  27152. -/* confdefs.h. */
  27153. -_ACEOF
  27154. -cat confdefs.h >>conftest.$ac_ext
  27155. -cat >>conftest.$ac_ext <<_ACEOF
  27156. -/* end confdefs.h. */
  27157. -#include <X11/Xaw/Label.h>
  27158. -_ACEOF
  27159. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  27160. -case "(($ac_try" in
  27161. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27162. - *) ac_try_echo=$ac_try;;
  27163. -esac
  27164. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  27165. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  27166. - ac_status=$?
  27167. - grep -v '^ *+' conftest.er1 >conftest.err
  27168. - rm -f conftest.er1
  27169. - cat conftest.err >&5
  27170. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27171. - (exit $ac_status); } >/dev/null && {
  27172. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  27173. - test ! -s conftest.err
  27174. - }; then
  27175. - ac_header_preproc=yes
  27176. -else
  27177. - echo "$as_me: failed program was:" >&5
  27178. -sed 's/^/| /' conftest.$ac_ext >&5
  27179. -
  27180. - ac_header_preproc=no
  27181. -fi
  27182. -
  27183. -rm -f conftest.err conftest.$ac_ext
  27184. -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  27185. -echo "${ECHO_T}$ac_header_preproc" >&6; }
  27186. -
  27187. -# So? What about this header?
  27188. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  27189. - yes:no: )
  27190. - { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: accepted by the compiler, rejected by the preprocessor!" >&5
  27191. -echo "$as_me: WARNING: X11/Xaw/Label.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  27192. - { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: proceeding with the compiler's result" >&5
  27193. -echo "$as_me: WARNING: X11/Xaw/Label.h: proceeding with the compiler's result" >&2;}
  27194. - ac_header_preproc=yes
  27195. - ;;
  27196. - no:yes:* )
  27197. - { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: present but cannot be compiled" >&5
  27198. -echo "$as_me: WARNING: X11/Xaw/Label.h: present but cannot be compiled" >&2;}
  27199. - { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: check for missing prerequisite headers?" >&5
  27200. -echo "$as_me: WARNING: X11/Xaw/Label.h: check for missing prerequisite headers?" >&2;}
  27201. - { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: see the Autoconf documentation" >&5
  27202. -echo "$as_me: WARNING: X11/Xaw/Label.h: see the Autoconf documentation" >&2;}
  27203. - { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: section \"Present But Cannot Be Compiled\"" >&5
  27204. -echo "$as_me: WARNING: X11/Xaw/Label.h: section \"Present But Cannot Be Compiled\"" >&2;}
  27205. - { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: proceeding with the preprocessor's result" >&5
  27206. -echo "$as_me: WARNING: X11/Xaw/Label.h: proceeding with the preprocessor's result" >&2;}
  27207. - { echo "$as_me:$LINENO: WARNING: X11/Xaw/Label.h: in the future, the compiler will take precedence" >&5
  27208. -echo "$as_me: WARNING: X11/Xaw/Label.h: in the future, the compiler will take precedence" >&2;}
  27209. -
  27210. - ;;
  27211. -esac
  27212. -{ echo "$as_me:$LINENO: checking for X11/Xaw/Label.h" >&5
  27213. -echo $ECHO_N "checking for X11/Xaw/Label.h... $ECHO_C" >&6; }
  27214. -if test "${ac_cv_header_X11_Xaw_Label_h+set}" = set; then
  27215. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27216. +if ac_fn_c_try_link "$LINENO"; then :
  27217. + ac_cv_lib_Xt_XtToolkitInitialize=yes
  27218. else
  27219. - ac_cv_header_X11_Xaw_Label_h=$ac_header_preproc
  27220. + ac_cv_lib_Xt_XtToolkitInitialize=no
  27221. fi
  27222. -{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Label_h" >&5
  27223. -echo "${ECHO_T}$ac_cv_header_X11_Xaw_Label_h" >&6; }
  27224. -
  27225. +rm -f core conftest.err conftest.$ac_objext \
  27226. + conftest$ac_exeext conftest.$ac_ext
  27227. +LIBS=$ac_check_lib_save_LIBS
  27228. fi
  27229. -if test $ac_cv_header_X11_Xaw_Label_h = yes; then
  27230. - :
  27231. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xt_XtToolkitInitialize" >&5
  27232. +$as_echo "$ac_cv_lib_Xt_XtToolkitInitialize" >&6; }
  27233. +if test "x$ac_cv_lib_Xt_XtToolkitInitialize" = x""yes; then :
  27234. + XT_LIBS="-lXt"
  27235. +fi
  27236. +
  27237. +
  27238. + if test x"$ac_cv_lib_Xt_XtToolkitInitialize" = "xno"; then
  27239. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libXt problem - xgps won't be built." >&5
  27240. +$as_echo "$as_me: WARNING: libXt problem - xgps won't be built." >&2;}
  27241. + fi
  27242. + ac_fn_c_check_header_mongrel "$LINENO" "X11/Xaw/Label.h" "ac_cv_header_X11_Xaw_Label_h" "$ac_includes_default"
  27243. +if test "x$ac_cv_header_X11_Xaw_Label_h" = x""yes; then :
  27244. +
  27245. else
  27246. motif_includes="no"
  27247. fi
  27248. - { echo "$as_me:$LINENO: checking for XawInitializeWidgetSet in -lXaw8" >&5
  27249. -echo $ECHO_N "checking for XawInitializeWidgetSet in -lXaw8... $ECHO_C" >&6; }
  27250. -if test "${ac_cv_lib_Xaw8_XawInitializeWidgetSet+set}" = set; then
  27251. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27252. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawInitializeWidgetSet in -lXaw8" >&5
  27253. +$as_echo_n "checking for XawInitializeWidgetSet in -lXaw8... " >&6; }
  27254. +if test "${ac_cv_lib_Xaw8_XawInitializeWidgetSet+set}" = set; then :
  27255. + $as_echo_n "(cached) " >&6
  27256. else
  27257. ac_check_lib_save_LIBS=$LIBS
  27258. LIBS="-lXaw8 ${X_PRE_LIBS} ${X11_LIBS} $LIBS"
  27259. -cat >conftest.$ac_ext <<_ACEOF
  27260. -/* confdefs.h. */
  27261. -_ACEOF
  27262. -cat confdefs.h >>conftest.$ac_ext
  27263. -cat >>conftest.$ac_ext <<_ACEOF
  27264. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27265. /* end confdefs.h. */
  27266. /* Override any GCC internal prototype to avoid an error.
  27267. @@ -23019,53 +17012,28 @@
  27268. return 0;
  27269. }
  27270. _ACEOF
  27271. -rm -f conftest.$ac_objext conftest$ac_exeext
  27272. -if { (ac_try="$ac_link"
  27273. -case "(($ac_try" in
  27274. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27275. - *) ac_try_echo=$ac_try;;
  27276. -esac
  27277. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  27278. - (eval "$ac_link") 2>conftest.er1
  27279. - ac_status=$?
  27280. - grep -v '^ *+' conftest.er1 >conftest.err
  27281. - rm -f conftest.er1
  27282. - cat conftest.err >&5
  27283. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27284. - (exit $ac_status); } && {
  27285. - test -z "$ac_c_werror_flag" ||
  27286. - test ! -s conftest.err
  27287. - } && test -s conftest$ac_exeext &&
  27288. - $as_test_x conftest$ac_exeext; then
  27289. +if ac_fn_c_try_link "$LINENO"; then :
  27290. ac_cv_lib_Xaw8_XawInitializeWidgetSet=yes
  27291. else
  27292. - echo "$as_me: failed program was:" >&5
  27293. -sed 's/^/| /' conftest.$ac_ext >&5
  27294. -
  27295. - ac_cv_lib_Xaw8_XawInitializeWidgetSet=no
  27296. + ac_cv_lib_Xaw8_XawInitializeWidgetSet=no
  27297. fi
  27298. -
  27299. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  27300. - conftest$ac_exeext conftest.$ac_ext
  27301. +rm -f core conftest.err conftest.$ac_objext \
  27302. + conftest$ac_exeext conftest.$ac_ext
  27303. LIBS=$ac_check_lib_save_LIBS
  27304. fi
  27305. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw8_XawInitializeWidgetSet" >&5
  27306. -echo "${ECHO_T}$ac_cv_lib_Xaw8_XawInitializeWidgetSet" >&6; }
  27307. -if test $ac_cv_lib_Xaw8_XawInitializeWidgetSet = yes; then
  27308. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw8_XawInitializeWidgetSet" >&5
  27309. +$as_echo "$ac_cv_lib_Xaw8_XawInitializeWidgetSet" >&6; }
  27310. +if test "x$ac_cv_lib_Xaw8_XawInitializeWidgetSet" = x""yes; then :
  27311. XAW_LIBS="-lXaw8"
  27312. else
  27313. - { echo "$as_me:$LINENO: checking for XawInitializeWidgetSet in -lXaw7" >&5
  27314. -echo $ECHO_N "checking for XawInitializeWidgetSet in -lXaw7... $ECHO_C" >&6; }
  27315. -if test "${ac_cv_lib_Xaw7_XawInitializeWidgetSet+set}" = set; then
  27316. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27317. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawInitializeWidgetSet in -lXaw7" >&5
  27318. +$as_echo_n "checking for XawInitializeWidgetSet in -lXaw7... " >&6; }
  27319. +if test "${ac_cv_lib_Xaw7_XawInitializeWidgetSet+set}" = set; then :
  27320. + $as_echo_n "(cached) " >&6
  27321. else
  27322. ac_check_lib_save_LIBS=$LIBS
  27323. LIBS="-lXaw7 ${X_PRE_LIBS} ${X11_LIBS} $LIBS"
  27324. -cat >conftest.$ac_ext <<_ACEOF
  27325. -/* confdefs.h. */
  27326. -_ACEOF
  27327. -cat confdefs.h >>conftest.$ac_ext
  27328. -cat >>conftest.$ac_ext <<_ACEOF
  27329. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27330. /* end confdefs.h. */
  27331. /* Override any GCC internal prototype to avoid an error.
  27332. @@ -23083,53 +17051,28 @@
  27333. return 0;
  27334. }
  27335. _ACEOF
  27336. -rm -f conftest.$ac_objext conftest$ac_exeext
  27337. -if { (ac_try="$ac_link"
  27338. -case "(($ac_try" in
  27339. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27340. - *) ac_try_echo=$ac_try;;
  27341. -esac
  27342. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  27343. - (eval "$ac_link") 2>conftest.er1
  27344. - ac_status=$?
  27345. - grep -v '^ *+' conftest.er1 >conftest.err
  27346. - rm -f conftest.er1
  27347. - cat conftest.err >&5
  27348. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27349. - (exit $ac_status); } && {
  27350. - test -z "$ac_c_werror_flag" ||
  27351. - test ! -s conftest.err
  27352. - } && test -s conftest$ac_exeext &&
  27353. - $as_test_x conftest$ac_exeext; then
  27354. +if ac_fn_c_try_link "$LINENO"; then :
  27355. ac_cv_lib_Xaw7_XawInitializeWidgetSet=yes
  27356. else
  27357. - echo "$as_me: failed program was:" >&5
  27358. -sed 's/^/| /' conftest.$ac_ext >&5
  27359. -
  27360. - ac_cv_lib_Xaw7_XawInitializeWidgetSet=no
  27361. + ac_cv_lib_Xaw7_XawInitializeWidgetSet=no
  27362. fi
  27363. -
  27364. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  27365. - conftest$ac_exeext conftest.$ac_ext
  27366. +rm -f core conftest.err conftest.$ac_objext \
  27367. + conftest$ac_exeext conftest.$ac_ext
  27368. LIBS=$ac_check_lib_save_LIBS
  27369. fi
  27370. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw7_XawInitializeWidgetSet" >&5
  27371. -echo "${ECHO_T}$ac_cv_lib_Xaw7_XawInitializeWidgetSet" >&6; }
  27372. -if test $ac_cv_lib_Xaw7_XawInitializeWidgetSet = yes; then
  27373. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw7_XawInitializeWidgetSet" >&5
  27374. +$as_echo "$ac_cv_lib_Xaw7_XawInitializeWidgetSet" >&6; }
  27375. +if test "x$ac_cv_lib_Xaw7_XawInitializeWidgetSet" = x""yes; then :
  27376. XAW_LIBS="-lXaw7"
  27377. else
  27378. - { echo "$as_me:$LINENO: checking for XawInitializeWidgetSet in -lXaw" >&5
  27379. -echo $ECHO_N "checking for XawInitializeWidgetSet in -lXaw... $ECHO_C" >&6; }
  27380. -if test "${ac_cv_lib_Xaw_XawInitializeWidgetSet+set}" = set; then
  27381. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27382. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawInitializeWidgetSet in -lXaw" >&5
  27383. +$as_echo_n "checking for XawInitializeWidgetSet in -lXaw... " >&6; }
  27384. +if test "${ac_cv_lib_Xaw_XawInitializeWidgetSet+set}" = set; then :
  27385. + $as_echo_n "(cached) " >&6
  27386. else
  27387. ac_check_lib_save_LIBS=$LIBS
  27388. LIBS="-lXaw ${X_PRE_LIBS} ${X11_LIBS} $LIBS"
  27389. -cat >conftest.$ac_ext <<_ACEOF
  27390. -/* confdefs.h. */
  27391. -_ACEOF
  27392. -cat confdefs.h >>conftest.$ac_ext
  27393. -cat >>conftest.$ac_ext <<_ACEOF
  27394. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27395. /* end confdefs.h. */
  27396. /* Override any GCC internal prototype to avoid an error.
  27397. @@ -23147,39 +17090,18 @@
  27398. return 0;
  27399. }
  27400. _ACEOF
  27401. -rm -f conftest.$ac_objext conftest$ac_exeext
  27402. -if { (ac_try="$ac_link"
  27403. -case "(($ac_try" in
  27404. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27405. - *) ac_try_echo=$ac_try;;
  27406. -esac
  27407. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  27408. - (eval "$ac_link") 2>conftest.er1
  27409. - ac_status=$?
  27410. - grep -v '^ *+' conftest.er1 >conftest.err
  27411. - rm -f conftest.er1
  27412. - cat conftest.err >&5
  27413. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27414. - (exit $ac_status); } && {
  27415. - test -z "$ac_c_werror_flag" ||
  27416. - test ! -s conftest.err
  27417. - } && test -s conftest$ac_exeext &&
  27418. - $as_test_x conftest$ac_exeext; then
  27419. +if ac_fn_c_try_link "$LINENO"; then :
  27420. ac_cv_lib_Xaw_XawInitializeWidgetSet=yes
  27421. else
  27422. - echo "$as_me: failed program was:" >&5
  27423. -sed 's/^/| /' conftest.$ac_ext >&5
  27424. -
  27425. - ac_cv_lib_Xaw_XawInitializeWidgetSet=no
  27426. + ac_cv_lib_Xaw_XawInitializeWidgetSet=no
  27427. fi
  27428. -
  27429. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  27430. - conftest$ac_exeext conftest.$ac_ext
  27431. +rm -f core conftest.err conftest.$ac_objext \
  27432. + conftest$ac_exeext conftest.$ac_ext
  27433. LIBS=$ac_check_lib_save_LIBS
  27434. fi
  27435. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw_XawInitializeWidgetSet" >&5
  27436. -echo "${ECHO_T}$ac_cv_lib_Xaw_XawInitializeWidgetSet" >&6; }
  27437. -if test $ac_cv_lib_Xaw_XawInitializeWidgetSet = yes; then
  27438. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw_XawInitializeWidgetSet" >&5
  27439. +$as_echo "$ac_cv_lib_Xaw_XawInitializeWidgetSet" >&6; }
  27440. +if test "x$ac_cv_lib_Xaw_XawInitializeWidgetSet" = x""yes; then :
  27441. XAW_LIBS="-lXaw"
  27442. fi
  27443. @@ -23189,8 +17111,8 @@
  27444. if test x"$XAW_LIBS" = "x"; then
  27445. - { echo "$as_me:$LINENO: WARNING: libXaw problem - xgpsspeed won't be built." >&5
  27446. -echo "$as_me: WARNING: libXaw problem - xgpsspeed won't be built." >&2;}
  27447. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libXaw problem - xgpsspeed won't be built." >&5
  27448. +$as_echo "$as_me: WARNING: libXaw problem - xgpsspeed won't be built." >&2;}
  27449. if false; then
  27450. HAVE_XAW_TRUE=
  27451. HAVE_XAW_FALSE='#'
  27452. @@ -23209,18 +17131,14 @@
  27453. fi
  27454. fi
  27455. - { echo "$as_me:$LINENO: checking for XShapeQueryVersion in -lXext" >&5
  27456. -echo $ECHO_N "checking for XShapeQueryVersion in -lXext... $ECHO_C" >&6; }
  27457. -if test "${ac_cv_lib_Xext_XShapeQueryVersion+set}" = set; then
  27458. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27459. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryVersion in -lXext" >&5
  27460. +$as_echo_n "checking for XShapeQueryVersion in -lXext... " >&6; }
  27461. +if test "${ac_cv_lib_Xext_XShapeQueryVersion+set}" = set; then :
  27462. + $as_echo_n "(cached) " >&6
  27463. else
  27464. ac_check_lib_save_LIBS=$LIBS
  27465. LIBS="-lXext ${X_PRE_LIBS} ${X11_LIBS} $LIBS"
  27466. -cat >conftest.$ac_ext <<_ACEOF
  27467. -/* confdefs.h. */
  27468. -_ACEOF
  27469. -cat confdefs.h >>conftest.$ac_ext
  27470. -cat >>conftest.$ac_ext <<_ACEOF
  27471. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27472. /* end confdefs.h. */
  27473. /* Override any GCC internal prototype to avoid an error.
  27474. @@ -23238,59 +17156,34 @@
  27475. return 0;
  27476. }
  27477. _ACEOF
  27478. -rm -f conftest.$ac_objext conftest$ac_exeext
  27479. -if { (ac_try="$ac_link"
  27480. -case "(($ac_try" in
  27481. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27482. - *) ac_try_echo=$ac_try;;
  27483. -esac
  27484. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  27485. - (eval "$ac_link") 2>conftest.er1
  27486. - ac_status=$?
  27487. - grep -v '^ *+' conftest.er1 >conftest.err
  27488. - rm -f conftest.er1
  27489. - cat conftest.err >&5
  27490. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27491. - (exit $ac_status); } && {
  27492. - test -z "$ac_c_werror_flag" ||
  27493. - test ! -s conftest.err
  27494. - } && test -s conftest$ac_exeext &&
  27495. - $as_test_x conftest$ac_exeext; then
  27496. +if ac_fn_c_try_link "$LINENO"; then :
  27497. ac_cv_lib_Xext_XShapeQueryVersion=yes
  27498. else
  27499. - echo "$as_me: failed program was:" >&5
  27500. -sed 's/^/| /' conftest.$ac_ext >&5
  27501. -
  27502. - ac_cv_lib_Xext_XShapeQueryVersion=no
  27503. + ac_cv_lib_Xext_XShapeQueryVersion=no
  27504. fi
  27505. -
  27506. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  27507. - conftest$ac_exeext conftest.$ac_ext
  27508. +rm -f core conftest.err conftest.$ac_objext \
  27509. + conftest$ac_exeext conftest.$ac_ext
  27510. LIBS=$ac_check_lib_save_LIBS
  27511. fi
  27512. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryVersion" >&5
  27513. -echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryVersion" >&6; }
  27514. -if test $ac_cv_lib_Xext_XShapeQueryVersion = yes; then
  27515. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryVersion" >&5
  27516. +$as_echo "$ac_cv_lib_Xext_XShapeQueryVersion" >&6; }
  27517. +if test "x$ac_cv_lib_Xext_XShapeQueryVersion" = x""yes; then :
  27518. XEXT_LIBS="-lXext"
  27519. fi
  27520. if test x"$ac_cv_lib_Xext_XShapeQueryVersion" = "xno"; then
  27521. - { echo "$as_me:$LINENO: WARNING: libXext problem - xgps won't be built." >&5
  27522. -echo "$as_me: WARNING: libXext problem - xgps won't be built." >&2;}
  27523. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libXext problem - xgps won't be built." >&5
  27524. +$as_echo "$as_me: WARNING: libXext problem - xgps won't be built." >&2;}
  27525. fi
  27526. - { echo "$as_me:$LINENO: checking for XpmCreatePixmapFromXpmImage in -lXpm" >&5
  27527. -echo $ECHO_N "checking for XpmCreatePixmapFromXpmImage in -lXpm... $ECHO_C" >&6; }
  27528. -if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage+set}" = set; then
  27529. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27530. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmCreatePixmapFromXpmImage in -lXpm" >&5
  27531. +$as_echo_n "checking for XpmCreatePixmapFromXpmImage in -lXpm... " >&6; }
  27532. +if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage+set}" = set; then :
  27533. + $as_echo_n "(cached) " >&6
  27534. else
  27535. ac_check_lib_save_LIBS=$LIBS
  27536. LIBS="-lXpm ${X_PRE_LIBS} ${X11_LIBS} $LIBS"
  27537. -cat >conftest.$ac_ext <<_ACEOF
  27538. -/* confdefs.h. */
  27539. -_ACEOF
  27540. -cat confdefs.h >>conftest.$ac_ext
  27541. -cat >>conftest.$ac_ext <<_ACEOF
  27542. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27543. /* end confdefs.h. */
  27544. /* Override any GCC internal prototype to avoid an error.
  27545. @@ -23308,69 +17201,42 @@
  27546. return 0;
  27547. }
  27548. _ACEOF
  27549. -rm -f conftest.$ac_objext conftest$ac_exeext
  27550. -if { (ac_try="$ac_link"
  27551. -case "(($ac_try" in
  27552. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27553. - *) ac_try_echo=$ac_try;;
  27554. -esac
  27555. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  27556. - (eval "$ac_link") 2>conftest.er1
  27557. - ac_status=$?
  27558. - grep -v '^ *+' conftest.er1 >conftest.err
  27559. - rm -f conftest.er1
  27560. - cat conftest.err >&5
  27561. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27562. - (exit $ac_status); } && {
  27563. - test -z "$ac_c_werror_flag" ||
  27564. - test ! -s conftest.err
  27565. - } && test -s conftest$ac_exeext &&
  27566. - $as_test_x conftest$ac_exeext; then
  27567. +if ac_fn_c_try_link "$LINENO"; then :
  27568. ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage=yes
  27569. else
  27570. - echo "$as_me: failed program was:" >&5
  27571. -sed 's/^/| /' conftest.$ac_ext >&5
  27572. -
  27573. - ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage=no
  27574. + ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage=no
  27575. fi
  27576. -
  27577. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  27578. - conftest$ac_exeext conftest.$ac_ext
  27579. +rm -f core conftest.err conftest.$ac_objext \
  27580. + conftest$ac_exeext conftest.$ac_ext
  27581. LIBS=$ac_check_lib_save_LIBS
  27582. fi
  27583. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" >&5
  27584. -echo "${ECHO_T}$ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" >&6; }
  27585. -if test $ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage = yes; then
  27586. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" >&5
  27587. +$as_echo "$ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" >&6; }
  27588. +if test "x$ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" = x""yes; then :
  27589. XPM_LIBS="-lXpm"
  27590. -cat >>confdefs.h <<\_ACEOF
  27591. -#define HAVE_XPM 1
  27592. -_ACEOF
  27593. +$as_echo "#define HAVE_XPM 1" >>confdefs.h
  27594. fi
  27595. if test x"$ac_cv_lib_Xpm_XpmCreatePixmapFromXpmImage" = "xno"; then
  27596. - { echo "$as_me:$LINENO: WARNING: libXpm problem - xgps won't be built." >&5
  27597. -echo "$as_me: WARNING: libXpm problem - xgps won't be built." >&2;}
  27598. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libXpm problem - xgps won't be built." >&5
  27599. +$as_echo "$as_me: WARNING: libXpm problem - xgps won't be built." >&2;}
  27600. fi
  27601. XM_LIBS=""
  27602. XP_LIBS=""
  27603. if test "$motif_includes" != "no" -a "$motif_libraries" != "no"
  27604. then
  27605. - { echo "$as_me:$LINENO: checking for XpSelectInput in -lXp" >&5
  27606. -echo $ECHO_N "checking for XpSelectInput in -lXp... $ECHO_C" >&6; }
  27607. -if test "${ac_cv_lib_Xp_XpSelectInput+set}" = set; then
  27608. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27609. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpSelectInput in -lXp" >&5
  27610. +$as_echo_n "checking for XpSelectInput in -lXp... " >&6; }
  27611. +if test "${ac_cv_lib_Xp_XpSelectInput+set}" = set; then :
  27612. + $as_echo_n "(cached) " >&6
  27613. else
  27614. ac_check_lib_save_LIBS=$LIBS
  27615. LIBS="-lXp ${X_PRE_LIBS} ${XPM_LIBS} ${XEXT_LIBS} ${XT_LIBS} ${XEXT_LIBS} ${X11_LIBS} ${LIBGEN} $LIBS"
  27616. -cat >conftest.$ac_ext <<_ACEOF
  27617. -/* confdefs.h. */
  27618. -_ACEOF
  27619. -cat confdefs.h >>conftest.$ac_ext
  27620. -cat >>conftest.$ac_ext <<_ACEOF
  27621. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27622. /* end confdefs.h. */
  27623. /* Override any GCC internal prototype to avoid an error.
  27624. @@ -23388,59 +17254,32 @@
  27625. return 0;
  27626. }
  27627. _ACEOF
  27628. -rm -f conftest.$ac_objext conftest$ac_exeext
  27629. -if { (ac_try="$ac_link"
  27630. -case "(($ac_try" in
  27631. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27632. - *) ac_try_echo=$ac_try;;
  27633. -esac
  27634. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  27635. - (eval "$ac_link") 2>conftest.er1
  27636. - ac_status=$?
  27637. - grep -v '^ *+' conftest.er1 >conftest.err
  27638. - rm -f conftest.er1
  27639. - cat conftest.err >&5
  27640. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27641. - (exit $ac_status); } && {
  27642. - test -z "$ac_c_werror_flag" ||
  27643. - test ! -s conftest.err
  27644. - } && test -s conftest$ac_exeext &&
  27645. - $as_test_x conftest$ac_exeext; then
  27646. +if ac_fn_c_try_link "$LINENO"; then :
  27647. ac_cv_lib_Xp_XpSelectInput=yes
  27648. else
  27649. - echo "$as_me: failed program was:" >&5
  27650. -sed 's/^/| /' conftest.$ac_ext >&5
  27651. -
  27652. - ac_cv_lib_Xp_XpSelectInput=no
  27653. + ac_cv_lib_Xp_XpSelectInput=no
  27654. fi
  27655. -
  27656. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  27657. - conftest$ac_exeext conftest.$ac_ext
  27658. +rm -f core conftest.err conftest.$ac_objext \
  27659. + conftest$ac_exeext conftest.$ac_ext
  27660. LIBS=$ac_check_lib_save_LIBS
  27661. fi
  27662. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpSelectInput" >&5
  27663. -echo "${ECHO_T}$ac_cv_lib_Xp_XpSelectInput" >&6; }
  27664. -if test $ac_cv_lib_Xp_XpSelectInput = yes; then
  27665. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpSelectInput" >&5
  27666. +$as_echo "$ac_cv_lib_Xp_XpSelectInput" >&6; }
  27667. +if test "x$ac_cv_lib_Xp_XpSelectInput" = x""yes; then :
  27668. XP_LIBS="-lXp"
  27669. -cat >>confdefs.h <<\_ACEOF
  27670. -#define HAVE_XP 1
  27671. -_ACEOF
  27672. +$as_echo "#define HAVE_XP 1" >>confdefs.h
  27673. fi
  27674. - { echo "$as_me:$LINENO: checking for XmInternAtom in -lXm" >&5
  27675. -echo $ECHO_N "checking for XmInternAtom in -lXm... $ECHO_C" >&6; }
  27676. -if test "${ac_cv_lib_Xm_XmInternAtom+set}" = set; then
  27677. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27678. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmInternAtom in -lXm" >&5
  27679. +$as_echo_n "checking for XmInternAtom in -lXm... " >&6; }
  27680. +if test "${ac_cv_lib_Xm_XmInternAtom+set}" = set; then :
  27681. + $as_echo_n "(cached) " >&6
  27682. else
  27683. ac_check_lib_save_LIBS=$LIBS
  27684. LIBS="-lXm ${X_PRE_LIBS} ${XP_LIBS} ${XPM_LIBS} ${XEXT_LIBS} ${XT_LIBS} ${XEXT_LIBS} ${X11_LIBS} ${LIBGEN} $LIBS"
  27685. -cat >conftest.$ac_ext <<_ACEOF
  27686. -/* confdefs.h. */
  27687. -_ACEOF
  27688. -cat confdefs.h >>conftest.$ac_ext
  27689. -cat >>conftest.$ac_ext <<_ACEOF
  27690. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27691. /* end confdefs.h. */
  27692. /* Override any GCC internal prototype to avoid an error.
  27693. @@ -23458,44 +17297,21 @@
  27694. return 0;
  27695. }
  27696. _ACEOF
  27697. -rm -f conftest.$ac_objext conftest$ac_exeext
  27698. -if { (ac_try="$ac_link"
  27699. -case "(($ac_try" in
  27700. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27701. - *) ac_try_echo=$ac_try;;
  27702. -esac
  27703. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  27704. - (eval "$ac_link") 2>conftest.er1
  27705. - ac_status=$?
  27706. - grep -v '^ *+' conftest.er1 >conftest.err
  27707. - rm -f conftest.er1
  27708. - cat conftest.err >&5
  27709. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27710. - (exit $ac_status); } && {
  27711. - test -z "$ac_c_werror_flag" ||
  27712. - test ! -s conftest.err
  27713. - } && test -s conftest$ac_exeext &&
  27714. - $as_test_x conftest$ac_exeext; then
  27715. +if ac_fn_c_try_link "$LINENO"; then :
  27716. ac_cv_lib_Xm_XmInternAtom=yes
  27717. else
  27718. - echo "$as_me: failed program was:" >&5
  27719. -sed 's/^/| /' conftest.$ac_ext >&5
  27720. -
  27721. - ac_cv_lib_Xm_XmInternAtom=no
  27722. + ac_cv_lib_Xm_XmInternAtom=no
  27723. fi
  27724. -
  27725. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  27726. - conftest$ac_exeext conftest.$ac_ext
  27727. +rm -f core conftest.err conftest.$ac_objext \
  27728. + conftest$ac_exeext conftest.$ac_ext
  27729. LIBS=$ac_check_lib_save_LIBS
  27730. fi
  27731. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xm_XmInternAtom" >&5
  27732. -echo "${ECHO_T}$ac_cv_lib_Xm_XmInternAtom" >&6; }
  27733. -if test $ac_cv_lib_Xm_XmInternAtom = yes; then
  27734. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XmInternAtom" >&5
  27735. +$as_echo "$ac_cv_lib_Xm_XmInternAtom" >&6; }
  27736. +if test "x$ac_cv_lib_Xm_XmInternAtom" = x""yes; then :
  27737. XM_LIBS="-lXm"
  27738. -cat >>confdefs.h <<\_ACEOF
  27739. -#define HAVE_MOTIF 1
  27740. -_ACEOF
  27741. +$as_echo "#define HAVE_MOTIF 1" >>confdefs.h
  27742. fi
  27743. @@ -23528,162 +17344,30 @@
  27744. HAVE_XAW_FALSE=
  27745. fi
  27746. - { echo "$as_me:$LINENO: WARNING: Not including X11 support" >&5
  27747. -echo "$as_me: WARNING: Not including X11 support" >&2;}
  27748. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not including X11 support" >&5
  27749. +$as_echo "$as_me: WARNING: Not including X11 support" >&2;}
  27750. fi
  27751. -
  27752. for ac_header in ncurses.h
  27753. -do
  27754. -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  27755. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  27756. - { echo "$as_me:$LINENO: checking for $ac_header" >&5
  27757. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  27758. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  27759. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27760. -fi
  27761. -ac_res=`eval echo '${'$as_ac_Header'}'`
  27762. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  27763. -echo "${ECHO_T}$ac_res" >&6; }
  27764. -else
  27765. - # Is the header compilable?
  27766. -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  27767. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  27768. -cat >conftest.$ac_ext <<_ACEOF
  27769. -/* confdefs.h. */
  27770. -_ACEOF
  27771. -cat confdefs.h >>conftest.$ac_ext
  27772. -cat >>conftest.$ac_ext <<_ACEOF
  27773. -/* end confdefs.h. */
  27774. -$ac_includes_default
  27775. -#include <$ac_header>
  27776. -_ACEOF
  27777. -rm -f conftest.$ac_objext
  27778. -if { (ac_try="$ac_compile"
  27779. -case "(($ac_try" in
  27780. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27781. - *) ac_try_echo=$ac_try;;
  27782. -esac
  27783. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  27784. - (eval "$ac_compile") 2>conftest.er1
  27785. - ac_status=$?
  27786. - grep -v '^ *+' conftest.er1 >conftest.err
  27787. - rm -f conftest.er1
  27788. - cat conftest.err >&5
  27789. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27790. - (exit $ac_status); } && {
  27791. - test -z "$ac_c_werror_flag" ||
  27792. - test ! -s conftest.err
  27793. - } && test -s conftest.$ac_objext; then
  27794. - ac_header_compiler=yes
  27795. -else
  27796. - echo "$as_me: failed program was:" >&5
  27797. -sed 's/^/| /' conftest.$ac_ext >&5
  27798. -
  27799. - ac_header_compiler=no
  27800. -fi
  27801. -
  27802. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27803. -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  27804. -echo "${ECHO_T}$ac_header_compiler" >&6; }
  27805. -
  27806. -# Is the header present?
  27807. -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  27808. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  27809. -cat >conftest.$ac_ext <<_ACEOF
  27810. -/* confdefs.h. */
  27811. -_ACEOF
  27812. -cat confdefs.h >>conftest.$ac_ext
  27813. -cat >>conftest.$ac_ext <<_ACEOF
  27814. -/* end confdefs.h. */
  27815. -#include <$ac_header>
  27816. -_ACEOF
  27817. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  27818. -case "(($ac_try" in
  27819. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27820. - *) ac_try_echo=$ac_try;;
  27821. -esac
  27822. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  27823. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  27824. - ac_status=$?
  27825. - grep -v '^ *+' conftest.er1 >conftest.err
  27826. - rm -f conftest.er1
  27827. - cat conftest.err >&5
  27828. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27829. - (exit $ac_status); } >/dev/null && {
  27830. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  27831. - test ! -s conftest.err
  27832. - }; then
  27833. - ac_header_preproc=yes
  27834. -else
  27835. - echo "$as_me: failed program was:" >&5
  27836. -sed 's/^/| /' conftest.$ac_ext >&5
  27837. -
  27838. - ac_header_preproc=no
  27839. -fi
  27840. -
  27841. -rm -f conftest.err conftest.$ac_ext
  27842. -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  27843. -echo "${ECHO_T}$ac_header_preproc" >&6; }
  27844. -
  27845. -# So? What about this header?
  27846. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  27847. - yes:no: )
  27848. - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  27849. -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  27850. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  27851. -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  27852. - ac_header_preproc=yes
  27853. - ;;
  27854. - no:yes:* )
  27855. - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  27856. -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  27857. - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  27858. -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  27859. - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  27860. -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  27861. - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  27862. -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  27863. - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  27864. -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  27865. - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  27866. -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  27867. -
  27868. - ;;
  27869. -esac
  27870. -{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  27871. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  27872. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  27873. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27874. -else
  27875. - eval "$as_ac_Header=\$ac_header_preproc"
  27876. -fi
  27877. -ac_res=`eval echo '${'$as_ac_Header'}'`
  27878. - { echo "$as_me:$LINENO: result: $ac_res" >&5
  27879. -echo "${ECHO_T}$ac_res" >&6; }
  27880. -
  27881. -fi
  27882. -if test `eval echo '${'$as_ac_Header'}'` = yes; then
  27883. +do :
  27884. + ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
  27885. +if test "x$ac_cv_header_ncurses_h" = x""yes; then :
  27886. cat >>confdefs.h <<_ACEOF
  27887. -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  27888. +#define HAVE_NCURSES_H 1
  27889. _ACEOF
  27890. fi
  27891. done
  27892. -{ echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
  27893. -echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; }
  27894. -if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
  27895. - echo $ECHO_N "(cached) $ECHO_C" >&6
  27896. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
  27897. +$as_echo_n "checking for initscr in -lncurses... " >&6; }
  27898. +if test "${ac_cv_lib_ncurses_initscr+set}" = set; then :
  27899. + $as_echo_n "(cached) " >&6
  27900. else
  27901. ac_check_lib_save_LIBS=$LIBS
  27902. LIBS="-lncurses $LIBS"
  27903. -cat >conftest.$ac_ext <<_ACEOF
  27904. -/* confdefs.h. */
  27905. -_ACEOF
  27906. -cat confdefs.h >>conftest.$ac_ext
  27907. -cat >>conftest.$ac_ext <<_ACEOF
  27908. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27909. /* end confdefs.h. */
  27910. /* Override any GCC internal prototype to avoid an error.
  27911. @@ -23701,46 +17385,25 @@
  27912. return 0;
  27913. }
  27914. _ACEOF
  27915. -rm -f conftest.$ac_objext conftest$ac_exeext
  27916. -if { (ac_try="$ac_link"
  27917. -case "(($ac_try" in
  27918. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  27919. - *) ac_try_echo=$ac_try;;
  27920. -esac
  27921. -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  27922. - (eval "$ac_link") 2>conftest.er1
  27923. - ac_status=$?
  27924. - grep -v '^ *+' conftest.er1 >conftest.err
  27925. - rm -f conftest.er1
  27926. - cat conftest.err >&5
  27927. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  27928. - (exit $ac_status); } && {
  27929. - test -z "$ac_c_werror_flag" ||
  27930. - test ! -s conftest.err
  27931. - } && test -s conftest$ac_exeext &&
  27932. - $as_test_x conftest$ac_exeext; then
  27933. +if ac_fn_c_try_link "$LINENO"; then :
  27934. ac_cv_lib_ncurses_initscr=yes
  27935. else
  27936. - echo "$as_me: failed program was:" >&5
  27937. -sed 's/^/| /' conftest.$ac_ext >&5
  27938. -
  27939. - ac_cv_lib_ncurses_initscr=no
  27940. + ac_cv_lib_ncurses_initscr=no
  27941. fi
  27942. -
  27943. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  27944. - conftest$ac_exeext conftest.$ac_ext
  27945. +rm -f core conftest.err conftest.$ac_objext \
  27946. + conftest$ac_exeext conftest.$ac_ext
  27947. LIBS=$ac_check_lib_save_LIBS
  27948. fi
  27949. -{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
  27950. -echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
  27951. -if test $ac_cv_lib_ncurses_initscr = yes; then
  27952. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
  27953. +$as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
  27954. +if test "x$ac_cv_lib_ncurses_initscr" = x""yes; then :
  27955. NCURSES_LIBS="-lncurses"
  27956. fi
  27957. if test x"$NCURSES_LIBS" = x"" ; then
  27958. - { echo "$as_me:$LINENO: WARNING: Not including curses support" >&5
  27959. -echo "$as_me: WARNING: Not including curses support" >&2;}
  27960. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not including curses support" >&5
  27961. +$as_echo "$as_me: WARNING: Not including curses support" >&2;}
  27962. if false; then
  27963. HAVE_NCURSES_TRUE=
  27964. HAVE_NCURSES_FALSE='#'
  27965. @@ -23763,448 +17426,402 @@
  27966. fi
  27967. # Check whether --enable-nmea was given.
  27968. -if test "${enable_nmea+set}" = set; then
  27969. +if test "${enable_nmea+set}" = set; then :
  27970. enableval=$enable_nmea; ac_nmea=$enableval
  27971. else
  27972. ac_nmea=yes
  27973. fi
  27974. -{ echo "$as_me:$LINENO: checking for NMEA support" >&5
  27975. -echo $ECHO_N "checking for NMEA support... $ECHO_C" >&6; }
  27976. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NMEA support" >&5
  27977. +$as_echo_n "checking for NMEA support... " >&6; }
  27978. if test x"$ac_nmea" = "xyes"; then
  27979. - { echo "$as_me:$LINENO: result: yes" >&5
  27980. -echo "${ECHO_T}yes" >&6; }
  27981. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  27982. +$as_echo "yes" >&6; }
  27983. -cat >>confdefs.h <<\_ACEOF
  27984. -#define NMEA_ENABLE 1
  27985. -_ACEOF
  27986. +$as_echo "#define NMEA_ENABLE 1" >>confdefs.h
  27987. else
  27988. - { echo "$as_me:$LINENO: result: no" >&5
  27989. -echo "${ECHO_T}no" >&6; }
  27990. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27991. +$as_echo "no" >&6; }
  27992. fi
  27993. # Check whether --enable-sirf was given.
  27994. -if test "${enable_sirf+set}" = set; then
  27995. +if test "${enable_sirf+set}" = set; then :
  27996. enableval=$enable_sirf; ac_sirf=$enableval
  27997. else
  27998. ac_sirf=yes
  27999. fi
  28000. -{ echo "$as_me:$LINENO: checking for SiRF support" >&5
  28001. -echo $ECHO_N "checking for SiRF support... $ECHO_C" >&6; }
  28002. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SiRF support" >&5
  28003. +$as_echo_n "checking for SiRF support... " >&6; }
  28004. if test x"$ac_sirf" = "xyes"; then
  28005. - { echo "$as_me:$LINENO: result: yes" >&5
  28006. -echo "${ECHO_T}yes" >&6; }
  28007. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28008. +$as_echo "yes" >&6; }
  28009. -cat >>confdefs.h <<\_ACEOF
  28010. -#define SIRF_ENABLE 1
  28011. -_ACEOF
  28012. +$as_echo "#define SIRF_ENABLE 1" >>confdefs.h
  28013. else
  28014. - { echo "$as_me:$LINENO: result: no" >&5
  28015. -echo "${ECHO_T}no" >&6; }
  28016. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28017. +$as_echo "no" >&6; }
  28018. fi
  28019. # Check whether --enable-superstar2 was given.
  28020. -if test "${enable_superstar2+set}" = set; then
  28021. +if test "${enable_superstar2+set}" = set; then :
  28022. enableval=$enable_superstar2; ac_superstar2=$enableval
  28023. else
  28024. ac_superstar2=yes
  28025. fi
  28026. -{ echo "$as_me:$LINENO: checking for SuperStarII support" >&5
  28027. -echo $ECHO_N "checking for SuperStarII support... $ECHO_C" >&6; }
  28028. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SuperStarII support" >&5
  28029. +$as_echo_n "checking for SuperStarII support... " >&6; }
  28030. if test x"$ac_superstar2" = "xyes"; then
  28031. - { echo "$as_me:$LINENO: result: yes" >&5
  28032. -echo "${ECHO_T}yes" >&6; }
  28033. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28034. +$as_echo "yes" >&6; }
  28035. -cat >>confdefs.h <<\_ACEOF
  28036. -#define SUPERSTAR2_ENABLE 1
  28037. -_ACEOF
  28038. +$as_echo "#define SUPERSTAR2_ENABLE 1" >>confdefs.h
  28039. else
  28040. - { echo "$as_me:$LINENO: result: no" >&5
  28041. -echo "${ECHO_T}no" >&6; }
  28042. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28043. +$as_echo "no" >&6; }
  28044. fi
  28045. # Check whether --enable-tsip was given.
  28046. -if test "${enable_tsip+set}" = set; then
  28047. +if test "${enable_tsip+set}" = set; then :
  28048. enableval=$enable_tsip; ac_tsip=$enableval
  28049. else
  28050. ac_tsip=yes
  28051. fi
  28052. -{ echo "$as_me:$LINENO: checking for Trimble TSIP support" >&5
  28053. -echo $ECHO_N "checking for Trimble TSIP support... $ECHO_C" >&6; }
  28054. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Trimble TSIP support" >&5
  28055. +$as_echo_n "checking for Trimble TSIP support... " >&6; }
  28056. if test x"$ac_tsip" = "xyes"; then
  28057. - { echo "$as_me:$LINENO: result: yes" >&5
  28058. -echo "${ECHO_T}yes" >&6; }
  28059. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28060. +$as_echo "yes" >&6; }
  28061. -cat >>confdefs.h <<\_ACEOF
  28062. -#define TSIP_ENABLE 1
  28063. -_ACEOF
  28064. +$as_echo "#define TSIP_ENABLE 1" >>confdefs.h
  28065. else
  28066. - { echo "$as_me:$LINENO: result: no" >&5
  28067. -echo "${ECHO_T}no" >&6; }
  28068. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28069. +$as_echo "no" >&6; }
  28070. fi
  28071. # Check whether --enable-fv18 was given.
  28072. -if test "${enable_fv18+set}" = set; then
  28073. +if test "${enable_fv18+set}" = set; then :
  28074. enableval=$enable_fv18; ac_fv18=$enableval
  28075. else
  28076. ac_fv18=yes
  28077. fi
  28078. -{ echo "$as_me:$LINENO: checking for FV-18 support" >&5
  28079. -echo $ECHO_N "checking for FV-18 support... $ECHO_C" >&6; }
  28080. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FV-18 support" >&5
  28081. +$as_echo_n "checking for FV-18 support... " >&6; }
  28082. if test x"$ac_fv18" = "xyes"; then
  28083. ac_nmea=yes
  28084. - { echo "$as_me:$LINENO: result: yes" >&5
  28085. -echo "${ECHO_T}yes" >&6; }
  28086. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28087. +$as_echo "yes" >&6; }
  28088. -cat >>confdefs.h <<\_ACEOF
  28089. -#define FV18_ENABLE 1
  28090. -_ACEOF
  28091. +$as_echo "#define FV18_ENABLE 1" >>confdefs.h
  28092. -cat >>confdefs.h <<\_ACEOF
  28093. -#define NMEA_ENABLE 1
  28094. -_ACEOF
  28095. +$as_echo "#define NMEA_ENABLE 1" >>confdefs.h
  28096. else
  28097. - { echo "$as_me:$LINENO: result: no" >&5
  28098. -echo "${ECHO_T}no" >&6; }
  28099. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28100. +$as_echo "no" >&6; }
  28101. fi
  28102. # Check whether --enable-tripmate was given.
  28103. -if test "${enable_tripmate+set}" = set; then
  28104. +if test "${enable_tripmate+set}" = set; then :
  28105. enableval=$enable_tripmate; ac_tripmate=$enableval
  28106. else
  28107. ac_tripmate=yes
  28108. fi
  28109. -{ echo "$as_me:$LINENO: checking for Tripmate support" >&5
  28110. -echo $ECHO_N "checking for Tripmate support... $ECHO_C" >&6; }
  28111. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tripmate support" >&5
  28112. +$as_echo_n "checking for Tripmate support... " >&6; }
  28113. if test x"$ac_tripmate" = "xyes"; then
  28114. - { echo "$as_me:$LINENO: result: yes" >&5
  28115. -echo "${ECHO_T}yes" >&6; }
  28116. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28117. +$as_echo "yes" >&6; }
  28118. -cat >>confdefs.h <<\_ACEOF
  28119. -#define TRIPMATE_ENABLE 1
  28120. -_ACEOF
  28121. +$as_echo "#define TRIPMATE_ENABLE 1" >>confdefs.h
  28122. else
  28123. - { echo "$as_me:$LINENO: result: no" >&5
  28124. -echo "${ECHO_T}no" >&6; }
  28125. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28126. +$as_echo "no" >&6; }
  28127. fi
  28128. # Check whether --enable-earthmate was given.
  28129. -if test "${enable_earthmate+set}" = set; then
  28130. +if test "${enable_earthmate+set}" = set; then :
  28131. enableval=$enable_earthmate; ac_earthmate=$enableval
  28132. else
  28133. ac_earthmate=yes
  28134. fi
  28135. -{ echo "$as_me:$LINENO: checking for EarthMate support" >&5
  28136. -echo $ECHO_N "checking for EarthMate support... $ECHO_C" >&6; }
  28137. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EarthMate support" >&5
  28138. +$as_echo_n "checking for EarthMate support... " >&6; }
  28139. if test x"$ac_earthmate" = "xyes"; then
  28140. - { echo "$as_me:$LINENO: result: yes" >&5
  28141. -echo "${ECHO_T}yes" >&6; }
  28142. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28143. +$as_echo "yes" >&6; }
  28144. -cat >>confdefs.h <<\_ACEOF
  28145. -#define EARTHMATE_ENABLE 1
  28146. -_ACEOF
  28147. +$as_echo "#define EARTHMATE_ENABLE 1" >>confdefs.h
  28148. else
  28149. - { echo "$as_me:$LINENO: result: no" >&5
  28150. -echo "${ECHO_T}no" >&6; }
  28151. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28152. +$as_echo "no" >&6; }
  28153. fi
  28154. # Check whether --enable-itrax was given.
  28155. -if test "${enable_itrax+set}" = set; then
  28156. +if test "${enable_itrax+set}" = set; then :
  28157. enableval=$enable_itrax; ac_itrax=$enableval
  28158. else
  28159. ac_itrax=yes
  28160. fi
  28161. -{ echo "$as_me:$LINENO: checking for iTrax support" >&5
  28162. -echo $ECHO_N "checking for iTrax support... $ECHO_C" >&6; }
  28163. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iTrax support" >&5
  28164. +$as_echo_n "checking for iTrax support... " >&6; }
  28165. if test x"$ac_itrax" = "xyes"; then
  28166. - { echo "$as_me:$LINENO: result: yes" >&5
  28167. -echo "${ECHO_T}yes" >&6; }
  28168. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28169. +$as_echo "yes" >&6; }
  28170. -cat >>confdefs.h <<\_ACEOF
  28171. -#define ITRAX_ENABLE 1
  28172. -_ACEOF
  28173. +$as_echo "#define ITRAX_ENABLE 1" >>confdefs.h
  28174. else
  28175. - { echo "$as_me:$LINENO: result: no" >&5
  28176. -echo "${ECHO_T}no" >&6; }
  28177. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28178. +$as_echo "no" >&6; }
  28179. fi
  28180. # Check whether --enable-ashtech was given.
  28181. -if test "${enable_ashtech+set}" = set; then
  28182. +if test "${enable_ashtech+set}" = set; then :
  28183. enableval=$enable_ashtech; ac_ashtech=$enableval
  28184. else
  28185. ac_ashtech=yes
  28186. fi
  28187. -{ echo "$as_me:$LINENO: checking for Ashtech support" >&5
  28188. -echo $ECHO_N "checking for Ashtech support... $ECHO_C" >&6; }
  28189. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ashtech support" >&5
  28190. +$as_echo_n "checking for Ashtech support... " >&6; }
  28191. if test x"$ac_ashtech" = "xyes"; then
  28192. - { echo "$as_me:$LINENO: result: yes" >&5
  28193. -echo "${ECHO_T}yes" >&6; }
  28194. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28195. +$as_echo "yes" >&6; }
  28196. -cat >>confdefs.h <<\_ACEOF
  28197. -#define ASHTECH_ENABLE 1
  28198. -_ACEOF
  28199. +$as_echo "#define ASHTECH_ENABLE 1" >>confdefs.h
  28200. else
  28201. - { echo "$as_me:$LINENO: result: no" >&5
  28202. -echo "${ECHO_T}no" >&6; }
  28203. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28204. +$as_echo "no" >&6; }
  28205. fi
  28206. # Check whether --enable-navcom was given.
  28207. -if test "${enable_navcom+set}" = set; then
  28208. +if test "${enable_navcom+set}" = set; then :
  28209. enableval=$enable_navcom; ac_navcom=$enableval
  28210. else
  28211. ac_navcom=yes
  28212. fi
  28213. -{ echo "$as_me:$LINENO: checking for Navcom support" >&5
  28214. -echo $ECHO_N "checking for Navcom support... $ECHO_C" >&6; }
  28215. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Navcom support" >&5
  28216. +$as_echo_n "checking for Navcom support... " >&6; }
  28217. if test x"$ac_navcom" = "xyes"; then
  28218. - { echo "$as_me:$LINENO: result: yes" >&5
  28219. -echo "${ECHO_T}yes" >&6; }
  28220. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28221. +$as_echo "yes" >&6; }
  28222. -cat >>confdefs.h <<\_ACEOF
  28223. -#define NAVCOM_ENABLE 1
  28224. -_ACEOF
  28225. +$as_echo "#define NAVCOM_ENABLE 1" >>confdefs.h
  28226. else
  28227. - { echo "$as_me:$LINENO: result: no" >&5
  28228. -echo "${ECHO_T}no" >&6; }
  28229. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28230. +$as_echo "no" >&6; }
  28231. fi
  28232. # Check whether --enable-garmin was given.
  28233. -if test "${enable_garmin+set}" = set; then
  28234. +if test "${enable_garmin+set}" = set; then :
  28235. enableval=$enable_garmin; ac_garmin=$enableval
  28236. else
  28237. ac_garmin=yes
  28238. fi
  28239. -{ echo "$as_me:$LINENO: checking for Garmin support" >&5
  28240. -echo $ECHO_N "checking for Garmin support... $ECHO_C" >&6; }
  28241. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Garmin support" >&5
  28242. +$as_echo_n "checking for Garmin support... " >&6; }
  28243. if test x"$ac_garmin" = "xyes"; then
  28244. - { echo "$as_me:$LINENO: result: yes" >&5
  28245. -echo "${ECHO_T}yes" >&6; }
  28246. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28247. +$as_echo "yes" >&6; }
  28248. -cat >>confdefs.h <<\_ACEOF
  28249. -#define GARMIN_ENABLE 1
  28250. -_ACEOF
  28251. +$as_echo "#define GARMIN_ENABLE 1" >>confdefs.h
  28252. else
  28253. - { echo "$as_me:$LINENO: result: no" >&5
  28254. -echo "${ECHO_T}no" >&6; }
  28255. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28256. +$as_echo "no" >&6; }
  28257. fi
  28258. # Check whether --enable-garmintxt was given.
  28259. -if test "${enable_garmintxt+set}" = set; then
  28260. +if test "${enable_garmintxt+set}" = set; then :
  28261. enableval=$enable_garmintxt; ac_garmintxt=$enableval
  28262. else
  28263. ac_garmintxt=no
  28264. fi
  28265. -{ echo "$as_me:$LINENO: checking for Garmin Simple Text support" >&5
  28266. -echo $ECHO_N "checking for Garmin Simple Text support... $ECHO_C" >&6; }
  28267. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Garmin Simple Text support" >&5
  28268. +$as_echo_n "checking for Garmin Simple Text support... " >&6; }
  28269. if test x"$ac_garmintxt" = "xyes"; then
  28270. - { echo "$as_me:$LINENO: result: yes" >&5
  28271. -echo "${ECHO_T}yes" >&6; }
  28272. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28273. +$as_echo "yes" >&6; }
  28274. -cat >>confdefs.h <<\_ACEOF
  28275. -#define GARMINTXT_ENABLE 1
  28276. -_ACEOF
  28277. +$as_echo "#define GARMINTXT_ENABLE 1" >>confdefs.h
  28278. else
  28279. - { echo "$as_me:$LINENO: result: no" >&5
  28280. -echo "${ECHO_T}no" >&6; }
  28281. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28282. +$as_echo "no" >&6; }
  28283. fi
  28284. # Check whether --enable-tnt was given.
  28285. -if test "${enable_tnt+set}" = set; then
  28286. +if test "${enable_tnt+set}" = set; then :
  28287. enableval=$enable_tnt; ac_tnt=$enableval
  28288. else
  28289. ac_tnt=no
  28290. fi
  28291. -{ echo "$as_me:$LINENO: checking for True North support" >&5
  28292. -echo $ECHO_N "checking for True North support... $ECHO_C" >&6; }
  28293. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for True North support" >&5
  28294. +$as_echo_n "checking for True North support... " >&6; }
  28295. if test x"$ac_tnt" = "xyes"; then
  28296. ac_nmea=yes
  28297. - { echo "$as_me:$LINENO: result: yes" >&5
  28298. -echo "${ECHO_T}yes" >&6; }
  28299. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28300. +$as_echo "yes" >&6; }
  28301. -cat >>confdefs.h <<\_ACEOF
  28302. -#define TNT_ENABLE 1
  28303. -_ACEOF
  28304. +$as_echo "#define TNT_ENABLE 1" >>confdefs.h
  28305. -cat >>confdefs.h <<\_ACEOF
  28306. -#define NMEA_ENABLE 1
  28307. -_ACEOF
  28308. +$as_echo "#define NMEA_ENABLE 1" >>confdefs.h
  28309. else
  28310. - { echo "$as_me:$LINENO: result: no" >&5
  28311. -echo "${ECHO_T}no" >&6; }
  28312. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28313. +$as_echo "no" >&6; }
  28314. fi
  28315. # Check whether --enable-oceanserver was given.
  28316. -if test "${enable_oceanserver+set}" = set; then
  28317. +if test "${enable_oceanserver+set}" = set; then :
  28318. enableval=$enable_oceanserver; ac_oceanserver=$enableval
  28319. else
  28320. ac_oceanserver=no
  28321. fi
  28322. -{ echo "$as_me:$LINENO: checking for OceanServer support" >&5
  28323. -echo $ECHO_N "checking for OceanServer support... $ECHO_C" >&6; }
  28324. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OceanServer support" >&5
  28325. +$as_echo_n "checking for OceanServer support... " >&6; }
  28326. if test x"$ac_oceanserver" = "xyes"; then
  28327. ac_nmea=yes
  28328. - { echo "$as_me:$LINENO: result: yes" >&5
  28329. -echo "${ECHO_T}yes" >&6; }
  28330. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28331. +$as_echo "yes" >&6; }
  28332. -cat >>confdefs.h <<\_ACEOF
  28333. -#define OCEANSERVER_ENABLE 1
  28334. -_ACEOF
  28335. +$as_echo "#define OCEANSERVER_ENABLE 1" >>confdefs.h
  28336. -cat >>confdefs.h <<\_ACEOF
  28337. -#define NMEA_ENABLE 1
  28338. -_ACEOF
  28339. +$as_echo "#define NMEA_ENABLE 1" >>confdefs.h
  28340. else
  28341. - { echo "$as_me:$LINENO: result: no" >&5
  28342. -echo "${ECHO_T}no" >&6; }
  28343. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28344. +$as_echo "no" >&6; }
  28345. fi
  28346. # Check whether --enable-ubx was given.
  28347. -if test "${enable_ubx+set}" = set; then
  28348. +if test "${enable_ubx+set}" = set; then :
  28349. enableval=$enable_ubx; ac_ubx=$enableval
  28350. else
  28351. ac_ubx=yes
  28352. fi
  28353. -{ echo "$as_me:$LINENO: checking for UBX support" >&5
  28354. -echo $ECHO_N "checking for UBX support... $ECHO_C" >&6; }
  28355. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UBX support" >&5
  28356. +$as_echo_n "checking for UBX support... " >&6; }
  28357. if test x"$ac_ubx" = "xyes"; then
  28358. - { echo "$as_me:$LINENO: result: yes" >&5
  28359. -echo "${ECHO_T}yes" >&6; }
  28360. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28361. +$as_echo "yes" >&6; }
  28362. -cat >>confdefs.h <<\_ACEOF
  28363. -#define UBX_ENABLE 1
  28364. -_ACEOF
  28365. +$as_echo "#define UBX_ENABLE 1" >>confdefs.h
  28366. else
  28367. - { echo "$as_me:$LINENO: result: no" >&5
  28368. -echo "${ECHO_T}no" >&6; }
  28369. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28370. +$as_echo "no" >&6; }
  28371. fi
  28372. # Check whether --enable-evermore was given.
  28373. -if test "${enable_evermore+set}" = set; then
  28374. +if test "${enable_evermore+set}" = set; then :
  28375. enableval=$enable_evermore; ac_evermore=$enableval
  28376. else
  28377. ac_evermore=yes
  28378. fi
  28379. -{ echo "$as_me:$LINENO: checking for EverMore support" >&5
  28380. -echo $ECHO_N "checking for EverMore support... $ECHO_C" >&6; }
  28381. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EverMore support" >&5
  28382. +$as_echo_n "checking for EverMore support... " >&6; }
  28383. if test x"$ac_evermore" = "xyes"; then
  28384. - { echo "$as_me:$LINENO: result: yes" >&5
  28385. -echo "${ECHO_T}yes" >&6; }
  28386. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28387. +$as_echo "yes" >&6; }
  28388. -cat >>confdefs.h <<\_ACEOF
  28389. -#define EVERMORE_ENABLE 1
  28390. -_ACEOF
  28391. +$as_echo "#define EVERMORE_ENABLE 1" >>confdefs.h
  28392. else
  28393. - { echo "$as_me:$LINENO: result: no" >&5
  28394. -echo "${ECHO_T}no" >&6; }
  28395. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28396. +$as_echo "no" >&6; }
  28397. fi
  28398. # Check whether --enable-mkt3301 was given.
  28399. -if test "${enable_mkt3301+set}" = set; then
  28400. +if test "${enable_mkt3301+set}" = set; then :
  28401. enableval=$enable_mkt3301; ac_mkt3301=$enableval
  28402. else
  28403. ac_mkt3301=yes
  28404. fi
  28405. -{ echo "$as_me:$LINENO: checking for MKT-3301 support" >&5
  28406. -echo $ECHO_N "checking for MKT-3301 support... $ECHO_C" >&6; }
  28407. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MKT-3301 support" >&5
  28408. +$as_echo_n "checking for MKT-3301 support... " >&6; }
  28409. if test x"$ac_mkt3301" = "xyes"; then
  28410. ac_nmea=yes
  28411. - { echo "$as_me:$LINENO: result: yes" >&5
  28412. -echo "${ECHO_T}yes" >&6; }
  28413. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28414. +$as_echo "yes" >&6; }
  28415. -cat >>confdefs.h <<\_ACEOF
  28416. -#define MKT3301_ENABLE 1
  28417. -_ACEOF
  28418. +$as_echo "#define MKT3301_ENABLE 1" >>confdefs.h
  28419. -cat >>confdefs.h <<\_ACEOF
  28420. -#define NMEA_ENABLE 1
  28421. -_ACEOF
  28422. +$as_echo "#define NMEA_ENABLE 1" >>confdefs.h
  28423. else
  28424. - { echo "$as_me:$LINENO: result: no" >&5
  28425. -echo "${ECHO_T}no" >&6; }
  28426. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28427. +$as_echo "no" >&6; }
  28428. fi
  28429. # Check whether --enable-gpsclock was given.
  28430. -if test "${enable_gpsclock+set}" = set; then
  28431. +if test "${enable_gpsclock+set}" = set; then :
  28432. enableval=$enable_gpsclock; ac_gpsclock=$enableval
  28433. else
  28434. ac_gpsclock=yes
  28435. fi
  28436. -{ echo "$as_me:$LINENO: checking for GPSClock support" >&5
  28437. -echo $ECHO_N "checking for GPSClock support... $ECHO_C" >&6; }
  28438. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPSClock support" >&5
  28439. +$as_echo_n "checking for GPSClock support... " >&6; }
  28440. if test x"$ac_gpsclock" = "xyes"; then
  28441. - { echo "$as_me:$LINENO: result: yes" >&5
  28442. -echo "${ECHO_T}yes" >&6; }
  28443. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28444. +$as_echo "yes" >&6; }
  28445. -cat >>confdefs.h <<\_ACEOF
  28446. -#define GPSCLOCK_ENABLE 1
  28447. -_ACEOF
  28448. +$as_echo "#define GPSCLOCK_ENABLE 1" >>confdefs.h
  28449. else
  28450. - { echo "$as_me:$LINENO: result: no" >&5
  28451. -echo "${ECHO_T}no" >&6; }
  28452. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28453. +$as_echo "no" >&6; }
  28454. fi
  28455. # Check whether --enable-rtcm104v2 was given.
  28456. -if test "${enable_rtcm104v2+set}" = set; then
  28457. +if test "${enable_rtcm104v2+set}" = set; then :
  28458. enableval=$enable_rtcm104v2; ac_rtcm104v2=$enableval
  28459. else
  28460. ac_rtcm104v2=yes
  28461. fi
  28462. -{ echo "$as_me:$LINENO: checking for rtcm104v2 support" >&5
  28463. -echo $ECHO_N "checking for rtcm104v2 support... $ECHO_C" >&6; }
  28464. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rtcm104v2 support" >&5
  28465. +$as_echo_n "checking for rtcm104v2 support... " >&6; }
  28466. if test x"$ac_earthmate" = "xno" -a x"$ac_evermore" = "xno" -a x"$ac_garmin" = "xno" -a x"$ac_itrax" = "xno" -a x"$ac_sirf" = "xno" -a x"$ac_superstar2" = "xno" -a x"$ac_tsip" = "xno" -a x"$ac_navcom" = "xno"; then
  28467. ac_rtcm104v2=no
  28468. fi
  28469. if test x"$ac_rtcm104v2" = "xyes"; then
  28470. - { echo "$as_me:$LINENO: result: yes" >&5
  28471. -echo "${ECHO_T}yes" >&6; }
  28472. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28473. +$as_echo "yes" >&6; }
  28474. -cat >>confdefs.h <<\_ACEOF
  28475. -#define RTCM104V2_ENABLE 1
  28476. -_ACEOF
  28477. +$as_echo "#define RTCM104V2_ENABLE 1" >>confdefs.h
  28478. else
  28479. - { echo "$as_me:$LINENO: result: no" >&5
  28480. -echo "${ECHO_T}no" >&6; }
  28481. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28482. +$as_echo "no" >&6; }
  28483. fi
  28484. if test "$ac_rtcm104v2" = "yes"; then
  28485. @@ -24217,28 +17834,26 @@
  28486. # Check whether --enable-rtcm104v3 was given.
  28487. -if test "${enable_rtcm104v3+set}" = set; then
  28488. +if test "${enable_rtcm104v3+set}" = set; then :
  28489. enableval=$enable_rtcm104v3; ac_rtcm104v3=$enableval
  28490. else
  28491. ac_rtcm104v3=yes
  28492. fi
  28493. -{ echo "$as_me:$LINENO: checking for rtcm104v3 support" >&5
  28494. -echo $ECHO_N "checking for rtcm104v3 support... $ECHO_C" >&6; }
  28495. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rtcm104v3 support" >&5
  28496. +$as_echo_n "checking for rtcm104v3 support... " >&6; }
  28497. if test x"$ac_earthmate" = "xno" -a x"$ac_evermore" = "xno" -a x"$ac_garmin" = "xno" -a x"$ac_itrax" = "xno" -a x"$ac_sirf" = "xno" -a x"$ac_tsip" = "xno" -a x"$ac_navcom" = "xno"; then
  28498. ac_rtcm104v3=no
  28499. fi
  28500. if test x"$ac_rtcm104v3" = "xyes"; then
  28501. - { echo "$as_me:$LINENO: result: yes" >&5
  28502. -echo "${ECHO_T}yes" >&6; }
  28503. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28504. +$as_echo "yes" >&6; }
  28505. -cat >>confdefs.h <<\_ACEOF
  28506. -#define RTCM104V3_ENABLE 1
  28507. -_ACEOF
  28508. +$as_echo "#define RTCM104V3_ENABLE 1" >>confdefs.h
  28509. else
  28510. - { echo "$as_me:$LINENO: result: no" >&5
  28511. -echo "${ECHO_T}no" >&6; }
  28512. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28513. +$as_echo "no" >&6; }
  28514. fi
  28515. if test "$ac_rtcm104v3" = "yes"; then
  28516. @@ -24251,25 +17866,23 @@
  28517. # Check whether --enable-ntrip was given.
  28518. -if test "${enable_ntrip+set}" = set; then
  28519. +if test "${enable_ntrip+set}" = set; then :
  28520. enableval=$enable_ntrip; ac_ntrip=$enableval
  28521. else
  28522. ac_ntrip=yes
  28523. fi
  28524. -{ echo "$as_me:$LINENO: checking for NTRIP support" >&5
  28525. -echo $ECHO_N "checking for NTRIP support... $ECHO_C" >&6; }
  28526. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NTRIP support" >&5
  28527. +$as_echo_n "checking for NTRIP support... " >&6; }
  28528. if test x"$ac_ntrip" = "xyes"; then
  28529. - { echo "$as_me:$LINENO: result: yes" >&5
  28530. -echo "${ECHO_T}yes" >&6; }
  28531. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28532. +$as_echo "yes" >&6; }
  28533. -cat >>confdefs.h <<\_ACEOF
  28534. -#define NTRIP_ENABLE 1
  28535. -_ACEOF
  28536. +$as_echo "#define NTRIP_ENABLE 1" >>confdefs.h
  28537. else
  28538. - { echo "$as_me:$LINENO: result: no" >&5
  28539. -echo "${ECHO_T}no" >&6; }
  28540. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28541. +$as_echo "no" >&6; }
  28542. fi
  28543. if test "$ac_ntrip" = "yes"; then
  28544. @@ -24282,149 +17895,139 @@
  28545. # Check whether --enable-aivdm was given.
  28546. -if test "${enable_aivdm+set}" = set; then
  28547. +if test "${enable_aivdm+set}" = set; then :
  28548. enableval=$enable_aivdm; ac_aivdm=$enableval
  28549. else
  28550. ac_aivdm=yes
  28551. fi
  28552. -{ echo "$as_me:$LINENO: checking for AIVDM support" >&5
  28553. -echo $ECHO_N "checking for AIVDM support... $ECHO_C" >&6; }
  28554. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AIVDM support" >&5
  28555. +$as_echo_n "checking for AIVDM support... " >&6; }
  28556. if test x"$ac_aivdm" = "xyes"; then
  28557. - { echo "$as_me:$LINENO: result: yes" >&5
  28558. -echo "${ECHO_T}yes" >&6; }
  28559. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28560. +$as_echo "yes" >&6; }
  28561. -cat >>confdefs.h <<\_ACEOF
  28562. -#define AIVDM_ENABLE 1
  28563. -_ACEOF
  28564. +$as_echo "#define AIVDM_ENABLE 1" >>confdefs.h
  28565. else
  28566. - { echo "$as_me:$LINENO: result: no" >&5
  28567. -echo "${ECHO_T}no" >&6; }
  28568. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28569. +$as_echo "no" >&6; }
  28570. fi
  28571. # Check whether --enable-profiling was given.
  28572. -if test "${enable_profiling+set}" = set; then
  28573. +if test "${enable_profiling+set}" = set; then :
  28574. enableval=$enable_profiling; ac_profiling=$enableval
  28575. else
  28576. ac_profiling=no
  28577. fi
  28578. -{ echo "$as_me:$LINENO: checking for profiling support" >&5
  28579. -echo $ECHO_N "checking for profiling support... $ECHO_C" >&6; }
  28580. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for profiling support" >&5
  28581. +$as_echo_n "checking for profiling support... " >&6; }
  28582. if test x"$ac_profiling" = "xyes"; then
  28583. - { echo "$as_me:$LINENO: result: yes" >&5
  28584. -echo "${ECHO_T}yes" >&6; }
  28585. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28586. +$as_echo "yes" >&6; }
  28587. -cat >>confdefs.h <<\_ACEOF
  28588. -#define PROFILING 1
  28589. -_ACEOF
  28590. +$as_echo "#define PROFILING 1" >>confdefs.h
  28591. else
  28592. - { echo "$as_me:$LINENO: result: no" >&5
  28593. -echo "${ECHO_T}no" >&6; }
  28594. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28595. +$as_echo "no" >&6; }
  28596. fi
  28597. # Check whether --enable-ntpshm was given.
  28598. -if test "${enable_ntpshm+set}" = set; then
  28599. +if test "${enable_ntpshm+set}" = set; then :
  28600. enableval=$enable_ntpshm; ac_ntpshm=$enableval
  28601. else
  28602. ac_ntpshm=yes
  28603. fi
  28604. -{ echo "$as_me:$LINENO: checking for NTP time hinting support" >&5
  28605. -echo $ECHO_N "checking for NTP time hinting support... $ECHO_C" >&6; }
  28606. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NTP time hinting support" >&5
  28607. +$as_echo_n "checking for NTP time hinting support... " >&6; }
  28608. if test x"$ac_ntpshm" = "xyes"; then
  28609. - { echo "$as_me:$LINENO: result: yes" >&5
  28610. -echo "${ECHO_T}yes" >&6; }
  28611. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28612. +$as_echo "yes" >&6; }
  28613. -cat >>confdefs.h <<\_ACEOF
  28614. -#define NTPSHM_ENABLE 1
  28615. -_ACEOF
  28616. +$as_echo "#define NTPSHM_ENABLE 1" >>confdefs.h
  28617. else
  28618. - { echo "$as_me:$LINENO: result: no" >&5
  28619. -echo "${ECHO_T}no" >&6; }
  28620. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28621. +$as_echo "no" >&6; }
  28622. fi
  28623. # Check whether --enable-pps was given.
  28624. -if test "${enable_pps+set}" = set; then
  28625. +if test "${enable_pps+set}" = set; then :
  28626. enableval=$enable_pps; ac_pps=$enableval
  28627. else
  28628. ac_pps=yes
  28629. fi
  28630. -{ echo "$as_me:$LINENO: checking for PPS time syncing support" >&5
  28631. -echo $ECHO_N "checking for PPS time syncing support... $ECHO_C" >&6; }
  28632. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PPS time syncing support" >&5
  28633. +$as_echo_n "checking for PPS time syncing support... " >&6; }
  28634. if test x"$ac_pps" = "xyes"; then
  28635. - { echo "$as_me:$LINENO: result: yes" >&5
  28636. -echo "${ECHO_T}yes" >&6; }
  28637. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28638. +$as_echo "yes" >&6; }
  28639. -cat >>confdefs.h <<\_ACEOF
  28640. -#define PPS_ENABLE 1
  28641. -_ACEOF
  28642. +$as_echo "#define PPS_ENABLE 1" >>confdefs.h
  28643. else
  28644. - { echo "$as_me:$LINENO: result: no" >&5
  28645. -echo "${ECHO_T}no" >&6; }
  28646. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28647. +$as_echo "no" >&6; }
  28648. fi
  28649. # Check whether --enable-pps-on-cts was given.
  28650. -if test "${enable_pps_on_cts+set}" = set; then
  28651. +if test "${enable_pps_on_cts+set}" = set; then :
  28652. enableval=$enable_pps_on_cts; ac_ppsoncts=$enableval
  28653. else
  28654. ac_ppsoncts=no
  28655. fi
  28656. -{ echo "$as_me:$LINENO: checking for PPS pulse on CTS rather than DCD" >&5
  28657. -echo $ECHO_N "checking for PPS pulse on CTS rather than DCD... $ECHO_C" >&6; }
  28658. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PPS pulse on CTS rather than DCD" >&5
  28659. +$as_echo_n "checking for PPS pulse on CTS rather than DCD... " >&6; }
  28660. if test x"$ac_ppsoncts" = "xyes"; then
  28661. - { echo "$as_me:$LINENO: result: yes" >&5
  28662. -echo "${ECHO_T}yes" >&6; }
  28663. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28664. +$as_echo "yes" >&6; }
  28665. -cat >>confdefs.h <<\_ACEOF
  28666. -#define PPS_ON_CTS 1
  28667. -_ACEOF
  28668. +$as_echo "#define PPS_ON_CTS 1" >>confdefs.h
  28669. else
  28670. - { echo "$as_me:$LINENO: result: no" >&5
  28671. -echo "${ECHO_T}no" >&6; }
  28672. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28673. +$as_echo "no" >&6; }
  28674. fi
  28675. # Check whether --enable-gpsd-user was given.
  28676. -if test "${enable_gpsd_user+set}" = set; then
  28677. +if test "${enable_gpsd_user+set}" = set; then :
  28678. enableval=$enable_gpsd_user; ac_user=$enableval
  28679. else
  28680. ac_user=nobody
  28681. fi
  28682. -{ echo "$as_me:$LINENO: checking privilege revokation user" >&5
  28683. -echo $ECHO_N "checking privilege revokation user... $ECHO_C" >&6; }
  28684. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking privilege revokation user" >&5
  28685. +$as_echo_n "checking privilege revokation user... " >&6; }
  28686. if test x"$ac_user" != "xnobody"; then
  28687. - { echo "$as_me:$LINENO: result: $ac_user" >&5
  28688. -echo "${ECHO_T}$ac_user" >&6; }
  28689. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_user" >&5
  28690. +$as_echo "$ac_user" >&6; }
  28691. cat >>confdefs.h <<_ACEOF
  28692. #define GPSD_USER "$ac_user"
  28693. _ACEOF
  28694. else
  28695. - { echo "$as_me:$LINENO: result: nobody" >&5
  28696. -echo "${ECHO_T}nobody" >&6; }
  28697. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: nobody" >&5
  28698. +$as_echo "nobody" >&6; }
  28699. fi
  28700. # Check whether --enable-fixed-port-speed was given.
  28701. -if test "${enable_fixed_port_speed+set}" = set; then
  28702. +if test "${enable_fixed_port_speed+set}" = set; then :
  28703. enableval=$enable_fixed_port_speed; ac_baud=$enableval
  28704. else
  28705. ac_baud=no
  28706. fi
  28707. -{ echo "$as_me:$LINENO: checking for fixed port speed" >&5
  28708. -echo $ECHO_N "checking for fixed port speed... $ECHO_C" >&6; }
  28709. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fixed port speed" >&5
  28710. +$as_echo_n "checking for fixed port speed... " >&6; }
  28711. if test x"$ac_baud" != "xno"; then
  28712. - { echo "$as_me:$LINENO: result: $ac_baud" >&5
  28713. -echo "${ECHO_T}$ac_baud" >&6; }
  28714. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_baud" >&5
  28715. +$as_echo "$ac_baud" >&6; }
  28716. cat >>confdefs.h <<_ACEOF
  28717. #define FIXED_PORT_SPEED $ac_baud
  28718. @@ -24432,26 +18035,24 @@
  28719. FIXED_PORT_SPEED="-DSPEEDFLAGS=$ac_baud"
  28720. else
  28721. - { echo "$as_me:$LINENO: result: no" >&5
  28722. -echo "${ECHO_T}no" >&6; }
  28723. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28724. +$as_echo "no" >&6; }
  28725. fi
  28726. # Check whether --enable-dbus was given.
  28727. -if test "${enable_dbus+set}" = set; then
  28728. +if test "${enable_dbus+set}" = set; then :
  28729. enableval=$enable_dbus; ac_dbus=$enableval
  28730. else
  28731. ac_dbus=no
  28732. fi
  28733. -{ echo "$as_me:$LINENO: checking for DBUS support" >&5
  28734. -echo $ECHO_N "checking for DBUS support... $ECHO_C" >&6; }
  28735. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS support" >&5
  28736. +$as_echo_n "checking for DBUS support... " >&6; }
  28737. if test x"$ac_dbus" = "xyes"; then
  28738. - { echo "$as_me:$LINENO: result: yes" >&5
  28739. -echo "${ECHO_T}yes" >&6; }
  28740. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28741. +$as_echo "yes" >&6; }
  28742. -cat >>confdefs.h <<\_ACEOF
  28743. -#define DBUS_ENABLE 1
  28744. -_ACEOF
  28745. +$as_echo "#define DBUS_ENABLE 1" >>confdefs.h
  28746. # Older versions of autotools barf and die on this.
  28747. #PKG_CHECK_MODULES(DBUS, dbus-1 >= 0.23.4 )
  28748. @@ -24464,22 +18065,22 @@
  28749. else
  28750. - { echo "$as_me:$LINENO: result: no" >&5
  28751. -echo "${ECHO_T}no" >&6; }
  28752. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28753. +$as_echo "no" >&6; }
  28754. fi
  28755. # Check whether --enable-max-clients was given.
  28756. -if test "${enable_max_clients+set}" = set; then
  28757. +if test "${enable_max_clients+set}" = set; then :
  28758. enableval=$enable_max_clients; ac_maxclients=$enableval
  28759. else
  28760. ac_maxclients=no
  28761. fi
  28762. -{ echo "$as_me:$LINENO: checking for limited max clients" >&5
  28763. -echo $ECHO_N "checking for limited max clients... $ECHO_C" >&6; }
  28764. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for limited max clients" >&5
  28765. +$as_echo_n "checking for limited max clients... " >&6; }
  28766. if test x"$ac_maxclients" != "xno"; then
  28767. - { echo "$as_me:$LINENO: result: $ac_maxclients" >&5
  28768. -echo "${ECHO_T}$ac_maxclients" >&6; }
  28769. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_maxclients" >&5
  28770. +$as_echo "$ac_maxclients" >&6; }
  28771. cat >>confdefs.h <<_ACEOF
  28772. #define LIMITED_MAX_CLIENTS $ac_maxclients
  28773. @@ -24487,22 +18088,22 @@
  28774. LIMITED_MAX_CLIENTS="-DLIMITED_MAX_CLIENTS=$ac_maxclients"
  28775. else
  28776. - { echo "$as_me:$LINENO: result: no" >&5
  28777. -echo "${ECHO_T}no" >&6; }
  28778. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28779. +$as_echo "no" >&6; }
  28780. fi
  28781. # Check whether --enable-max-devices was given.
  28782. -if test "${enable_max_devices+set}" = set; then
  28783. +if test "${enable_max_devices+set}" = set; then :
  28784. enableval=$enable_max_devices; ac_maxdevices=$enableval
  28785. else
  28786. ac_maxdevices=no
  28787. fi
  28788. -{ echo "$as_me:$LINENO: checking for max devices" >&5
  28789. -echo $ECHO_N "checking for max devices... $ECHO_C" >&6; }
  28790. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for max devices" >&5
  28791. +$as_echo_n "checking for max devices... " >&6; }
  28792. if test x"$ac_maxdevices" != "xno"; then
  28793. - { echo "$as_me:$LINENO: result: $ac_maxdevices" >&5
  28794. -echo "${ECHO_T}$ac_maxdevices" >&6; }
  28795. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_maxdevices" >&5
  28796. +$as_echo "$ac_maxdevices" >&6; }
  28797. cat >>confdefs.h <<_ACEOF
  28798. #define LIMITED_MAX_DEVICES $ac_maxdevices
  28799. @@ -24510,52 +18111,48 @@
  28800. LIMITED_MAX_DEVICES="-DLIMITED_MAX_DEVICES=$ac_maxdevices"
  28801. else
  28802. - { echo "$as_me:$LINENO: result: no" >&5
  28803. -echo "${ECHO_T}no" >&6; }
  28804. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28805. +$as_echo "no" >&6; }
  28806. fi
  28807. # Check whether --enable-reconfigure was given.
  28808. -if test "${enable_reconfigure+set}" = set; then
  28809. +if test "${enable_reconfigure+set}" = set; then :
  28810. enableval=$enable_reconfigure; ac_reconfigure=$enableval
  28811. else
  28812. ac_reconfigure=yes
  28813. fi
  28814. -{ echo "$as_me:$LINENO: checking if device reconfiguration is allowed" >&5
  28815. -echo $ECHO_N "checking if device reconfiguration is allowed... $ECHO_C" >&6; }
  28816. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if device reconfiguration is allowed" >&5
  28817. +$as_echo_n "checking if device reconfiguration is allowed... " >&6; }
  28818. if test x"$ac_reconfigure" != "xno"; then
  28819. - { echo "$as_me:$LINENO: result: $ac_reconfigure" >&5
  28820. -echo "${ECHO_T}$ac_reconfigure" >&6; }
  28821. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_reconfigure" >&5
  28822. +$as_echo "$ac_reconfigure" >&6; }
  28823. -cat >>confdefs.h <<\_ACEOF
  28824. -#define ALLOW_RECONFIGURE 1
  28825. -_ACEOF
  28826. +$as_echo "#define ALLOW_RECONFIGURE 1" >>confdefs.h
  28827. else
  28828. - { echo "$as_me:$LINENO: result: no" >&5
  28829. -echo "${ECHO_T}no" >&6; }
  28830. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28831. +$as_echo "no" >&6; }
  28832. fi
  28833. # Check whether --enable-controlsend was given.
  28834. -if test "${enable_controlsend+set}" = set; then
  28835. +if test "${enable_controlsend+set}" = set; then :
  28836. enableval=$enable_controlsend; ac_controlsend=$enableval
  28837. else
  28838. ac_controlsend=yes
  28839. fi
  28840. -{ echo "$as_me:$LINENO: checking if control sending is allowed" >&5
  28841. -echo $ECHO_N "checking if control sending is allowed... $ECHO_C" >&6; }
  28842. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if control sending is allowed" >&5
  28843. +$as_echo_n "checking if control sending is allowed... " >&6; }
  28844. if test x"$ac_controlsend" != "xno"; then
  28845. - { echo "$as_me:$LINENO: result: $ac_controlsend" >&5
  28846. -echo "${ECHO_T}$ac_controlsend" >&6; }
  28847. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_controlsend" >&5
  28848. +$as_echo "$ac_controlsend" >&6; }
  28849. -cat >>confdefs.h <<\_ACEOF
  28850. -#define ALLOW_CONTROLSEND 1
  28851. -_ACEOF
  28852. +$as_echo "#define ALLOW_CONTROLSEND 1" >>confdefs.h
  28853. else
  28854. - { echo "$as_me:$LINENO: result: no" >&5
  28855. -echo "${ECHO_T}no" >&6; }
  28856. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28857. +$as_echo "no" >&6; }
  28858. fi
  28859. if test x"$ac_dbus" = x"yes"; then
  28860. @@ -24568,33 +18165,31 @@
  28861. # Check whether --enable-squelch was given.
  28862. -if test "${enable_squelch+set}" = set; then
  28863. +if test "${enable_squelch+set}" = set; then :
  28864. enableval=$enable_squelch; ac_squelch=$enableval
  28865. else
  28866. ac_squelch=no
  28867. fi
  28868. -{ echo "$as_me:$LINENO: checking for disabled logging" >&5
  28869. -echo $ECHO_N "checking for disabled logging... $ECHO_C" >&6; }
  28870. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for disabled logging" >&5
  28871. +$as_echo_n "checking for disabled logging... " >&6; }
  28872. if test x"$ac_squelch" = "xyes"; then
  28873. - { echo "$as_me:$LINENO: result: yes" >&5
  28874. -echo "${ECHO_T}yes" >&6; }
  28875. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28876. +$as_echo "yes" >&6; }
  28877. -cat >>confdefs.h <<\_ACEOF
  28878. -#define SQUELCH_ENABLE 1
  28879. -_ACEOF
  28880. +$as_echo "#define SQUELCH_ENABLE 1" >>confdefs.h
  28881. else
  28882. - { echo "$as_me:$LINENO: result: no" >&5
  28883. -echo "${ECHO_T}no" >&6; }
  28884. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28885. +$as_echo "no" >&6; }
  28886. fi
  28887. # Extract the first word of "xsltproc", so it can be a program name with args.
  28888. set dummy xsltproc; ac_word=$2
  28889. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  28890. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  28891. -if test "${ac_cv_prog_WITH_XSLTPROC+set}" = set; then
  28892. - echo $ECHO_N "(cached) $ECHO_C" >&6
  28893. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  28894. +$as_echo_n "checking for $ac_word... " >&6; }
  28895. +if test "${ac_cv_prog_WITH_XSLTPROC+set}" = set; then :
  28896. + $as_echo_n "(cached) " >&6
  28897. else
  28898. if test -n "$WITH_XSLTPROC"; then
  28899. ac_cv_prog_WITH_XSLTPROC="$WITH_XSLTPROC" # Let the user override the test.
  28900. @@ -24604,14 +18199,14 @@
  28901. do
  28902. IFS=$as_save_IFS
  28903. test -z "$as_dir" && as_dir=.
  28904. - for ac_exec_ext in '' $ac_executable_extensions; do
  28905. + for ac_exec_ext in '' $ac_executable_extensions; do
  28906. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  28907. ac_cv_prog_WITH_XSLTPROC="yes"
  28908. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  28909. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  28910. break 2
  28911. fi
  28912. done
  28913. -done
  28914. + done
  28915. IFS=$as_save_IFS
  28916. test -z "$ac_cv_prog_WITH_XSLTPROC" && ac_cv_prog_WITH_XSLTPROC="no"
  28917. @@ -24619,11 +18214,11 @@
  28918. fi
  28919. WITH_XSLTPROC=$ac_cv_prog_WITH_XSLTPROC
  28920. if test -n "$WITH_XSLTPROC"; then
  28921. - { echo "$as_me:$LINENO: result: $WITH_XSLTPROC" >&5
  28922. -echo "${ECHO_T}$WITH_XSLTPROC" >&6; }
  28923. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_XSLTPROC" >&5
  28924. +$as_echo "$WITH_XSLTPROC" >&6; }
  28925. else
  28926. - { echo "$as_me:$LINENO: result: no" >&5
  28927. -echo "${ECHO_T}no" >&6; }
  28928. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28929. +$as_echo "no" >&6; }
  28930. fi
  28931. @@ -24631,8 +18226,8 @@
  28932. MANTARGET=
  28933. MANFLAGS=
  28934. if test "x$WITH_XSLTPROC" = "xyes"; then
  28935. - { echo "$as_me:$LINENO: checking whether xsltproc knows about docbook xsl" >&5
  28936. -echo $ECHO_N "checking whether xsltproc knows about docbook xsl... $ECHO_C" >&6; }
  28937. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether xsltproc knows about docbook xsl" >&5
  28938. +$as_echo_n "checking whether xsltproc knows about docbook xsl... " >&6; }
  28939. DOCBOOK_URI='http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'
  28940. cat >conftest.xml <<_EOF
  28941. <refentry id="foo.1">
  28942. @@ -24651,21 +18246,21 @@
  28943. MANGENERATOR=xsltproc
  28944. MANTARGET="$DOCBOOK_URI"
  28945. MANFLAGS="--nonet"
  28946. - { echo "$as_me:$LINENO: result: yes" >&5
  28947. -echo "${ECHO_T}yes" >&6; }
  28948. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28949. +$as_echo "yes" >&6; }
  28950. else
  28951. - { echo "$as_me:$LINENO: result: no" >&5
  28952. -echo "${ECHO_T}no" >&6; }
  28953. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  28954. +$as_echo "no" >&6; }
  28955. fi
  28956. rm -f conftest.xml foo.1
  28957. fi
  28958. if test x"$MANGENERATOR" = x; then
  28959. # Extract the first word of "xmlto", so it can be a program name with args.
  28960. set dummy xmlto; ac_word=$2
  28961. -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  28962. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  28963. -if test "${ac_cv_prog_WITH_XMLTO+set}" = set; then
  28964. - echo $ECHO_N "(cached) $ECHO_C" >&6
  28965. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  28966. +$as_echo_n "checking for $ac_word... " >&6; }
  28967. +if test "${ac_cv_prog_WITH_XMLTO+set}" = set; then :
  28968. + $as_echo_n "(cached) " >&6
  28969. else
  28970. if test -n "$WITH_XMLTO"; then
  28971. ac_cv_prog_WITH_XMLTO="$WITH_XMLTO" # Let the user override the test.
  28972. @@ -24675,14 +18270,14 @@
  28973. do
  28974. IFS=$as_save_IFS
  28975. test -z "$as_dir" && as_dir=.
  28976. - for ac_exec_ext in '' $ac_executable_extensions; do
  28977. + for ac_exec_ext in '' $ac_executable_extensions; do
  28978. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  28979. ac_cv_prog_WITH_XMLTO="yes"
  28980. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  28981. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  28982. break 2
  28983. fi
  28984. done
  28985. -done
  28986. + done
  28987. IFS=$as_save_IFS
  28988. test -z "$ac_cv_prog_WITH_XMLTO" && ac_cv_prog_WITH_XMLTO="no"
  28989. @@ -24690,11 +18285,11 @@
  28990. fi
  28991. WITH_XMLTO=$ac_cv_prog_WITH_XMLTO
  28992. if test -n "$WITH_XMLTO"; then
  28993. - { echo "$as_me:$LINENO: result: $WITH_XMLTO" >&5
  28994. -echo "${ECHO_T}$WITH_XMLTO" >&6; }
  28995. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_XMLTO" >&5
  28996. +$as_echo "$WITH_XMLTO" >&6; }
  28997. else
  28998. - { echo "$as_me:$LINENO: result: no" >&5
  28999. -echo "${ECHO_T}no" >&6; }
  29000. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29001. +$as_echo "no" >&6; }
  29002. fi
  29003. @@ -24703,10 +18298,10 @@
  29004. MANTARGET=man
  29005. MANFLAGS=
  29006. else
  29007. - { echo "$as_me:$LINENO: WARNING: Neither xsltproc nor xmlto works: I will not build man pages." >&5
  29008. -echo "$as_me: WARNING: Neither xsltproc nor xmlto works: I will not build man pages." >&2;}
  29009. - { echo "$as_me:$LINENO: WARNING: To build man pages, install xsltproc/xsltlib or xmlto and run autogen.sh again." >&5
  29010. -echo "$as_me: WARNING: To build man pages, install xsltproc/xsltlib or xmlto and run autogen.sh again." >&2;}
  29011. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Neither xsltproc nor xmlto works: I will not build man pages." >&5
  29012. +$as_echo "$as_me: WARNING: Neither xsltproc nor xmlto works: I will not build man pages." >&2;}
  29013. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: To build man pages, install xsltproc/xsltlib or xmlto and run autogen.sh again." >&5
  29014. +$as_echo "$as_me: WARNING: To build man pages, install xsltproc/xsltlib or xmlto and run autogen.sh again." >&2;}
  29015. fi
  29016. fi
  29017. if test x"$MANGENERATOR" != x; then
  29018. @@ -24768,7 +18363,6 @@
  29019. echo " ---------------"
  29020. echo "Build ncurses programs : $ac_ncurses"
  29021. echo "Enable X11 support : $ac_x"
  29022. -echo "Enable Python support : $ac_python"
  29023. echo "------------------------------------------"
  29024. if test "xdummy" = "xdummy" -a \
  29025. @@ -24789,9 +18383,7 @@
  29026. x"$ac_tripmate" = "xno" -a \
  29027. x"$ac_tsip" = "xno" -a \
  29028. x"$ac_ubx" = "xno"; then
  29029. - { { echo "$as_me:$LINENO: error: Can't build gpsd with no protocols enabled" >&5
  29030. -echo "$as_me: error: Can't build gpsd with no protocols enabled" >&2;}
  29031. - { (exit 1); exit 1; }; }
  29032. + as_fn_error "Can't build gpsd with no protocols enabled" "$LINENO" 5
  29033. fi
  29034. ac_config_files="$ac_config_files Makefile packaging/gpsd.spec libgps.pc libgpsd.pc"
  29035. @@ -24822,12 +18414,13 @@
  29036. case $ac_val in #(
  29037. *${as_nl}*)
  29038. case $ac_var in #(
  29039. - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  29040. -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  29041. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  29042. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  29043. esac
  29044. case $ac_var in #(
  29045. _ | IFS | as_nl) ;; #(
  29046. - *) $as_unset $ac_var ;;
  29047. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  29048. + *) { eval $ac_var=; unset $ac_var;} ;;
  29049. esac ;;
  29050. esac
  29051. done
  29052. @@ -24835,8 +18428,8 @@
  29053. (set) 2>&1 |
  29054. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  29055. *${as_nl}ac_space=\ *)
  29056. - # `set' does not quote correctly, so add quotes (double-quote
  29057. - # substitution turns \\\\ into \\, and sed turns \\ into \).
  29058. + # `set' does not quote correctly, so add quotes: double-quote
  29059. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  29060. sed -n \
  29061. "s/'/'\\\\''/g;
  29062. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  29063. @@ -24859,12 +18452,12 @@
  29064. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  29065. if test -w "$cache_file"; then
  29066. test "x$cache_file" != "x/dev/null" &&
  29067. - { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  29068. -echo "$as_me: updating cache $cache_file" >&6;}
  29069. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  29070. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  29071. cat confcache >$cache_file
  29072. else
  29073. - { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  29074. -echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  29075. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  29076. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  29077. fi
  29078. fi
  29079. rm -f confcache
  29080. @@ -24880,143 +18473,99 @@
  29081. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  29082. # 1. Remove the extension, and $U if already installed.
  29083. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  29084. - ac_i=`echo "$ac_i" | sed "$ac_script"`
  29085. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  29086. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  29087. # will be set to the directory where LIBOBJS objects are built.
  29088. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  29089. - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  29090. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  29091. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  29092. done
  29093. LIBOBJS=$ac_libobjs
  29094. LTLIBOBJS=$ac_ltlibobjs
  29095. + if test -n "$EXEEXT"; then
  29096. + am__EXEEXT_TRUE=
  29097. + am__EXEEXT_FALSE='#'
  29098. +else
  29099. + am__EXEEXT_TRUE='#'
  29100. + am__EXEEXT_FALSE=
  29101. +fi
  29102. +
  29103. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  29104. - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  29105. -Usually this means the macro was only invoked conditionally." >&5
  29106. -echo "$as_me: error: conditional \"AMDEP\" was never defined.
  29107. -Usually this means the macro was only invoked conditionally." >&2;}
  29108. - { (exit 1); exit 1; }; }
  29109. + as_fn_error "conditional \"AMDEP\" was never defined.
  29110. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29111. fi
  29112. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  29113. - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  29114. -Usually this means the macro was only invoked conditionally." >&5
  29115. -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  29116. -Usually this means the macro was only invoked conditionally." >&2;}
  29117. - { (exit 1); exit 1; }; }
  29118. -fi
  29119. -if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
  29120. - { { echo "$as_me:$LINENO: error: conditional \"HAVE_PYTHON\" was never defined.
  29121. -Usually this means the macro was only invoked conditionally." >&5
  29122. -echo "$as_me: error: conditional \"HAVE_PYTHON\" was never defined.
  29123. -Usually this means the macro was only invoked conditionally." >&2;}
  29124. - { (exit 1); exit 1; }; }
  29125. + as_fn_error "conditional \"am__fastdepCC\" was never defined.
  29126. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29127. fi
  29128. if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  29129. - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
  29130. -Usually this means the macro was only invoked conditionally." >&5
  29131. -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
  29132. -Usually this means the macro was only invoked conditionally." >&2;}
  29133. - { (exit 1); exit 1; }; }
  29134. + as_fn_error "conditional \"am__fastdepCXX\" was never defined.
  29135. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29136. fi
  29137. if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  29138. - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
  29139. -Usually this means the macro was only invoked conditionally." >&5
  29140. -echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
  29141. -Usually this means the macro was only invoked conditionally." >&2;}
  29142. - { (exit 1); exit 1; }; }
  29143. + as_fn_error "conditional \"am__fastdepCXX\" was never defined.
  29144. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29145. fi
  29146. +
  29147. if test -z "${HAVE_XAW_TRUE}" && test -z "${HAVE_XAW_FALSE}"; then
  29148. - { { echo "$as_me:$LINENO: error: conditional \"HAVE_XAW\" was never defined.
  29149. -Usually this means the macro was only invoked conditionally." >&5
  29150. -echo "$as_me: error: conditional \"HAVE_XAW\" was never defined.
  29151. -Usually this means the macro was only invoked conditionally." >&2;}
  29152. - { (exit 1); exit 1; }; }
  29153. + as_fn_error "conditional \"HAVE_XAW\" was never defined.
  29154. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29155. fi
  29156. if test -z "${HAVE_XAW_TRUE}" && test -z "${HAVE_XAW_FALSE}"; then
  29157. - { { echo "$as_me:$LINENO: error: conditional \"HAVE_XAW\" was never defined.
  29158. -Usually this means the macro was only invoked conditionally." >&5
  29159. -echo "$as_me: error: conditional \"HAVE_XAW\" was never defined.
  29160. -Usually this means the macro was only invoked conditionally." >&2;}
  29161. - { (exit 1); exit 1; }; }
  29162. + as_fn_error "conditional \"HAVE_XAW\" was never defined.
  29163. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29164. fi
  29165. if test -z "${HAVE_MOTIF_TRUE}" && test -z "${HAVE_MOTIF_FALSE}"; then
  29166. - { { echo "$as_me:$LINENO: error: conditional \"HAVE_MOTIF\" was never defined.
  29167. -Usually this means the macro was only invoked conditionally." >&5
  29168. -echo "$as_me: error: conditional \"HAVE_MOTIF\" was never defined.
  29169. -Usually this means the macro was only invoked conditionally." >&2;}
  29170. - { (exit 1); exit 1; }; }
  29171. + as_fn_error "conditional \"HAVE_MOTIF\" was never defined.
  29172. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29173. fi
  29174. if test -z "${HAVE_MOTIF_TRUE}" && test -z "${HAVE_MOTIF_FALSE}"; then
  29175. - { { echo "$as_me:$LINENO: error: conditional \"HAVE_MOTIF\" was never defined.
  29176. -Usually this means the macro was only invoked conditionally." >&5
  29177. -echo "$as_me: error: conditional \"HAVE_MOTIF\" was never defined.
  29178. -Usually this means the macro was only invoked conditionally." >&2;}
  29179. - { (exit 1); exit 1; }; }
  29180. + as_fn_error "conditional \"HAVE_MOTIF\" was never defined.
  29181. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29182. fi
  29183. if test -z "${HAVE_XAW_TRUE}" && test -z "${HAVE_XAW_FALSE}"; then
  29184. - { { echo "$as_me:$LINENO: error: conditional \"HAVE_XAW\" was never defined.
  29185. -Usually this means the macro was only invoked conditionally." >&5
  29186. -echo "$as_me: error: conditional \"HAVE_XAW\" was never defined.
  29187. -Usually this means the macro was only invoked conditionally." >&2;}
  29188. - { (exit 1); exit 1; }; }
  29189. + as_fn_error "conditional \"HAVE_XAW\" was never defined.
  29190. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29191. fi
  29192. if test -z "${HAVE_NCURSES_TRUE}" && test -z "${HAVE_NCURSES_FALSE}"; then
  29193. - { { echo "$as_me:$LINENO: error: conditional \"HAVE_NCURSES\" was never defined.
  29194. -Usually this means the macro was only invoked conditionally." >&5
  29195. -echo "$as_me: error: conditional \"HAVE_NCURSES\" was never defined.
  29196. -Usually this means the macro was only invoked conditionally." >&2;}
  29197. - { (exit 1); exit 1; }; }
  29198. + as_fn_error "conditional \"HAVE_NCURSES\" was never defined.
  29199. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29200. fi
  29201. if test -z "${HAVE_NCURSES_TRUE}" && test -z "${HAVE_NCURSES_FALSE}"; then
  29202. - { { echo "$as_me:$LINENO: error: conditional \"HAVE_NCURSES\" was never defined.
  29203. -Usually this means the macro was only invoked conditionally." >&5
  29204. -echo "$as_me: error: conditional \"HAVE_NCURSES\" was never defined.
  29205. -Usually this means the macro was only invoked conditionally." >&2;}
  29206. - { (exit 1); exit 1; }; }
  29207. + as_fn_error "conditional \"HAVE_NCURSES\" was never defined.
  29208. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29209. fi
  29210. if test -z "${HAVE_RTCM104V2_TRUE}" && test -z "${HAVE_RTCM104V2_FALSE}"; then
  29211. - { { echo "$as_me:$LINENO: error: conditional \"HAVE_RTCM104V2\" was never defined.
  29212. -Usually this means the macro was only invoked conditionally." >&5
  29213. -echo "$as_me: error: conditional \"HAVE_RTCM104V2\" was never defined.
  29214. -Usually this means the macro was only invoked conditionally." >&2;}
  29215. - { (exit 1); exit 1; }; }
  29216. + as_fn_error "conditional \"HAVE_RTCM104V2\" was never defined.
  29217. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29218. fi
  29219. if test -z "${HAVE_RTCM104V3_TRUE}" && test -z "${HAVE_RTCM104V3_FALSE}"; then
  29220. - { { echo "$as_me:$LINENO: error: conditional \"HAVE_RTCM104V3\" was never defined.
  29221. -Usually this means the macro was only invoked conditionally." >&5
  29222. -echo "$as_me: error: conditional \"HAVE_RTCM104V3\" was never defined.
  29223. -Usually this means the macro was only invoked conditionally." >&2;}
  29224. - { (exit 1); exit 1; }; }
  29225. + as_fn_error "conditional \"HAVE_RTCM104V3\" was never defined.
  29226. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29227. fi
  29228. if test -z "${HAVE_NTRIP_TRUE}" && test -z "${HAVE_NTRIP_FALSE}"; then
  29229. - { { echo "$as_me:$LINENO: error: conditional \"HAVE_NTRIP\" was never defined.
  29230. -Usually this means the macro was only invoked conditionally." >&5
  29231. -echo "$as_me: error: conditional \"HAVE_NTRIP\" was never defined.
  29232. -Usually this means the macro was only invoked conditionally." >&2;}
  29233. - { (exit 1); exit 1; }; }
  29234. + as_fn_error "conditional \"HAVE_NTRIP\" was never defined.
  29235. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29236. fi
  29237. if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then
  29238. - { { echo "$as_me:$LINENO: error: conditional \"HAVE_DBUS\" was never defined.
  29239. -Usually this means the macro was only invoked conditionally." >&5
  29240. -echo "$as_me: error: conditional \"HAVE_DBUS\" was never defined.
  29241. -Usually this means the macro was only invoked conditionally." >&2;}
  29242. - { (exit 1); exit 1; }; }
  29243. + as_fn_error "conditional \"HAVE_DBUS\" was never defined.
  29244. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29245. fi
  29246. if test -z "${HAVE_XSLT_PROCESSOR_TRUE}" && test -z "${HAVE_XSLT_PROCESSOR_FALSE}"; then
  29247. - { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLT_PROCESSOR\" was never defined.
  29248. -Usually this means the macro was only invoked conditionally." >&5
  29249. -echo "$as_me: error: conditional \"HAVE_XSLT_PROCESSOR\" was never defined.
  29250. -Usually this means the macro was only invoked conditionally." >&2;}
  29251. - { (exit 1); exit 1; }; }
  29252. + as_fn_error "conditional \"HAVE_XSLT_PROCESSOR\" was never defined.
  29253. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  29254. fi
  29255. : ${CONFIG_STATUS=./config.status}
  29256. +ac_write_fail=0
  29257. ac_clean_files_save=$ac_clean_files
  29258. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  29259. -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  29260. -echo "$as_me: creating $CONFIG_STATUS" >&6;}
  29261. -cat >$CONFIG_STATUS <<_ACEOF
  29262. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  29263. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  29264. +as_write_fail=0
  29265. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  29266. #! $SHELL
  29267. # Generated by $as_me.
  29268. # Run this file to recreate the current configuration.
  29269. @@ -25026,59 +18575,79 @@
  29270. debug=false
  29271. ac_cs_recheck=false
  29272. ac_cs_silent=false
  29273. -SHELL=\${CONFIG_SHELL-$SHELL}
  29274. -_ACEOF
  29275. -cat >>$CONFIG_STATUS <<\_ACEOF
  29276. -## --------------------- ##
  29277. -## M4sh Initialization. ##
  29278. -## --------------------- ##
  29279. +SHELL=\${CONFIG_SHELL-$SHELL}
  29280. +export SHELL
  29281. +_ASEOF
  29282. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  29283. +## -------------------- ##
  29284. +## M4sh Initialization. ##
  29285. +## -------------------- ##
  29286. # Be more Bourne compatible
  29287. DUALCASE=1; export DUALCASE # for MKS sh
  29288. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  29289. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  29290. emulate sh
  29291. NULLCMD=:
  29292. - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  29293. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  29294. # is contrary to our usage. Disable this feature.
  29295. alias -g '${1+"$@"}'='"$@"'
  29296. setopt NO_GLOB_SUBST
  29297. else
  29298. - case `(set -o) 2>/dev/null` in
  29299. - *posix*) set -o posix ;;
  29300. + case `(set -o) 2>/dev/null` in #(
  29301. + *posix*) :
  29302. + set -o posix ;; #(
  29303. + *) :
  29304. + ;;
  29305. esac
  29306. -
  29307. fi
  29308. -
  29309. -
  29310. -# PATH needs CR
  29311. -# Avoid depending upon Character Ranges.
  29312. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  29313. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  29314. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  29315. -as_cr_digits='0123456789'
  29316. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  29317. -
  29318. -# The user is always right.
  29319. -if test "${PATH_SEPARATOR+set}" != set; then
  29320. - echo "#! /bin/sh" >conf$$.sh
  29321. - echo "exit 0" >>conf$$.sh
  29322. - chmod +x conf$$.sh
  29323. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  29324. - PATH_SEPARATOR=';'
  29325. - else
  29326. - PATH_SEPARATOR=:
  29327. +as_nl='
  29328. +'
  29329. +export as_nl
  29330. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  29331. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  29332. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  29333. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  29334. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  29335. +# but without wasting forks for bash or zsh.
  29336. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  29337. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  29338. + as_echo='print -r --'
  29339. + as_echo_n='print -rn --'
  29340. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  29341. + as_echo='printf %s\n'
  29342. + as_echo_n='printf %s'
  29343. +else
  29344. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  29345. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  29346. + as_echo_n='/usr/ucb/echo -n'
  29347. + else
  29348. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  29349. + as_echo_n_body='eval
  29350. + arg=$1;
  29351. + case $arg in #(
  29352. + *"$as_nl"*)
  29353. + expr "X$arg" : "X\\(.*\\)$as_nl";
  29354. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  29355. + esac;
  29356. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  29357. + '
  29358. + export as_echo_n_body
  29359. + as_echo_n='sh -c $as_echo_n_body as_echo'
  29360. fi
  29361. - rm -f conf$$.sh
  29362. + export as_echo_body
  29363. + as_echo='sh -c $as_echo_body as_echo'
  29364. fi
  29365. -# Support unset when possible.
  29366. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  29367. - as_unset=unset
  29368. -else
  29369. - as_unset=false
  29370. +# The user is always right.
  29371. +if test "${PATH_SEPARATOR+set}" != set; then
  29372. + PATH_SEPARATOR=:
  29373. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  29374. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  29375. + PATH_SEPARATOR=';'
  29376. + }
  29377. fi
  29378. @@ -25087,20 +18656,18 @@
  29379. # there to prevent editors from complaining about space-tab.
  29380. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  29381. # splitting by setting IFS to empty value.)
  29382. -as_nl='
  29383. -'
  29384. IFS=" "" $as_nl"
  29385. # Find who we are. Look in the path if we contain no directory separator.
  29386. -case $0 in
  29387. +case $0 in #((
  29388. *[\\/]* ) as_myself=$0 ;;
  29389. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29390. for as_dir in $PATH
  29391. do
  29392. IFS=$as_save_IFS
  29393. test -z "$as_dir" && as_dir=.
  29394. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  29395. -done
  29396. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  29397. + done
  29398. IFS=$as_save_IFS
  29399. ;;
  29400. @@ -25111,32 +18678,111 @@
  29401. as_myself=$0
  29402. fi
  29403. if test ! -f "$as_myself"; then
  29404. - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  29405. - { (exit 1); exit 1; }
  29406. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  29407. + exit 1
  29408. fi
  29409. -# Work around bugs in pre-3.0 UWIN ksh.
  29410. -for as_var in ENV MAIL MAILPATH
  29411. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  29412. +# Unset variables that we do not need and which cause bugs (e.g. in
  29413. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  29414. +# suppresses any "Segmentation fault" message there. '((' could
  29415. +# trigger a bug in pdksh 5.2.14.
  29416. +for as_var in BASH_ENV ENV MAIL MAILPATH
  29417. +do eval test x\${$as_var+set} = xset \
  29418. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  29419. done
  29420. PS1='$ '
  29421. PS2='> '
  29422. PS4='+ '
  29423. # NLS nuisances.
  29424. -for as_var in \
  29425. - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  29426. - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  29427. - LC_TELEPHONE LC_TIME
  29428. -do
  29429. - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  29430. - eval $as_var=C; export $as_var
  29431. - else
  29432. - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  29433. - fi
  29434. -done
  29435. +LC_ALL=C
  29436. +export LC_ALL
  29437. +LANGUAGE=C
  29438. +export LANGUAGE
  29439. +
  29440. +# CDPATH.
  29441. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  29442. +
  29443. +
  29444. +# as_fn_error ERROR [LINENO LOG_FD]
  29445. +# ---------------------------------
  29446. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  29447. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  29448. +# script with status $?, using 1 if that was 0.
  29449. +as_fn_error ()
  29450. +{
  29451. + as_status=$?; test $as_status -eq 0 && as_status=1
  29452. + if test "$3"; then
  29453. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  29454. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  29455. + fi
  29456. + $as_echo "$as_me: error: $1" >&2
  29457. + as_fn_exit $as_status
  29458. +} # as_fn_error
  29459. +
  29460. +
  29461. +# as_fn_set_status STATUS
  29462. +# -----------------------
  29463. +# Set $? to STATUS, without forking.
  29464. +as_fn_set_status ()
  29465. +{
  29466. + return $1
  29467. +} # as_fn_set_status
  29468. +
  29469. +# as_fn_exit STATUS
  29470. +# -----------------
  29471. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  29472. +as_fn_exit ()
  29473. +{
  29474. + set +e
  29475. + as_fn_set_status $1
  29476. + exit $1
  29477. +} # as_fn_exit
  29478. +
  29479. +# as_fn_unset VAR
  29480. +# ---------------
  29481. +# Portably unset VAR.
  29482. +as_fn_unset ()
  29483. +{
  29484. + { eval $1=; unset $1;}
  29485. +}
  29486. +as_unset=as_fn_unset
  29487. +# as_fn_append VAR VALUE
  29488. +# ----------------------
  29489. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  29490. +# advantage of any shell optimizations that allow amortized linear growth over
  29491. +# repeated appends, instead of the typical quadratic growth present in naive
  29492. +# implementations.
  29493. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  29494. + eval 'as_fn_append ()
  29495. + {
  29496. + eval $1+=\$2
  29497. + }'
  29498. +else
  29499. + as_fn_append ()
  29500. + {
  29501. + eval $1=\$$1\$2
  29502. + }
  29503. +fi # as_fn_append
  29504. +
  29505. +# as_fn_arith ARG...
  29506. +# ------------------
  29507. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  29508. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  29509. +# must be portable across $(()) and expr.
  29510. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  29511. + eval 'as_fn_arith ()
  29512. + {
  29513. + as_val=$(( $* ))
  29514. + }'
  29515. +else
  29516. + as_fn_arith ()
  29517. + {
  29518. + as_val=`expr "$@" || test $? -eq 1`
  29519. + }
  29520. +fi # as_fn_arith
  29521. +
  29522. -# Required to use basename.
  29523. if expr a : '\(a\)' >/dev/null 2>&1 &&
  29524. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  29525. as_expr=expr
  29526. @@ -25150,13 +18796,17 @@
  29527. as_basename=false
  29528. fi
  29529. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  29530. + as_dirname=dirname
  29531. +else
  29532. + as_dirname=false
  29533. +fi
  29534. -# Name of the executable.
  29535. as_me=`$as_basename -- "$0" ||
  29536. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  29537. X"$0" : 'X\(//\)$' \| \
  29538. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  29539. -echo X/"$0" |
  29540. +$as_echo X/"$0" |
  29541. sed '/^.*\/\([^/][^/]*\)\/*$/{
  29542. s//\1/
  29543. q
  29544. @@ -25171,104 +18821,103 @@
  29545. }
  29546. s/.*/./; q'`
  29547. -# CDPATH.
  29548. -$as_unset CDPATH
  29549. -
  29550. -
  29551. -
  29552. - as_lineno_1=$LINENO
  29553. - as_lineno_2=$LINENO
  29554. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  29555. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  29556. -
  29557. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  29558. - # uniformly replaced by the line number. The first 'sed' inserts a
  29559. - # line-number line after each line using $LINENO; the second 'sed'
  29560. - # does the real work. The second script uses 'N' to pair each
  29561. - # line-number line with the line containing $LINENO, and appends
  29562. - # trailing '-' during substitution so that $LINENO is not a special
  29563. - # case at line end.
  29564. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  29565. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  29566. - # E. McMahon (1931-1989) for sed's syntax. :-)
  29567. - sed -n '
  29568. - p
  29569. - /[$]LINENO/=
  29570. - ' <$as_myself |
  29571. - sed '
  29572. - s/[$]LINENO.*/&-/
  29573. - t lineno
  29574. - b
  29575. - :lineno
  29576. - N
  29577. - :loop
  29578. - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  29579. - t loop
  29580. - s/-\n.*//
  29581. - ' >$as_me.lineno &&
  29582. - chmod +x "$as_me.lineno" ||
  29583. - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  29584. - { (exit 1); exit 1; }; }
  29585. -
  29586. - # Don't try to exec as it changes $[0], causing all sort of problems
  29587. - # (the dirname of $[0] is not the place where we might find the
  29588. - # original and so on. Autoconf is especially sensitive to this).
  29589. - . "./$as_me.lineno"
  29590. - # Exit status is that of the last command.
  29591. - exit
  29592. -}
  29593. -
  29594. -
  29595. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  29596. - as_dirname=dirname
  29597. -else
  29598. - as_dirname=false
  29599. -fi
  29600. +# Avoid depending upon Character Ranges.
  29601. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  29602. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  29603. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  29604. +as_cr_digits='0123456789'
  29605. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  29606. ECHO_C= ECHO_N= ECHO_T=
  29607. -case `echo -n x` in
  29608. +case `echo -n x` in #(((((
  29609. -n*)
  29610. - case `echo 'x\c'` in
  29611. + case `echo 'xy\c'` in
  29612. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  29613. - *) ECHO_C='\c';;
  29614. + xy) ECHO_C='\c';;
  29615. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  29616. + ECHO_T=' ';;
  29617. esac;;
  29618. *)
  29619. ECHO_N='-n';;
  29620. esac
  29621. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  29622. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  29623. - as_expr=expr
  29624. -else
  29625. - as_expr=false
  29626. -fi
  29627. -
  29628. rm -f conf$$ conf$$.exe conf$$.file
  29629. if test -d conf$$.dir; then
  29630. rm -f conf$$.dir/conf$$.file
  29631. else
  29632. rm -f conf$$.dir
  29633. - mkdir conf$$.dir
  29634. + mkdir conf$$.dir 2>/dev/null
  29635. fi
  29636. -echo >conf$$.file
  29637. -if ln -s conf$$.file conf$$ 2>/dev/null; then
  29638. - as_ln_s='ln -s'
  29639. - # ... but there are two gotchas:
  29640. - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  29641. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  29642. - # In both cases, we have to default to `cp -p'.
  29643. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  29644. +if (echo >conf$$.file) 2>/dev/null; then
  29645. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  29646. + as_ln_s='ln -s'
  29647. + # ... but there are two gotchas:
  29648. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  29649. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  29650. + # In both cases, we have to default to `cp -p'.
  29651. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  29652. + as_ln_s='cp -p'
  29653. + elif ln conf$$.file conf$$ 2>/dev/null; then
  29654. + as_ln_s=ln
  29655. + else
  29656. as_ln_s='cp -p'
  29657. -elif ln conf$$.file conf$$ 2>/dev/null; then
  29658. - as_ln_s=ln
  29659. + fi
  29660. else
  29661. as_ln_s='cp -p'
  29662. fi
  29663. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  29664. rmdir conf$$.dir 2>/dev/null
  29665. +
  29666. +# as_fn_mkdir_p
  29667. +# -------------
  29668. +# Create "$as_dir" as a directory, including parents if necessary.
  29669. +as_fn_mkdir_p ()
  29670. +{
  29671. +
  29672. + case $as_dir in #(
  29673. + -*) as_dir=./$as_dir;;
  29674. + esac
  29675. + test -d "$as_dir" || eval $as_mkdir_p || {
  29676. + as_dirs=
  29677. + while :; do
  29678. + case $as_dir in #(
  29679. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  29680. + *) as_qdir=$as_dir;;
  29681. + esac
  29682. + as_dirs="'$as_qdir' $as_dirs"
  29683. + as_dir=`$as_dirname -- "$as_dir" ||
  29684. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  29685. + X"$as_dir" : 'X\(//\)[^/]' \| \
  29686. + X"$as_dir" : 'X\(//\)$' \| \
  29687. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  29688. +$as_echo X"$as_dir" |
  29689. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  29690. + s//\1/
  29691. + q
  29692. + }
  29693. + /^X\(\/\/\)[^/].*/{
  29694. + s//\1/
  29695. + q
  29696. + }
  29697. + /^X\(\/\/\)$/{
  29698. + s//\1/
  29699. + q
  29700. + }
  29701. + /^X\(\/\).*/{
  29702. + s//\1/
  29703. + q
  29704. + }
  29705. + s/.*/./; q'`
  29706. + test -d "$as_dir" && break
  29707. + done
  29708. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  29709. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  29710. +
  29711. +
  29712. +} # as_fn_mkdir_p
  29713. if mkdir -p . 2>/dev/null; then
  29714. - as_mkdir_p=:
  29715. + as_mkdir_p='mkdir -p "$as_dir"'
  29716. else
  29717. test -d ./-p && rmdir ./-p
  29718. as_mkdir_p=false
  29719. @@ -25285,12 +18934,12 @@
  29720. as_test_x='
  29721. eval sh -c '\''
  29722. if test -d "$1"; then
  29723. - test -d "$1/.";
  29724. + test -d "$1/.";
  29725. else
  29726. - case $1 in
  29727. - -*)set "./$1";;
  29728. + case $1 in #(
  29729. + -*)set "./$1";;
  29730. esac;
  29731. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  29732. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  29733. ???[sx]*):;;*)false;;esac;fi
  29734. '\'' sh
  29735. '
  29736. @@ -25305,13 +18954,19 @@
  29737. exec 6>&1
  29738. +## ----------------------------------- ##
  29739. +## Main body of $CONFIG_STATUS script. ##
  29740. +## ----------------------------------- ##
  29741. +_ASEOF
  29742. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  29743. -# Save the log message, to keep $[0] and so on meaningful, and to
  29744. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  29745. +# Save the log message, to keep $0 and so on meaningful, and to
  29746. # report actual input values of CONFIG_FILES etc. instead of their
  29747. # values after options handling.
  29748. ac_log="
  29749. This file was extended by $as_me, which was
  29750. -generated by GNU Autoconf 2.61. Invocation command line was
  29751. +generated by GNU Autoconf 2.65. Invocation command line was
  29752. CONFIG_FILES = $CONFIG_FILES
  29753. CONFIG_HEADERS = $CONFIG_HEADERS
  29754. @@ -25324,7 +18979,16 @@
  29755. _ACEOF
  29756. -cat >>$CONFIG_STATUS <<_ACEOF
  29757. +case $ac_config_files in *"
  29758. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  29759. +esac
  29760. +
  29761. +case $ac_config_headers in *"
  29762. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  29763. +esac
  29764. +
  29765. +
  29766. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  29767. # Files that config.status was made for.
  29768. config_files="$ac_config_files"
  29769. config_headers="$ac_config_headers"
  29770. @@ -25332,22 +18996,25 @@
  29771. _ACEOF
  29772. -cat >>$CONFIG_STATUS <<\_ACEOF
  29773. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  29774. ac_cs_usage="\
  29775. -\`$as_me' instantiates files from templates according to the
  29776. -current configuration.
  29777. +\`$as_me' instantiates files and other configuration actions
  29778. +from templates according to the current configuration. Unless the files
  29779. +and actions are specified as TAGs, all are instantiated by default.
  29780. -Usage: $0 [OPTIONS] [FILE]...
  29781. +Usage: $0 [OPTION]... [TAG]...
  29782. -h, --help print this help, then exit
  29783. -V, --version print version number and configuration settings, then exit
  29784. - -q, --quiet do not print progress messages
  29785. + --config print configuration, then exit
  29786. + -q, --quiet, --silent
  29787. + do not print progress messages
  29788. -d, --debug don't remove temporary files
  29789. --recheck update $as_me by reconfiguring in the same conditions
  29790. - --file=FILE[:TEMPLATE]
  29791. - instantiate the configuration file FILE
  29792. - --header=FILE[:TEMPLATE]
  29793. - instantiate the configuration header FILE
  29794. + --file=FILE[:TEMPLATE]
  29795. + instantiate the configuration file FILE
  29796. + --header=FILE[:TEMPLATE]
  29797. + instantiate the configuration header FILE
  29798. Configuration files:
  29799. $config_files
  29800. @@ -25358,16 +19025,17 @@
  29801. Configuration commands:
  29802. $config_commands
  29803. -Report bugs to <bug-autoconf@gnu.org>."
  29804. +Report bugs to the package provider."
  29805. _ACEOF
  29806. -cat >>$CONFIG_STATUS <<_ACEOF
  29807. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  29808. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  29809. ac_cs_version="\\
  29810. config.status
  29811. -configured by $0, generated by GNU Autoconf 2.61,
  29812. - with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  29813. +configured by $0, generated by GNU Autoconf 2.65,
  29814. + with options \\"\$ac_cs_config\\"
  29815. -Copyright (C) 2006 Free Software Foundation, Inc.
  29816. +Copyright (C) 2009 Free Software Foundation, Inc.
  29817. This config.status script is free software; the Free Software Foundation
  29818. gives unlimited permission to copy, distribute and modify it."
  29819. @@ -25375,11 +19043,12 @@
  29820. srcdir='$srcdir'
  29821. INSTALL='$INSTALL'
  29822. MKDIR_P='$MKDIR_P'
  29823. +AWK='$AWK'
  29824. +test -n "\$AWK" || AWK=awk
  29825. _ACEOF
  29826. -cat >>$CONFIG_STATUS <<\_ACEOF
  29827. -# If no file are specified by the user, then we need to provide default
  29828. -# value. By we need to know if files were specified by the user.
  29829. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  29830. +# The default lists apply if the user does not specify any file.
  29831. ac_need_defaults=:
  29832. while test $# != 0
  29833. do
  29834. @@ -25401,34 +19070,40 @@
  29835. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  29836. ac_cs_recheck=: ;;
  29837. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  29838. - echo "$ac_cs_version"; exit ;;
  29839. + $as_echo "$ac_cs_version"; exit ;;
  29840. + --config | --confi | --conf | --con | --co | --c )
  29841. + $as_echo "$ac_cs_config"; exit ;;
  29842. --debug | --debu | --deb | --de | --d | -d )
  29843. debug=: ;;
  29844. --file | --fil | --fi | --f )
  29845. $ac_shift
  29846. - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  29847. + case $ac_optarg in
  29848. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  29849. + esac
  29850. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  29851. ac_need_defaults=false;;
  29852. --header | --heade | --head | --hea )
  29853. $ac_shift
  29854. - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  29855. + case $ac_optarg in
  29856. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  29857. + esac
  29858. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  29859. ac_need_defaults=false;;
  29860. --he | --h)
  29861. # Conflict between --help and --header
  29862. - { echo "$as_me: error: ambiguous option: $1
  29863. -Try \`$0 --help' for more information." >&2
  29864. - { (exit 1); exit 1; }; };;
  29865. + as_fn_error "ambiguous option: \`$1'
  29866. +Try \`$0 --help' for more information.";;
  29867. --help | --hel | -h )
  29868. - echo "$ac_cs_usage"; exit ;;
  29869. + $as_echo "$ac_cs_usage"; exit ;;
  29870. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  29871. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  29872. ac_cs_silent=: ;;
  29873. # This is an error.
  29874. - -*) { echo "$as_me: error: unrecognized option: $1
  29875. -Try \`$0 --help' for more information." >&2
  29876. - { (exit 1); exit 1; }; } ;;
  29877. + -*) as_fn_error "unrecognized option: \`$1'
  29878. +Try \`$0 --help' for more information." ;;
  29879. - *) ac_config_targets="$ac_config_targets $1"
  29880. + *) as_fn_append ac_config_targets " $1"
  29881. ac_need_defaults=false ;;
  29882. esac
  29883. @@ -25443,27 +19118,29 @@
  29884. fi
  29885. _ACEOF
  29886. -cat >>$CONFIG_STATUS <<_ACEOF
  29887. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  29888. if \$ac_cs_recheck; then
  29889. - echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  29890. - CONFIG_SHELL=$SHELL
  29891. + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  29892. + shift
  29893. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  29894. + CONFIG_SHELL='$SHELL'
  29895. export CONFIG_SHELL
  29896. - exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  29897. + exec "\$@"
  29898. fi
  29899. _ACEOF
  29900. -cat >>$CONFIG_STATUS <<\_ACEOF
  29901. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  29902. exec 5>>config.log
  29903. {
  29904. echo
  29905. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  29906. ## Running $as_me. ##
  29907. _ASBOX
  29908. - echo "$ac_log"
  29909. + $as_echo "$ac_log"
  29910. } >&5
  29911. _ACEOF
  29912. -cat >>$CONFIG_STATUS <<_ACEOF
  29913. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  29914. #
  29915. # INIT-COMMANDS
  29916. #
  29917. @@ -25505,6 +19182,7 @@
  29918. lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  29919. reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  29920. reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  29921. +OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  29922. deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  29923. file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  29924. AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  29925. @@ -25663,6 +19341,7 @@
  29926. lt_SP2NL \
  29927. lt_NL2SP \
  29928. reload_flag \
  29929. +OBJDUMP \
  29930. deplibs_check_method \
  29931. file_magic_cmd \
  29932. AR \
  29933. @@ -25820,7 +19499,7 @@
  29934. _ACEOF
  29935. -cat >>$CONFIG_STATUS <<\_ACEOF
  29936. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  29937. # Handling of arguments.
  29938. for ac_config_target in $ac_config_targets
  29939. @@ -25834,9 +19513,7 @@
  29940. "libgps.pc") CONFIG_FILES="$CONFIG_FILES libgps.pc" ;;
  29941. "libgpsd.pc") CONFIG_FILES="$CONFIG_FILES libgpsd.pc" ;;
  29942. - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  29943. -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  29944. - { (exit 1); exit 1; }; };;
  29945. + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  29946. esac
  29947. done
  29948. @@ -25863,7 +19540,7 @@
  29949. trap 'exit_status=$?
  29950. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  29951. ' 0
  29952. - trap '{ (exit 1); exit 1; }' 1 2 13 15
  29953. + trap 'as_fn_exit 1' 1 2 13 15
  29954. }
  29955. # Create a (secure) tmp directory for tmp files.
  29956. @@ -25874,275 +19551,139 @@
  29957. {
  29958. tmp=./conf$$-$RANDOM
  29959. (umask 077 && mkdir "$tmp")
  29960. -} ||
  29961. -{
  29962. - echo "$me: cannot create a temporary directory in ." >&2
  29963. - { (exit 1); exit 1; }
  29964. -}
  29965. -
  29966. -#
  29967. -# Set up the sed scripts for CONFIG_FILES section.
  29968. -#
  29969. +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  29970. -# No need to generate the scripts if there are no CONFIG_FILES.
  29971. -# This happens for instance when ./config.status config.h
  29972. +# Set up the scripts for CONFIG_FILES section.
  29973. +# No need to generate them if there are no CONFIG_FILES.
  29974. +# This happens for instance with `./config.status config.h'.
  29975. if test -n "$CONFIG_FILES"; then
  29976. -_ACEOF
  29977. -
  29978. -
  29979. -
  29980. -ac_delim='%!_!# '
  29981. -for ac_last_try in false false false false false :; do
  29982. - cat >conf$$subs.sed <<_ACEOF
  29983. -SHELL!$SHELL$ac_delim
  29984. -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  29985. -PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  29986. -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  29987. -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  29988. -PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  29989. -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  29990. -exec_prefix!$exec_prefix$ac_delim
  29991. -prefix!$prefix$ac_delim
  29992. -program_transform_name!$program_transform_name$ac_delim
  29993. -bindir!$bindir$ac_delim
  29994. -sbindir!$sbindir$ac_delim
  29995. -libexecdir!$libexecdir$ac_delim
  29996. -datarootdir!$datarootdir$ac_delim
  29997. -datadir!$datadir$ac_delim
  29998. -sysconfdir!$sysconfdir$ac_delim
  29999. -sharedstatedir!$sharedstatedir$ac_delim
  30000. -localstatedir!$localstatedir$ac_delim
  30001. -includedir!$includedir$ac_delim
  30002. -oldincludedir!$oldincludedir$ac_delim
  30003. -docdir!$docdir$ac_delim
  30004. -infodir!$infodir$ac_delim
  30005. -htmldir!$htmldir$ac_delim
  30006. -dvidir!$dvidir$ac_delim
  30007. -pdfdir!$pdfdir$ac_delim
  30008. -psdir!$psdir$ac_delim
  30009. -libdir!$libdir$ac_delim
  30010. -localedir!$localedir$ac_delim
  30011. -mandir!$mandir$ac_delim
  30012. -DEFS!$DEFS$ac_delim
  30013. -ECHO_C!$ECHO_C$ac_delim
  30014. -ECHO_N!$ECHO_N$ac_delim
  30015. -ECHO_T!$ECHO_T$ac_delim
  30016. -LIBS!$LIBS$ac_delim
  30017. -build_alias!$build_alias$ac_delim
  30018. -host_alias!$host_alias$ac_delim
  30019. -target_alias!$target_alias$ac_delim
  30020. -INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
  30021. -INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
  30022. -INSTALL_DATA!$INSTALL_DATA$ac_delim
  30023. -am__isrc!$am__isrc$ac_delim
  30024. -CYGPATH_W!$CYGPATH_W$ac_delim
  30025. -PACKAGE!$PACKAGE$ac_delim
  30026. -VERSION!$VERSION$ac_delim
  30027. -ACLOCAL!$ACLOCAL$ac_delim
  30028. -AUTOCONF!$AUTOCONF$ac_delim
  30029. -AUTOMAKE!$AUTOMAKE$ac_delim
  30030. -AUTOHEADER!$AUTOHEADER$ac_delim
  30031. -MAKEINFO!$MAKEINFO$ac_delim
  30032. -install_sh!$install_sh$ac_delim
  30033. -STRIP!$STRIP$ac_delim
  30034. -INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
  30035. -mkdir_p!$mkdir_p$ac_delim
  30036. -AWK!$AWK$ac_delim
  30037. -SET_MAKE!$SET_MAKE$ac_delim
  30038. -am__leading_dot!$am__leading_dot$ac_delim
  30039. -AMTAR!$AMTAR$ac_delim
  30040. -am__tar!$am__tar$ac_delim
  30041. -am__untar!$am__untar$ac_delim
  30042. -PYTHON!$PYTHON$ac_delim
  30043. -PYTHON_VERSION!$PYTHON_VERSION$ac_delim
  30044. -PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
  30045. -PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
  30046. -PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
  30047. -pythondir!$pythondir$ac_delim
  30048. -pkgpythondir!$pkgpythondir$ac_delim
  30049. -pyexecdir!$pyexecdir$ac_delim
  30050. -pkgpyexecdir!$pkgpyexecdir$ac_delim
  30051. -CC!$CC$ac_delim
  30052. -CFLAGS!$CFLAGS$ac_delim
  30053. -LDFLAGS!$LDFLAGS$ac_delim
  30054. -CPPFLAGS!$CPPFLAGS$ac_delim
  30055. -ac_ct_CC!$ac_ct_CC$ac_delim
  30056. -EXEEXT!$EXEEXT$ac_delim
  30057. -OBJEXT!$OBJEXT$ac_delim
  30058. -DEPDIR!$DEPDIR$ac_delim
  30059. -am__include!$am__include$ac_delim
  30060. -am__quote!$am__quote$ac_delim
  30061. -AMDEP_TRUE!$AMDEP_TRUE$ac_delim
  30062. -AMDEP_FALSE!$AMDEP_FALSE$ac_delim
  30063. -AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
  30064. -CCDEPMODE!$CCDEPMODE$ac_delim
  30065. -am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
  30066. -am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
  30067. -CPP!$CPP$ac_delim
  30068. -GREP!$GREP$ac_delim
  30069. -EGREP!$EGREP$ac_delim
  30070. -PYTHON_CFLAGS!$PYTHON_CFLAGS$ac_delim
  30071. -PYTHON_LIBS!$PYTHON_LIBS$ac_delim
  30072. -HAVE_PYTHON_TRUE!$HAVE_PYTHON_TRUE$ac_delim
  30073. -HAVE_PYTHON_FALSE!$HAVE_PYTHON_FALSE$ac_delim
  30074. -LN_S!$LN_S$ac_delim
  30075. -LIBTOOL!$LIBTOOL$ac_delim
  30076. -build!$build$ac_delim
  30077. -build_cpu!$build_cpu$ac_delim
  30078. -build_vendor!$build_vendor$ac_delim
  30079. -build_os!$build_os$ac_delim
  30080. -_ACEOF
  30081. -
  30082. - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
  30083. - break
  30084. - elif $ac_last_try; then
  30085. - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  30086. -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  30087. - { (exit 1); exit 1; }; }
  30088. - else
  30089. - ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  30090. - fi
  30091. -done
  30092. -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  30093. -if test -n "$ac_eof"; then
  30094. - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  30095. - ac_eof=`expr $ac_eof + 1`
  30096. +ac_cr=`echo X | tr X '\015'`
  30097. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  30098. +# But we know of no other shell where ac_cr would be empty at this
  30099. +# point, so we can use a bashism as a fallback.
  30100. +if test "x$ac_cr" = x; then
  30101. + eval ac_cr=\$\'\\r\'
  30102. +fi
  30103. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  30104. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  30105. + ac_cs_awk_cr='\r'
  30106. +else
  30107. + ac_cs_awk_cr=$ac_cr
  30108. fi
  30109. -cat >>$CONFIG_STATUS <<_ACEOF
  30110. -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  30111. -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  30112. -_ACEOF
  30113. -sed '
  30114. -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  30115. -s/^/s,@/; s/!/@,|#_!!_#|/
  30116. -:n
  30117. -t n
  30118. -s/'"$ac_delim"'$/,g/; t
  30119. -s/$/\\/; p
  30120. -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  30121. -' >>$CONFIG_STATUS <conf$$subs.sed
  30122. -rm -f conf$$subs.sed
  30123. -cat >>$CONFIG_STATUS <<_ACEOF
  30124. -CEOF$ac_eof
  30125. +echo 'BEGIN {' >"$tmp/subs1.awk" &&
  30126. _ACEOF
  30127. +{
  30128. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  30129. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  30130. + echo "_ACEOF"
  30131. +} >conf$$subs.sh ||
  30132. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  30133. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  30134. ac_delim='%!_!# '
  30135. for ac_last_try in false false false false false :; do
  30136. - cat >conf$$subs.sed <<_ACEOF
  30137. -host!$host$ac_delim
  30138. -host_cpu!$host_cpu$ac_delim
  30139. -host_vendor!$host_vendor$ac_delim
  30140. -host_os!$host_os$ac_delim
  30141. -SED!$SED$ac_delim
  30142. -FGREP!$FGREP$ac_delim
  30143. -LD!$LD$ac_delim
  30144. -DUMPBIN!$DUMPBIN$ac_delim
  30145. -ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
  30146. -NM!$NM$ac_delim
  30147. -AR!$AR$ac_delim
  30148. -RANLIB!$RANLIB$ac_delim
  30149. -lt_ECHO!$lt_ECHO$ac_delim
  30150. -DSYMUTIL!$DSYMUTIL$ac_delim
  30151. -NMEDIT!$NMEDIT$ac_delim
  30152. -LIPO!$LIPO$ac_delim
  30153. -OTOOL!$OTOOL$ac_delim
  30154. -OTOOL64!$OTOOL64$ac_delim
  30155. -CXX!$CXX$ac_delim
  30156. -CXXFLAGS!$CXXFLAGS$ac_delim
  30157. -ac_ct_CXX!$ac_ct_CXX$ac_delim
  30158. -CXXDEPMODE!$CXXDEPMODE$ac_delim
  30159. -am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
  30160. -am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
  30161. -CXXCPP!$CXXCPP$ac_delim
  30162. -ALLOCA!$ALLOCA$ac_delim
  30163. -LIBNSL!$LIBNSL$ac_delim
  30164. -LIBSOCKET!$LIBSOCKET$ac_delim
  30165. -LIBM!$LIBM$ac_delim
  30166. -LIBC!$LIBC$ac_delim
  30167. -LIBPTHREAD!$LIBPTHREAD$ac_delim
  30168. -XMKMF!$XMKMF$ac_delim
  30169. -X_CFLAGS!$X_CFLAGS$ac_delim
  30170. -X_PRE_LIBS!$X_PRE_LIBS$ac_delim
  30171. -X_LIBS!$X_LIBS$ac_delim
  30172. -X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
  30173. -X11_LIBS!$X11_LIBS$ac_delim
  30174. -XT_LIBS!$XT_LIBS$ac_delim
  30175. -XAW_LIBS!$XAW_LIBS$ac_delim
  30176. -HAVE_XAW_TRUE!$HAVE_XAW_TRUE$ac_delim
  30177. -HAVE_XAW_FALSE!$HAVE_XAW_FALSE$ac_delim
  30178. -XEXT_LIBS!$XEXT_LIBS$ac_delim
  30179. -XPM_LIBS!$XPM_LIBS$ac_delim
  30180. -XP_LIBS!$XP_LIBS$ac_delim
  30181. -XM_LIBS!$XM_LIBS$ac_delim
  30182. -HAVE_MOTIF_TRUE!$HAVE_MOTIF_TRUE$ac_delim
  30183. -HAVE_MOTIF_FALSE!$HAVE_MOTIF_FALSE$ac_delim
  30184. -NCURSES_LIBS!$NCURSES_LIBS$ac_delim
  30185. -HAVE_NCURSES_TRUE!$HAVE_NCURSES_TRUE$ac_delim
  30186. -HAVE_NCURSES_FALSE!$HAVE_NCURSES_FALSE$ac_delim
  30187. -HAVE_RTCM104V2_TRUE!$HAVE_RTCM104V2_TRUE$ac_delim
  30188. -HAVE_RTCM104V2_FALSE!$HAVE_RTCM104V2_FALSE$ac_delim
  30189. -HAVE_RTCM104V3_TRUE!$HAVE_RTCM104V3_TRUE$ac_delim
  30190. -HAVE_RTCM104V3_FALSE!$HAVE_RTCM104V3_FALSE$ac_delim
  30191. -HAVE_NTRIP_TRUE!$HAVE_NTRIP_TRUE$ac_delim
  30192. -HAVE_NTRIP_FALSE!$HAVE_NTRIP_FALSE$ac_delim
  30193. -DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
  30194. -DBUS_LIBS!$DBUS_LIBS$ac_delim
  30195. -DBUS_GLIB_CFLAGS!$DBUS_GLIB_CFLAGS$ac_delim
  30196. -DBUS_GLIB_LIBS!$DBUS_GLIB_LIBS$ac_delim
  30197. -HAVE_DBUS_TRUE!$HAVE_DBUS_TRUE$ac_delim
  30198. -HAVE_DBUS_FALSE!$HAVE_DBUS_FALSE$ac_delim
  30199. -WITH_XSLTPROC!$WITH_XSLTPROC$ac_delim
  30200. -WITH_XMLTO!$WITH_XMLTO$ac_delim
  30201. -HAVE_XSLT_PROCESSOR_TRUE!$HAVE_XSLT_PROCESSOR_TRUE$ac_delim
  30202. -HAVE_XSLT_PROCESSOR_FALSE!$HAVE_XSLT_PROCESSOR_FALSE$ac_delim
  30203. -MANGENERATOR!$MANGENERATOR$ac_delim
  30204. -MANTARGET!$MANTARGET$ac_delim
  30205. -MANFLAGS!$MANFLAGS$ac_delim
  30206. -LIBOBJS!$LIBOBJS$ac_delim
  30207. -LTLIBOBJS!$LTLIBOBJS$ac_delim
  30208. -_ACEOF
  30209. + . ./conf$$subs.sh ||
  30210. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  30211. - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
  30212. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  30213. + if test $ac_delim_n = $ac_delim_num; then
  30214. break
  30215. elif $ac_last_try; then
  30216. - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  30217. -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  30218. - { (exit 1); exit 1; }; }
  30219. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  30220. else
  30221. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  30222. fi
  30223. done
  30224. +rm -f conf$$subs.sh
  30225. -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  30226. -if test -n "$ac_eof"; then
  30227. - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  30228. - ac_eof=`expr $ac_eof + 1`
  30229. -fi
  30230. -
  30231. -cat >>$CONFIG_STATUS <<_ACEOF
  30232. -cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
  30233. -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
  30234. -_ACEOF
  30235. -sed '
  30236. -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  30237. -s/^/s,@/; s/!/@,|#_!!_#|/
  30238. -:n
  30239. -t n
  30240. -s/'"$ac_delim"'$/,g/; t
  30241. -s/$/\\/; p
  30242. -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  30243. -' >>$CONFIG_STATUS <conf$$subs.sed
  30244. -rm -f conf$$subs.sed
  30245. -cat >>$CONFIG_STATUS <<_ACEOF
  30246. -:end
  30247. -s/|#_!!_#|//g
  30248. -CEOF$ac_eof
  30249. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  30250. +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  30251. _ACEOF
  30252. +sed -n '
  30253. +h
  30254. +s/^/S["/; s/!.*/"]=/
  30255. +p
  30256. +g
  30257. +s/^[^!]*!//
  30258. +:repl
  30259. +t repl
  30260. +s/'"$ac_delim"'$//
  30261. +t delim
  30262. +:nl
  30263. +h
  30264. +s/\(.\{148\}\)..*/\1/
  30265. +t more1
  30266. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  30267. +p
  30268. +n
  30269. +b repl
  30270. +:more1
  30271. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  30272. +p
  30273. +g
  30274. +s/.\{148\}//
  30275. +t nl
  30276. +:delim
  30277. +h
  30278. +s/\(.\{148\}\)..*/\1/
  30279. +t more2
  30280. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  30281. +p
  30282. +b
  30283. +:more2
  30284. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  30285. +p
  30286. +g
  30287. +s/.\{148\}//
  30288. +t delim
  30289. +' <conf$$subs.awk | sed '
  30290. +/^[^""]/{
  30291. + N
  30292. + s/\n//
  30293. +}
  30294. +' >>$CONFIG_STATUS || ac_write_fail=1
  30295. +rm -f conf$$subs.awk
  30296. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  30297. +_ACAWK
  30298. +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  30299. + for (key in S) S_is_set[key] = 1
  30300. + FS = ""
  30301. +
  30302. +}
  30303. +{
  30304. + line = $ 0
  30305. + nfields = split(line, field, "@")
  30306. + substed = 0
  30307. + len = length(field[1])
  30308. + for (i = 2; i < nfields; i++) {
  30309. + key = field[i]
  30310. + keylen = length(key)
  30311. + if (S_is_set[key]) {
  30312. + value = S[key]
  30313. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  30314. + len += length(value) + length(field[++i])
  30315. + substed = 1
  30316. + } else
  30317. + len += 1 + keylen
  30318. + }
  30319. +
  30320. + print line
  30321. +}
  30322. +_ACAWK
  30323. +_ACEOF
  30324. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  30325. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  30326. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  30327. +else
  30328. + cat
  30329. +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  30330. + || as_fn_error "could not setup config files machinery" "$LINENO" 5
  30331. +_ACEOF
  30332. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  30333. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  30334. @@ -26159,20 +19700,128 @@
  30335. }'
  30336. fi
  30337. -cat >>$CONFIG_STATUS <<\_ACEOF
  30338. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  30339. fi # test -n "$CONFIG_FILES"
  30340. +# Set up the scripts for CONFIG_HEADERS section.
  30341. +# No need to generate them if there are no CONFIG_HEADERS.
  30342. +# This happens for instance with `./config.status Makefile'.
  30343. +if test -n "$CONFIG_HEADERS"; then
  30344. +cat >"$tmp/defines.awk" <<\_ACAWK ||
  30345. +BEGIN {
  30346. +_ACEOF
  30347. +
  30348. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  30349. +# here-document in config.status, that substitutes the proper values into
  30350. +# config.h.in to produce config.h.
  30351. +
  30352. +# Create a delimiter string that does not exist in confdefs.h, to ease
  30353. +# handling of long lines.
  30354. +ac_delim='%!_!# '
  30355. +for ac_last_try in false false :; do
  30356. + ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  30357. + if test -z "$ac_t"; then
  30358. + break
  30359. + elif $ac_last_try; then
  30360. + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
  30361. + else
  30362. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  30363. + fi
  30364. +done
  30365. +
  30366. +# For the awk script, D is an array of macro values keyed by name,
  30367. +# likewise P contains macro parameters if any. Preserve backslash
  30368. +# newline sequences.
  30369. +
  30370. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  30371. +sed -n '
  30372. +s/.\{148\}/&'"$ac_delim"'/g
  30373. +t rset
  30374. +:rset
  30375. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  30376. +t def
  30377. +d
  30378. +:def
  30379. +s/\\$//
  30380. +t bsnl
  30381. +s/["\\]/\\&/g
  30382. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  30383. +D["\1"]=" \3"/p
  30384. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  30385. +d
  30386. +:bsnl
  30387. +s/["\\]/\\&/g
  30388. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  30389. +D["\1"]=" \3\\\\\\n"\\/p
  30390. +t cont
  30391. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  30392. +t cont
  30393. +d
  30394. +:cont
  30395. +n
  30396. +s/.\{148\}/&'"$ac_delim"'/g
  30397. +t clear
  30398. +:clear
  30399. +s/\\$//
  30400. +t bsnlc
  30401. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  30402. +d
  30403. +:bsnlc
  30404. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  30405. +b cont
  30406. +' <confdefs.h | sed '
  30407. +s/'"$ac_delim"'/"\\\
  30408. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  30409. +
  30410. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  30411. + for (key in D) D_is_set[key] = 1
  30412. + FS = ""
  30413. +}
  30414. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  30415. + line = \$ 0
  30416. + split(line, arg, " ")
  30417. + if (arg[1] == "#") {
  30418. + defundef = arg[2]
  30419. + mac1 = arg[3]
  30420. + } else {
  30421. + defundef = substr(arg[1], 2)
  30422. + mac1 = arg[2]
  30423. + }
  30424. + split(mac1, mac2, "(") #)
  30425. + macro = mac2[1]
  30426. + prefix = substr(line, 1, index(line, defundef) - 1)
  30427. + if (D_is_set[macro]) {
  30428. + # Preserve the white space surrounding the "#".
  30429. + print prefix "define", macro P[macro] D[macro]
  30430. + next
  30431. + } else {
  30432. + # Replace #undef with comments. This is necessary, for example,
  30433. + # in the case of _POSIX_SOURCE, which is predefined and required
  30434. + # on some systems where configure will not decide to define it.
  30435. + if (defundef == "undef") {
  30436. + print "/*", prefix defundef, macro, "*/"
  30437. + next
  30438. + }
  30439. + }
  30440. +}
  30441. +{ print }
  30442. +_ACAWK
  30443. +_ACEOF
  30444. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  30445. + as_fn_error "could not setup config headers machinery" "$LINENO" 5
  30446. +fi # test -n "$CONFIG_HEADERS"
  30447. +
  30448. -for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
  30449. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  30450. +shift
  30451. +for ac_tag
  30452. do
  30453. case $ac_tag in
  30454. :[FHLC]) ac_mode=$ac_tag; continue;;
  30455. esac
  30456. case $ac_mode$ac_tag in
  30457. :[FHL]*:*);;
  30458. - :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  30459. -echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  30460. - { (exit 1); exit 1; }; };;
  30461. + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  30462. :[FH]-) ac_tag=-:-;;
  30463. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  30464. esac
  30465. @@ -26200,26 +19849,34 @@
  30466. [\\/$]*) false;;
  30467. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  30468. esac ||
  30469. - { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  30470. -echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  30471. - { (exit 1); exit 1; }; };;
  30472. + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  30473. esac
  30474. - ac_file_inputs="$ac_file_inputs $ac_f"
  30475. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  30476. + as_fn_append ac_file_inputs " '$ac_f'"
  30477. done
  30478. # Let's still pretend it is `configure' which instantiates (i.e., don't
  30479. # use $as_me), people would be surprised to read:
  30480. # /* config.h. Generated by config.status. */
  30481. - configure_input="Generated from "`IFS=:
  30482. - echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  30483. + configure_input='Generated from '`
  30484. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  30485. + `' by configure.'
  30486. if test x"$ac_file" != x-; then
  30487. configure_input="$ac_file. $configure_input"
  30488. - { echo "$as_me:$LINENO: creating $ac_file" >&5
  30489. -echo "$as_me: creating $ac_file" >&6;}
  30490. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  30491. +$as_echo "$as_me: creating $ac_file" >&6;}
  30492. fi
  30493. + # Neutralize special characters interpreted by sed in replacement strings.
  30494. + case $configure_input in #(
  30495. + *\&* | *\|* | *\\* )
  30496. + ac_sed_conf_input=`$as_echo "$configure_input" |
  30497. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  30498. + *) ac_sed_conf_input=$configure_input;;
  30499. + esac
  30500. case $ac_tag in
  30501. - *:-:* | *:-) cat >"$tmp/stdin";;
  30502. + *:-:* | *:-) cat >"$tmp/stdin" \
  30503. + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  30504. esac
  30505. ;;
  30506. esac
  30507. @@ -26229,7 +19886,7 @@
  30508. X"$ac_file" : 'X\(//\)[^/]' \| \
  30509. X"$ac_file" : 'X\(//\)$' \| \
  30510. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  30511. -echo X"$ac_file" |
  30512. +$as_echo X"$ac_file" |
  30513. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  30514. s//\1/
  30515. q
  30516. @@ -26247,55 +19904,15 @@
  30517. q
  30518. }
  30519. s/.*/./; q'`
  30520. - { as_dir="$ac_dir"
  30521. - case $as_dir in #(
  30522. - -*) as_dir=./$as_dir;;
  30523. - esac
  30524. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  30525. - as_dirs=
  30526. - while :; do
  30527. - case $as_dir in #(
  30528. - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  30529. - *) as_qdir=$as_dir;;
  30530. - esac
  30531. - as_dirs="'$as_qdir' $as_dirs"
  30532. - as_dir=`$as_dirname -- "$as_dir" ||
  30533. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  30534. - X"$as_dir" : 'X\(//\)[^/]' \| \
  30535. - X"$as_dir" : 'X\(//\)$' \| \
  30536. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  30537. -echo X"$as_dir" |
  30538. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  30539. - s//\1/
  30540. - q
  30541. - }
  30542. - /^X\(\/\/\)[^/].*/{
  30543. - s//\1/
  30544. - q
  30545. - }
  30546. - /^X\(\/\/\)$/{
  30547. - s//\1/
  30548. - q
  30549. - }
  30550. - /^X\(\/\).*/{
  30551. - s//\1/
  30552. - q
  30553. - }
  30554. - s/.*/./; q'`
  30555. - test -d "$as_dir" && break
  30556. - done
  30557. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  30558. - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  30559. -echo "$as_me: error: cannot create directory $as_dir" >&2;}
  30560. - { (exit 1); exit 1; }; }; }
  30561. + as_dir="$ac_dir"; as_fn_mkdir_p
  30562. ac_builddir=.
  30563. case "$ac_dir" in
  30564. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  30565. *)
  30566. - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  30567. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  30568. # A ".." for each directory in $ac_dir_suffix.
  30569. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  30570. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  30571. case $ac_top_builddir_sub in
  30572. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  30573. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  30574. @@ -26340,12 +19957,12 @@
  30575. esac
  30576. _ACEOF
  30577. -cat >>$CONFIG_STATUS <<\_ACEOF
  30578. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  30579. # If the template does not know about datarootdir, expand it.
  30580. # FIXME: This hack should be removed a few years after 2.60.
  30581. ac_datarootdir_hack=; ac_datarootdir_seen=
  30582. -
  30583. -case `sed -n '/datarootdir/ {
  30584. +ac_sed_dataroot='
  30585. +/datarootdir/ {
  30586. p
  30587. q
  30588. }
  30589. @@ -26353,36 +19970,37 @@
  30590. /@docdir@/p
  30591. /@infodir@/p
  30592. /@localedir@/p
  30593. -/@mandir@/p
  30594. -' $ac_file_inputs` in
  30595. +/@mandir@/p'
  30596. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  30597. *datarootdir*) ac_datarootdir_seen=yes;;
  30598. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  30599. - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  30600. -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  30601. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  30602. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  30603. _ACEOF
  30604. -cat >>$CONFIG_STATUS <<_ACEOF
  30605. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  30606. ac_datarootdir_hack='
  30607. s&@datadir@&$datadir&g
  30608. s&@docdir@&$docdir&g
  30609. s&@infodir@&$infodir&g
  30610. s&@localedir@&$localedir&g
  30611. s&@mandir@&$mandir&g
  30612. - s&\\\${datarootdir}&$datarootdir&g' ;;
  30613. + s&\\\${datarootdir}&$datarootdir&g' ;;
  30614. esac
  30615. _ACEOF
  30616. # Neutralize VPATH when `$srcdir' = `.'.
  30617. # Shell code in configure.ac might set extrasub.
  30618. # FIXME: do we really want to maintain this feature?
  30619. -cat >>$CONFIG_STATUS <<_ACEOF
  30620. - sed "$ac_vpsub
  30621. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  30622. +ac_sed_extra="$ac_vpsub
  30623. $extrasub
  30624. _ACEOF
  30625. -cat >>$CONFIG_STATUS <<\_ACEOF
  30626. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  30627. :t
  30628. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  30629. -s&@configure_input@&$configure_input&;t t
  30630. +s|@configure_input@|$ac_sed_conf_input|;t t
  30631. s&@top_builddir@&$ac_top_builddir_sub&;t t
  30632. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  30633. s&@srcdir@&$ac_srcdir&;t t
  30634. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  30635. s&@top_srcdir@&$ac_top_srcdir&;t t
  30636. @@ -26393,121 +20011,50 @@
  30637. s&@INSTALL@&$ac_INSTALL&;t t
  30638. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  30639. $ac_datarootdir_hack
  30640. -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
  30641. +"
  30642. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  30643. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  30644. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  30645. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  30646. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  30647. - { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  30648. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  30649. which seems to be undefined. Please make sure it is defined." >&5
  30650. -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  30651. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  30652. which seems to be undefined. Please make sure it is defined." >&2;}
  30653. rm -f "$tmp/stdin"
  30654. case $ac_file in
  30655. - -) cat "$tmp/out"; rm -f "$tmp/out";;
  30656. - *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  30657. - esac
  30658. + -) cat "$tmp/out" && rm -f "$tmp/out";;
  30659. + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  30660. + esac \
  30661. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  30662. ;;
  30663. :H)
  30664. #
  30665. # CONFIG_HEADER
  30666. #
  30667. -_ACEOF
  30668. -
  30669. -# Transform confdefs.h into a sed script `conftest.defines', that
  30670. -# substitutes the proper values into config.h.in to produce config.h.
  30671. -rm -f conftest.defines conftest.tail
  30672. -# First, append a space to every undef/define line, to ease matching.
  30673. -echo 's/$/ /' >conftest.defines
  30674. -# Then, protect against being on the right side of a sed subst, or in
  30675. -# an unquoted here document, in config.status. If some macros were
  30676. -# called several times there might be several #defines for the same
  30677. -# symbol, which is useless. But do not sort them, since the last
  30678. -# AC_DEFINE must be honored.
  30679. -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  30680. -# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
  30681. -# NAME is the cpp macro being defined, VALUE is the value it is being given.
  30682. -# PARAMS is the parameter list in the macro definition--in most cases, it's
  30683. -# just an empty string.
  30684. -ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
  30685. -ac_dB='\\)[ (].*,\\1define\\2'
  30686. -ac_dC=' '
  30687. -ac_dD=' ,'
  30688. -
  30689. -uniq confdefs.h |
  30690. - sed -n '
  30691. - t rset
  30692. - :rset
  30693. - s/^[ ]*#[ ]*define[ ][ ]*//
  30694. - t ok
  30695. - d
  30696. - :ok
  30697. - s/[\\&,]/\\&/g
  30698. - s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
  30699. - s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  30700. - ' >>conftest.defines
  30701. -
  30702. -# Remove the space that was appended to ease matching.
  30703. -# Then replace #undef with comments. This is necessary, for
  30704. -# example, in the case of _POSIX_SOURCE, which is predefined and required
  30705. -# on some systems where configure will not decide to define it.
  30706. -# (The regexp can be short, since the line contains either #define or #undef.)
  30707. -echo 's/ $//
  30708. -s,^[ #]*u.*,/* & */,' >>conftest.defines
  30709. -
  30710. -# Break up conftest.defines:
  30711. -ac_max_sed_lines=50
  30712. -
  30713. -# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
  30714. -# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
  30715. -# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
  30716. -# et cetera.
  30717. -ac_in='$ac_file_inputs'
  30718. -ac_out='"$tmp/out1"'
  30719. -ac_nxt='"$tmp/out2"'
  30720. -
  30721. -while :
  30722. -do
  30723. - # Write a here document:
  30724. - cat >>$CONFIG_STATUS <<_ACEOF
  30725. - # First, check the format of the line:
  30726. - cat >"\$tmp/defines.sed" <<\\CEOF
  30727. -/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
  30728. -/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
  30729. -b
  30730. -:def
  30731. -_ACEOF
  30732. - sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  30733. - echo 'CEOF
  30734. - sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  30735. - ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  30736. - sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  30737. - grep . conftest.tail >/dev/null || break
  30738. - rm -f conftest.defines
  30739. - mv conftest.tail conftest.defines
  30740. -done
  30741. -rm -f conftest.defines conftest.tail
  30742. -
  30743. -echo "ac_result=$ac_in" >>$CONFIG_STATUS
  30744. -cat >>$CONFIG_STATUS <<\_ACEOF
  30745. if test x"$ac_file" != x-; then
  30746. - echo "/* $configure_input */" >"$tmp/config.h"
  30747. - cat "$ac_result" >>"$tmp/config.h"
  30748. - if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
  30749. - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  30750. -echo "$as_me: $ac_file is unchanged" >&6;}
  30751. + {
  30752. + $as_echo "/* $configure_input */" \
  30753. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  30754. + } >"$tmp/config.h" \
  30755. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  30756. + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  30757. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  30758. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  30759. else
  30760. - rm -f $ac_file
  30761. - mv "$tmp/config.h" $ac_file
  30762. + rm -f "$ac_file"
  30763. + mv "$tmp/config.h" "$ac_file" \
  30764. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  30765. fi
  30766. else
  30767. - echo "/* $configure_input */"
  30768. - cat "$ac_result"
  30769. + $as_echo "/* $configure_input */" \
  30770. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  30771. + || as_fn_error "could not create -" "$LINENO" 5
  30772. fi
  30773. - rm -f "$tmp/out12"
  30774. -# Compute $ac_file's index in $config_headers.
  30775. -_am_arg=$ac_file
  30776. +# Compute "$ac_file"'s index in $config_headers.
  30777. +_am_arg="$ac_file"
  30778. _am_stamp_count=1
  30779. for _am_header in $config_headers :; do
  30780. case $_am_header in
  30781. @@ -26522,7 +20069,7 @@
  30782. X"$_am_arg" : 'X\(//\)[^/]' \| \
  30783. X"$_am_arg" : 'X\(//\)$' \| \
  30784. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  30785. -echo X"$_am_arg" |
  30786. +$as_echo X"$_am_arg" |
  30787. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  30788. s//\1/
  30789. q
  30790. @@ -26542,30 +20089,40 @@
  30791. s/.*/./; q'`/stamp-h$_am_stamp_count
  30792. ;;
  30793. - :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
  30794. -echo "$as_me: executing $ac_file commands" >&6;}
  30795. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  30796. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  30797. ;;
  30798. esac
  30799. case $ac_file$ac_mode in
  30800. - "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  30801. - # Strip MF so we end up with the name of the file.
  30802. - mf=`echo "$mf" | sed -e 's/:.*$//'`
  30803. - # Check whether this is an Automake generated Makefile or not.
  30804. - # We used to match only the files named `Makefile.in', but
  30805. - # some people rename them; so instead we look at the file content.
  30806. - # Grep'ing the first line is not enough: some people post-process
  30807. - # each Makefile.in and add a new line on top of each file to say so.
  30808. - # Grep'ing the whole file is not good either: AIX grep has a line
  30809. - # limit of 2048, but all sed's we know have understand at least 4000.
  30810. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  30811. - dirpart=`$as_dirname -- "$mf" ||
  30812. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  30813. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  30814. + # are listed without --file. Let's play safe and only enable the eval
  30815. + # if we detect the quoting.
  30816. + case $CONFIG_FILES in
  30817. + *\'*) eval set x "$CONFIG_FILES" ;;
  30818. + *) set x $CONFIG_FILES ;;
  30819. + esac
  30820. + shift
  30821. + for mf
  30822. + do
  30823. + # Strip MF so we end up with the name of the file.
  30824. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  30825. + # Check whether this is an Automake generated Makefile or not.
  30826. + # We used to match only the files named `Makefile.in', but
  30827. + # some people rename them; so instead we look at the file content.
  30828. + # Grep'ing the first line is not enough: some people post-process
  30829. + # each Makefile.in and add a new line on top of each file to say so.
  30830. + # Grep'ing the whole file is not good either: AIX grep has a line
  30831. + # limit of 2048, but all sed's we know have understand at least 4000.
  30832. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  30833. + dirpart=`$as_dirname -- "$mf" ||
  30834. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  30835. X"$mf" : 'X\(//\)[^/]' \| \
  30836. X"$mf" : 'X\(//\)$' \| \
  30837. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  30838. -echo X"$mf" |
  30839. +$as_echo X"$mf" |
  30840. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  30841. s//\1/
  30842. q
  30843. @@ -26583,68 +20140,33 @@
  30844. q
  30845. }
  30846. s/.*/./; q'`
  30847. - else
  30848. - continue
  30849. - fi
  30850. - # Extract the definition of DEPDIR, am__include, and am__quote
  30851. - # from the Makefile without running `make'.
  30852. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  30853. - test -z "$DEPDIR" && continue
  30854. - am__include=`sed -n 's/^am__include = //p' < "$mf"`
  30855. - test -z "am__include" && continue
  30856. - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  30857. - # When using ansi2knr, U may be empty or an underscore; expand it
  30858. - U=`sed -n 's/^U = //p' < "$mf"`
  30859. - # Find all dependency output files, they are included files with
  30860. - # $(DEPDIR) in their names. We invoke sed twice because it is the
  30861. - # simplest approach to changing $(DEPDIR) to its actual value in the
  30862. - # expansion.
  30863. - for file in `sed -n "
  30864. - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  30865. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  30866. - # Make sure the directory exists.
  30867. - test -f "$dirpart/$file" && continue
  30868. - fdir=`$as_dirname -- "$file" ||
  30869. + else
  30870. + continue
  30871. + fi
  30872. + # Extract the definition of DEPDIR, am__include, and am__quote
  30873. + # from the Makefile without running `make'.
  30874. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  30875. + test -z "$DEPDIR" && continue
  30876. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  30877. + test -z "am__include" && continue
  30878. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  30879. + # When using ansi2knr, U may be empty or an underscore; expand it
  30880. + U=`sed -n 's/^U = //p' < "$mf"`
  30881. + # Find all dependency output files, they are included files with
  30882. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  30883. + # simplest approach to changing $(DEPDIR) to its actual value in the
  30884. + # expansion.
  30885. + for file in `sed -n "
  30886. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  30887. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  30888. + # Make sure the directory exists.
  30889. + test -f "$dirpart/$file" && continue
  30890. + fdir=`$as_dirname -- "$file" ||
  30891. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  30892. X"$file" : 'X\(//\)[^/]' \| \
  30893. X"$file" : 'X\(//\)$' \| \
  30894. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  30895. -echo X"$file" |
  30896. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  30897. - s//\1/
  30898. - q
  30899. - }
  30900. - /^X\(\/\/\)[^/].*/{
  30901. - s//\1/
  30902. - q
  30903. - }
  30904. - /^X\(\/\/\)$/{
  30905. - s//\1/
  30906. - q
  30907. - }
  30908. - /^X\(\/\).*/{
  30909. - s//\1/
  30910. - q
  30911. - }
  30912. - s/.*/./; q'`
  30913. - { as_dir=$dirpart/$fdir
  30914. - case $as_dir in #(
  30915. - -*) as_dir=./$as_dir;;
  30916. - esac
  30917. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  30918. - as_dirs=
  30919. - while :; do
  30920. - case $as_dir in #(
  30921. - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  30922. - *) as_qdir=$as_dir;;
  30923. - esac
  30924. - as_dirs="'$as_qdir' $as_dirs"
  30925. - as_dir=`$as_dirname -- "$as_dir" ||
  30926. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  30927. - X"$as_dir" : 'X\(//\)[^/]' \| \
  30928. - X"$as_dir" : 'X\(//\)$' \| \
  30929. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  30930. -echo X"$as_dir" |
  30931. +$as_echo X"$file" |
  30932. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  30933. s//\1/
  30934. q
  30935. @@ -26662,16 +20184,12 @@
  30936. q
  30937. }
  30938. s/.*/./; q'`
  30939. - test -d "$as_dir" && break
  30940. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  30941. + # echo "creating $dirpart/$file"
  30942. + echo '# dummy' > "$dirpart/$file"
  30943. done
  30944. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  30945. - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  30946. -echo "$as_me: error: cannot create directory $as_dir" >&2;}
  30947. - { (exit 1); exit 1; }; }; }
  30948. - # echo "creating $dirpart/$file"
  30949. - echo '# dummy' > "$dirpart/$file"
  30950. done
  30951. -done
  30952. +}
  30953. ;;
  30954. "libtool":C)
  30955. @@ -26795,6 +20313,9 @@
  30956. reload_flag=$lt_reload_flag
  30957. reload_cmds=$lt_reload_cmds
  30958. +# An object symbol dumper.
  30959. +OBJDUMP=$lt_OBJDUMP
  30960. +
  30961. # Method to check whether dependent libraries are shared objects.
  30962. deplibs_check_method=$lt_deplibs_check_method
  30963. @@ -27477,11 +20998,13 @@
  30964. done # for ac_tag
  30965. -{ (exit 0); exit 0; }
  30966. +as_fn_exit 0
  30967. _ACEOF
  30968. -chmod +x $CONFIG_STATUS
  30969. ac_clean_files=$ac_clean_files_save
  30970. +test $ac_write_fail = 0 ||
  30971. + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  30972. +
  30973. # configure is writing to config.log, and then calls config.status.
  30974. # config.status does its own redirection, appending to config.log.
  30975. @@ -27501,7 +21024,11 @@
  30976. exec 5>>config.log
  30977. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  30978. # would make configure fail if this is the last instruction.
  30979. - $ac_cs_success || { (exit 1); exit 1; }
  30980. + $ac_cs_success || as_fn_exit $?
  30981. +fi
  30982. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  30983. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  30984. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  30985. fi
  30986. echo "Configure finished, type 'make' to build."
  30987. diff -Nur gpsd-2.39.orig/configure.ac gpsd-2.39/configure.ac
  30988. --- gpsd-2.39.orig/configure.ac 2009-03-18 22:09:27.000000000 +0100
  30989. +++ gpsd-2.39/configure.ac 2010-02-18 21:37:14.084858658 +0100
  30990. @@ -5,84 +5,6 @@
  30991. AM_CONFIG_HEADER(gpsd_config.h)
  30992. AC_LANG([C])
  30993. -AC_ARG_ENABLE(python,
  30994. - AC_HELP_STRING([--disable-python],
  30995. - [disable python scripts and library bindings]),
  30996. - [try_python="$enableval"], [try_python="yes"])
  30997. -if test "x$try_python" = "xyes"; then
  30998. - AM_PATH_PYTHON
  30999. - ac_python=yes
  31000. - if test "x$PYTHON" = "x"; then
  31001. - AC_PATH_PROG(PYTHON, python, none)
  31002. - fi
  31003. -
  31004. - if test "x$PYTHON" = "xnone"; then
  31005. - AC_MSG_WARN([*** Python interpreter not found, Python support disabled.])
  31006. - ac_python=no
  31007. - fi
  31008. -
  31009. - if test "x$ac_python" = "xyes"; then
  31010. - AC_MSG_CHECKING(Python version and location)
  31011. - PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"`
  31012. - PYTHON_VERSION_MAJOR=[`$PYTHON -c "import sys; print '%d' % (sys.version_info[0]);"`]
  31013. - PYTHON_VERSION_MINOR=[`$PYTHON -c "import sys; print '%d' % (sys.version_info[1]);"`]
  31014. - PYTHON_VERSION="${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}"
  31015. - AC_MSG_RESULT([$PYTHON, $PYTHON_VERSION, $PYTHON_PREFIX])
  31016. -
  31017. - AC_MSG_CHECKING(whether Python is at least 2.4)
  31018. - if test $PYTHON_VERSION_MAJOR -lt 2 -o $PYTHON_VERSION_MAJOR -eq 2 -a $PYTHON_VERSION_MINOR -lt 3; then
  31019. - AC_MSG_RESULT(no)
  31020. - AC_MSG_WARN([*** GPSD requires at least Python 2.3, Python support disabled.])
  31021. - ac_python=no
  31022. - fi
  31023. - if test "x$ac_python" = "xyes"; then
  31024. - AC_MSG_RESULT(yes)
  31025. -
  31026. - PYTHON_CFLAGS="-DHAVE_PYTHON -I$PYTHON_PREFIX/include/python$PYTHON_VERSION"
  31027. -
  31028. - OLD_CPPFLAGS="$CPPFLAGS"
  31029. - OLD_CXXFLAGS="$CXXFLAGS"
  31030. - CPPFLAGS="$CPPFLAGS $PYTHON_CFLAGS"
  31031. - CXXFLAGS="$CXXFLAGS $PYTHON_CFLAGS"
  31032. -
  31033. - AC_CHECK_HEADERS([Python.h],
  31034. - [],
  31035. - [AC_MSG_WARN([*** Python include files not found! You should install the Python development package. Python support disabled]); ac_python=no])
  31036. - CPPFLAGS="$OLD_CPPFLAGS"
  31037. - CXXFLAGS="$OLD_CXXFLAGS"
  31038. -
  31039. - if test "x$ac_python" = "xyes"; then
  31040. - AC_SUBST([PYTHON_CFLAGS])
  31041. -
  31042. - ac_python=no
  31043. - for pylibpath in '/usr/lib' $PYTHON_PREFIX/lib $PYTHON_PREFIX/lib/python$PYTHON_VERSION/config; do
  31044. - eval `echo unset ac_cv_lib_python$PYTHON_VERSION'___'Py_Finalize | tr '.' '_'`
  31045. -
  31046. - save_LIBS=$LIBS
  31047. - LIBS="$LIBS -L$pylibpath $PYTHON_LIBS"
  31048. - AC_CHECK_LIB(python$PYTHON_VERSION, Py_Finalize, PYTHON_LIBS="-L$pylibpath -lpython$PYTHON_VERSION $PYTHON_DEPS"; ac_python=yes,,$PYTHON_DEPS)
  31049. - LIBS=$save_LIBS
  31050. - if test "x$ac_python" = "xyes"; then
  31051. - break
  31052. - fi
  31053. - done
  31054. -
  31055. - if test "x$ac_python" != "xyes"; then
  31056. - AC_MSG_WARN(*** Python development libraries required, Python support disabled)
  31057. - fi
  31058. - AC_SUBST([PYTHON_LIBS])
  31059. -
  31060. - AC_SUBST(pkgpythondir)
  31061. - if test "x$python_install" = "xyes"; then
  31062. - pkgpythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION"/site-packages/gpsd"
  31063. - fi
  31064. -
  31065. - fi
  31066. - fi
  31067. - fi
  31068. -fi
  31069. -AM_CONDITIONAL([HAVE_PYTHON], [test x"$ac_python" = xyes])
  31070. -
  31071. AC_PROG_LN_S
  31072. AC_PROG_MAKE_SET
  31073. AC_PROG_INSTALL
  31074. @@ -943,7 +865,6 @@
  31075. echo " ---------------"
  31076. echo "Build ncurses programs : $ac_ncurses"
  31077. echo "Enable X11 support : $ac_x"
  31078. -echo "Enable Python support : $ac_python"
  31079. echo "------------------------------------------"
  31080. if test "xdummy" = "xdummy" -a \
  31081. diff -Nur gpsd-2.39.orig/.deps/bits.Plo gpsd-2.39/.deps/bits.Plo
  31082. --- gpsd-2.39.orig/.deps/bits.Plo 1970-01-01 01:00:00.000000000 +0100
  31083. +++ gpsd-2.39/.deps/bits.Plo 2010-02-18 21:44:24.436855481 +0100
  31084. @@ -0,0 +1,25 @@
  31085. +bits.lo: bits.c /usr/include/assert.h /usr/include/features.h \
  31086. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  31087. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  31088. + /usr/include/gnu/stubs-32.h bits.h /usr/include/stdint.h \
  31089. + /usr/include/bits/wchar.h
  31090. +
  31091. +/usr/include/assert.h:
  31092. +
  31093. +/usr/include/features.h:
  31094. +
  31095. +/usr/include/bits/predefs.h:
  31096. +
  31097. +/usr/include/sys/cdefs.h:
  31098. +
  31099. +/usr/include/bits/wordsize.h:
  31100. +
  31101. +/usr/include/gnu/stubs.h:
  31102. +
  31103. +/usr/include/gnu/stubs-32.h:
  31104. +
  31105. +bits.h:
  31106. +
  31107. +/usr/include/stdint.h:
  31108. +
  31109. +/usr/include/bits/wchar.h:
  31110. diff -Nur gpsd-2.39.orig/.deps/bsd-base64.Plo gpsd-2.39/.deps/bsd-base64.Plo
  31111. --- gpsd-2.39.orig/.deps/bsd-base64.Plo 1970-01-01 01:00:00.000000000 +0100
  31112. +++ gpsd-2.39/.deps/bsd-base64.Plo 2010-02-18 21:44:25.172853149 +0100
  31113. @@ -0,0 +1,105 @@
  31114. +bsd-base64.lo: bsd-base64.c /usr/include/sys/types.h \
  31115. + /usr/include/features.h /usr/include/bits/predefs.h \
  31116. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  31117. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  31118. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  31119. + /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  31120. + /usr/include/endian.h /usr/include/bits/endian.h \
  31121. + /usr/include/bits/byteswap.h /usr/include/sys/select.h \
  31122. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  31123. + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
  31124. + /usr/include/bits/pthreadtypes.h /usr/include/ctype.h \
  31125. + /usr/include/xlocale.h /usr/include/stdio.h /usr/include/libio.h \
  31126. + /usr/include/_G_config.h /usr/include/wchar.h \
  31127. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  31128. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  31129. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  31130. + /usr/include/stdlib.h /usr/include/bits/waitflags.h \
  31131. + /usr/include/bits/waitstatus.h /usr/include/alloca.h \
  31132. + /usr/include/bits/stdlib.h /usr/include/string.h \
  31133. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  31134. + /usr/include/bits/string3.h gpsd_config.h bsd-base64.h
  31135. +
  31136. +/usr/include/sys/types.h:
  31137. +
  31138. +/usr/include/features.h:
  31139. +
  31140. +/usr/include/bits/predefs.h:
  31141. +
  31142. +/usr/include/sys/cdefs.h:
  31143. +
  31144. +/usr/include/bits/wordsize.h:
  31145. +
  31146. +/usr/include/gnu/stubs.h:
  31147. +
  31148. +/usr/include/gnu/stubs-32.h:
  31149. +
  31150. +/usr/include/bits/types.h:
  31151. +
  31152. +/usr/include/bits/typesizes.h:
  31153. +
  31154. +/usr/include/time.h:
  31155. +
  31156. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  31157. +
  31158. +/usr/include/endian.h:
  31159. +
  31160. +/usr/include/bits/endian.h:
  31161. +
  31162. +/usr/include/bits/byteswap.h:
  31163. +
  31164. +/usr/include/sys/select.h:
  31165. +
  31166. +/usr/include/bits/select.h:
  31167. +
  31168. +/usr/include/bits/sigset.h:
  31169. +
  31170. +/usr/include/bits/time.h:
  31171. +
  31172. +/usr/include/sys/sysmacros.h:
  31173. +
  31174. +/usr/include/bits/pthreadtypes.h:
  31175. +
  31176. +/usr/include/ctype.h:
  31177. +
  31178. +/usr/include/xlocale.h:
  31179. +
  31180. +/usr/include/stdio.h:
  31181. +
  31182. +/usr/include/libio.h:
  31183. +
  31184. +/usr/include/_G_config.h:
  31185. +
  31186. +/usr/include/wchar.h:
  31187. +
  31188. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  31189. +
  31190. +/usr/include/bits/stdio_lim.h:
  31191. +
  31192. +/usr/include/bits/sys_errlist.h:
  31193. +
  31194. +/usr/include/bits/stdio.h:
  31195. +
  31196. +/usr/include/bits/stdio2.h:
  31197. +
  31198. +/usr/include/stdlib.h:
  31199. +
  31200. +/usr/include/bits/waitflags.h:
  31201. +
  31202. +/usr/include/bits/waitstatus.h:
  31203. +
  31204. +/usr/include/alloca.h:
  31205. +
  31206. +/usr/include/bits/stdlib.h:
  31207. +
  31208. +/usr/include/string.h:
  31209. +
  31210. +/usr/include/bits/string.h:
  31211. +
  31212. +/usr/include/bits/string2.h:
  31213. +
  31214. +/usr/include/bits/string3.h:
  31215. +
  31216. +gpsd_config.h:
  31217. +
  31218. +bsd-base64.h:
  31219. diff -Nur gpsd-2.39.orig/.deps/cgps.Po gpsd-2.39/.deps/cgps.Po
  31220. --- gpsd-2.39.orig/.deps/cgps.Po 1970-01-01 01:00:00.000000000 +0100
  31221. +++ gpsd-2.39/.deps/cgps.Po 2010-02-18 21:44:19.136857257 +0100
  31222. @@ -0,0 +1 @@
  31223. +# dummy
  31224. diff -Nur gpsd-2.39.orig/.deps/crc24q.Plo gpsd-2.39/.deps/crc24q.Plo
  31225. --- gpsd-2.39.orig/.deps/crc24q.Plo 1970-01-01 01:00:00.000000000 +0100
  31226. +++ gpsd-2.39/.deps/crc24q.Plo 2010-02-18 21:44:25.428854481 +0100
  31227. @@ -0,0 +1,6 @@
  31228. +crc24q.lo: crc24q.c /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  31229. + crc24q.h
  31230. +
  31231. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  31232. +
  31233. +crc24q.h:
  31234. diff -Nur gpsd-2.39.orig/.deps/dgnss.Plo gpsd-2.39/.deps/dgnss.Plo
  31235. --- gpsd-2.39.orig/.deps/dgnss.Plo 1970-01-01 01:00:00.000000000 +0100
  31236. +++ gpsd-2.39/.deps/dgnss.Plo 2010-02-18 21:44:26.048854698 +0100
  31237. @@ -0,0 +1,221 @@
  31238. +dgnss.lo: dgnss.c /usr/include/sys/types.h /usr/include/features.h \
  31239. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  31240. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  31241. + /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \
  31242. + /usr/include/bits/typesizes.h /usr/include/time.h \
  31243. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \
  31244. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  31245. + /usr/include/sys/select.h /usr/include/bits/select.h \
  31246. + /usr/include/bits/sigset.h /usr/include/bits/time.h \
  31247. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  31248. + /usr/include/sys/socket.h /usr/include/sys/uio.h /usr/include/bits/uio.h \
  31249. + /usr/include/bits/socket.h /usr/include/bits/sockaddr.h \
  31250. + /usr/include/asm/socket.h /usr/include/asm-generic/socket.h \
  31251. + /usr/include/asm/sockios.h /usr/include/asm-generic/sockios.h \
  31252. + /usr/include/bits/socket2.h /usr/include/string.h /usr/include/xlocale.h \
  31253. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  31254. + /usr/include/stdlib.h /usr/include/bits/string3.h /usr/include/unistd.h \
  31255. + /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \
  31256. + /usr/include/bits/confname.h /usr/include/getopt.h \
  31257. + /usr/include/bits/unistd.h /usr/include/errno.h \
  31258. + /usr/include/bits/errno.h /usr/include/linux/errno.h \
  31259. + /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \
  31260. + /usr/include/asm-generic/errno-base.h gpsd_config.h gpsd.h \
  31261. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h /usr/include/stdio.h \
  31262. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  31263. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  31264. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  31265. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  31266. + /usr/include/termios.h /usr/include/bits/termios.h \
  31267. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  31268. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  31269. + /usr/include/bits/wchar.h \
  31270. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  31271. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  31272. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  31273. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  31274. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  31275. + /usr/include/signal.h /usr/include/bits/signum.h \
  31276. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  31277. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  31278. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  31279. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  31280. + /usr/include/bits/setjmp.h
  31281. +
  31282. +/usr/include/sys/types.h:
  31283. +
  31284. +/usr/include/features.h:
  31285. +
  31286. +/usr/include/bits/predefs.h:
  31287. +
  31288. +/usr/include/sys/cdefs.h:
  31289. +
  31290. +/usr/include/bits/wordsize.h:
  31291. +
  31292. +/usr/include/gnu/stubs.h:
  31293. +
  31294. +/usr/include/gnu/stubs-32.h:
  31295. +
  31296. +/usr/include/bits/types.h:
  31297. +
  31298. +/usr/include/bits/typesizes.h:
  31299. +
  31300. +/usr/include/time.h:
  31301. +
  31302. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  31303. +
  31304. +/usr/include/endian.h:
  31305. +
  31306. +/usr/include/bits/endian.h:
  31307. +
  31308. +/usr/include/bits/byteswap.h:
  31309. +
  31310. +/usr/include/sys/select.h:
  31311. +
  31312. +/usr/include/bits/select.h:
  31313. +
  31314. +/usr/include/bits/sigset.h:
  31315. +
  31316. +/usr/include/bits/time.h:
  31317. +
  31318. +/usr/include/sys/sysmacros.h:
  31319. +
  31320. +/usr/include/bits/pthreadtypes.h:
  31321. +
  31322. +/usr/include/sys/socket.h:
  31323. +
  31324. +/usr/include/sys/uio.h:
  31325. +
  31326. +/usr/include/bits/uio.h:
  31327. +
  31328. +/usr/include/bits/socket.h:
  31329. +
  31330. +/usr/include/bits/sockaddr.h:
  31331. +
  31332. +/usr/include/asm/socket.h:
  31333. +
  31334. +/usr/include/asm-generic/socket.h:
  31335. +
  31336. +/usr/include/asm/sockios.h:
  31337. +
  31338. +/usr/include/asm-generic/sockios.h:
  31339. +
  31340. +/usr/include/bits/socket2.h:
  31341. +
  31342. +/usr/include/string.h:
  31343. +
  31344. +/usr/include/xlocale.h:
  31345. +
  31346. +/usr/include/bits/string.h:
  31347. +
  31348. +/usr/include/bits/string2.h:
  31349. +
  31350. +/usr/include/stdlib.h:
  31351. +
  31352. +/usr/include/bits/string3.h:
  31353. +
  31354. +/usr/include/unistd.h:
  31355. +
  31356. +/usr/include/bits/posix_opt.h:
  31357. +
  31358. +/usr/include/bits/environments.h:
  31359. +
  31360. +/usr/include/bits/confname.h:
  31361. +
  31362. +/usr/include/getopt.h:
  31363. +
  31364. +/usr/include/bits/unistd.h:
  31365. +
  31366. +/usr/include/errno.h:
  31367. +
  31368. +/usr/include/bits/errno.h:
  31369. +
  31370. +/usr/include/linux/errno.h:
  31371. +
  31372. +/usr/include/asm/errno.h:
  31373. +
  31374. +/usr/include/asm-generic/errno.h:
  31375. +
  31376. +/usr/include/asm-generic/errno-base.h:
  31377. +
  31378. +gpsd_config.h:
  31379. +
  31380. +gpsd.h:
  31381. +
  31382. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  31383. +
  31384. +/usr/include/stdio.h:
  31385. +
  31386. +/usr/include/libio.h:
  31387. +
  31388. +/usr/include/_G_config.h:
  31389. +
  31390. +/usr/include/wchar.h:
  31391. +
  31392. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  31393. +
  31394. +/usr/include/bits/stdio_lim.h:
  31395. +
  31396. +/usr/include/bits/sys_errlist.h:
  31397. +
  31398. +/usr/include/bits/stdio.h:
  31399. +
  31400. +/usr/include/bits/stdio2.h:
  31401. +
  31402. +/usr/include/termios.h:
  31403. +
  31404. +/usr/include/bits/termios.h:
  31405. +
  31406. +/usr/include/sys/ttydefaults.h:
  31407. +
  31408. +/usr/include/sys/termios.h:
  31409. +
  31410. +gps.h:
  31411. +
  31412. +/usr/include/sys/time.h:
  31413. +
  31414. +/usr/include/inttypes.h:
  31415. +
  31416. +/usr/include/stdint.h:
  31417. +
  31418. +/usr/include/bits/wchar.h:
  31419. +
  31420. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  31421. +
  31422. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  31423. +
  31424. +/usr/include/limits.h:
  31425. +
  31426. +/usr/include/bits/posix1_lim.h:
  31427. +
  31428. +/usr/include/bits/local_lim.h:
  31429. +
  31430. +/usr/include/linux/limits.h:
  31431. +
  31432. +/usr/include/bits/posix2_lim.h:
  31433. +
  31434. +/usr/include/bits/xopen_lim.h:
  31435. +
  31436. +/usr/include/signal.h:
  31437. +
  31438. +/usr/include/bits/signum.h:
  31439. +
  31440. +/usr/include/bits/siginfo.h:
  31441. +
  31442. +/usr/include/bits/sigaction.h:
  31443. +
  31444. +/usr/include/bits/sigcontext.h:
  31445. +
  31446. +/usr/include/bits/sigstack.h:
  31447. +
  31448. +/usr/include/sys/ucontext.h:
  31449. +
  31450. +/usr/include/bits/sigthread.h:
  31451. +
  31452. +/usr/include/pthread.h:
  31453. +
  31454. +/usr/include/sched.h:
  31455. +
  31456. +/usr/include/bits/sched.h:
  31457. +
  31458. +/usr/include/bits/setjmp.h:
  31459. diff -Nur gpsd-2.39.orig/.deps/dgpsip.Plo gpsd-2.39/.deps/dgpsip.Plo
  31460. --- gpsd-2.39.orig/.deps/dgpsip.Plo 1970-01-01 01:00:00.000000000 +0100
  31461. +++ gpsd-2.39/.deps/dgpsip.Plo 2010-02-18 21:44:26.940852959 +0100
  31462. @@ -0,0 +1,278 @@
  31463. +dgpsip.lo: dgpsip.c /usr/include/sys/types.h /usr/include/features.h \
  31464. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  31465. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  31466. + /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \
  31467. + /usr/include/bits/typesizes.h /usr/include/time.h \
  31468. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \
  31469. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  31470. + /usr/include/sys/select.h /usr/include/bits/select.h \
  31471. + /usr/include/bits/sigset.h /usr/include/bits/time.h \
  31472. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  31473. + /usr/include/sys/socket.h /usr/include/sys/uio.h /usr/include/bits/uio.h \
  31474. + /usr/include/bits/socket.h /usr/include/bits/sockaddr.h \
  31475. + /usr/include/asm/socket.h /usr/include/asm-generic/socket.h \
  31476. + /usr/include/asm/sockios.h /usr/include/asm-generic/sockios.h \
  31477. + /usr/include/bits/socket2.h /usr/include/sys/time.h \
  31478. + /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  31479. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  31480. + /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \
  31481. + /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
  31482. + /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \
  31483. + /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
  31484. + /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  31485. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  31486. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h /usr/include/math.h \
  31487. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  31488. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  31489. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  31490. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  31491. + /usr/include/netdb.h /usr/include/netinet/in.h /usr/include/stdint.h \
  31492. + /usr/include/bits/wchar.h /usr/include/bits/in.h \
  31493. + /usr/include/rpc/netdb.h /usr/include/bits/siginfo.h \
  31494. + /usr/include/bits/netdb.h /usr/include/string.h \
  31495. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  31496. + /usr/include/bits/string3.h /usr/include/errno.h \
  31497. + /usr/include/bits/errno.h /usr/include/linux/errno.h \
  31498. + /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \
  31499. + /usr/include/asm-generic/errno-base.h /usr/include/fcntl.h \
  31500. + /usr/include/bits/fcntl.h /usr/include/sys/stat.h \
  31501. + /usr/include/bits/stat.h /usr/include/bits/fcntl2.h gpsd_config.h gpsd.h \
  31502. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  31503. + /usr/include/termios.h /usr/include/bits/termios.h \
  31504. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  31505. + /usr/include/inttypes.h \
  31506. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  31507. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  31508. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  31509. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  31510. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  31511. + /usr/include/signal.h /usr/include/bits/signum.h \
  31512. + /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \
  31513. + /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h \
  31514. + /usr/include/bits/sigthread.h /usr/include/pthread.h \
  31515. + /usr/include/sched.h /usr/include/bits/sched.h \
  31516. + /usr/include/bits/setjmp.h
  31517. +
  31518. +/usr/include/sys/types.h:
  31519. +
  31520. +/usr/include/features.h:
  31521. +
  31522. +/usr/include/bits/predefs.h:
  31523. +
  31524. +/usr/include/sys/cdefs.h:
  31525. +
  31526. +/usr/include/bits/wordsize.h:
  31527. +
  31528. +/usr/include/gnu/stubs.h:
  31529. +
  31530. +/usr/include/gnu/stubs-32.h:
  31531. +
  31532. +/usr/include/bits/types.h:
  31533. +
  31534. +/usr/include/bits/typesizes.h:
  31535. +
  31536. +/usr/include/time.h:
  31537. +
  31538. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  31539. +
  31540. +/usr/include/endian.h:
  31541. +
  31542. +/usr/include/bits/endian.h:
  31543. +
  31544. +/usr/include/bits/byteswap.h:
  31545. +
  31546. +/usr/include/sys/select.h:
  31547. +
  31548. +/usr/include/bits/select.h:
  31549. +
  31550. +/usr/include/bits/sigset.h:
  31551. +
  31552. +/usr/include/bits/time.h:
  31553. +
  31554. +/usr/include/sys/sysmacros.h:
  31555. +
  31556. +/usr/include/bits/pthreadtypes.h:
  31557. +
  31558. +/usr/include/sys/socket.h:
  31559. +
  31560. +/usr/include/sys/uio.h:
  31561. +
  31562. +/usr/include/bits/uio.h:
  31563. +
  31564. +/usr/include/bits/socket.h:
  31565. +
  31566. +/usr/include/bits/sockaddr.h:
  31567. +
  31568. +/usr/include/asm/socket.h:
  31569. +
  31570. +/usr/include/asm-generic/socket.h:
  31571. +
  31572. +/usr/include/asm/sockios.h:
  31573. +
  31574. +/usr/include/asm-generic/sockios.h:
  31575. +
  31576. +/usr/include/bits/socket2.h:
  31577. +
  31578. +/usr/include/sys/time.h:
  31579. +
  31580. +/usr/include/unistd.h:
  31581. +
  31582. +/usr/include/bits/posix_opt.h:
  31583. +
  31584. +/usr/include/bits/environments.h:
  31585. +
  31586. +/usr/include/bits/confname.h:
  31587. +
  31588. +/usr/include/getopt.h:
  31589. +
  31590. +/usr/include/bits/unistd.h:
  31591. +
  31592. +/usr/include/stdlib.h:
  31593. +
  31594. +/usr/include/bits/waitflags.h:
  31595. +
  31596. +/usr/include/bits/waitstatus.h:
  31597. +
  31598. +/usr/include/xlocale.h:
  31599. +
  31600. +/usr/include/alloca.h:
  31601. +
  31602. +/usr/include/bits/stdlib.h:
  31603. +
  31604. +/usr/include/stdio.h:
  31605. +
  31606. +/usr/include/libio.h:
  31607. +
  31608. +/usr/include/_G_config.h:
  31609. +
  31610. +/usr/include/wchar.h:
  31611. +
  31612. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  31613. +
  31614. +/usr/include/bits/stdio_lim.h:
  31615. +
  31616. +/usr/include/bits/sys_errlist.h:
  31617. +
  31618. +/usr/include/bits/stdio.h:
  31619. +
  31620. +/usr/include/bits/stdio2.h:
  31621. +
  31622. +/usr/include/math.h:
  31623. +
  31624. +/usr/include/bits/huge_val.h:
  31625. +
  31626. +/usr/include/bits/huge_valf.h:
  31627. +
  31628. +/usr/include/bits/huge_vall.h:
  31629. +
  31630. +/usr/include/bits/inf.h:
  31631. +
  31632. +/usr/include/bits/nan.h:
  31633. +
  31634. +/usr/include/bits/mathdef.h:
  31635. +
  31636. +/usr/include/bits/mathcalls.h:
  31637. +
  31638. +/usr/include/bits/mathinline.h:
  31639. +
  31640. +/usr/include/netdb.h:
  31641. +
  31642. +/usr/include/netinet/in.h:
  31643. +
  31644. +/usr/include/stdint.h:
  31645. +
  31646. +/usr/include/bits/wchar.h:
  31647. +
  31648. +/usr/include/bits/in.h:
  31649. +
  31650. +/usr/include/rpc/netdb.h:
  31651. +
  31652. +/usr/include/bits/siginfo.h:
  31653. +
  31654. +/usr/include/bits/netdb.h:
  31655. +
  31656. +/usr/include/string.h:
  31657. +
  31658. +/usr/include/bits/string.h:
  31659. +
  31660. +/usr/include/bits/string2.h:
  31661. +
  31662. +/usr/include/bits/string3.h:
  31663. +
  31664. +/usr/include/errno.h:
  31665. +
  31666. +/usr/include/bits/errno.h:
  31667. +
  31668. +/usr/include/linux/errno.h:
  31669. +
  31670. +/usr/include/asm/errno.h:
  31671. +
  31672. +/usr/include/asm-generic/errno.h:
  31673. +
  31674. +/usr/include/asm-generic/errno-base.h:
  31675. +
  31676. +/usr/include/fcntl.h:
  31677. +
  31678. +/usr/include/bits/fcntl.h:
  31679. +
  31680. +/usr/include/sys/stat.h:
  31681. +
  31682. +/usr/include/bits/stat.h:
  31683. +
  31684. +/usr/include/bits/fcntl2.h:
  31685. +
  31686. +gpsd_config.h:
  31687. +
  31688. +gpsd.h:
  31689. +
  31690. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  31691. +
  31692. +/usr/include/termios.h:
  31693. +
  31694. +/usr/include/bits/termios.h:
  31695. +
  31696. +/usr/include/sys/ttydefaults.h:
  31697. +
  31698. +/usr/include/sys/termios.h:
  31699. +
  31700. +gps.h:
  31701. +
  31702. +/usr/include/inttypes.h:
  31703. +
  31704. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  31705. +
  31706. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  31707. +
  31708. +/usr/include/limits.h:
  31709. +
  31710. +/usr/include/bits/posix1_lim.h:
  31711. +
  31712. +/usr/include/bits/local_lim.h:
  31713. +
  31714. +/usr/include/linux/limits.h:
  31715. +
  31716. +/usr/include/bits/posix2_lim.h:
  31717. +
  31718. +/usr/include/bits/xopen_lim.h:
  31719. +
  31720. +/usr/include/signal.h:
  31721. +
  31722. +/usr/include/bits/signum.h:
  31723. +
  31724. +/usr/include/bits/sigaction.h:
  31725. +
  31726. +/usr/include/bits/sigcontext.h:
  31727. +
  31728. +/usr/include/bits/sigstack.h:
  31729. +
  31730. +/usr/include/sys/ucontext.h:
  31731. +
  31732. +/usr/include/bits/sigthread.h:
  31733. +
  31734. +/usr/include/pthread.h:
  31735. +
  31736. +/usr/include/sched.h:
  31737. +
  31738. +/usr/include/bits/sched.h:
  31739. +
  31740. +/usr/include/bits/setjmp.h:
  31741. diff -Nur gpsd-2.39.orig/.deps/driver_aivdm.Plo gpsd-2.39/.deps/driver_aivdm.Plo
  31742. --- gpsd-2.39.orig/.deps/driver_aivdm.Plo 1970-01-01 01:00:00.000000000 +0100
  31743. +++ gpsd-2.39/.deps/driver_aivdm.Plo 2010-02-18 21:44:43.344854693 +0100
  31744. @@ -0,0 +1,219 @@
  31745. +driver_aivdm.lo: driver_aivdm.c /usr/include/sys/types.h \
  31746. + /usr/include/features.h /usr/include/bits/predefs.h \
  31747. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  31748. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  31749. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  31750. + /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  31751. + /usr/include/endian.h /usr/include/bits/endian.h \
  31752. + /usr/include/bits/byteswap.h /usr/include/sys/select.h \
  31753. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  31754. + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
  31755. + /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \
  31756. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  31757. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  31758. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  31759. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  31760. + /usr/include/stdlib.h /usr/include/bits/waitflags.h \
  31761. + /usr/include/bits/waitstatus.h /usr/include/xlocale.h \
  31762. + /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \
  31763. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  31764. + /usr/include/bits/string3.h /usr/include/math.h \
  31765. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  31766. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  31767. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  31768. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  31769. + /usr/include/ctype.h /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  31770. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  31771. + /usr/include/getopt.h /usr/include/bits/unistd.h gpsd_config.h gpsd.h \
  31772. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  31773. + /usr/include/termios.h /usr/include/bits/termios.h \
  31774. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  31775. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  31776. + /usr/include/bits/wchar.h \
  31777. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  31778. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  31779. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  31780. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  31781. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  31782. + /usr/include/signal.h /usr/include/bits/signum.h \
  31783. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  31784. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  31785. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  31786. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  31787. + /usr/include/bits/setjmp.h bits.h
  31788. +
  31789. +/usr/include/sys/types.h:
  31790. +
  31791. +/usr/include/features.h:
  31792. +
  31793. +/usr/include/bits/predefs.h:
  31794. +
  31795. +/usr/include/sys/cdefs.h:
  31796. +
  31797. +/usr/include/bits/wordsize.h:
  31798. +
  31799. +/usr/include/gnu/stubs.h:
  31800. +
  31801. +/usr/include/gnu/stubs-32.h:
  31802. +
  31803. +/usr/include/bits/types.h:
  31804. +
  31805. +/usr/include/bits/typesizes.h:
  31806. +
  31807. +/usr/include/time.h:
  31808. +
  31809. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  31810. +
  31811. +/usr/include/endian.h:
  31812. +
  31813. +/usr/include/bits/endian.h:
  31814. +
  31815. +/usr/include/bits/byteswap.h:
  31816. +
  31817. +/usr/include/sys/select.h:
  31818. +
  31819. +/usr/include/bits/select.h:
  31820. +
  31821. +/usr/include/bits/sigset.h:
  31822. +
  31823. +/usr/include/bits/time.h:
  31824. +
  31825. +/usr/include/sys/sysmacros.h:
  31826. +
  31827. +/usr/include/bits/pthreadtypes.h:
  31828. +
  31829. +/usr/include/stdio.h:
  31830. +
  31831. +/usr/include/libio.h:
  31832. +
  31833. +/usr/include/_G_config.h:
  31834. +
  31835. +/usr/include/wchar.h:
  31836. +
  31837. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  31838. +
  31839. +/usr/include/bits/stdio_lim.h:
  31840. +
  31841. +/usr/include/bits/sys_errlist.h:
  31842. +
  31843. +/usr/include/bits/stdio.h:
  31844. +
  31845. +/usr/include/bits/stdio2.h:
  31846. +
  31847. +/usr/include/stdlib.h:
  31848. +
  31849. +/usr/include/bits/waitflags.h:
  31850. +
  31851. +/usr/include/bits/waitstatus.h:
  31852. +
  31853. +/usr/include/xlocale.h:
  31854. +
  31855. +/usr/include/alloca.h:
  31856. +
  31857. +/usr/include/bits/stdlib.h:
  31858. +
  31859. +/usr/include/string.h:
  31860. +
  31861. +/usr/include/bits/string.h:
  31862. +
  31863. +/usr/include/bits/string2.h:
  31864. +
  31865. +/usr/include/bits/string3.h:
  31866. +
  31867. +/usr/include/math.h:
  31868. +
  31869. +/usr/include/bits/huge_val.h:
  31870. +
  31871. +/usr/include/bits/huge_valf.h:
  31872. +
  31873. +/usr/include/bits/huge_vall.h:
  31874. +
  31875. +/usr/include/bits/inf.h:
  31876. +
  31877. +/usr/include/bits/nan.h:
  31878. +
  31879. +/usr/include/bits/mathdef.h:
  31880. +
  31881. +/usr/include/bits/mathcalls.h:
  31882. +
  31883. +/usr/include/bits/mathinline.h:
  31884. +
  31885. +/usr/include/ctype.h:
  31886. +
  31887. +/usr/include/unistd.h:
  31888. +
  31889. +/usr/include/bits/posix_opt.h:
  31890. +
  31891. +/usr/include/bits/environments.h:
  31892. +
  31893. +/usr/include/bits/confname.h:
  31894. +
  31895. +/usr/include/getopt.h:
  31896. +
  31897. +/usr/include/bits/unistd.h:
  31898. +
  31899. +gpsd_config.h:
  31900. +
  31901. +gpsd.h:
  31902. +
  31903. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  31904. +
  31905. +/usr/include/termios.h:
  31906. +
  31907. +/usr/include/bits/termios.h:
  31908. +
  31909. +/usr/include/sys/ttydefaults.h:
  31910. +
  31911. +/usr/include/sys/termios.h:
  31912. +
  31913. +gps.h:
  31914. +
  31915. +/usr/include/sys/time.h:
  31916. +
  31917. +/usr/include/inttypes.h:
  31918. +
  31919. +/usr/include/stdint.h:
  31920. +
  31921. +/usr/include/bits/wchar.h:
  31922. +
  31923. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  31924. +
  31925. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  31926. +
  31927. +/usr/include/limits.h:
  31928. +
  31929. +/usr/include/bits/posix1_lim.h:
  31930. +
  31931. +/usr/include/bits/local_lim.h:
  31932. +
  31933. +/usr/include/linux/limits.h:
  31934. +
  31935. +/usr/include/bits/posix2_lim.h:
  31936. +
  31937. +/usr/include/bits/xopen_lim.h:
  31938. +
  31939. +/usr/include/signal.h:
  31940. +
  31941. +/usr/include/bits/signum.h:
  31942. +
  31943. +/usr/include/bits/siginfo.h:
  31944. +
  31945. +/usr/include/bits/sigaction.h:
  31946. +
  31947. +/usr/include/bits/sigcontext.h:
  31948. +
  31949. +/usr/include/bits/sigstack.h:
  31950. +
  31951. +/usr/include/sys/ucontext.h:
  31952. +
  31953. +/usr/include/bits/sigthread.h:
  31954. +
  31955. +/usr/include/pthread.h:
  31956. +
  31957. +/usr/include/sched.h:
  31958. +
  31959. +/usr/include/bits/sched.h:
  31960. +
  31961. +/usr/include/bits/setjmp.h:
  31962. +
  31963. +bits.h:
  31964. diff -Nur gpsd-2.39.orig/.deps/driver_evermore.Plo gpsd-2.39/.deps/driver_evermore.Plo
  31965. --- gpsd-2.39.orig/.deps/driver_evermore.Plo 1970-01-01 01:00:00.000000000 +0100
  31966. +++ gpsd-2.39/.deps/driver_evermore.Plo 2010-02-18 21:44:44.624853771 +0100
  31967. @@ -0,0 +1,219 @@
  31968. +driver_evermore.lo: driver_evermore.c /usr/include/sys/types.h \
  31969. + /usr/include/features.h /usr/include/bits/predefs.h \
  31970. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  31971. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  31972. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  31973. + /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  31974. + /usr/include/endian.h /usr/include/bits/endian.h \
  31975. + /usr/include/bits/byteswap.h /usr/include/sys/select.h \
  31976. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  31977. + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
  31978. + /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \
  31979. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  31980. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  31981. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  31982. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  31983. + /usr/include/stdlib.h /usr/include/bits/waitflags.h \
  31984. + /usr/include/bits/waitstatus.h /usr/include/xlocale.h \
  31985. + /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \
  31986. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  31987. + /usr/include/bits/string3.h /usr/include/math.h \
  31988. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  31989. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  31990. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  31991. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  31992. + /usr/include/ctype.h /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  31993. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  31994. + /usr/include/getopt.h /usr/include/bits/unistd.h gpsd_config.h gpsd.h \
  31995. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  31996. + /usr/include/termios.h /usr/include/bits/termios.h \
  31997. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  31998. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  31999. + /usr/include/bits/wchar.h \
  32000. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  32001. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  32002. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  32003. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  32004. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  32005. + /usr/include/signal.h /usr/include/bits/signum.h \
  32006. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  32007. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  32008. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  32009. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  32010. + /usr/include/bits/setjmp.h bits.h
  32011. +
  32012. +/usr/include/sys/types.h:
  32013. +
  32014. +/usr/include/features.h:
  32015. +
  32016. +/usr/include/bits/predefs.h:
  32017. +
  32018. +/usr/include/sys/cdefs.h:
  32019. +
  32020. +/usr/include/bits/wordsize.h:
  32021. +
  32022. +/usr/include/gnu/stubs.h:
  32023. +
  32024. +/usr/include/gnu/stubs-32.h:
  32025. +
  32026. +/usr/include/bits/types.h:
  32027. +
  32028. +/usr/include/bits/typesizes.h:
  32029. +
  32030. +/usr/include/time.h:
  32031. +
  32032. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  32033. +
  32034. +/usr/include/endian.h:
  32035. +
  32036. +/usr/include/bits/endian.h:
  32037. +
  32038. +/usr/include/bits/byteswap.h:
  32039. +
  32040. +/usr/include/sys/select.h:
  32041. +
  32042. +/usr/include/bits/select.h:
  32043. +
  32044. +/usr/include/bits/sigset.h:
  32045. +
  32046. +/usr/include/bits/time.h:
  32047. +
  32048. +/usr/include/sys/sysmacros.h:
  32049. +
  32050. +/usr/include/bits/pthreadtypes.h:
  32051. +
  32052. +/usr/include/stdio.h:
  32053. +
  32054. +/usr/include/libio.h:
  32055. +
  32056. +/usr/include/_G_config.h:
  32057. +
  32058. +/usr/include/wchar.h:
  32059. +
  32060. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  32061. +
  32062. +/usr/include/bits/stdio_lim.h:
  32063. +
  32064. +/usr/include/bits/sys_errlist.h:
  32065. +
  32066. +/usr/include/bits/stdio.h:
  32067. +
  32068. +/usr/include/bits/stdio2.h:
  32069. +
  32070. +/usr/include/stdlib.h:
  32071. +
  32072. +/usr/include/bits/waitflags.h:
  32073. +
  32074. +/usr/include/bits/waitstatus.h:
  32075. +
  32076. +/usr/include/xlocale.h:
  32077. +
  32078. +/usr/include/alloca.h:
  32079. +
  32080. +/usr/include/bits/stdlib.h:
  32081. +
  32082. +/usr/include/string.h:
  32083. +
  32084. +/usr/include/bits/string.h:
  32085. +
  32086. +/usr/include/bits/string2.h:
  32087. +
  32088. +/usr/include/bits/string3.h:
  32089. +
  32090. +/usr/include/math.h:
  32091. +
  32092. +/usr/include/bits/huge_val.h:
  32093. +
  32094. +/usr/include/bits/huge_valf.h:
  32095. +
  32096. +/usr/include/bits/huge_vall.h:
  32097. +
  32098. +/usr/include/bits/inf.h:
  32099. +
  32100. +/usr/include/bits/nan.h:
  32101. +
  32102. +/usr/include/bits/mathdef.h:
  32103. +
  32104. +/usr/include/bits/mathcalls.h:
  32105. +
  32106. +/usr/include/bits/mathinline.h:
  32107. +
  32108. +/usr/include/ctype.h:
  32109. +
  32110. +/usr/include/unistd.h:
  32111. +
  32112. +/usr/include/bits/posix_opt.h:
  32113. +
  32114. +/usr/include/bits/environments.h:
  32115. +
  32116. +/usr/include/bits/confname.h:
  32117. +
  32118. +/usr/include/getopt.h:
  32119. +
  32120. +/usr/include/bits/unistd.h:
  32121. +
  32122. +gpsd_config.h:
  32123. +
  32124. +gpsd.h:
  32125. +
  32126. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  32127. +
  32128. +/usr/include/termios.h:
  32129. +
  32130. +/usr/include/bits/termios.h:
  32131. +
  32132. +/usr/include/sys/ttydefaults.h:
  32133. +
  32134. +/usr/include/sys/termios.h:
  32135. +
  32136. +gps.h:
  32137. +
  32138. +/usr/include/sys/time.h:
  32139. +
  32140. +/usr/include/inttypes.h:
  32141. +
  32142. +/usr/include/stdint.h:
  32143. +
  32144. +/usr/include/bits/wchar.h:
  32145. +
  32146. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  32147. +
  32148. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  32149. +
  32150. +/usr/include/limits.h:
  32151. +
  32152. +/usr/include/bits/posix1_lim.h:
  32153. +
  32154. +/usr/include/bits/local_lim.h:
  32155. +
  32156. +/usr/include/linux/limits.h:
  32157. +
  32158. +/usr/include/bits/posix2_lim.h:
  32159. +
  32160. +/usr/include/bits/xopen_lim.h:
  32161. +
  32162. +/usr/include/signal.h:
  32163. +
  32164. +/usr/include/bits/signum.h:
  32165. +
  32166. +/usr/include/bits/siginfo.h:
  32167. +
  32168. +/usr/include/bits/sigaction.h:
  32169. +
  32170. +/usr/include/bits/sigcontext.h:
  32171. +
  32172. +/usr/include/bits/sigstack.h:
  32173. +
  32174. +/usr/include/sys/ucontext.h:
  32175. +
  32176. +/usr/include/bits/sigthread.h:
  32177. +
  32178. +/usr/include/pthread.h:
  32179. +
  32180. +/usr/include/sched.h:
  32181. +
  32182. +/usr/include/bits/sched.h:
  32183. +
  32184. +/usr/include/bits/setjmp.h:
  32185. +
  32186. +bits.h:
  32187. diff -Nur gpsd-2.39.orig/.deps/driver_garmin.Plo gpsd-2.39/.deps/driver_garmin.Plo
  32188. --- gpsd-2.39.orig/.deps/driver_garmin.Plo 1970-01-01 01:00:00.000000000 +0100
  32189. +++ gpsd-2.39/.deps/driver_garmin.Plo 2010-02-18 21:44:46.284853192 +0100
  32190. @@ -0,0 +1,233 @@
  32191. +driver_garmin.lo: driver_garmin.c /usr/include/sys/types.h \
  32192. + /usr/include/features.h /usr/include/bits/predefs.h \
  32193. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  32194. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  32195. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  32196. + /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  32197. + /usr/include/endian.h /usr/include/bits/endian.h \
  32198. + /usr/include/bits/byteswap.h /usr/include/sys/select.h \
  32199. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  32200. + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
  32201. + /usr/include/bits/pthreadtypes.h /usr/include/xlocale.h \
  32202. + /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
  32203. + /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  32204. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  32205. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  32206. + /usr/include/stdlib.h /usr/include/bits/waitflags.h \
  32207. + /usr/include/bits/waitstatus.h /usr/include/alloca.h \
  32208. + /usr/include/bits/stdlib.h /usr/include/math.h \
  32209. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  32210. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  32211. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  32212. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  32213. + /usr/include/string.h /usr/include/bits/string.h \
  32214. + /usr/include/bits/string2.h /usr/include/bits/string3.h \
  32215. + /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  32216. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  32217. + /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/errno.h \
  32218. + /usr/include/bits/errno.h /usr/include/linux/errno.h \
  32219. + /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \
  32220. + /usr/include/asm-generic/errno-base.h /usr/include/inttypes.h \
  32221. + /usr/include/stdint.h /usr/include/bits/wchar.h gpsd_config.h \
  32222. + /usr/include/strings.h gpsd.h \
  32223. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  32224. + /usr/include/termios.h /usr/include/bits/termios.h \
  32225. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  32226. + /usr/include/sys/time.h \
  32227. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  32228. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  32229. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  32230. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  32231. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  32232. + /usr/include/signal.h /usr/include/bits/signum.h \
  32233. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  32234. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  32235. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  32236. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  32237. + /usr/include/bits/setjmp.h
  32238. +
  32239. +/usr/include/sys/types.h:
  32240. +
  32241. +/usr/include/features.h:
  32242. +
  32243. +/usr/include/bits/predefs.h:
  32244. +
  32245. +/usr/include/sys/cdefs.h:
  32246. +
  32247. +/usr/include/bits/wordsize.h:
  32248. +
  32249. +/usr/include/gnu/stubs.h:
  32250. +
  32251. +/usr/include/gnu/stubs-32.h:
  32252. +
  32253. +/usr/include/bits/types.h:
  32254. +
  32255. +/usr/include/bits/typesizes.h:
  32256. +
  32257. +/usr/include/time.h:
  32258. +
  32259. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  32260. +
  32261. +/usr/include/endian.h:
  32262. +
  32263. +/usr/include/bits/endian.h:
  32264. +
  32265. +/usr/include/bits/byteswap.h:
  32266. +
  32267. +/usr/include/sys/select.h:
  32268. +
  32269. +/usr/include/bits/select.h:
  32270. +
  32271. +/usr/include/bits/sigset.h:
  32272. +
  32273. +/usr/include/bits/time.h:
  32274. +
  32275. +/usr/include/sys/sysmacros.h:
  32276. +
  32277. +/usr/include/bits/pthreadtypes.h:
  32278. +
  32279. +/usr/include/xlocale.h:
  32280. +
  32281. +/usr/include/stdio.h:
  32282. +
  32283. +/usr/include/libio.h:
  32284. +
  32285. +/usr/include/_G_config.h:
  32286. +
  32287. +/usr/include/wchar.h:
  32288. +
  32289. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  32290. +
  32291. +/usr/include/bits/stdio_lim.h:
  32292. +
  32293. +/usr/include/bits/sys_errlist.h:
  32294. +
  32295. +/usr/include/bits/stdio.h:
  32296. +
  32297. +/usr/include/bits/stdio2.h:
  32298. +
  32299. +/usr/include/stdlib.h:
  32300. +
  32301. +/usr/include/bits/waitflags.h:
  32302. +
  32303. +/usr/include/bits/waitstatus.h:
  32304. +
  32305. +/usr/include/alloca.h:
  32306. +
  32307. +/usr/include/bits/stdlib.h:
  32308. +
  32309. +/usr/include/math.h:
  32310. +
  32311. +/usr/include/bits/huge_val.h:
  32312. +
  32313. +/usr/include/bits/huge_valf.h:
  32314. +
  32315. +/usr/include/bits/huge_vall.h:
  32316. +
  32317. +/usr/include/bits/inf.h:
  32318. +
  32319. +/usr/include/bits/nan.h:
  32320. +
  32321. +/usr/include/bits/mathdef.h:
  32322. +
  32323. +/usr/include/bits/mathcalls.h:
  32324. +
  32325. +/usr/include/bits/mathinline.h:
  32326. +
  32327. +/usr/include/string.h:
  32328. +
  32329. +/usr/include/bits/string.h:
  32330. +
  32331. +/usr/include/bits/string2.h:
  32332. +
  32333. +/usr/include/bits/string3.h:
  32334. +
  32335. +/usr/include/unistd.h:
  32336. +
  32337. +/usr/include/bits/posix_opt.h:
  32338. +
  32339. +/usr/include/bits/environments.h:
  32340. +
  32341. +/usr/include/bits/confname.h:
  32342. +
  32343. +/usr/include/getopt.h:
  32344. +
  32345. +/usr/include/bits/unistd.h:
  32346. +
  32347. +/usr/include/errno.h:
  32348. +
  32349. +/usr/include/bits/errno.h:
  32350. +
  32351. +/usr/include/linux/errno.h:
  32352. +
  32353. +/usr/include/asm/errno.h:
  32354. +
  32355. +/usr/include/asm-generic/errno.h:
  32356. +
  32357. +/usr/include/asm-generic/errno-base.h:
  32358. +
  32359. +/usr/include/inttypes.h:
  32360. +
  32361. +/usr/include/stdint.h:
  32362. +
  32363. +/usr/include/bits/wchar.h:
  32364. +
  32365. +gpsd_config.h:
  32366. +
  32367. +/usr/include/strings.h:
  32368. +
  32369. +gpsd.h:
  32370. +
  32371. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  32372. +
  32373. +/usr/include/termios.h:
  32374. +
  32375. +/usr/include/bits/termios.h:
  32376. +
  32377. +/usr/include/sys/ttydefaults.h:
  32378. +
  32379. +/usr/include/sys/termios.h:
  32380. +
  32381. +gps.h:
  32382. +
  32383. +/usr/include/sys/time.h:
  32384. +
  32385. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  32386. +
  32387. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  32388. +
  32389. +/usr/include/limits.h:
  32390. +
  32391. +/usr/include/bits/posix1_lim.h:
  32392. +
  32393. +/usr/include/bits/local_lim.h:
  32394. +
  32395. +/usr/include/linux/limits.h:
  32396. +
  32397. +/usr/include/bits/posix2_lim.h:
  32398. +
  32399. +/usr/include/bits/xopen_lim.h:
  32400. +
  32401. +/usr/include/signal.h:
  32402. +
  32403. +/usr/include/bits/signum.h:
  32404. +
  32405. +/usr/include/bits/siginfo.h:
  32406. +
  32407. +/usr/include/bits/sigaction.h:
  32408. +
  32409. +/usr/include/bits/sigcontext.h:
  32410. +
  32411. +/usr/include/bits/sigstack.h:
  32412. +
  32413. +/usr/include/sys/ucontext.h:
  32414. +
  32415. +/usr/include/bits/sigthread.h:
  32416. +
  32417. +/usr/include/pthread.h:
  32418. +
  32419. +/usr/include/sched.h:
  32420. +
  32421. +/usr/include/bits/sched.h:
  32422. +
  32423. +/usr/include/bits/setjmp.h:
  32424. diff -Nur gpsd-2.39.orig/.deps/driver_garmin_txt.Plo gpsd-2.39/.deps/driver_garmin_txt.Plo
  32425. --- gpsd-2.39.orig/.deps/driver_garmin_txt.Plo 1970-01-01 01:00:00.000000000 +0100
  32426. +++ gpsd-2.39/.deps/driver_garmin_txt.Plo 2010-02-18 21:44:46.708859721 +0100
  32427. @@ -0,0 +1,235 @@
  32428. +driver_garmin_txt.lo: driver_garmin_txt.c /usr/include/sys/types.h \
  32429. + /usr/include/features.h /usr/include/bits/predefs.h \
  32430. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  32431. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  32432. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  32433. + /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  32434. + /usr/include/endian.h /usr/include/bits/endian.h \
  32435. + /usr/include/bits/byteswap.h /usr/include/sys/select.h \
  32436. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  32437. + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
  32438. + /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \
  32439. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  32440. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  32441. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  32442. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  32443. + /usr/include/stdlib.h /usr/include/bits/waitflags.h \
  32444. + /usr/include/bits/waitstatus.h /usr/include/xlocale.h \
  32445. + /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/math.h \
  32446. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  32447. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  32448. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  32449. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  32450. + /usr/include/string.h /usr/include/bits/string.h \
  32451. + /usr/include/bits/string2.h /usr/include/bits/string3.h \
  32452. + /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  32453. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  32454. + /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/errno.h \
  32455. + /usr/include/bits/errno.h /usr/include/linux/errno.h \
  32456. + /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \
  32457. + /usr/include/asm-generic/errno-base.h /usr/include/inttypes.h \
  32458. + /usr/include/stdint.h /usr/include/bits/wchar.h gpsd_config.h \
  32459. + /usr/include/strings.h gpsd.h \
  32460. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  32461. + /usr/include/termios.h /usr/include/bits/termios.h \
  32462. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  32463. + /usr/include/sys/time.h \
  32464. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  32465. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  32466. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  32467. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  32468. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  32469. + /usr/include/signal.h /usr/include/bits/signum.h \
  32470. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  32471. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  32472. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  32473. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  32474. + /usr/include/bits/setjmp.h timebase.h
  32475. +
  32476. +/usr/include/sys/types.h:
  32477. +
  32478. +/usr/include/features.h:
  32479. +
  32480. +/usr/include/bits/predefs.h:
  32481. +
  32482. +/usr/include/sys/cdefs.h:
  32483. +
  32484. +/usr/include/bits/wordsize.h:
  32485. +
  32486. +/usr/include/gnu/stubs.h:
  32487. +
  32488. +/usr/include/gnu/stubs-32.h:
  32489. +
  32490. +/usr/include/bits/types.h:
  32491. +
  32492. +/usr/include/bits/typesizes.h:
  32493. +
  32494. +/usr/include/time.h:
  32495. +
  32496. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  32497. +
  32498. +/usr/include/endian.h:
  32499. +
  32500. +/usr/include/bits/endian.h:
  32501. +
  32502. +/usr/include/bits/byteswap.h:
  32503. +
  32504. +/usr/include/sys/select.h:
  32505. +
  32506. +/usr/include/bits/select.h:
  32507. +
  32508. +/usr/include/bits/sigset.h:
  32509. +
  32510. +/usr/include/bits/time.h:
  32511. +
  32512. +/usr/include/sys/sysmacros.h:
  32513. +
  32514. +/usr/include/bits/pthreadtypes.h:
  32515. +
  32516. +/usr/include/stdio.h:
  32517. +
  32518. +/usr/include/libio.h:
  32519. +
  32520. +/usr/include/_G_config.h:
  32521. +
  32522. +/usr/include/wchar.h:
  32523. +
  32524. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  32525. +
  32526. +/usr/include/bits/stdio_lim.h:
  32527. +
  32528. +/usr/include/bits/sys_errlist.h:
  32529. +
  32530. +/usr/include/bits/stdio.h:
  32531. +
  32532. +/usr/include/bits/stdio2.h:
  32533. +
  32534. +/usr/include/stdlib.h:
  32535. +
  32536. +/usr/include/bits/waitflags.h:
  32537. +
  32538. +/usr/include/bits/waitstatus.h:
  32539. +
  32540. +/usr/include/xlocale.h:
  32541. +
  32542. +/usr/include/alloca.h:
  32543. +
  32544. +/usr/include/bits/stdlib.h:
  32545. +
  32546. +/usr/include/math.h:
  32547. +
  32548. +/usr/include/bits/huge_val.h:
  32549. +
  32550. +/usr/include/bits/huge_valf.h:
  32551. +
  32552. +/usr/include/bits/huge_vall.h:
  32553. +
  32554. +/usr/include/bits/inf.h:
  32555. +
  32556. +/usr/include/bits/nan.h:
  32557. +
  32558. +/usr/include/bits/mathdef.h:
  32559. +
  32560. +/usr/include/bits/mathcalls.h:
  32561. +
  32562. +/usr/include/bits/mathinline.h:
  32563. +
  32564. +/usr/include/string.h:
  32565. +
  32566. +/usr/include/bits/string.h:
  32567. +
  32568. +/usr/include/bits/string2.h:
  32569. +
  32570. +/usr/include/bits/string3.h:
  32571. +
  32572. +/usr/include/unistd.h:
  32573. +
  32574. +/usr/include/bits/posix_opt.h:
  32575. +
  32576. +/usr/include/bits/environments.h:
  32577. +
  32578. +/usr/include/bits/confname.h:
  32579. +
  32580. +/usr/include/getopt.h:
  32581. +
  32582. +/usr/include/bits/unistd.h:
  32583. +
  32584. +/usr/include/errno.h:
  32585. +
  32586. +/usr/include/bits/errno.h:
  32587. +
  32588. +/usr/include/linux/errno.h:
  32589. +
  32590. +/usr/include/asm/errno.h:
  32591. +
  32592. +/usr/include/asm-generic/errno.h:
  32593. +
  32594. +/usr/include/asm-generic/errno-base.h:
  32595. +
  32596. +/usr/include/inttypes.h:
  32597. +
  32598. +/usr/include/stdint.h:
  32599. +
  32600. +/usr/include/bits/wchar.h:
  32601. +
  32602. +gpsd_config.h:
  32603. +
  32604. +/usr/include/strings.h:
  32605. +
  32606. +gpsd.h:
  32607. +
  32608. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  32609. +
  32610. +/usr/include/termios.h:
  32611. +
  32612. +/usr/include/bits/termios.h:
  32613. +
  32614. +/usr/include/sys/ttydefaults.h:
  32615. +
  32616. +/usr/include/sys/termios.h:
  32617. +
  32618. +gps.h:
  32619. +
  32620. +/usr/include/sys/time.h:
  32621. +
  32622. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  32623. +
  32624. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  32625. +
  32626. +/usr/include/limits.h:
  32627. +
  32628. +/usr/include/bits/posix1_lim.h:
  32629. +
  32630. +/usr/include/bits/local_lim.h:
  32631. +
  32632. +/usr/include/linux/limits.h:
  32633. +
  32634. +/usr/include/bits/posix2_lim.h:
  32635. +
  32636. +/usr/include/bits/xopen_lim.h:
  32637. +
  32638. +/usr/include/signal.h:
  32639. +
  32640. +/usr/include/bits/signum.h:
  32641. +
  32642. +/usr/include/bits/siginfo.h:
  32643. +
  32644. +/usr/include/bits/sigaction.h:
  32645. +
  32646. +/usr/include/bits/sigcontext.h:
  32647. +
  32648. +/usr/include/bits/sigstack.h:
  32649. +
  32650. +/usr/include/sys/ucontext.h:
  32651. +
  32652. +/usr/include/bits/sigthread.h:
  32653. +
  32654. +/usr/include/pthread.h:
  32655. +
  32656. +/usr/include/sched.h:
  32657. +
  32658. +/usr/include/bits/sched.h:
  32659. +
  32660. +/usr/include/bits/setjmp.h:
  32661. +
  32662. +timebase.h:
  32663. diff -Nur gpsd-2.39.orig/.deps/driver_italk.Plo gpsd-2.39/.deps/driver_italk.Plo
  32664. --- gpsd-2.39.orig/.deps/driver_italk.Plo 1970-01-01 01:00:00.000000000 +0100
  32665. +++ gpsd-2.39/.deps/driver_italk.Plo 2010-02-18 21:44:47.828853212 +0100
  32666. @@ -0,0 +1,221 @@
  32667. +driver_italk.lo: driver_italk.c /usr/include/sys/types.h \
  32668. + /usr/include/features.h /usr/include/bits/predefs.h \
  32669. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  32670. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  32671. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  32672. + /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  32673. + /usr/include/endian.h /usr/include/bits/endian.h \
  32674. + /usr/include/bits/byteswap.h /usr/include/sys/select.h \
  32675. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  32676. + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
  32677. + /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \
  32678. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  32679. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  32680. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  32681. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  32682. + /usr/include/stdlib.h /usr/include/bits/waitflags.h \
  32683. + /usr/include/bits/waitstatus.h /usr/include/xlocale.h \
  32684. + /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \
  32685. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  32686. + /usr/include/bits/string3.h /usr/include/math.h \
  32687. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  32688. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  32689. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  32690. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  32691. + /usr/include/ctype.h /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  32692. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  32693. + /usr/include/getopt.h /usr/include/bits/unistd.h gpsd_config.h gpsd.h \
  32694. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  32695. + /usr/include/termios.h /usr/include/bits/termios.h \
  32696. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  32697. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  32698. + /usr/include/bits/wchar.h \
  32699. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  32700. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  32701. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  32702. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  32703. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  32704. + /usr/include/signal.h /usr/include/bits/signum.h \
  32705. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  32706. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  32707. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  32708. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  32709. + /usr/include/bits/setjmp.h bits.h driver_italk.h
  32710. +
  32711. +/usr/include/sys/types.h:
  32712. +
  32713. +/usr/include/features.h:
  32714. +
  32715. +/usr/include/bits/predefs.h:
  32716. +
  32717. +/usr/include/sys/cdefs.h:
  32718. +
  32719. +/usr/include/bits/wordsize.h:
  32720. +
  32721. +/usr/include/gnu/stubs.h:
  32722. +
  32723. +/usr/include/gnu/stubs-32.h:
  32724. +
  32725. +/usr/include/bits/types.h:
  32726. +
  32727. +/usr/include/bits/typesizes.h:
  32728. +
  32729. +/usr/include/time.h:
  32730. +
  32731. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  32732. +
  32733. +/usr/include/endian.h:
  32734. +
  32735. +/usr/include/bits/endian.h:
  32736. +
  32737. +/usr/include/bits/byteswap.h:
  32738. +
  32739. +/usr/include/sys/select.h:
  32740. +
  32741. +/usr/include/bits/select.h:
  32742. +
  32743. +/usr/include/bits/sigset.h:
  32744. +
  32745. +/usr/include/bits/time.h:
  32746. +
  32747. +/usr/include/sys/sysmacros.h:
  32748. +
  32749. +/usr/include/bits/pthreadtypes.h:
  32750. +
  32751. +/usr/include/stdio.h:
  32752. +
  32753. +/usr/include/libio.h:
  32754. +
  32755. +/usr/include/_G_config.h:
  32756. +
  32757. +/usr/include/wchar.h:
  32758. +
  32759. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  32760. +
  32761. +/usr/include/bits/stdio_lim.h:
  32762. +
  32763. +/usr/include/bits/sys_errlist.h:
  32764. +
  32765. +/usr/include/bits/stdio.h:
  32766. +
  32767. +/usr/include/bits/stdio2.h:
  32768. +
  32769. +/usr/include/stdlib.h:
  32770. +
  32771. +/usr/include/bits/waitflags.h:
  32772. +
  32773. +/usr/include/bits/waitstatus.h:
  32774. +
  32775. +/usr/include/xlocale.h:
  32776. +
  32777. +/usr/include/alloca.h:
  32778. +
  32779. +/usr/include/bits/stdlib.h:
  32780. +
  32781. +/usr/include/string.h:
  32782. +
  32783. +/usr/include/bits/string.h:
  32784. +
  32785. +/usr/include/bits/string2.h:
  32786. +
  32787. +/usr/include/bits/string3.h:
  32788. +
  32789. +/usr/include/math.h:
  32790. +
  32791. +/usr/include/bits/huge_val.h:
  32792. +
  32793. +/usr/include/bits/huge_valf.h:
  32794. +
  32795. +/usr/include/bits/huge_vall.h:
  32796. +
  32797. +/usr/include/bits/inf.h:
  32798. +
  32799. +/usr/include/bits/nan.h:
  32800. +
  32801. +/usr/include/bits/mathdef.h:
  32802. +
  32803. +/usr/include/bits/mathcalls.h:
  32804. +
  32805. +/usr/include/bits/mathinline.h:
  32806. +
  32807. +/usr/include/ctype.h:
  32808. +
  32809. +/usr/include/unistd.h:
  32810. +
  32811. +/usr/include/bits/posix_opt.h:
  32812. +
  32813. +/usr/include/bits/environments.h:
  32814. +
  32815. +/usr/include/bits/confname.h:
  32816. +
  32817. +/usr/include/getopt.h:
  32818. +
  32819. +/usr/include/bits/unistd.h:
  32820. +
  32821. +gpsd_config.h:
  32822. +
  32823. +gpsd.h:
  32824. +
  32825. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  32826. +
  32827. +/usr/include/termios.h:
  32828. +
  32829. +/usr/include/bits/termios.h:
  32830. +
  32831. +/usr/include/sys/ttydefaults.h:
  32832. +
  32833. +/usr/include/sys/termios.h:
  32834. +
  32835. +gps.h:
  32836. +
  32837. +/usr/include/sys/time.h:
  32838. +
  32839. +/usr/include/inttypes.h:
  32840. +
  32841. +/usr/include/stdint.h:
  32842. +
  32843. +/usr/include/bits/wchar.h:
  32844. +
  32845. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  32846. +
  32847. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  32848. +
  32849. +/usr/include/limits.h:
  32850. +
  32851. +/usr/include/bits/posix1_lim.h:
  32852. +
  32853. +/usr/include/bits/local_lim.h:
  32854. +
  32855. +/usr/include/linux/limits.h:
  32856. +
  32857. +/usr/include/bits/posix2_lim.h:
  32858. +
  32859. +/usr/include/bits/xopen_lim.h:
  32860. +
  32861. +/usr/include/signal.h:
  32862. +
  32863. +/usr/include/bits/signum.h:
  32864. +
  32865. +/usr/include/bits/siginfo.h:
  32866. +
  32867. +/usr/include/bits/sigaction.h:
  32868. +
  32869. +/usr/include/bits/sigcontext.h:
  32870. +
  32871. +/usr/include/bits/sigstack.h:
  32872. +
  32873. +/usr/include/sys/ucontext.h:
  32874. +
  32875. +/usr/include/bits/sigthread.h:
  32876. +
  32877. +/usr/include/pthread.h:
  32878. +
  32879. +/usr/include/sched.h:
  32880. +
  32881. +/usr/include/bits/sched.h:
  32882. +
  32883. +/usr/include/bits/setjmp.h:
  32884. +
  32885. +bits.h:
  32886. +
  32887. +driver_italk.h:
  32888. diff -Nur gpsd-2.39.orig/.deps/driver_navcom.Plo gpsd-2.39/.deps/driver_navcom.Plo
  32889. --- gpsd-2.39.orig/.deps/driver_navcom.Plo 1970-01-01 01:00:00.000000000 +0100
  32890. +++ gpsd-2.39/.deps/driver_navcom.Plo 2010-02-18 21:44:51.032853789 +0100
  32891. @@ -0,0 +1,219 @@
  32892. +driver_navcom.lo: driver_navcom.c /usr/include/stdio.h \
  32893. + /usr/include/features.h /usr/include/bits/predefs.h \
  32894. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  32895. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  32896. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  32897. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  32898. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  32899. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  32900. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  32901. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  32902. + /usr/include/stdlib.h /usr/include/bits/waitflags.h \
  32903. + /usr/include/bits/waitstatus.h /usr/include/endian.h \
  32904. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  32905. + /usr/include/xlocale.h /usr/include/sys/types.h /usr/include/time.h \
  32906. + /usr/include/sys/select.h /usr/include/bits/select.h \
  32907. + /usr/include/bits/sigset.h /usr/include/bits/time.h \
  32908. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  32909. + /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \
  32910. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  32911. + /usr/include/bits/string3.h /usr/include/math.h \
  32912. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  32913. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  32914. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  32915. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  32916. + /usr/include/ctype.h /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  32917. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  32918. + /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/inttypes.h \
  32919. + /usr/include/stdint.h /usr/include/bits/wchar.h gpsd_config.h gpsd.h \
  32920. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  32921. + /usr/include/termios.h /usr/include/bits/termios.h \
  32922. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  32923. + /usr/include/sys/time.h \
  32924. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  32925. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  32926. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  32927. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  32928. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  32929. + /usr/include/signal.h /usr/include/bits/signum.h \
  32930. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  32931. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  32932. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  32933. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  32934. + /usr/include/bits/setjmp.h bits.h
  32935. +
  32936. +/usr/include/stdio.h:
  32937. +
  32938. +/usr/include/features.h:
  32939. +
  32940. +/usr/include/bits/predefs.h:
  32941. +
  32942. +/usr/include/sys/cdefs.h:
  32943. +
  32944. +/usr/include/bits/wordsize.h:
  32945. +
  32946. +/usr/include/gnu/stubs.h:
  32947. +
  32948. +/usr/include/gnu/stubs-32.h:
  32949. +
  32950. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  32951. +
  32952. +/usr/include/bits/types.h:
  32953. +
  32954. +/usr/include/bits/typesizes.h:
  32955. +
  32956. +/usr/include/libio.h:
  32957. +
  32958. +/usr/include/_G_config.h:
  32959. +
  32960. +/usr/include/wchar.h:
  32961. +
  32962. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  32963. +
  32964. +/usr/include/bits/stdio_lim.h:
  32965. +
  32966. +/usr/include/bits/sys_errlist.h:
  32967. +
  32968. +/usr/include/bits/stdio.h:
  32969. +
  32970. +/usr/include/bits/stdio2.h:
  32971. +
  32972. +/usr/include/stdlib.h:
  32973. +
  32974. +/usr/include/bits/waitflags.h:
  32975. +
  32976. +/usr/include/bits/waitstatus.h:
  32977. +
  32978. +/usr/include/endian.h:
  32979. +
  32980. +/usr/include/bits/endian.h:
  32981. +
  32982. +/usr/include/bits/byteswap.h:
  32983. +
  32984. +/usr/include/xlocale.h:
  32985. +
  32986. +/usr/include/sys/types.h:
  32987. +
  32988. +/usr/include/time.h:
  32989. +
  32990. +/usr/include/sys/select.h:
  32991. +
  32992. +/usr/include/bits/select.h:
  32993. +
  32994. +/usr/include/bits/sigset.h:
  32995. +
  32996. +/usr/include/bits/time.h:
  32997. +
  32998. +/usr/include/sys/sysmacros.h:
  32999. +
  33000. +/usr/include/bits/pthreadtypes.h:
  33001. +
  33002. +/usr/include/alloca.h:
  33003. +
  33004. +/usr/include/bits/stdlib.h:
  33005. +
  33006. +/usr/include/string.h:
  33007. +
  33008. +/usr/include/bits/string.h:
  33009. +
  33010. +/usr/include/bits/string2.h:
  33011. +
  33012. +/usr/include/bits/string3.h:
  33013. +
  33014. +/usr/include/math.h:
  33015. +
  33016. +/usr/include/bits/huge_val.h:
  33017. +
  33018. +/usr/include/bits/huge_valf.h:
  33019. +
  33020. +/usr/include/bits/huge_vall.h:
  33021. +
  33022. +/usr/include/bits/inf.h:
  33023. +
  33024. +/usr/include/bits/nan.h:
  33025. +
  33026. +/usr/include/bits/mathdef.h:
  33027. +
  33028. +/usr/include/bits/mathcalls.h:
  33029. +
  33030. +/usr/include/bits/mathinline.h:
  33031. +
  33032. +/usr/include/ctype.h:
  33033. +
  33034. +/usr/include/unistd.h:
  33035. +
  33036. +/usr/include/bits/posix_opt.h:
  33037. +
  33038. +/usr/include/bits/environments.h:
  33039. +
  33040. +/usr/include/bits/confname.h:
  33041. +
  33042. +/usr/include/getopt.h:
  33043. +
  33044. +/usr/include/bits/unistd.h:
  33045. +
  33046. +/usr/include/inttypes.h:
  33047. +
  33048. +/usr/include/stdint.h:
  33049. +
  33050. +/usr/include/bits/wchar.h:
  33051. +
  33052. +gpsd_config.h:
  33053. +
  33054. +gpsd.h:
  33055. +
  33056. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  33057. +
  33058. +/usr/include/termios.h:
  33059. +
  33060. +/usr/include/bits/termios.h:
  33061. +
  33062. +/usr/include/sys/ttydefaults.h:
  33063. +
  33064. +/usr/include/sys/termios.h:
  33065. +
  33066. +gps.h:
  33067. +
  33068. +/usr/include/sys/time.h:
  33069. +
  33070. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  33071. +
  33072. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  33073. +
  33074. +/usr/include/limits.h:
  33075. +
  33076. +/usr/include/bits/posix1_lim.h:
  33077. +
  33078. +/usr/include/bits/local_lim.h:
  33079. +
  33080. +/usr/include/linux/limits.h:
  33081. +
  33082. +/usr/include/bits/posix2_lim.h:
  33083. +
  33084. +/usr/include/bits/xopen_lim.h:
  33085. +
  33086. +/usr/include/signal.h:
  33087. +
  33088. +/usr/include/bits/signum.h:
  33089. +
  33090. +/usr/include/bits/siginfo.h:
  33091. +
  33092. +/usr/include/bits/sigaction.h:
  33093. +
  33094. +/usr/include/bits/sigcontext.h:
  33095. +
  33096. +/usr/include/bits/sigstack.h:
  33097. +
  33098. +/usr/include/sys/ucontext.h:
  33099. +
  33100. +/usr/include/bits/sigthread.h:
  33101. +
  33102. +/usr/include/pthread.h:
  33103. +
  33104. +/usr/include/sched.h:
  33105. +
  33106. +/usr/include/bits/sched.h:
  33107. +
  33108. +/usr/include/bits/setjmp.h:
  33109. +
  33110. +bits.h:
  33111. diff -Nur gpsd-2.39.orig/.deps/driver_nmea.Plo gpsd-2.39/.deps/driver_nmea.Plo
  33112. --- gpsd-2.39.orig/.deps/driver_nmea.Plo 1970-01-01 01:00:00.000000000 +0100
  33113. +++ gpsd-2.39/.deps/driver_nmea.Plo 2010-02-18 21:44:52.852853477 +0100
  33114. @@ -0,0 +1,219 @@
  33115. +driver_nmea.lo: driver_nmea.c /usr/include/sys/types.h \
  33116. + /usr/include/features.h /usr/include/bits/predefs.h \
  33117. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  33118. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  33119. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  33120. + /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  33121. + /usr/include/endian.h /usr/include/bits/endian.h \
  33122. + /usr/include/bits/byteswap.h /usr/include/sys/select.h \
  33123. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  33124. + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
  33125. + /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \
  33126. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  33127. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  33128. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  33129. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  33130. + /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  33131. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  33132. + /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \
  33133. + /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
  33134. + /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \
  33135. + /usr/include/math.h /usr/include/bits/huge_val.h \
  33136. + /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h \
  33137. + /usr/include/bits/inf.h /usr/include/bits/nan.h \
  33138. + /usr/include/bits/mathdef.h /usr/include/bits/mathcalls.h \
  33139. + /usr/include/bits/mathinline.h /usr/include/string.h \
  33140. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  33141. + /usr/include/bits/string3.h /usr/include/ctype.h gpsd_config.h gpsd.h \
  33142. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  33143. + /usr/include/termios.h /usr/include/bits/termios.h \
  33144. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  33145. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  33146. + /usr/include/bits/wchar.h \
  33147. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  33148. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  33149. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  33150. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  33151. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  33152. + /usr/include/signal.h /usr/include/bits/signum.h \
  33153. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  33154. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  33155. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  33156. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  33157. + /usr/include/bits/setjmp.h timebase.h
  33158. +
  33159. +/usr/include/sys/types.h:
  33160. +
  33161. +/usr/include/features.h:
  33162. +
  33163. +/usr/include/bits/predefs.h:
  33164. +
  33165. +/usr/include/sys/cdefs.h:
  33166. +
  33167. +/usr/include/bits/wordsize.h:
  33168. +
  33169. +/usr/include/gnu/stubs.h:
  33170. +
  33171. +/usr/include/gnu/stubs-32.h:
  33172. +
  33173. +/usr/include/bits/types.h:
  33174. +
  33175. +/usr/include/bits/typesizes.h:
  33176. +
  33177. +/usr/include/time.h:
  33178. +
  33179. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  33180. +
  33181. +/usr/include/endian.h:
  33182. +
  33183. +/usr/include/bits/endian.h:
  33184. +
  33185. +/usr/include/bits/byteswap.h:
  33186. +
  33187. +/usr/include/sys/select.h:
  33188. +
  33189. +/usr/include/bits/select.h:
  33190. +
  33191. +/usr/include/bits/sigset.h:
  33192. +
  33193. +/usr/include/bits/time.h:
  33194. +
  33195. +/usr/include/sys/sysmacros.h:
  33196. +
  33197. +/usr/include/bits/pthreadtypes.h:
  33198. +
  33199. +/usr/include/stdio.h:
  33200. +
  33201. +/usr/include/libio.h:
  33202. +
  33203. +/usr/include/_G_config.h:
  33204. +
  33205. +/usr/include/wchar.h:
  33206. +
  33207. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  33208. +
  33209. +/usr/include/bits/stdio_lim.h:
  33210. +
  33211. +/usr/include/bits/sys_errlist.h:
  33212. +
  33213. +/usr/include/bits/stdio.h:
  33214. +
  33215. +/usr/include/bits/stdio2.h:
  33216. +
  33217. +/usr/include/unistd.h:
  33218. +
  33219. +/usr/include/bits/posix_opt.h:
  33220. +
  33221. +/usr/include/bits/environments.h:
  33222. +
  33223. +/usr/include/bits/confname.h:
  33224. +
  33225. +/usr/include/getopt.h:
  33226. +
  33227. +/usr/include/bits/unistd.h:
  33228. +
  33229. +/usr/include/stdlib.h:
  33230. +
  33231. +/usr/include/bits/waitflags.h:
  33232. +
  33233. +/usr/include/bits/waitstatus.h:
  33234. +
  33235. +/usr/include/xlocale.h:
  33236. +
  33237. +/usr/include/alloca.h:
  33238. +
  33239. +/usr/include/bits/stdlib.h:
  33240. +
  33241. +/usr/include/math.h:
  33242. +
  33243. +/usr/include/bits/huge_val.h:
  33244. +
  33245. +/usr/include/bits/huge_valf.h:
  33246. +
  33247. +/usr/include/bits/huge_vall.h:
  33248. +
  33249. +/usr/include/bits/inf.h:
  33250. +
  33251. +/usr/include/bits/nan.h:
  33252. +
  33253. +/usr/include/bits/mathdef.h:
  33254. +
  33255. +/usr/include/bits/mathcalls.h:
  33256. +
  33257. +/usr/include/bits/mathinline.h:
  33258. +
  33259. +/usr/include/string.h:
  33260. +
  33261. +/usr/include/bits/string.h:
  33262. +
  33263. +/usr/include/bits/string2.h:
  33264. +
  33265. +/usr/include/bits/string3.h:
  33266. +
  33267. +/usr/include/ctype.h:
  33268. +
  33269. +gpsd_config.h:
  33270. +
  33271. +gpsd.h:
  33272. +
  33273. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  33274. +
  33275. +/usr/include/termios.h:
  33276. +
  33277. +/usr/include/bits/termios.h:
  33278. +
  33279. +/usr/include/sys/ttydefaults.h:
  33280. +
  33281. +/usr/include/sys/termios.h:
  33282. +
  33283. +gps.h:
  33284. +
  33285. +/usr/include/sys/time.h:
  33286. +
  33287. +/usr/include/inttypes.h:
  33288. +
  33289. +/usr/include/stdint.h:
  33290. +
  33291. +/usr/include/bits/wchar.h:
  33292. +
  33293. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  33294. +
  33295. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  33296. +
  33297. +/usr/include/limits.h:
  33298. +
  33299. +/usr/include/bits/posix1_lim.h:
  33300. +
  33301. +/usr/include/bits/local_lim.h:
  33302. +
  33303. +/usr/include/linux/limits.h:
  33304. +
  33305. +/usr/include/bits/posix2_lim.h:
  33306. +
  33307. +/usr/include/bits/xopen_lim.h:
  33308. +
  33309. +/usr/include/signal.h:
  33310. +
  33311. +/usr/include/bits/signum.h:
  33312. +
  33313. +/usr/include/bits/siginfo.h:
  33314. +
  33315. +/usr/include/bits/sigaction.h:
  33316. +
  33317. +/usr/include/bits/sigcontext.h:
  33318. +
  33319. +/usr/include/bits/sigstack.h:
  33320. +
  33321. +/usr/include/sys/ucontext.h:
  33322. +
  33323. +/usr/include/bits/sigthread.h:
  33324. +
  33325. +/usr/include/pthread.h:
  33326. +
  33327. +/usr/include/sched.h:
  33328. +
  33329. +/usr/include/bits/sched.h:
  33330. +
  33331. +/usr/include/bits/setjmp.h:
  33332. +
  33333. +timebase.h:
  33334. diff -Nur gpsd-2.39.orig/.deps/driver_rtcm2.Plo gpsd-2.39/.deps/driver_rtcm2.Plo
  33335. --- gpsd-2.39.orig/.deps/driver_rtcm2.Plo 1970-01-01 01:00:00.000000000 +0100
  33336. +++ gpsd-2.39/.deps/driver_rtcm2.Plo 2010-02-18 21:44:55.788853421 +0100
  33337. @@ -0,0 +1,216 @@
  33338. +driver_rtcm2.lo: driver_rtcm2.c /usr/include/sys/types.h \
  33339. + /usr/include/features.h /usr/include/bits/predefs.h \
  33340. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  33341. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  33342. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  33343. + /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  33344. + /usr/include/endian.h /usr/include/bits/endian.h \
  33345. + /usr/include/bits/byteswap.h /usr/include/sys/select.h \
  33346. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  33347. + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
  33348. + /usr/include/bits/pthreadtypes.h /usr/include/unistd.h \
  33349. + /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \
  33350. + /usr/include/bits/confname.h /usr/include/getopt.h \
  33351. + /usr/include/bits/unistd.h /usr/include/stdlib.h \
  33352. + /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
  33353. + /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \
  33354. + /usr/include/string.h /usr/include/bits/string.h \
  33355. + /usr/include/bits/string2.h /usr/include/bits/string3.h \
  33356. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h /usr/include/stdio.h \
  33357. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  33358. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  33359. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  33360. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h /usr/include/math.h \
  33361. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  33362. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  33363. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  33364. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  33365. + gpsd_config.h gpsd.h /usr/include/termios.h /usr/include/bits/termios.h \
  33366. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  33367. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  33368. + /usr/include/bits/wchar.h \
  33369. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  33370. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  33371. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  33372. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  33373. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  33374. + /usr/include/signal.h /usr/include/bits/signum.h \
  33375. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  33376. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  33377. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  33378. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  33379. + /usr/include/bits/setjmp.h driver_rtcm2.h
  33380. +
  33381. +/usr/include/sys/types.h:
  33382. +
  33383. +/usr/include/features.h:
  33384. +
  33385. +/usr/include/bits/predefs.h:
  33386. +
  33387. +/usr/include/sys/cdefs.h:
  33388. +
  33389. +/usr/include/bits/wordsize.h:
  33390. +
  33391. +/usr/include/gnu/stubs.h:
  33392. +
  33393. +/usr/include/gnu/stubs-32.h:
  33394. +
  33395. +/usr/include/bits/types.h:
  33396. +
  33397. +/usr/include/bits/typesizes.h:
  33398. +
  33399. +/usr/include/time.h:
  33400. +
  33401. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  33402. +
  33403. +/usr/include/endian.h:
  33404. +
  33405. +/usr/include/bits/endian.h:
  33406. +
  33407. +/usr/include/bits/byteswap.h:
  33408. +
  33409. +/usr/include/sys/select.h:
  33410. +
  33411. +/usr/include/bits/select.h:
  33412. +
  33413. +/usr/include/bits/sigset.h:
  33414. +
  33415. +/usr/include/bits/time.h:
  33416. +
  33417. +/usr/include/sys/sysmacros.h:
  33418. +
  33419. +/usr/include/bits/pthreadtypes.h:
  33420. +
  33421. +/usr/include/unistd.h:
  33422. +
  33423. +/usr/include/bits/posix_opt.h:
  33424. +
  33425. +/usr/include/bits/environments.h:
  33426. +
  33427. +/usr/include/bits/confname.h:
  33428. +
  33429. +/usr/include/getopt.h:
  33430. +
  33431. +/usr/include/bits/unistd.h:
  33432. +
  33433. +/usr/include/stdlib.h:
  33434. +
  33435. +/usr/include/bits/waitflags.h:
  33436. +
  33437. +/usr/include/bits/waitstatus.h:
  33438. +
  33439. +/usr/include/xlocale.h:
  33440. +
  33441. +/usr/include/alloca.h:
  33442. +
  33443. +/usr/include/bits/stdlib.h:
  33444. +
  33445. +/usr/include/string.h:
  33446. +
  33447. +/usr/include/bits/string.h:
  33448. +
  33449. +/usr/include/bits/string2.h:
  33450. +
  33451. +/usr/include/bits/string3.h:
  33452. +
  33453. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  33454. +
  33455. +/usr/include/stdio.h:
  33456. +
  33457. +/usr/include/libio.h:
  33458. +
  33459. +/usr/include/_G_config.h:
  33460. +
  33461. +/usr/include/wchar.h:
  33462. +
  33463. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  33464. +
  33465. +/usr/include/bits/stdio_lim.h:
  33466. +
  33467. +/usr/include/bits/sys_errlist.h:
  33468. +
  33469. +/usr/include/bits/stdio.h:
  33470. +
  33471. +/usr/include/bits/stdio2.h:
  33472. +
  33473. +/usr/include/math.h:
  33474. +
  33475. +/usr/include/bits/huge_val.h:
  33476. +
  33477. +/usr/include/bits/huge_valf.h:
  33478. +
  33479. +/usr/include/bits/huge_vall.h:
  33480. +
  33481. +/usr/include/bits/inf.h:
  33482. +
  33483. +/usr/include/bits/nan.h:
  33484. +
  33485. +/usr/include/bits/mathdef.h:
  33486. +
  33487. +/usr/include/bits/mathcalls.h:
  33488. +
  33489. +/usr/include/bits/mathinline.h:
  33490. +
  33491. +gpsd_config.h:
  33492. +
  33493. +gpsd.h:
  33494. +
  33495. +/usr/include/termios.h:
  33496. +
  33497. +/usr/include/bits/termios.h:
  33498. +
  33499. +/usr/include/sys/ttydefaults.h:
  33500. +
  33501. +/usr/include/sys/termios.h:
  33502. +
  33503. +gps.h:
  33504. +
  33505. +/usr/include/sys/time.h:
  33506. +
  33507. +/usr/include/inttypes.h:
  33508. +
  33509. +/usr/include/stdint.h:
  33510. +
  33511. +/usr/include/bits/wchar.h:
  33512. +
  33513. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  33514. +
  33515. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  33516. +
  33517. +/usr/include/limits.h:
  33518. +
  33519. +/usr/include/bits/posix1_lim.h:
  33520. +
  33521. +/usr/include/bits/local_lim.h:
  33522. +
  33523. +/usr/include/linux/limits.h:
  33524. +
  33525. +/usr/include/bits/posix2_lim.h:
  33526. +
  33527. +/usr/include/bits/xopen_lim.h:
  33528. +
  33529. +/usr/include/signal.h:
  33530. +
  33531. +/usr/include/bits/signum.h:
  33532. +
  33533. +/usr/include/bits/siginfo.h:
  33534. +
  33535. +/usr/include/bits/sigaction.h:
  33536. +
  33537. +/usr/include/bits/sigcontext.h:
  33538. +
  33539. +/usr/include/bits/sigstack.h:
  33540. +
  33541. +/usr/include/sys/ucontext.h:
  33542. +
  33543. +/usr/include/bits/sigthread.h:
  33544. +
  33545. +/usr/include/pthread.h:
  33546. +
  33547. +/usr/include/sched.h:
  33548. +
  33549. +/usr/include/bits/sched.h:
  33550. +
  33551. +/usr/include/bits/setjmp.h:
  33552. +
  33553. +driver_rtcm2.h:
  33554. diff -Nur gpsd-2.39.orig/.deps/driver_rtcm3.Plo gpsd-2.39/.deps/driver_rtcm3.Plo
  33555. --- gpsd-2.39.orig/.deps/driver_rtcm3.Plo 1970-01-01 01:00:00.000000000 +0100
  33556. +++ gpsd-2.39/.deps/driver_rtcm3.Plo 2010-02-18 21:44:58.916857166 +0100
  33557. @@ -0,0 +1,228 @@
  33558. +driver_rtcm3.lo: driver_rtcm3.c /usr/include/sys/types.h \
  33559. + /usr/include/features.h /usr/include/bits/predefs.h \
  33560. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  33561. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  33562. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  33563. + /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  33564. + /usr/include/endian.h /usr/include/bits/endian.h \
  33565. + /usr/include/bits/byteswap.h /usr/include/sys/select.h \
  33566. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  33567. + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
  33568. + /usr/include/bits/pthreadtypes.h /usr/include/unistd.h \
  33569. + /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \
  33570. + /usr/include/bits/confname.h /usr/include/getopt.h \
  33571. + /usr/include/bits/unistd.h /usr/include/stdlib.h \
  33572. + /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
  33573. + /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \
  33574. + /usr/include/string.h /usr/include/bits/string.h \
  33575. + /usr/include/bits/string2.h /usr/include/bits/string3.h \
  33576. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h /usr/include/stdio.h \
  33577. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  33578. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  33579. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  33580. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  33581. + /usr/include/assert.h /usr/include/arpa/inet.h /usr/include/netinet/in.h \
  33582. + /usr/include/stdint.h /usr/include/bits/wchar.h \
  33583. + /usr/include/sys/socket.h /usr/include/sys/uio.h /usr/include/bits/uio.h \
  33584. + /usr/include/bits/socket.h /usr/include/bits/sockaddr.h \
  33585. + /usr/include/asm/socket.h /usr/include/asm-generic/socket.h \
  33586. + /usr/include/asm/sockios.h /usr/include/asm-generic/sockios.h \
  33587. + /usr/include/bits/socket2.h /usr/include/bits/in.h gpsd_config.h gpsd.h \
  33588. + /usr/include/termios.h /usr/include/bits/termios.h \
  33589. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  33590. + /usr/include/sys/time.h /usr/include/inttypes.h \
  33591. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  33592. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  33593. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  33594. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  33595. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  33596. + /usr/include/signal.h /usr/include/bits/signum.h \
  33597. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  33598. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  33599. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  33600. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  33601. + /usr/include/bits/setjmp.h bits.h
  33602. +
  33603. +/usr/include/sys/types.h:
  33604. +
  33605. +/usr/include/features.h:
  33606. +
  33607. +/usr/include/bits/predefs.h:
  33608. +
  33609. +/usr/include/sys/cdefs.h:
  33610. +
  33611. +/usr/include/bits/wordsize.h:
  33612. +
  33613. +/usr/include/gnu/stubs.h:
  33614. +
  33615. +/usr/include/gnu/stubs-32.h:
  33616. +
  33617. +/usr/include/bits/types.h:
  33618. +
  33619. +/usr/include/bits/typesizes.h:
  33620. +
  33621. +/usr/include/time.h:
  33622. +
  33623. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  33624. +
  33625. +/usr/include/endian.h:
  33626. +
  33627. +/usr/include/bits/endian.h:
  33628. +
  33629. +/usr/include/bits/byteswap.h:
  33630. +
  33631. +/usr/include/sys/select.h:
  33632. +
  33633. +/usr/include/bits/select.h:
  33634. +
  33635. +/usr/include/bits/sigset.h:
  33636. +
  33637. +/usr/include/bits/time.h:
  33638. +
  33639. +/usr/include/sys/sysmacros.h:
  33640. +
  33641. +/usr/include/bits/pthreadtypes.h:
  33642. +
  33643. +/usr/include/unistd.h:
  33644. +
  33645. +/usr/include/bits/posix_opt.h:
  33646. +
  33647. +/usr/include/bits/environments.h:
  33648. +
  33649. +/usr/include/bits/confname.h:
  33650. +
  33651. +/usr/include/getopt.h:
  33652. +
  33653. +/usr/include/bits/unistd.h:
  33654. +
  33655. +/usr/include/stdlib.h:
  33656. +
  33657. +/usr/include/bits/waitflags.h:
  33658. +
  33659. +/usr/include/bits/waitstatus.h:
  33660. +
  33661. +/usr/include/xlocale.h:
  33662. +
  33663. +/usr/include/alloca.h:
  33664. +
  33665. +/usr/include/bits/stdlib.h:
  33666. +
  33667. +/usr/include/string.h:
  33668. +
  33669. +/usr/include/bits/string.h:
  33670. +
  33671. +/usr/include/bits/string2.h:
  33672. +
  33673. +/usr/include/bits/string3.h:
  33674. +
  33675. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  33676. +
  33677. +/usr/include/stdio.h:
  33678. +
  33679. +/usr/include/libio.h:
  33680. +
  33681. +/usr/include/_G_config.h:
  33682. +
  33683. +/usr/include/wchar.h:
  33684. +
  33685. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  33686. +
  33687. +/usr/include/bits/stdio_lim.h:
  33688. +
  33689. +/usr/include/bits/sys_errlist.h:
  33690. +
  33691. +/usr/include/bits/stdio.h:
  33692. +
  33693. +/usr/include/bits/stdio2.h:
  33694. +
  33695. +/usr/include/assert.h:
  33696. +
  33697. +/usr/include/arpa/inet.h:
  33698. +
  33699. +/usr/include/netinet/in.h:
  33700. +
  33701. +/usr/include/stdint.h:
  33702. +
  33703. +/usr/include/bits/wchar.h:
  33704. +
  33705. +/usr/include/sys/socket.h:
  33706. +
  33707. +/usr/include/sys/uio.h:
  33708. +
  33709. +/usr/include/bits/uio.h:
  33710. +
  33711. +/usr/include/bits/socket.h:
  33712. +
  33713. +/usr/include/bits/sockaddr.h:
  33714. +
  33715. +/usr/include/asm/socket.h:
  33716. +
  33717. +/usr/include/asm-generic/socket.h:
  33718. +
  33719. +/usr/include/asm/sockios.h:
  33720. +
  33721. +/usr/include/asm-generic/sockios.h:
  33722. +
  33723. +/usr/include/bits/socket2.h:
  33724. +
  33725. +/usr/include/bits/in.h:
  33726. +
  33727. +gpsd_config.h:
  33728. +
  33729. +gpsd.h:
  33730. +
  33731. +/usr/include/termios.h:
  33732. +
  33733. +/usr/include/bits/termios.h:
  33734. +
  33735. +/usr/include/sys/ttydefaults.h:
  33736. +
  33737. +/usr/include/sys/termios.h:
  33738. +
  33739. +gps.h:
  33740. +
  33741. +/usr/include/sys/time.h:
  33742. +
  33743. +/usr/include/inttypes.h:
  33744. +
  33745. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  33746. +
  33747. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  33748. +
  33749. +/usr/include/limits.h:
  33750. +
  33751. +/usr/include/bits/posix1_lim.h:
  33752. +
  33753. +/usr/include/bits/local_lim.h:
  33754. +
  33755. +/usr/include/linux/limits.h:
  33756. +
  33757. +/usr/include/bits/posix2_lim.h:
  33758. +
  33759. +/usr/include/bits/xopen_lim.h:
  33760. +
  33761. +/usr/include/signal.h:
  33762. +
  33763. +/usr/include/bits/signum.h:
  33764. +
  33765. +/usr/include/bits/siginfo.h:
  33766. +
  33767. +/usr/include/bits/sigaction.h:
  33768. +
  33769. +/usr/include/bits/sigcontext.h:
  33770. +
  33771. +/usr/include/bits/sigstack.h:
  33772. +
  33773. +/usr/include/sys/ucontext.h:
  33774. +
  33775. +/usr/include/bits/sigthread.h:
  33776. +
  33777. +/usr/include/pthread.h:
  33778. +
  33779. +/usr/include/sched.h:
  33780. +
  33781. +/usr/include/bits/sched.h:
  33782. +
  33783. +/usr/include/bits/setjmp.h:
  33784. +
  33785. +bits.h:
  33786. diff -Nur gpsd-2.39.orig/.deps/driver_sirf.Plo gpsd-2.39/.deps/driver_sirf.Plo
  33787. --- gpsd-2.39.orig/.deps/driver_sirf.Plo 1970-01-01 01:00:00.000000000 +0100
  33788. +++ gpsd-2.39/.deps/driver_sirf.Plo 2010-02-18 21:45:02.908856425 +0100
  33789. @@ -0,0 +1,219 @@
  33790. +driver_sirf.lo: driver_sirf.c /usr/include/sys/types.h \
  33791. + /usr/include/features.h /usr/include/bits/predefs.h \
  33792. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  33793. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  33794. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  33795. + /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  33796. + /usr/include/endian.h /usr/include/bits/endian.h \
  33797. + /usr/include/bits/byteswap.h /usr/include/sys/select.h \
  33798. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  33799. + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
  33800. + /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \
  33801. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  33802. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  33803. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  33804. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  33805. + /usr/include/stdlib.h /usr/include/bits/waitflags.h \
  33806. + /usr/include/bits/waitstatus.h /usr/include/xlocale.h \
  33807. + /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \
  33808. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  33809. + /usr/include/bits/string3.h /usr/include/math.h \
  33810. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  33811. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  33812. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  33813. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  33814. + /usr/include/ctype.h /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  33815. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  33816. + /usr/include/getopt.h /usr/include/bits/unistd.h gpsd_config.h gpsd.h \
  33817. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  33818. + /usr/include/termios.h /usr/include/bits/termios.h \
  33819. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  33820. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  33821. + /usr/include/bits/wchar.h \
  33822. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  33823. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  33824. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  33825. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  33826. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  33827. + /usr/include/signal.h /usr/include/bits/signum.h \
  33828. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  33829. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  33830. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  33831. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  33832. + /usr/include/bits/setjmp.h bits.h
  33833. +
  33834. +/usr/include/sys/types.h:
  33835. +
  33836. +/usr/include/features.h:
  33837. +
  33838. +/usr/include/bits/predefs.h:
  33839. +
  33840. +/usr/include/sys/cdefs.h:
  33841. +
  33842. +/usr/include/bits/wordsize.h:
  33843. +
  33844. +/usr/include/gnu/stubs.h:
  33845. +
  33846. +/usr/include/gnu/stubs-32.h:
  33847. +
  33848. +/usr/include/bits/types.h:
  33849. +
  33850. +/usr/include/bits/typesizes.h:
  33851. +
  33852. +/usr/include/time.h:
  33853. +
  33854. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  33855. +
  33856. +/usr/include/endian.h:
  33857. +
  33858. +/usr/include/bits/endian.h:
  33859. +
  33860. +/usr/include/bits/byteswap.h:
  33861. +
  33862. +/usr/include/sys/select.h:
  33863. +
  33864. +/usr/include/bits/select.h:
  33865. +
  33866. +/usr/include/bits/sigset.h:
  33867. +
  33868. +/usr/include/bits/time.h:
  33869. +
  33870. +/usr/include/sys/sysmacros.h:
  33871. +
  33872. +/usr/include/bits/pthreadtypes.h:
  33873. +
  33874. +/usr/include/stdio.h:
  33875. +
  33876. +/usr/include/libio.h:
  33877. +
  33878. +/usr/include/_G_config.h:
  33879. +
  33880. +/usr/include/wchar.h:
  33881. +
  33882. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  33883. +
  33884. +/usr/include/bits/stdio_lim.h:
  33885. +
  33886. +/usr/include/bits/sys_errlist.h:
  33887. +
  33888. +/usr/include/bits/stdio.h:
  33889. +
  33890. +/usr/include/bits/stdio2.h:
  33891. +
  33892. +/usr/include/stdlib.h:
  33893. +
  33894. +/usr/include/bits/waitflags.h:
  33895. +
  33896. +/usr/include/bits/waitstatus.h:
  33897. +
  33898. +/usr/include/xlocale.h:
  33899. +
  33900. +/usr/include/alloca.h:
  33901. +
  33902. +/usr/include/bits/stdlib.h:
  33903. +
  33904. +/usr/include/string.h:
  33905. +
  33906. +/usr/include/bits/string.h:
  33907. +
  33908. +/usr/include/bits/string2.h:
  33909. +
  33910. +/usr/include/bits/string3.h:
  33911. +
  33912. +/usr/include/math.h:
  33913. +
  33914. +/usr/include/bits/huge_val.h:
  33915. +
  33916. +/usr/include/bits/huge_valf.h:
  33917. +
  33918. +/usr/include/bits/huge_vall.h:
  33919. +
  33920. +/usr/include/bits/inf.h:
  33921. +
  33922. +/usr/include/bits/nan.h:
  33923. +
  33924. +/usr/include/bits/mathdef.h:
  33925. +
  33926. +/usr/include/bits/mathcalls.h:
  33927. +
  33928. +/usr/include/bits/mathinline.h:
  33929. +
  33930. +/usr/include/ctype.h:
  33931. +
  33932. +/usr/include/unistd.h:
  33933. +
  33934. +/usr/include/bits/posix_opt.h:
  33935. +
  33936. +/usr/include/bits/environments.h:
  33937. +
  33938. +/usr/include/bits/confname.h:
  33939. +
  33940. +/usr/include/getopt.h:
  33941. +
  33942. +/usr/include/bits/unistd.h:
  33943. +
  33944. +gpsd_config.h:
  33945. +
  33946. +gpsd.h:
  33947. +
  33948. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  33949. +
  33950. +/usr/include/termios.h:
  33951. +
  33952. +/usr/include/bits/termios.h:
  33953. +
  33954. +/usr/include/sys/ttydefaults.h:
  33955. +
  33956. +/usr/include/sys/termios.h:
  33957. +
  33958. +gps.h:
  33959. +
  33960. +/usr/include/sys/time.h:
  33961. +
  33962. +/usr/include/inttypes.h:
  33963. +
  33964. +/usr/include/stdint.h:
  33965. +
  33966. +/usr/include/bits/wchar.h:
  33967. +
  33968. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  33969. +
  33970. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  33971. +
  33972. +/usr/include/limits.h:
  33973. +
  33974. +/usr/include/bits/posix1_lim.h:
  33975. +
  33976. +/usr/include/bits/local_lim.h:
  33977. +
  33978. +/usr/include/linux/limits.h:
  33979. +
  33980. +/usr/include/bits/posix2_lim.h:
  33981. +
  33982. +/usr/include/bits/xopen_lim.h:
  33983. +
  33984. +/usr/include/signal.h:
  33985. +
  33986. +/usr/include/bits/signum.h:
  33987. +
  33988. +/usr/include/bits/siginfo.h:
  33989. +
  33990. +/usr/include/bits/sigaction.h:
  33991. +
  33992. +/usr/include/bits/sigcontext.h:
  33993. +
  33994. +/usr/include/bits/sigstack.h:
  33995. +
  33996. +/usr/include/sys/ucontext.h:
  33997. +
  33998. +/usr/include/bits/sigthread.h:
  33999. +
  34000. +/usr/include/pthread.h:
  34001. +
  34002. +/usr/include/sched.h:
  34003. +
  34004. +/usr/include/bits/sched.h:
  34005. +
  34006. +/usr/include/bits/setjmp.h:
  34007. +
  34008. +bits.h:
  34009. diff -Nur gpsd-2.39.orig/.deps/drivers.Plo gpsd-2.39/.deps/drivers.Plo
  34010. --- gpsd-2.39.orig/.deps/drivers.Plo 1970-01-01 01:00:00.000000000 +0100
  34011. +++ gpsd-2.39/.deps/drivers.Plo 2010-02-18 21:44:42.032852672 +0100
  34012. @@ -0,0 +1,251 @@
  34013. +drivers.lo: drivers.c /usr/include/sys/types.h /usr/include/features.h \
  34014. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  34015. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  34016. + /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \
  34017. + /usr/include/bits/typesizes.h /usr/include/time.h \
  34018. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \
  34019. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  34020. + /usr/include/sys/select.h /usr/include/bits/select.h \
  34021. + /usr/include/bits/sigset.h /usr/include/bits/time.h \
  34022. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  34023. + /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \
  34024. + /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \
  34025. + /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \
  34026. + /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \
  34027. + /usr/include/sys/ttydefaults.h /usr/include/sys/time.h \
  34028. + /usr/include/stdlib.h /usr/include/bits/waitflags.h \
  34029. + /usr/include/bits/waitstatus.h /usr/include/xlocale.h \
  34030. + /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/unistd.h \
  34031. + /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \
  34032. + /usr/include/bits/confname.h /usr/include/getopt.h \
  34033. + /usr/include/bits/unistd.h /usr/include/string.h \
  34034. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  34035. + /usr/include/bits/string3.h /usr/include/errno.h \
  34036. + /usr/include/bits/errno.h /usr/include/linux/errno.h \
  34037. + /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \
  34038. + /usr/include/asm-generic/errno-base.h /usr/include/stdio.h \
  34039. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  34040. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  34041. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  34042. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h /usr/include/math.h \
  34043. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  34044. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  34045. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  34046. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  34047. + gpsd_config.h gpsd.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  34048. + /usr/include/termios.h /usr/include/bits/termios.h \
  34049. + /usr/include/sys/termios.h gps.h /usr/include/inttypes.h \
  34050. + /usr/include/stdint.h /usr/include/bits/wchar.h \
  34051. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  34052. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  34053. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  34054. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  34055. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  34056. + /usr/include/signal.h /usr/include/bits/signum.h \
  34057. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  34058. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  34059. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  34060. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  34061. + /usr/include/bits/setjmp.h bits.h
  34062. +
  34063. +/usr/include/sys/types.h:
  34064. +
  34065. +/usr/include/features.h:
  34066. +
  34067. +/usr/include/bits/predefs.h:
  34068. +
  34069. +/usr/include/sys/cdefs.h:
  34070. +
  34071. +/usr/include/bits/wordsize.h:
  34072. +
  34073. +/usr/include/gnu/stubs.h:
  34074. +
  34075. +/usr/include/gnu/stubs-32.h:
  34076. +
  34077. +/usr/include/bits/types.h:
  34078. +
  34079. +/usr/include/bits/typesizes.h:
  34080. +
  34081. +/usr/include/time.h:
  34082. +
  34083. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  34084. +
  34085. +/usr/include/endian.h:
  34086. +
  34087. +/usr/include/bits/endian.h:
  34088. +
  34089. +/usr/include/bits/byteswap.h:
  34090. +
  34091. +/usr/include/sys/select.h:
  34092. +
  34093. +/usr/include/bits/select.h:
  34094. +
  34095. +/usr/include/bits/sigset.h:
  34096. +
  34097. +/usr/include/bits/time.h:
  34098. +
  34099. +/usr/include/sys/sysmacros.h:
  34100. +
  34101. +/usr/include/bits/pthreadtypes.h:
  34102. +
  34103. +/usr/include/sys/ioctl.h:
  34104. +
  34105. +/usr/include/bits/ioctls.h:
  34106. +
  34107. +/usr/include/asm/ioctls.h:
  34108. +
  34109. +/usr/include/asm-generic/ioctls.h:
  34110. +
  34111. +/usr/include/linux/ioctl.h:
  34112. +
  34113. +/usr/include/asm/ioctl.h:
  34114. +
  34115. +/usr/include/asm-generic/ioctl.h:
  34116. +
  34117. +/usr/include/bits/ioctl-types.h:
  34118. +
  34119. +/usr/include/sys/ttydefaults.h:
  34120. +
  34121. +/usr/include/sys/time.h:
  34122. +
  34123. +/usr/include/stdlib.h:
  34124. +
  34125. +/usr/include/bits/waitflags.h:
  34126. +
  34127. +/usr/include/bits/waitstatus.h:
  34128. +
  34129. +/usr/include/xlocale.h:
  34130. +
  34131. +/usr/include/alloca.h:
  34132. +
  34133. +/usr/include/bits/stdlib.h:
  34134. +
  34135. +/usr/include/unistd.h:
  34136. +
  34137. +/usr/include/bits/posix_opt.h:
  34138. +
  34139. +/usr/include/bits/environments.h:
  34140. +
  34141. +/usr/include/bits/confname.h:
  34142. +
  34143. +/usr/include/getopt.h:
  34144. +
  34145. +/usr/include/bits/unistd.h:
  34146. +
  34147. +/usr/include/string.h:
  34148. +
  34149. +/usr/include/bits/string.h:
  34150. +
  34151. +/usr/include/bits/string2.h:
  34152. +
  34153. +/usr/include/bits/string3.h:
  34154. +
  34155. +/usr/include/errno.h:
  34156. +
  34157. +/usr/include/bits/errno.h:
  34158. +
  34159. +/usr/include/linux/errno.h:
  34160. +
  34161. +/usr/include/asm/errno.h:
  34162. +
  34163. +/usr/include/asm-generic/errno.h:
  34164. +
  34165. +/usr/include/asm-generic/errno-base.h:
  34166. +
  34167. +/usr/include/stdio.h:
  34168. +
  34169. +/usr/include/libio.h:
  34170. +
  34171. +/usr/include/_G_config.h:
  34172. +
  34173. +/usr/include/wchar.h:
  34174. +
  34175. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  34176. +
  34177. +/usr/include/bits/stdio_lim.h:
  34178. +
  34179. +/usr/include/bits/sys_errlist.h:
  34180. +
  34181. +/usr/include/bits/stdio.h:
  34182. +
  34183. +/usr/include/bits/stdio2.h:
  34184. +
  34185. +/usr/include/math.h:
  34186. +
  34187. +/usr/include/bits/huge_val.h:
  34188. +
  34189. +/usr/include/bits/huge_valf.h:
  34190. +
  34191. +/usr/include/bits/huge_vall.h:
  34192. +
  34193. +/usr/include/bits/inf.h:
  34194. +
  34195. +/usr/include/bits/nan.h:
  34196. +
  34197. +/usr/include/bits/mathdef.h:
  34198. +
  34199. +/usr/include/bits/mathcalls.h:
  34200. +
  34201. +/usr/include/bits/mathinline.h:
  34202. +
  34203. +gpsd_config.h:
  34204. +
  34205. +gpsd.h:
  34206. +
  34207. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  34208. +
  34209. +/usr/include/termios.h:
  34210. +
  34211. +/usr/include/bits/termios.h:
  34212. +
  34213. +/usr/include/sys/termios.h:
  34214. +
  34215. +gps.h:
  34216. +
  34217. +/usr/include/inttypes.h:
  34218. +
  34219. +/usr/include/stdint.h:
  34220. +
  34221. +/usr/include/bits/wchar.h:
  34222. +
  34223. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  34224. +
  34225. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  34226. +
  34227. +/usr/include/limits.h:
  34228. +
  34229. +/usr/include/bits/posix1_lim.h:
  34230. +
  34231. +/usr/include/bits/local_lim.h:
  34232. +
  34233. +/usr/include/linux/limits.h:
  34234. +
  34235. +/usr/include/bits/posix2_lim.h:
  34236. +
  34237. +/usr/include/bits/xopen_lim.h:
  34238. +
  34239. +/usr/include/signal.h:
  34240. +
  34241. +/usr/include/bits/signum.h:
  34242. +
  34243. +/usr/include/bits/siginfo.h:
  34244. +
  34245. +/usr/include/bits/sigaction.h:
  34246. +
  34247. +/usr/include/bits/sigcontext.h:
  34248. +
  34249. +/usr/include/bits/sigstack.h:
  34250. +
  34251. +/usr/include/sys/ucontext.h:
  34252. +
  34253. +/usr/include/bits/sigthread.h:
  34254. +
  34255. +/usr/include/pthread.h:
  34256. +
  34257. +/usr/include/sched.h:
  34258. +
  34259. +/usr/include/bits/sched.h:
  34260. +
  34261. +/usr/include/bits/setjmp.h:
  34262. +
  34263. +bits.h:
  34264. diff -Nur gpsd-2.39.orig/.deps/driver_superstar2.Plo gpsd-2.39/.deps/driver_superstar2.Plo
  34265. --- gpsd-2.39.orig/.deps/driver_superstar2.Plo 1970-01-01 01:00:00.000000000 +0100
  34266. +++ gpsd-2.39/.deps/driver_superstar2.Plo 2010-02-18 21:45:04.500853064 +0100
  34267. @@ -0,0 +1,221 @@
  34268. +driver_superstar2.lo: driver_superstar2.c /usr/include/sys/types.h \
  34269. + /usr/include/features.h /usr/include/bits/predefs.h \
  34270. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  34271. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  34272. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  34273. + /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  34274. + /usr/include/endian.h /usr/include/bits/endian.h \
  34275. + /usr/include/bits/byteswap.h /usr/include/sys/select.h \
  34276. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  34277. + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
  34278. + /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \
  34279. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  34280. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  34281. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  34282. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  34283. + /usr/include/stdlib.h /usr/include/bits/waitflags.h \
  34284. + /usr/include/bits/waitstatus.h /usr/include/xlocale.h \
  34285. + /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/string.h \
  34286. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  34287. + /usr/include/bits/string3.h /usr/include/math.h \
  34288. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  34289. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  34290. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  34291. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  34292. + /usr/include/ctype.h /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  34293. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  34294. + /usr/include/getopt.h /usr/include/bits/unistd.h gpsd_config.h gpsd.h \
  34295. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  34296. + /usr/include/termios.h /usr/include/bits/termios.h \
  34297. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  34298. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  34299. + /usr/include/bits/wchar.h \
  34300. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  34301. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  34302. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  34303. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  34304. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  34305. + /usr/include/signal.h /usr/include/bits/signum.h \
  34306. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  34307. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  34308. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  34309. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  34310. + /usr/include/bits/setjmp.h bits.h driver_superstar2.h
  34311. +
  34312. +/usr/include/sys/types.h:
  34313. +
  34314. +/usr/include/features.h:
  34315. +
  34316. +/usr/include/bits/predefs.h:
  34317. +
  34318. +/usr/include/sys/cdefs.h:
  34319. +
  34320. +/usr/include/bits/wordsize.h:
  34321. +
  34322. +/usr/include/gnu/stubs.h:
  34323. +
  34324. +/usr/include/gnu/stubs-32.h:
  34325. +
  34326. +/usr/include/bits/types.h:
  34327. +
  34328. +/usr/include/bits/typesizes.h:
  34329. +
  34330. +/usr/include/time.h:
  34331. +
  34332. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  34333. +
  34334. +/usr/include/endian.h:
  34335. +
  34336. +/usr/include/bits/endian.h:
  34337. +
  34338. +/usr/include/bits/byteswap.h:
  34339. +
  34340. +/usr/include/sys/select.h:
  34341. +
  34342. +/usr/include/bits/select.h:
  34343. +
  34344. +/usr/include/bits/sigset.h:
  34345. +
  34346. +/usr/include/bits/time.h:
  34347. +
  34348. +/usr/include/sys/sysmacros.h:
  34349. +
  34350. +/usr/include/bits/pthreadtypes.h:
  34351. +
  34352. +/usr/include/stdio.h:
  34353. +
  34354. +/usr/include/libio.h:
  34355. +
  34356. +/usr/include/_G_config.h:
  34357. +
  34358. +/usr/include/wchar.h:
  34359. +
  34360. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  34361. +
  34362. +/usr/include/bits/stdio_lim.h:
  34363. +
  34364. +/usr/include/bits/sys_errlist.h:
  34365. +
  34366. +/usr/include/bits/stdio.h:
  34367. +
  34368. +/usr/include/bits/stdio2.h:
  34369. +
  34370. +/usr/include/stdlib.h:
  34371. +
  34372. +/usr/include/bits/waitflags.h:
  34373. +
  34374. +/usr/include/bits/waitstatus.h:
  34375. +
  34376. +/usr/include/xlocale.h:
  34377. +
  34378. +/usr/include/alloca.h:
  34379. +
  34380. +/usr/include/bits/stdlib.h:
  34381. +
  34382. +/usr/include/string.h:
  34383. +
  34384. +/usr/include/bits/string.h:
  34385. +
  34386. +/usr/include/bits/string2.h:
  34387. +
  34388. +/usr/include/bits/string3.h:
  34389. +
  34390. +/usr/include/math.h:
  34391. +
  34392. +/usr/include/bits/huge_val.h:
  34393. +
  34394. +/usr/include/bits/huge_valf.h:
  34395. +
  34396. +/usr/include/bits/huge_vall.h:
  34397. +
  34398. +/usr/include/bits/inf.h:
  34399. +
  34400. +/usr/include/bits/nan.h:
  34401. +
  34402. +/usr/include/bits/mathdef.h:
  34403. +
  34404. +/usr/include/bits/mathcalls.h:
  34405. +
  34406. +/usr/include/bits/mathinline.h:
  34407. +
  34408. +/usr/include/ctype.h:
  34409. +
  34410. +/usr/include/unistd.h:
  34411. +
  34412. +/usr/include/bits/posix_opt.h:
  34413. +
  34414. +/usr/include/bits/environments.h:
  34415. +
  34416. +/usr/include/bits/confname.h:
  34417. +
  34418. +/usr/include/getopt.h:
  34419. +
  34420. +/usr/include/bits/unistd.h:
  34421. +
  34422. +gpsd_config.h:
  34423. +
  34424. +gpsd.h:
  34425. +
  34426. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  34427. +
  34428. +/usr/include/termios.h:
  34429. +
  34430. +/usr/include/bits/termios.h:
  34431. +
  34432. +/usr/include/sys/ttydefaults.h:
  34433. +
  34434. +/usr/include/sys/termios.h:
  34435. +
  34436. +gps.h:
  34437. +
  34438. +/usr/include/sys/time.h:
  34439. +
  34440. +/usr/include/inttypes.h:
  34441. +
  34442. +/usr/include/stdint.h:
  34443. +
  34444. +/usr/include/bits/wchar.h:
  34445. +
  34446. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  34447. +
  34448. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  34449. +
  34450. +/usr/include/limits.h:
  34451. +
  34452. +/usr/include/bits/posix1_lim.h:
  34453. +
  34454. +/usr/include/bits/local_lim.h:
  34455. +
  34456. +/usr/include/linux/limits.h:
  34457. +
  34458. +/usr/include/bits/posix2_lim.h:
  34459. +
  34460. +/usr/include/bits/xopen_lim.h:
  34461. +
  34462. +/usr/include/signal.h:
  34463. +
  34464. +/usr/include/bits/signum.h:
  34465. +
  34466. +/usr/include/bits/siginfo.h:
  34467. +
  34468. +/usr/include/bits/sigaction.h:
  34469. +
  34470. +/usr/include/bits/sigcontext.h:
  34471. +
  34472. +/usr/include/bits/sigstack.h:
  34473. +
  34474. +/usr/include/sys/ucontext.h:
  34475. +
  34476. +/usr/include/bits/sigthread.h:
  34477. +
  34478. +/usr/include/pthread.h:
  34479. +
  34480. +/usr/include/sched.h:
  34481. +
  34482. +/usr/include/bits/sched.h:
  34483. +
  34484. +/usr/include/bits/setjmp.h:
  34485. +
  34486. +bits.h:
  34487. +
  34488. +driver_superstar2.h:
  34489. diff -Nur gpsd-2.39.orig/.deps/driver_tsip.Plo gpsd-2.39/.deps/driver_tsip.Plo
  34490. --- gpsd-2.39.orig/.deps/driver_tsip.Plo 1970-01-01 01:00:00.000000000 +0100
  34491. +++ gpsd-2.39/.deps/driver_tsip.Plo 2010-02-18 21:44:19.192857124 +0100
  34492. @@ -0,0 +1 @@
  34493. +# dummy
  34494. diff -Nur gpsd-2.39.orig/.deps/driver_ubx.Plo gpsd-2.39/.deps/driver_ubx.Plo
  34495. --- gpsd-2.39.orig/.deps/driver_ubx.Plo 1970-01-01 01:00:00.000000000 +0100
  34496. +++ gpsd-2.39/.deps/driver_ubx.Plo 2010-02-18 21:44:19.196856795 +0100
  34497. @@ -0,0 +1 @@
  34498. +# dummy
  34499. diff -Nur gpsd-2.39.orig/.deps/driver_zodiac.Plo gpsd-2.39/.deps/driver_zodiac.Plo
  34500. --- gpsd-2.39.orig/.deps/driver_zodiac.Plo 1970-01-01 01:00:00.000000000 +0100
  34501. +++ gpsd-2.39/.deps/driver_zodiac.Plo 2010-02-18 21:44:19.196856795 +0100
  34502. @@ -0,0 +1 @@
  34503. +# dummy
  34504. diff -Nur gpsd-2.39.orig/.deps/geoid.Plo gpsd-2.39/.deps/geoid.Plo
  34505. --- gpsd-2.39.orig/.deps/geoid.Plo 1970-01-01 01:00:00.000000000 +0100
  34506. +++ gpsd-2.39/.deps/geoid.Plo 2010-02-18 21:44:29.168854345 +0100
  34507. @@ -0,0 +1,177 @@
  34508. +geoid.lo: geoid.c /usr/include/sys/types.h /usr/include/features.h \
  34509. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  34510. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  34511. + /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \
  34512. + /usr/include/bits/typesizes.h /usr/include/time.h \
  34513. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \
  34514. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  34515. + /usr/include/sys/select.h /usr/include/bits/select.h \
  34516. + /usr/include/bits/sigset.h /usr/include/bits/time.h \
  34517. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  34518. + /usr/include/math.h /usr/include/bits/huge_val.h \
  34519. + /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h \
  34520. + /usr/include/bits/inf.h /usr/include/bits/nan.h \
  34521. + /usr/include/bits/mathdef.h /usr/include/bits/mathcalls.h \
  34522. + /usr/include/bits/mathinline.h gpsd_config.h gpsd.h \
  34523. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h /usr/include/stdio.h \
  34524. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  34525. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  34526. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  34527. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  34528. + /usr/include/termios.h /usr/include/bits/termios.h \
  34529. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  34530. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  34531. + /usr/include/bits/wchar.h \
  34532. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  34533. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  34534. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  34535. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  34536. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  34537. + /usr/include/xlocale.h /usr/include/signal.h /usr/include/bits/signum.h \
  34538. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  34539. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  34540. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  34541. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  34542. + /usr/include/bits/setjmp.h
  34543. +
  34544. +/usr/include/sys/types.h:
  34545. +
  34546. +/usr/include/features.h:
  34547. +
  34548. +/usr/include/bits/predefs.h:
  34549. +
  34550. +/usr/include/sys/cdefs.h:
  34551. +
  34552. +/usr/include/bits/wordsize.h:
  34553. +
  34554. +/usr/include/gnu/stubs.h:
  34555. +
  34556. +/usr/include/gnu/stubs-32.h:
  34557. +
  34558. +/usr/include/bits/types.h:
  34559. +
  34560. +/usr/include/bits/typesizes.h:
  34561. +
  34562. +/usr/include/time.h:
  34563. +
  34564. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  34565. +
  34566. +/usr/include/endian.h:
  34567. +
  34568. +/usr/include/bits/endian.h:
  34569. +
  34570. +/usr/include/bits/byteswap.h:
  34571. +
  34572. +/usr/include/sys/select.h:
  34573. +
  34574. +/usr/include/bits/select.h:
  34575. +
  34576. +/usr/include/bits/sigset.h:
  34577. +
  34578. +/usr/include/bits/time.h:
  34579. +
  34580. +/usr/include/sys/sysmacros.h:
  34581. +
  34582. +/usr/include/bits/pthreadtypes.h:
  34583. +
  34584. +/usr/include/math.h:
  34585. +
  34586. +/usr/include/bits/huge_val.h:
  34587. +
  34588. +/usr/include/bits/huge_valf.h:
  34589. +
  34590. +/usr/include/bits/huge_vall.h:
  34591. +
  34592. +/usr/include/bits/inf.h:
  34593. +
  34594. +/usr/include/bits/nan.h:
  34595. +
  34596. +/usr/include/bits/mathdef.h:
  34597. +
  34598. +/usr/include/bits/mathcalls.h:
  34599. +
  34600. +/usr/include/bits/mathinline.h:
  34601. +
  34602. +gpsd_config.h:
  34603. +
  34604. +gpsd.h:
  34605. +
  34606. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  34607. +
  34608. +/usr/include/stdio.h:
  34609. +
  34610. +/usr/include/libio.h:
  34611. +
  34612. +/usr/include/_G_config.h:
  34613. +
  34614. +/usr/include/wchar.h:
  34615. +
  34616. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  34617. +
  34618. +/usr/include/bits/stdio_lim.h:
  34619. +
  34620. +/usr/include/bits/sys_errlist.h:
  34621. +
  34622. +/usr/include/bits/stdio.h:
  34623. +
  34624. +/usr/include/bits/stdio2.h:
  34625. +
  34626. +/usr/include/termios.h:
  34627. +
  34628. +/usr/include/bits/termios.h:
  34629. +
  34630. +/usr/include/sys/ttydefaults.h:
  34631. +
  34632. +/usr/include/sys/termios.h:
  34633. +
  34634. +gps.h:
  34635. +
  34636. +/usr/include/sys/time.h:
  34637. +
  34638. +/usr/include/inttypes.h:
  34639. +
  34640. +/usr/include/stdint.h:
  34641. +
  34642. +/usr/include/bits/wchar.h:
  34643. +
  34644. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  34645. +
  34646. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  34647. +
  34648. +/usr/include/limits.h:
  34649. +
  34650. +/usr/include/bits/posix1_lim.h:
  34651. +
  34652. +/usr/include/bits/local_lim.h:
  34653. +
  34654. +/usr/include/linux/limits.h:
  34655. +
  34656. +/usr/include/bits/posix2_lim.h:
  34657. +
  34658. +/usr/include/bits/xopen_lim.h:
  34659. +
  34660. +/usr/include/xlocale.h:
  34661. +
  34662. +/usr/include/signal.h:
  34663. +
  34664. +/usr/include/bits/signum.h:
  34665. +
  34666. +/usr/include/bits/siginfo.h:
  34667. +
  34668. +/usr/include/bits/sigaction.h:
  34669. +
  34670. +/usr/include/bits/sigcontext.h:
  34671. +
  34672. +/usr/include/bits/sigstack.h:
  34673. +
  34674. +/usr/include/sys/ucontext.h:
  34675. +
  34676. +/usr/include/bits/sigthread.h:
  34677. +
  34678. +/usr/include/pthread.h:
  34679. +
  34680. +/usr/include/sched.h:
  34681. +
  34682. +/usr/include/bits/sched.h:
  34683. +
  34684. +/usr/include/bits/setjmp.h:
  34685. diff -Nur gpsd-2.39.orig/.deps/gpsctl.Po gpsd-2.39/.deps/gpsctl.Po
  34686. --- gpsd-2.39.orig/.deps/gpsctl.Po 1970-01-01 01:00:00.000000000 +0100
  34687. +++ gpsd-2.39/.deps/gpsctl.Po 2010-02-18 21:44:19.204857535 +0100
  34688. @@ -0,0 +1 @@
  34689. +# dummy
  34690. diff -Nur gpsd-2.39.orig/.deps/gpsdclient.Plo gpsd-2.39/.deps/gpsdclient.Plo
  34691. --- gpsd-2.39.orig/.deps/gpsdclient.Plo 1970-01-01 01:00:00.000000000 +0100
  34692. +++ gpsd-2.39/.deps/gpsdclient.Plo 2010-02-18 21:44:32.348857159 +0100
  34693. @@ -0,0 +1,227 @@
  34694. +gpsdclient.lo: gpsdclient.c /usr/include/sys/time.h \
  34695. + /usr/include/features.h /usr/include/bits/predefs.h \
  34696. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  34697. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  34698. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  34699. + /usr/include/time.h /usr/include/bits/time.h /usr/include/sys/select.h \
  34700. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  34701. + /usr/include/stdio.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  34702. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  34703. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  34704. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  34705. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  34706. + /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  34707. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  34708. + /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \
  34709. + /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
  34710. + /usr/include/endian.h /usr/include/bits/endian.h \
  34711. + /usr/include/bits/byteswap.h /usr/include/xlocale.h \
  34712. + /usr/include/sys/types.h /usr/include/sys/sysmacros.h \
  34713. + /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \
  34714. + /usr/include/bits/stdlib.h /usr/include/string.h \
  34715. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  34716. + /usr/include/bits/string3.h /usr/include/errno.h \
  34717. + /usr/include/bits/errno.h /usr/include/linux/errno.h \
  34718. + /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \
  34719. + /usr/include/asm-generic/errno-base.h /usr/include/math.h \
  34720. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  34721. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  34722. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  34723. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  34724. + /usr/include/assert.h gpsd_config.h gps.h \
  34725. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  34726. + /usr/include/inttypes.h /usr/include/stdint.h /usr/include/bits/wchar.h \
  34727. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  34728. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  34729. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  34730. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  34731. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  34732. + /usr/include/signal.h /usr/include/bits/signum.h \
  34733. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  34734. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  34735. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  34736. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  34737. + /usr/include/bits/setjmp.h gpsdclient.h /usr/include/locale.h \
  34738. + /usr/include/bits/locale.h
  34739. +
  34740. +/usr/include/sys/time.h:
  34741. +
  34742. +/usr/include/features.h:
  34743. +
  34744. +/usr/include/bits/predefs.h:
  34745. +
  34746. +/usr/include/sys/cdefs.h:
  34747. +
  34748. +/usr/include/bits/wordsize.h:
  34749. +
  34750. +/usr/include/gnu/stubs.h:
  34751. +
  34752. +/usr/include/gnu/stubs-32.h:
  34753. +
  34754. +/usr/include/bits/types.h:
  34755. +
  34756. +/usr/include/bits/typesizes.h:
  34757. +
  34758. +/usr/include/time.h:
  34759. +
  34760. +/usr/include/bits/time.h:
  34761. +
  34762. +/usr/include/sys/select.h:
  34763. +
  34764. +/usr/include/bits/select.h:
  34765. +
  34766. +/usr/include/bits/sigset.h:
  34767. +
  34768. +/usr/include/stdio.h:
  34769. +
  34770. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  34771. +
  34772. +/usr/include/libio.h:
  34773. +
  34774. +/usr/include/_G_config.h:
  34775. +
  34776. +/usr/include/wchar.h:
  34777. +
  34778. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  34779. +
  34780. +/usr/include/bits/stdio_lim.h:
  34781. +
  34782. +/usr/include/bits/sys_errlist.h:
  34783. +
  34784. +/usr/include/bits/stdio.h:
  34785. +
  34786. +/usr/include/bits/stdio2.h:
  34787. +
  34788. +/usr/include/unistd.h:
  34789. +
  34790. +/usr/include/bits/posix_opt.h:
  34791. +
  34792. +/usr/include/bits/environments.h:
  34793. +
  34794. +/usr/include/bits/confname.h:
  34795. +
  34796. +/usr/include/getopt.h:
  34797. +
  34798. +/usr/include/bits/unistd.h:
  34799. +
  34800. +/usr/include/stdlib.h:
  34801. +
  34802. +/usr/include/bits/waitflags.h:
  34803. +
  34804. +/usr/include/bits/waitstatus.h:
  34805. +
  34806. +/usr/include/endian.h:
  34807. +
  34808. +/usr/include/bits/endian.h:
  34809. +
  34810. +/usr/include/bits/byteswap.h:
  34811. +
  34812. +/usr/include/xlocale.h:
  34813. +
  34814. +/usr/include/sys/types.h:
  34815. +
  34816. +/usr/include/sys/sysmacros.h:
  34817. +
  34818. +/usr/include/bits/pthreadtypes.h:
  34819. +
  34820. +/usr/include/alloca.h:
  34821. +
  34822. +/usr/include/bits/stdlib.h:
  34823. +
  34824. +/usr/include/string.h:
  34825. +
  34826. +/usr/include/bits/string.h:
  34827. +
  34828. +/usr/include/bits/string2.h:
  34829. +
  34830. +/usr/include/bits/string3.h:
  34831. +
  34832. +/usr/include/errno.h:
  34833. +
  34834. +/usr/include/bits/errno.h:
  34835. +
  34836. +/usr/include/linux/errno.h:
  34837. +
  34838. +/usr/include/asm/errno.h:
  34839. +
  34840. +/usr/include/asm-generic/errno.h:
  34841. +
  34842. +/usr/include/asm-generic/errno-base.h:
  34843. +
  34844. +/usr/include/math.h:
  34845. +
  34846. +/usr/include/bits/huge_val.h:
  34847. +
  34848. +/usr/include/bits/huge_valf.h:
  34849. +
  34850. +/usr/include/bits/huge_vall.h:
  34851. +
  34852. +/usr/include/bits/inf.h:
  34853. +
  34854. +/usr/include/bits/nan.h:
  34855. +
  34856. +/usr/include/bits/mathdef.h:
  34857. +
  34858. +/usr/include/bits/mathcalls.h:
  34859. +
  34860. +/usr/include/bits/mathinline.h:
  34861. +
  34862. +/usr/include/assert.h:
  34863. +
  34864. +gpsd_config.h:
  34865. +
  34866. +gps.h:
  34867. +
  34868. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  34869. +
  34870. +/usr/include/inttypes.h:
  34871. +
  34872. +/usr/include/stdint.h:
  34873. +
  34874. +/usr/include/bits/wchar.h:
  34875. +
  34876. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  34877. +
  34878. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  34879. +
  34880. +/usr/include/limits.h:
  34881. +
  34882. +/usr/include/bits/posix1_lim.h:
  34883. +
  34884. +/usr/include/bits/local_lim.h:
  34885. +
  34886. +/usr/include/linux/limits.h:
  34887. +
  34888. +/usr/include/bits/posix2_lim.h:
  34889. +
  34890. +/usr/include/bits/xopen_lim.h:
  34891. +
  34892. +/usr/include/signal.h:
  34893. +
  34894. +/usr/include/bits/signum.h:
  34895. +
  34896. +/usr/include/bits/siginfo.h:
  34897. +
  34898. +/usr/include/bits/sigaction.h:
  34899. +
  34900. +/usr/include/bits/sigcontext.h:
  34901. +
  34902. +/usr/include/bits/sigstack.h:
  34903. +
  34904. +/usr/include/sys/ucontext.h:
  34905. +
  34906. +/usr/include/bits/sigthread.h:
  34907. +
  34908. +/usr/include/pthread.h:
  34909. +
  34910. +/usr/include/sched.h:
  34911. +
  34912. +/usr/include/bits/sched.h:
  34913. +
  34914. +/usr/include/bits/setjmp.h:
  34915. +
  34916. +gpsdclient.h:
  34917. +
  34918. +/usr/include/locale.h:
  34919. +
  34920. +/usr/include/bits/locale.h:
  34921. diff -Nur gpsd-2.39.orig/.deps/gpsd_dbus.Po gpsd-2.39/.deps/gpsd_dbus.Po
  34922. --- gpsd-2.39.orig/.deps/gpsd_dbus.Po 1970-01-01 01:00:00.000000000 +0100
  34923. +++ gpsd-2.39/.deps/gpsd_dbus.Po 2010-02-18 21:44:19.212857156 +0100
  34924. @@ -0,0 +1 @@
  34925. +# dummy
  34926. diff -Nur gpsd-2.39.orig/.deps/gpsdecode.Po gpsd-2.39/.deps/gpsdecode.Po
  34927. --- gpsd-2.39.orig/.deps/gpsdecode.Po 1970-01-01 01:00:00.000000000 +0100
  34928. +++ gpsd-2.39/.deps/gpsdecode.Po 2010-02-18 21:44:19.220857895 +0100
  34929. @@ -0,0 +1 @@
  34930. +# dummy
  34931. diff -Nur gpsd-2.39.orig/.deps/gpsd.Po gpsd-2.39/.deps/gpsd.Po
  34932. --- gpsd-2.39.orig/.deps/gpsd.Po 1970-01-01 01:00:00.000000000 +0100
  34933. +++ gpsd-2.39/.deps/gpsd.Po 2010-02-18 21:44:19.208856926 +0100
  34934. @@ -0,0 +1 @@
  34935. +# dummy
  34936. diff -Nur gpsd-2.39.orig/.deps/gpsd_report.Plo gpsd-2.39/.deps/gpsd_report.Plo
  34937. --- gpsd-2.39.orig/.deps/gpsd_report.Plo 1970-01-01 01:00:00.000000000 +0100
  34938. +++ gpsd-2.39/.deps/gpsd_report.Plo 2010-02-18 21:44:27.268856183 +0100
  34939. @@ -0,0 +1,155 @@
  34940. +gpsd_report.lo: gpsd_report.c /usr/include/sys/types.h \
  34941. + /usr/include/features.h /usr/include/bits/predefs.h \
  34942. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  34943. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  34944. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  34945. + /usr/include/time.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  34946. + /usr/include/endian.h /usr/include/bits/endian.h \
  34947. + /usr/include/bits/byteswap.h /usr/include/sys/select.h \
  34948. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  34949. + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
  34950. + /usr/include/bits/pthreadtypes.h /usr/include/stdio.h \
  34951. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  34952. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  34953. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  34954. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h gpsd_config.h \
  34955. + gpsd.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  34956. + /usr/include/termios.h /usr/include/bits/termios.h \
  34957. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  34958. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  34959. + /usr/include/bits/wchar.h \
  34960. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  34961. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  34962. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  34963. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  34964. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  34965. + /usr/include/xlocale.h /usr/include/signal.h /usr/include/bits/signum.h \
  34966. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  34967. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  34968. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  34969. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  34970. + /usr/include/bits/setjmp.h
  34971. +
  34972. +/usr/include/sys/types.h:
  34973. +
  34974. +/usr/include/features.h:
  34975. +
  34976. +/usr/include/bits/predefs.h:
  34977. +
  34978. +/usr/include/sys/cdefs.h:
  34979. +
  34980. +/usr/include/bits/wordsize.h:
  34981. +
  34982. +/usr/include/gnu/stubs.h:
  34983. +
  34984. +/usr/include/gnu/stubs-32.h:
  34985. +
  34986. +/usr/include/bits/types.h:
  34987. +
  34988. +/usr/include/bits/typesizes.h:
  34989. +
  34990. +/usr/include/time.h:
  34991. +
  34992. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  34993. +
  34994. +/usr/include/endian.h:
  34995. +
  34996. +/usr/include/bits/endian.h:
  34997. +
  34998. +/usr/include/bits/byteswap.h:
  34999. +
  35000. +/usr/include/sys/select.h:
  35001. +
  35002. +/usr/include/bits/select.h:
  35003. +
  35004. +/usr/include/bits/sigset.h:
  35005. +
  35006. +/usr/include/bits/time.h:
  35007. +
  35008. +/usr/include/sys/sysmacros.h:
  35009. +
  35010. +/usr/include/bits/pthreadtypes.h:
  35011. +
  35012. +/usr/include/stdio.h:
  35013. +
  35014. +/usr/include/libio.h:
  35015. +
  35016. +/usr/include/_G_config.h:
  35017. +
  35018. +/usr/include/wchar.h:
  35019. +
  35020. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  35021. +
  35022. +/usr/include/bits/stdio_lim.h:
  35023. +
  35024. +/usr/include/bits/sys_errlist.h:
  35025. +
  35026. +/usr/include/bits/stdio.h:
  35027. +
  35028. +/usr/include/bits/stdio2.h:
  35029. +
  35030. +gpsd_config.h:
  35031. +
  35032. +gpsd.h:
  35033. +
  35034. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  35035. +
  35036. +/usr/include/termios.h:
  35037. +
  35038. +/usr/include/bits/termios.h:
  35039. +
  35040. +/usr/include/sys/ttydefaults.h:
  35041. +
  35042. +/usr/include/sys/termios.h:
  35043. +
  35044. +gps.h:
  35045. +
  35046. +/usr/include/sys/time.h:
  35047. +
  35048. +/usr/include/inttypes.h:
  35049. +
  35050. +/usr/include/stdint.h:
  35051. +
  35052. +/usr/include/bits/wchar.h:
  35053. +
  35054. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  35055. +
  35056. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  35057. +
  35058. +/usr/include/limits.h:
  35059. +
  35060. +/usr/include/bits/posix1_lim.h:
  35061. +
  35062. +/usr/include/bits/local_lim.h:
  35063. +
  35064. +/usr/include/linux/limits.h:
  35065. +
  35066. +/usr/include/bits/posix2_lim.h:
  35067. +
  35068. +/usr/include/bits/xopen_lim.h:
  35069. +
  35070. +/usr/include/xlocale.h:
  35071. +
  35072. +/usr/include/signal.h:
  35073. +
  35074. +/usr/include/bits/signum.h:
  35075. +
  35076. +/usr/include/bits/siginfo.h:
  35077. +
  35078. +/usr/include/bits/sigaction.h:
  35079. +
  35080. +/usr/include/bits/sigcontext.h:
  35081. +
  35082. +/usr/include/bits/sigstack.h:
  35083. +
  35084. +/usr/include/sys/ucontext.h:
  35085. +
  35086. +/usr/include/bits/sigthread.h:
  35087. +
  35088. +/usr/include/pthread.h:
  35089. +
  35090. +/usr/include/sched.h:
  35091. +
  35092. +/usr/include/bits/sched.h:
  35093. +
  35094. +/usr/include/bits/setjmp.h:
  35095. diff -Nur gpsd-2.39.orig/.deps/gpsflash.Po gpsd-2.39/.deps/gpsflash.Po
  35096. --- gpsd-2.39.orig/.deps/gpsflash.Po 1970-01-01 01:00:00.000000000 +0100
  35097. +++ gpsd-2.39/.deps/gpsflash.Po 2010-02-18 21:44:19.224856449 +0100
  35098. @@ -0,0 +1 @@
  35099. +# dummy
  35100. diff -Nur gpsd-2.39.orig/.deps/gpsmon.Po gpsd-2.39/.deps/gpsmon.Po
  35101. --- gpsd-2.39.orig/.deps/gpsmon.Po 1970-01-01 01:00:00.000000000 +0100
  35102. +++ gpsd-2.39/.deps/gpsmon.Po 2010-02-18 21:44:19.224856449 +0100
  35103. @@ -0,0 +1 @@
  35104. +# dummy
  35105. diff -Nur gpsd-2.39.orig/.deps/gpspipe.Po gpsd-2.39/.deps/gpspipe.Po
  35106. --- gpsd-2.39.orig/.deps/gpspipe.Po 1970-01-01 01:00:00.000000000 +0100
  35107. +++ gpsd-2.39/.deps/gpspipe.Po 2010-02-18 21:44:19.228857517 +0100
  35108. @@ -0,0 +1 @@
  35109. +# dummy
  35110. diff -Nur gpsd-2.39.orig/.deps/gpsutils.Plo gpsd-2.39/.deps/gpsutils.Plo
  35111. --- gpsd-2.39.orig/.deps/gpsutils.Plo 1970-01-01 01:00:00.000000000 +0100
  35112. +++ gpsd-2.39/.deps/gpsutils.Plo 2010-02-18 21:44:28.556854044 +0100
  35113. @@ -0,0 +1,214 @@
  35114. +gpsutils.lo: gpsutils.c /usr/include/sys/types.h /usr/include/features.h \
  35115. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  35116. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  35117. + /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \
  35118. + /usr/include/bits/typesizes.h /usr/include/time.h \
  35119. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \
  35120. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  35121. + /usr/include/sys/select.h /usr/include/bits/select.h \
  35122. + /usr/include/bits/sigset.h /usr/include/bits/time.h \
  35123. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  35124. + /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
  35125. + /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  35126. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  35127. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  35128. + /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  35129. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  35130. + /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \
  35131. + /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
  35132. + /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \
  35133. + /usr/include/math.h /usr/include/bits/huge_val.h \
  35134. + /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h \
  35135. + /usr/include/bits/inf.h /usr/include/bits/nan.h \
  35136. + /usr/include/bits/mathdef.h /usr/include/bits/mathcalls.h \
  35137. + /usr/include/bits/mathinline.h /usr/include/string.h \
  35138. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  35139. + /usr/include/bits/string3.h gpsd_config.h gpsd.h \
  35140. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  35141. + /usr/include/termios.h /usr/include/bits/termios.h \
  35142. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  35143. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  35144. + /usr/include/bits/wchar.h \
  35145. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  35146. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  35147. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  35148. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  35149. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  35150. + /usr/include/signal.h /usr/include/bits/signum.h \
  35151. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  35152. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  35153. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  35154. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  35155. + /usr/include/bits/setjmp.h
  35156. +
  35157. +/usr/include/sys/types.h:
  35158. +
  35159. +/usr/include/features.h:
  35160. +
  35161. +/usr/include/bits/predefs.h:
  35162. +
  35163. +/usr/include/sys/cdefs.h:
  35164. +
  35165. +/usr/include/bits/wordsize.h:
  35166. +
  35167. +/usr/include/gnu/stubs.h:
  35168. +
  35169. +/usr/include/gnu/stubs-32.h:
  35170. +
  35171. +/usr/include/bits/types.h:
  35172. +
  35173. +/usr/include/bits/typesizes.h:
  35174. +
  35175. +/usr/include/time.h:
  35176. +
  35177. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  35178. +
  35179. +/usr/include/endian.h:
  35180. +
  35181. +/usr/include/bits/endian.h:
  35182. +
  35183. +/usr/include/bits/byteswap.h:
  35184. +
  35185. +/usr/include/sys/select.h:
  35186. +
  35187. +/usr/include/bits/select.h:
  35188. +
  35189. +/usr/include/bits/sigset.h:
  35190. +
  35191. +/usr/include/bits/time.h:
  35192. +
  35193. +/usr/include/sys/sysmacros.h:
  35194. +
  35195. +/usr/include/bits/pthreadtypes.h:
  35196. +
  35197. +/usr/include/stdio.h:
  35198. +
  35199. +/usr/include/libio.h:
  35200. +
  35201. +/usr/include/_G_config.h:
  35202. +
  35203. +/usr/include/wchar.h:
  35204. +
  35205. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  35206. +
  35207. +/usr/include/bits/stdio_lim.h:
  35208. +
  35209. +/usr/include/bits/sys_errlist.h:
  35210. +
  35211. +/usr/include/bits/stdio.h:
  35212. +
  35213. +/usr/include/bits/stdio2.h:
  35214. +
  35215. +/usr/include/unistd.h:
  35216. +
  35217. +/usr/include/bits/posix_opt.h:
  35218. +
  35219. +/usr/include/bits/environments.h:
  35220. +
  35221. +/usr/include/bits/confname.h:
  35222. +
  35223. +/usr/include/getopt.h:
  35224. +
  35225. +/usr/include/bits/unistd.h:
  35226. +
  35227. +/usr/include/stdlib.h:
  35228. +
  35229. +/usr/include/bits/waitflags.h:
  35230. +
  35231. +/usr/include/bits/waitstatus.h:
  35232. +
  35233. +/usr/include/xlocale.h:
  35234. +
  35235. +/usr/include/alloca.h:
  35236. +
  35237. +/usr/include/bits/stdlib.h:
  35238. +
  35239. +/usr/include/math.h:
  35240. +
  35241. +/usr/include/bits/huge_val.h:
  35242. +
  35243. +/usr/include/bits/huge_valf.h:
  35244. +
  35245. +/usr/include/bits/huge_vall.h:
  35246. +
  35247. +/usr/include/bits/inf.h:
  35248. +
  35249. +/usr/include/bits/nan.h:
  35250. +
  35251. +/usr/include/bits/mathdef.h:
  35252. +
  35253. +/usr/include/bits/mathcalls.h:
  35254. +
  35255. +/usr/include/bits/mathinline.h:
  35256. +
  35257. +/usr/include/string.h:
  35258. +
  35259. +/usr/include/bits/string.h:
  35260. +
  35261. +/usr/include/bits/string2.h:
  35262. +
  35263. +/usr/include/bits/string3.h:
  35264. +
  35265. +gpsd_config.h:
  35266. +
  35267. +gpsd.h:
  35268. +
  35269. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  35270. +
  35271. +/usr/include/termios.h:
  35272. +
  35273. +/usr/include/bits/termios.h:
  35274. +
  35275. +/usr/include/sys/ttydefaults.h:
  35276. +
  35277. +/usr/include/sys/termios.h:
  35278. +
  35279. +gps.h:
  35280. +
  35281. +/usr/include/sys/time.h:
  35282. +
  35283. +/usr/include/inttypes.h:
  35284. +
  35285. +/usr/include/stdint.h:
  35286. +
  35287. +/usr/include/bits/wchar.h:
  35288. +
  35289. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  35290. +
  35291. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  35292. +
  35293. +/usr/include/limits.h:
  35294. +
  35295. +/usr/include/bits/posix1_lim.h:
  35296. +
  35297. +/usr/include/bits/local_lim.h:
  35298. +
  35299. +/usr/include/linux/limits.h:
  35300. +
  35301. +/usr/include/bits/posix2_lim.h:
  35302. +
  35303. +/usr/include/bits/xopen_lim.h:
  35304. +
  35305. +/usr/include/signal.h:
  35306. +
  35307. +/usr/include/bits/signum.h:
  35308. +
  35309. +/usr/include/bits/siginfo.h:
  35310. +
  35311. +/usr/include/bits/sigaction.h:
  35312. +
  35313. +/usr/include/bits/sigcontext.h:
  35314. +
  35315. +/usr/include/bits/sigstack.h:
  35316. +
  35317. +/usr/include/sys/ucontext.h:
  35318. +
  35319. +/usr/include/bits/sigthread.h:
  35320. +
  35321. +/usr/include/pthread.h:
  35322. +
  35323. +/usr/include/sched.h:
  35324. +
  35325. +/usr/include/bits/sched.h:
  35326. +
  35327. +/usr/include/bits/setjmp.h:
  35328. diff -Nur gpsd-2.39.orig/.deps/gpxlogger.Po gpsd-2.39/.deps/gpxlogger.Po
  35329. --- gpsd-2.39.orig/.deps/gpxlogger.Po 1970-01-01 01:00:00.000000000 +0100
  35330. +++ gpsd-2.39/.deps/gpxlogger.Po 2010-02-18 21:44:19.236856859 +0100
  35331. @@ -0,0 +1 @@
  35332. +# dummy
  35333. diff -Nur gpsd-2.39.orig/.deps/hex.Plo gpsd-2.39/.deps/hex.Plo
  35334. --- gpsd-2.39.orig/.deps/hex.Plo 1970-01-01 01:00:00.000000000 +0100
  35335. +++ gpsd-2.39/.deps/hex.Plo 2010-02-18 21:44:29.780854916 +0100
  35336. @@ -0,0 +1,215 @@
  35337. +hex.lo: hex.c /usr/include/unistd.h /usr/include/features.h \
  35338. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  35339. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  35340. + /usr/include/gnu/stubs-32.h /usr/include/bits/posix_opt.h \
  35341. + /usr/include/bits/environments.h /usr/include/bits/types.h \
  35342. + /usr/include/bits/typesizes.h \
  35343. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  35344. + /usr/include/bits/confname.h /usr/include/getopt.h \
  35345. + /usr/include/bits/unistd.h /usr/include/stdlib.h \
  35346. + /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
  35347. + /usr/include/endian.h /usr/include/bits/endian.h \
  35348. + /usr/include/bits/byteswap.h /usr/include/xlocale.h \
  35349. + /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \
  35350. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  35351. + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
  35352. + /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \
  35353. + /usr/include/bits/stdlib.h /usr/include/stdio.h /usr/include/libio.h \
  35354. + /usr/include/_G_config.h /usr/include/wchar.h \
  35355. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  35356. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  35357. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h /usr/include/math.h \
  35358. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  35359. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  35360. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  35361. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  35362. + /usr/include/string.h /usr/include/bits/string.h \
  35363. + /usr/include/bits/string2.h /usr/include/bits/string3.h gpsd_config.h \
  35364. + gpsd.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  35365. + /usr/include/termios.h /usr/include/bits/termios.h \
  35366. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  35367. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  35368. + /usr/include/bits/wchar.h \
  35369. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  35370. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  35371. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  35372. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  35373. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  35374. + /usr/include/signal.h /usr/include/bits/signum.h \
  35375. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  35376. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  35377. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  35378. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  35379. + /usr/include/bits/setjmp.h
  35380. +
  35381. +/usr/include/unistd.h:
  35382. +
  35383. +/usr/include/features.h:
  35384. +
  35385. +/usr/include/bits/predefs.h:
  35386. +
  35387. +/usr/include/sys/cdefs.h:
  35388. +
  35389. +/usr/include/bits/wordsize.h:
  35390. +
  35391. +/usr/include/gnu/stubs.h:
  35392. +
  35393. +/usr/include/gnu/stubs-32.h:
  35394. +
  35395. +/usr/include/bits/posix_opt.h:
  35396. +
  35397. +/usr/include/bits/environments.h:
  35398. +
  35399. +/usr/include/bits/types.h:
  35400. +
  35401. +/usr/include/bits/typesizes.h:
  35402. +
  35403. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  35404. +
  35405. +/usr/include/bits/confname.h:
  35406. +
  35407. +/usr/include/getopt.h:
  35408. +
  35409. +/usr/include/bits/unistd.h:
  35410. +
  35411. +/usr/include/stdlib.h:
  35412. +
  35413. +/usr/include/bits/waitflags.h:
  35414. +
  35415. +/usr/include/bits/waitstatus.h:
  35416. +
  35417. +/usr/include/endian.h:
  35418. +
  35419. +/usr/include/bits/endian.h:
  35420. +
  35421. +/usr/include/bits/byteswap.h:
  35422. +
  35423. +/usr/include/xlocale.h:
  35424. +
  35425. +/usr/include/sys/types.h:
  35426. +
  35427. +/usr/include/time.h:
  35428. +
  35429. +/usr/include/sys/select.h:
  35430. +
  35431. +/usr/include/bits/select.h:
  35432. +
  35433. +/usr/include/bits/sigset.h:
  35434. +
  35435. +/usr/include/bits/time.h:
  35436. +
  35437. +/usr/include/sys/sysmacros.h:
  35438. +
  35439. +/usr/include/bits/pthreadtypes.h:
  35440. +
  35441. +/usr/include/alloca.h:
  35442. +
  35443. +/usr/include/bits/stdlib.h:
  35444. +
  35445. +/usr/include/stdio.h:
  35446. +
  35447. +/usr/include/libio.h:
  35448. +
  35449. +/usr/include/_G_config.h:
  35450. +
  35451. +/usr/include/wchar.h:
  35452. +
  35453. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  35454. +
  35455. +/usr/include/bits/stdio_lim.h:
  35456. +
  35457. +/usr/include/bits/sys_errlist.h:
  35458. +
  35459. +/usr/include/bits/stdio.h:
  35460. +
  35461. +/usr/include/bits/stdio2.h:
  35462. +
  35463. +/usr/include/math.h:
  35464. +
  35465. +/usr/include/bits/huge_val.h:
  35466. +
  35467. +/usr/include/bits/huge_valf.h:
  35468. +
  35469. +/usr/include/bits/huge_vall.h:
  35470. +
  35471. +/usr/include/bits/inf.h:
  35472. +
  35473. +/usr/include/bits/nan.h:
  35474. +
  35475. +/usr/include/bits/mathdef.h:
  35476. +
  35477. +/usr/include/bits/mathcalls.h:
  35478. +
  35479. +/usr/include/bits/mathinline.h:
  35480. +
  35481. +/usr/include/string.h:
  35482. +
  35483. +/usr/include/bits/string.h:
  35484. +
  35485. +/usr/include/bits/string2.h:
  35486. +
  35487. +/usr/include/bits/string3.h:
  35488. +
  35489. +gpsd_config.h:
  35490. +
  35491. +gpsd.h:
  35492. +
  35493. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  35494. +
  35495. +/usr/include/termios.h:
  35496. +
  35497. +/usr/include/bits/termios.h:
  35498. +
  35499. +/usr/include/sys/ttydefaults.h:
  35500. +
  35501. +/usr/include/sys/termios.h:
  35502. +
  35503. +gps.h:
  35504. +
  35505. +/usr/include/sys/time.h:
  35506. +
  35507. +/usr/include/inttypes.h:
  35508. +
  35509. +/usr/include/stdint.h:
  35510. +
  35511. +/usr/include/bits/wchar.h:
  35512. +
  35513. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  35514. +
  35515. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  35516. +
  35517. +/usr/include/limits.h:
  35518. +
  35519. +/usr/include/bits/posix1_lim.h:
  35520. +
  35521. +/usr/include/bits/local_lim.h:
  35522. +
  35523. +/usr/include/linux/limits.h:
  35524. +
  35525. +/usr/include/bits/posix2_lim.h:
  35526. +
  35527. +/usr/include/bits/xopen_lim.h:
  35528. +
  35529. +/usr/include/signal.h:
  35530. +
  35531. +/usr/include/bits/signum.h:
  35532. +
  35533. +/usr/include/bits/siginfo.h:
  35534. +
  35535. +/usr/include/bits/sigaction.h:
  35536. +
  35537. +/usr/include/bits/sigcontext.h:
  35538. +
  35539. +/usr/include/bits/sigstack.h:
  35540. +
  35541. +/usr/include/sys/ucontext.h:
  35542. +
  35543. +/usr/include/bits/sigthread.h:
  35544. +
  35545. +/usr/include/pthread.h:
  35546. +
  35547. +/usr/include/sched.h:
  35548. +
  35549. +/usr/include/bits/sched.h:
  35550. +
  35551. +/usr/include/bits/setjmp.h:
  35552. diff -Nur gpsd-2.39.orig/.deps/isgps.Plo gpsd-2.39/.deps/isgps.Plo
  35553. --- gpsd-2.39.orig/.deps/isgps.Plo 1970-01-01 01:00:00.000000000 +0100
  35554. +++ gpsd-2.39/.deps/isgps.Plo 2010-02-18 21:44:30.380855930 +0100
  35555. @@ -0,0 +1,191 @@
  35556. +isgps.lo: isgps.c /usr/include/sys/types.h /usr/include/features.h \
  35557. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  35558. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  35559. + /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \
  35560. + /usr/include/bits/typesizes.h /usr/include/time.h \
  35561. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \
  35562. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  35563. + /usr/include/sys/select.h /usr/include/bits/select.h \
  35564. + /usr/include/bits/sigset.h /usr/include/bits/time.h \
  35565. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  35566. + /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  35567. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  35568. + /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \
  35569. + /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
  35570. + /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \
  35571. + /usr/include/string.h /usr/include/bits/string.h \
  35572. + /usr/include/bits/string2.h /usr/include/bits/string3.h \
  35573. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h gpsd_config.h gpsd.h \
  35574. + /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
  35575. + /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  35576. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  35577. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  35578. + /usr/include/termios.h /usr/include/bits/termios.h \
  35579. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  35580. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  35581. + /usr/include/bits/wchar.h \
  35582. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  35583. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  35584. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  35585. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  35586. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  35587. + /usr/include/signal.h /usr/include/bits/signum.h \
  35588. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  35589. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  35590. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  35591. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  35592. + /usr/include/bits/setjmp.h
  35593. +
  35594. +/usr/include/sys/types.h:
  35595. +
  35596. +/usr/include/features.h:
  35597. +
  35598. +/usr/include/bits/predefs.h:
  35599. +
  35600. +/usr/include/sys/cdefs.h:
  35601. +
  35602. +/usr/include/bits/wordsize.h:
  35603. +
  35604. +/usr/include/gnu/stubs.h:
  35605. +
  35606. +/usr/include/gnu/stubs-32.h:
  35607. +
  35608. +/usr/include/bits/types.h:
  35609. +
  35610. +/usr/include/bits/typesizes.h:
  35611. +
  35612. +/usr/include/time.h:
  35613. +
  35614. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  35615. +
  35616. +/usr/include/endian.h:
  35617. +
  35618. +/usr/include/bits/endian.h:
  35619. +
  35620. +/usr/include/bits/byteswap.h:
  35621. +
  35622. +/usr/include/sys/select.h:
  35623. +
  35624. +/usr/include/bits/select.h:
  35625. +
  35626. +/usr/include/bits/sigset.h:
  35627. +
  35628. +/usr/include/bits/time.h:
  35629. +
  35630. +/usr/include/sys/sysmacros.h:
  35631. +
  35632. +/usr/include/bits/pthreadtypes.h:
  35633. +
  35634. +/usr/include/unistd.h:
  35635. +
  35636. +/usr/include/bits/posix_opt.h:
  35637. +
  35638. +/usr/include/bits/environments.h:
  35639. +
  35640. +/usr/include/bits/confname.h:
  35641. +
  35642. +/usr/include/getopt.h:
  35643. +
  35644. +/usr/include/bits/unistd.h:
  35645. +
  35646. +/usr/include/stdlib.h:
  35647. +
  35648. +/usr/include/bits/waitflags.h:
  35649. +
  35650. +/usr/include/bits/waitstatus.h:
  35651. +
  35652. +/usr/include/xlocale.h:
  35653. +
  35654. +/usr/include/alloca.h:
  35655. +
  35656. +/usr/include/bits/stdlib.h:
  35657. +
  35658. +/usr/include/string.h:
  35659. +
  35660. +/usr/include/bits/string.h:
  35661. +
  35662. +/usr/include/bits/string2.h:
  35663. +
  35664. +/usr/include/bits/string3.h:
  35665. +
  35666. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  35667. +
  35668. +gpsd_config.h:
  35669. +
  35670. +gpsd.h:
  35671. +
  35672. +/usr/include/stdio.h:
  35673. +
  35674. +/usr/include/libio.h:
  35675. +
  35676. +/usr/include/_G_config.h:
  35677. +
  35678. +/usr/include/wchar.h:
  35679. +
  35680. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  35681. +
  35682. +/usr/include/bits/stdio_lim.h:
  35683. +
  35684. +/usr/include/bits/sys_errlist.h:
  35685. +
  35686. +/usr/include/bits/stdio.h:
  35687. +
  35688. +/usr/include/bits/stdio2.h:
  35689. +
  35690. +/usr/include/termios.h:
  35691. +
  35692. +/usr/include/bits/termios.h:
  35693. +
  35694. +/usr/include/sys/ttydefaults.h:
  35695. +
  35696. +/usr/include/sys/termios.h:
  35697. +
  35698. +gps.h:
  35699. +
  35700. +/usr/include/sys/time.h:
  35701. +
  35702. +/usr/include/inttypes.h:
  35703. +
  35704. +/usr/include/stdint.h:
  35705. +
  35706. +/usr/include/bits/wchar.h:
  35707. +
  35708. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  35709. +
  35710. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  35711. +
  35712. +/usr/include/limits.h:
  35713. +
  35714. +/usr/include/bits/posix1_lim.h:
  35715. +
  35716. +/usr/include/bits/local_lim.h:
  35717. +
  35718. +/usr/include/linux/limits.h:
  35719. +
  35720. +/usr/include/bits/posix2_lim.h:
  35721. +
  35722. +/usr/include/bits/xopen_lim.h:
  35723. +
  35724. +/usr/include/signal.h:
  35725. +
  35726. +/usr/include/bits/signum.h:
  35727. +
  35728. +/usr/include/bits/siginfo.h:
  35729. +
  35730. +/usr/include/bits/sigaction.h:
  35731. +
  35732. +/usr/include/bits/sigcontext.h:
  35733. +
  35734. +/usr/include/bits/sigstack.h:
  35735. +
  35736. +/usr/include/sys/ucontext.h:
  35737. +
  35738. +/usr/include/bits/sigthread.h:
  35739. +
  35740. +/usr/include/pthread.h:
  35741. +
  35742. +/usr/include/sched.h:
  35743. +
  35744. +/usr/include/bits/sched.h:
  35745. +
  35746. +/usr/include/bits/setjmp.h:
  35747. diff -Nur gpsd-2.39.orig/.deps/lcdgps.Po gpsd-2.39/.deps/lcdgps.Po
  35748. --- gpsd-2.39.orig/.deps/lcdgps.Po 1970-01-01 01:00:00.000000000 +0100
  35749. +++ gpsd-2.39/.deps/lcdgps.Po 2010-02-18 21:44:19.244857878 +0100
  35750. @@ -0,0 +1 @@
  35751. +# dummy
  35752. diff -Nur gpsd-2.39.orig/.deps/libgpsd_core.Plo gpsd-2.39/.deps/libgpsd_core.Plo
  35753. --- gpsd-2.39.orig/.deps/libgpsd_core.Plo 1970-01-01 01:00:00.000000000 +0100
  35754. +++ gpsd-2.39/.deps/libgpsd_core.Plo 2010-02-18 21:44:34.216853193 +0100
  35755. @@ -0,0 +1,298 @@
  35756. +libgpsd_core.lo: libgpsd_core.c /usr/include/sys/time.h \
  35757. + /usr/include/features.h /usr/include/bits/predefs.h \
  35758. + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
  35759. + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
  35760. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  35761. + /usr/include/time.h /usr/include/bits/time.h /usr/include/sys/select.h \
  35762. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  35763. + /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h \
  35764. + /usr/include/asm/ioctls.h /usr/include/asm-generic/ioctls.h \
  35765. + /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h \
  35766. + /usr/include/asm-generic/ioctl.h /usr/include/bits/ioctl-types.h \
  35767. + /usr/include/sys/ttydefaults.h /usr/include/sys/socket.h \
  35768. + /usr/include/sys/uio.h /usr/include/sys/types.h \
  35769. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \
  35770. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  35771. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  35772. + /usr/include/bits/uio.h /usr/include/bits/socket.h \
  35773. + /usr/include/bits/sockaddr.h /usr/include/asm/socket.h \
  35774. + /usr/include/asm-generic/socket.h /usr/include/asm/sockios.h \
  35775. + /usr/include/asm-generic/sockios.h /usr/include/bits/socket2.h \
  35776. + /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  35777. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  35778. + /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \
  35779. + /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
  35780. + /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \
  35781. + /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
  35782. + /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  35783. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  35784. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h /usr/include/math.h \
  35785. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  35786. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  35787. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  35788. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  35789. + /usr/include/netdb.h /usr/include/netinet/in.h /usr/include/stdint.h \
  35790. + /usr/include/bits/wchar.h /usr/include/bits/in.h \
  35791. + /usr/include/rpc/netdb.h /usr/include/bits/siginfo.h \
  35792. + /usr/include/bits/netdb.h /usr/include/string.h \
  35793. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  35794. + /usr/include/bits/string3.h /usr/include/errno.h \
  35795. + /usr/include/bits/errno.h /usr/include/linux/errno.h \
  35796. + /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \
  35797. + /usr/include/asm-generic/errno-base.h /usr/include/fcntl.h \
  35798. + /usr/include/bits/fcntl.h /usr/include/sys/stat.h \
  35799. + /usr/include/bits/stat.h /usr/include/bits/fcntl2.h gpsd_config.h gpsd.h \
  35800. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  35801. + /usr/include/termios.h /usr/include/bits/termios.h \
  35802. + /usr/include/sys/termios.h gps.h /usr/include/inttypes.h \
  35803. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  35804. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  35805. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  35806. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  35807. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  35808. + /usr/include/signal.h /usr/include/bits/signum.h \
  35809. + /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \
  35810. + /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h \
  35811. + /usr/include/bits/sigthread.h /usr/include/pthread.h \
  35812. + /usr/include/sched.h /usr/include/bits/sched.h \
  35813. + /usr/include/bits/setjmp.h
  35814. +
  35815. +/usr/include/sys/time.h:
  35816. +
  35817. +/usr/include/features.h:
  35818. +
  35819. +/usr/include/bits/predefs.h:
  35820. +
  35821. +/usr/include/sys/cdefs.h:
  35822. +
  35823. +/usr/include/bits/wordsize.h:
  35824. +
  35825. +/usr/include/gnu/stubs.h:
  35826. +
  35827. +/usr/include/gnu/stubs-32.h:
  35828. +
  35829. +/usr/include/bits/types.h:
  35830. +
  35831. +/usr/include/bits/typesizes.h:
  35832. +
  35833. +/usr/include/time.h:
  35834. +
  35835. +/usr/include/bits/time.h:
  35836. +
  35837. +/usr/include/sys/select.h:
  35838. +
  35839. +/usr/include/bits/select.h:
  35840. +
  35841. +/usr/include/bits/sigset.h:
  35842. +
  35843. +/usr/include/sys/ioctl.h:
  35844. +
  35845. +/usr/include/bits/ioctls.h:
  35846. +
  35847. +/usr/include/asm/ioctls.h:
  35848. +
  35849. +/usr/include/asm-generic/ioctls.h:
  35850. +
  35851. +/usr/include/linux/ioctl.h:
  35852. +
  35853. +/usr/include/asm/ioctl.h:
  35854. +
  35855. +/usr/include/asm-generic/ioctl.h:
  35856. +
  35857. +/usr/include/bits/ioctl-types.h:
  35858. +
  35859. +/usr/include/sys/ttydefaults.h:
  35860. +
  35861. +/usr/include/sys/socket.h:
  35862. +
  35863. +/usr/include/sys/uio.h:
  35864. +
  35865. +/usr/include/sys/types.h:
  35866. +
  35867. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  35868. +
  35869. +/usr/include/endian.h:
  35870. +
  35871. +/usr/include/bits/endian.h:
  35872. +
  35873. +/usr/include/bits/byteswap.h:
  35874. +
  35875. +/usr/include/sys/sysmacros.h:
  35876. +
  35877. +/usr/include/bits/pthreadtypes.h:
  35878. +
  35879. +/usr/include/bits/uio.h:
  35880. +
  35881. +/usr/include/bits/socket.h:
  35882. +
  35883. +/usr/include/bits/sockaddr.h:
  35884. +
  35885. +/usr/include/asm/socket.h:
  35886. +
  35887. +/usr/include/asm-generic/socket.h:
  35888. +
  35889. +/usr/include/asm/sockios.h:
  35890. +
  35891. +/usr/include/asm-generic/sockios.h:
  35892. +
  35893. +/usr/include/bits/socket2.h:
  35894. +
  35895. +/usr/include/unistd.h:
  35896. +
  35897. +/usr/include/bits/posix_opt.h:
  35898. +
  35899. +/usr/include/bits/environments.h:
  35900. +
  35901. +/usr/include/bits/confname.h:
  35902. +
  35903. +/usr/include/getopt.h:
  35904. +
  35905. +/usr/include/bits/unistd.h:
  35906. +
  35907. +/usr/include/stdlib.h:
  35908. +
  35909. +/usr/include/bits/waitflags.h:
  35910. +
  35911. +/usr/include/bits/waitstatus.h:
  35912. +
  35913. +/usr/include/xlocale.h:
  35914. +
  35915. +/usr/include/alloca.h:
  35916. +
  35917. +/usr/include/bits/stdlib.h:
  35918. +
  35919. +/usr/include/stdio.h:
  35920. +
  35921. +/usr/include/libio.h:
  35922. +
  35923. +/usr/include/_G_config.h:
  35924. +
  35925. +/usr/include/wchar.h:
  35926. +
  35927. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  35928. +
  35929. +/usr/include/bits/stdio_lim.h:
  35930. +
  35931. +/usr/include/bits/sys_errlist.h:
  35932. +
  35933. +/usr/include/bits/stdio.h:
  35934. +
  35935. +/usr/include/bits/stdio2.h:
  35936. +
  35937. +/usr/include/math.h:
  35938. +
  35939. +/usr/include/bits/huge_val.h:
  35940. +
  35941. +/usr/include/bits/huge_valf.h:
  35942. +
  35943. +/usr/include/bits/huge_vall.h:
  35944. +
  35945. +/usr/include/bits/inf.h:
  35946. +
  35947. +/usr/include/bits/nan.h:
  35948. +
  35949. +/usr/include/bits/mathdef.h:
  35950. +
  35951. +/usr/include/bits/mathcalls.h:
  35952. +
  35953. +/usr/include/bits/mathinline.h:
  35954. +
  35955. +/usr/include/netdb.h:
  35956. +
  35957. +/usr/include/netinet/in.h:
  35958. +
  35959. +/usr/include/stdint.h:
  35960. +
  35961. +/usr/include/bits/wchar.h:
  35962. +
  35963. +/usr/include/bits/in.h:
  35964. +
  35965. +/usr/include/rpc/netdb.h:
  35966. +
  35967. +/usr/include/bits/siginfo.h:
  35968. +
  35969. +/usr/include/bits/netdb.h:
  35970. +
  35971. +/usr/include/string.h:
  35972. +
  35973. +/usr/include/bits/string.h:
  35974. +
  35975. +/usr/include/bits/string2.h:
  35976. +
  35977. +/usr/include/bits/string3.h:
  35978. +
  35979. +/usr/include/errno.h:
  35980. +
  35981. +/usr/include/bits/errno.h:
  35982. +
  35983. +/usr/include/linux/errno.h:
  35984. +
  35985. +/usr/include/asm/errno.h:
  35986. +
  35987. +/usr/include/asm-generic/errno.h:
  35988. +
  35989. +/usr/include/asm-generic/errno-base.h:
  35990. +
  35991. +/usr/include/fcntl.h:
  35992. +
  35993. +/usr/include/bits/fcntl.h:
  35994. +
  35995. +/usr/include/sys/stat.h:
  35996. +
  35997. +/usr/include/bits/stat.h:
  35998. +
  35999. +/usr/include/bits/fcntl2.h:
  36000. +
  36001. +gpsd_config.h:
  36002. +
  36003. +gpsd.h:
  36004. +
  36005. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  36006. +
  36007. +/usr/include/termios.h:
  36008. +
  36009. +/usr/include/bits/termios.h:
  36010. +
  36011. +/usr/include/sys/termios.h:
  36012. +
  36013. +gps.h:
  36014. +
  36015. +/usr/include/inttypes.h:
  36016. +
  36017. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  36018. +
  36019. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  36020. +
  36021. +/usr/include/limits.h:
  36022. +
  36023. +/usr/include/bits/posix1_lim.h:
  36024. +
  36025. +/usr/include/bits/local_lim.h:
  36026. +
  36027. +/usr/include/linux/limits.h:
  36028. +
  36029. +/usr/include/bits/posix2_lim.h:
  36030. +
  36031. +/usr/include/bits/xopen_lim.h:
  36032. +
  36033. +/usr/include/signal.h:
  36034. +
  36035. +/usr/include/bits/signum.h:
  36036. +
  36037. +/usr/include/bits/sigaction.h:
  36038. +
  36039. +/usr/include/bits/sigcontext.h:
  36040. +
  36041. +/usr/include/bits/sigstack.h:
  36042. +
  36043. +/usr/include/sys/ucontext.h:
  36044. +
  36045. +/usr/include/bits/sigthread.h:
  36046. +
  36047. +/usr/include/pthread.h:
  36048. +
  36049. +/usr/include/sched.h:
  36050. +
  36051. +/usr/include/bits/sched.h:
  36052. +
  36053. +/usr/include/bits/setjmp.h:
  36054. diff -Nur gpsd-2.39.orig/.deps/libgpsmm.Plo gpsd-2.39/.deps/libgpsmm.Plo
  36055. --- gpsd-2.39.orig/.deps/libgpsmm.Plo 1970-01-01 01:00:00.000000000 +0100
  36056. +++ gpsd-2.39/.deps/libgpsmm.Plo 2010-02-18 21:44:19.252857499 +0100
  36057. @@ -0,0 +1 @@
  36058. +# dummy
  36059. diff -Nur gpsd-2.39.orig/.deps/libgps.Plo gpsd-2.39/.deps/libgps.Plo
  36060. --- gpsd-2.39.orig/.deps/libgps.Plo 1970-01-01 01:00:00.000000000 +0100
  36061. +++ gpsd-2.39/.deps/libgps.Plo 2010-02-18 21:44:31.792853092 +0100
  36062. @@ -0,0 +1,234 @@
  36063. +libgps.lo: libgps.c /usr/include/sys/time.h /usr/include/features.h \
  36064. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  36065. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  36066. + /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \
  36067. + /usr/include/bits/typesizes.h /usr/include/time.h \
  36068. + /usr/include/bits/time.h /usr/include/sys/select.h \
  36069. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  36070. + /usr/include/stdio.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  36071. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  36072. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  36073. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  36074. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  36075. + /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  36076. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  36077. + /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \
  36078. + /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
  36079. + /usr/include/endian.h /usr/include/bits/endian.h \
  36080. + /usr/include/bits/byteswap.h /usr/include/xlocale.h \
  36081. + /usr/include/sys/types.h /usr/include/sys/sysmacros.h \
  36082. + /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \
  36083. + /usr/include/bits/stdlib.h /usr/include/string.h \
  36084. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  36085. + /usr/include/bits/string3.h /usr/include/errno.h \
  36086. + /usr/include/bits/errno.h /usr/include/linux/errno.h \
  36087. + /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \
  36088. + /usr/include/asm-generic/errno-base.h /usr/include/pthread.h \
  36089. + /usr/include/sched.h /usr/include/bits/sched.h /usr/include/signal.h \
  36090. + /usr/include/bits/setjmp.h /usr/include/math.h \
  36091. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  36092. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  36093. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  36094. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  36095. + /usr/include/locale.h /usr/include/bits/locale.h gpsd_config.h gpsd.h \
  36096. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  36097. + /usr/include/termios.h /usr/include/bits/termios.h \
  36098. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  36099. + /usr/include/inttypes.h /usr/include/stdint.h /usr/include/bits/wchar.h \
  36100. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  36101. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  36102. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  36103. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  36104. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  36105. + /usr/include/bits/signum.h /usr/include/bits/siginfo.h \
  36106. + /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \
  36107. + /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h \
  36108. + /usr/include/bits/sigthread.h
  36109. +
  36110. +/usr/include/sys/time.h:
  36111. +
  36112. +/usr/include/features.h:
  36113. +
  36114. +/usr/include/bits/predefs.h:
  36115. +
  36116. +/usr/include/sys/cdefs.h:
  36117. +
  36118. +/usr/include/bits/wordsize.h:
  36119. +
  36120. +/usr/include/gnu/stubs.h:
  36121. +
  36122. +/usr/include/gnu/stubs-32.h:
  36123. +
  36124. +/usr/include/bits/types.h:
  36125. +
  36126. +/usr/include/bits/typesizes.h:
  36127. +
  36128. +/usr/include/time.h:
  36129. +
  36130. +/usr/include/bits/time.h:
  36131. +
  36132. +/usr/include/sys/select.h:
  36133. +
  36134. +/usr/include/bits/select.h:
  36135. +
  36136. +/usr/include/bits/sigset.h:
  36137. +
  36138. +/usr/include/stdio.h:
  36139. +
  36140. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  36141. +
  36142. +/usr/include/libio.h:
  36143. +
  36144. +/usr/include/_G_config.h:
  36145. +
  36146. +/usr/include/wchar.h:
  36147. +
  36148. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  36149. +
  36150. +/usr/include/bits/stdio_lim.h:
  36151. +
  36152. +/usr/include/bits/sys_errlist.h:
  36153. +
  36154. +/usr/include/bits/stdio.h:
  36155. +
  36156. +/usr/include/bits/stdio2.h:
  36157. +
  36158. +/usr/include/unistd.h:
  36159. +
  36160. +/usr/include/bits/posix_opt.h:
  36161. +
  36162. +/usr/include/bits/environments.h:
  36163. +
  36164. +/usr/include/bits/confname.h:
  36165. +
  36166. +/usr/include/getopt.h:
  36167. +
  36168. +/usr/include/bits/unistd.h:
  36169. +
  36170. +/usr/include/stdlib.h:
  36171. +
  36172. +/usr/include/bits/waitflags.h:
  36173. +
  36174. +/usr/include/bits/waitstatus.h:
  36175. +
  36176. +/usr/include/endian.h:
  36177. +
  36178. +/usr/include/bits/endian.h:
  36179. +
  36180. +/usr/include/bits/byteswap.h:
  36181. +
  36182. +/usr/include/xlocale.h:
  36183. +
  36184. +/usr/include/sys/types.h:
  36185. +
  36186. +/usr/include/sys/sysmacros.h:
  36187. +
  36188. +/usr/include/bits/pthreadtypes.h:
  36189. +
  36190. +/usr/include/alloca.h:
  36191. +
  36192. +/usr/include/bits/stdlib.h:
  36193. +
  36194. +/usr/include/string.h:
  36195. +
  36196. +/usr/include/bits/string.h:
  36197. +
  36198. +/usr/include/bits/string2.h:
  36199. +
  36200. +/usr/include/bits/string3.h:
  36201. +
  36202. +/usr/include/errno.h:
  36203. +
  36204. +/usr/include/bits/errno.h:
  36205. +
  36206. +/usr/include/linux/errno.h:
  36207. +
  36208. +/usr/include/asm/errno.h:
  36209. +
  36210. +/usr/include/asm-generic/errno.h:
  36211. +
  36212. +/usr/include/asm-generic/errno-base.h:
  36213. +
  36214. +/usr/include/pthread.h:
  36215. +
  36216. +/usr/include/sched.h:
  36217. +
  36218. +/usr/include/bits/sched.h:
  36219. +
  36220. +/usr/include/signal.h:
  36221. +
  36222. +/usr/include/bits/setjmp.h:
  36223. +
  36224. +/usr/include/math.h:
  36225. +
  36226. +/usr/include/bits/huge_val.h:
  36227. +
  36228. +/usr/include/bits/huge_valf.h:
  36229. +
  36230. +/usr/include/bits/huge_vall.h:
  36231. +
  36232. +/usr/include/bits/inf.h:
  36233. +
  36234. +/usr/include/bits/nan.h:
  36235. +
  36236. +/usr/include/bits/mathdef.h:
  36237. +
  36238. +/usr/include/bits/mathcalls.h:
  36239. +
  36240. +/usr/include/bits/mathinline.h:
  36241. +
  36242. +/usr/include/locale.h:
  36243. +
  36244. +/usr/include/bits/locale.h:
  36245. +
  36246. +gpsd_config.h:
  36247. +
  36248. +gpsd.h:
  36249. +
  36250. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  36251. +
  36252. +/usr/include/termios.h:
  36253. +
  36254. +/usr/include/bits/termios.h:
  36255. +
  36256. +/usr/include/sys/ttydefaults.h:
  36257. +
  36258. +/usr/include/sys/termios.h:
  36259. +
  36260. +gps.h:
  36261. +
  36262. +/usr/include/inttypes.h:
  36263. +
  36264. +/usr/include/stdint.h:
  36265. +
  36266. +/usr/include/bits/wchar.h:
  36267. +
  36268. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  36269. +
  36270. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  36271. +
  36272. +/usr/include/limits.h:
  36273. +
  36274. +/usr/include/bits/posix1_lim.h:
  36275. +
  36276. +/usr/include/bits/local_lim.h:
  36277. +
  36278. +/usr/include/linux/limits.h:
  36279. +
  36280. +/usr/include/bits/posix2_lim.h:
  36281. +
  36282. +/usr/include/bits/xopen_lim.h:
  36283. +
  36284. +/usr/include/bits/signum.h:
  36285. +
  36286. +/usr/include/bits/siginfo.h:
  36287. +
  36288. +/usr/include/bits/sigaction.h:
  36289. +
  36290. +/usr/include/bits/sigcontext.h:
  36291. +
  36292. +/usr/include/bits/sigstack.h:
  36293. +
  36294. +/usr/include/sys/ucontext.h:
  36295. +
  36296. +/usr/include/bits/sigthread.h:
  36297. diff -Nur gpsd-2.39.orig/.deps/monitor_italk.Po gpsd-2.39/.deps/monitor_italk.Po
  36298. --- gpsd-2.39.orig/.deps/monitor_italk.Po 1970-01-01 01:00:00.000000000 +0100
  36299. +++ gpsd-2.39/.deps/monitor_italk.Po 2010-02-18 21:44:19.256856052 +0100
  36300. @@ -0,0 +1 @@
  36301. +# dummy
  36302. diff -Nur gpsd-2.39.orig/.deps/monitor_nmea.Po gpsd-2.39/.deps/monitor_nmea.Po
  36303. --- gpsd-2.39.orig/.deps/monitor_nmea.Po 1970-01-01 01:00:00.000000000 +0100
  36304. +++ gpsd-2.39/.deps/monitor_nmea.Po 2010-02-18 21:44:19.260856003 +0100
  36305. @@ -0,0 +1 @@
  36306. +# dummy
  36307. diff -Nur gpsd-2.39.orig/.deps/monitor_sirf.Po gpsd-2.39/.deps/monitor_sirf.Po
  36308. --- gpsd-2.39.orig/.deps/monitor_sirf.Po 1970-01-01 01:00:00.000000000 +0100
  36309. +++ gpsd-2.39/.deps/monitor_sirf.Po 2010-02-18 21:44:19.264857071 +0100
  36310. @@ -0,0 +1 @@
  36311. +# dummy
  36312. diff -Nur gpsd-2.39.orig/.deps/monitor_superstar2.Po gpsd-2.39/.deps/monitor_superstar2.Po
  36313. --- gpsd-2.39.orig/.deps/monitor_superstar2.Po 1970-01-01 01:00:00.000000000 +0100
  36314. +++ gpsd-2.39/.deps/monitor_superstar2.Po 2010-02-18 21:44:19.264857071 +0100
  36315. @@ -0,0 +1 @@
  36316. +# dummy
  36317. diff -Nur gpsd-2.39.orig/.deps/monitor_ubx.Po gpsd-2.39/.deps/monitor_ubx.Po
  36318. --- gpsd-2.39.orig/.deps/monitor_ubx.Po 1970-01-01 01:00:00.000000000 +0100
  36319. +++ gpsd-2.39/.deps/monitor_ubx.Po 2010-02-18 21:44:19.268857301 +0100
  36320. @@ -0,0 +1 @@
  36321. +# dummy
  36322. diff -Nur gpsd-2.39.orig/.deps/netlib.Plo gpsd-2.39/.deps/netlib.Plo
  36323. --- gpsd-2.39.orig/.deps/netlib.Plo 1970-01-01 01:00:00.000000000 +0100
  36324. +++ gpsd-2.39/.deps/netlib.Plo 2010-02-18 21:44:34.836854228 +0100
  36325. @@ -0,0 +1,252 @@
  36326. +netlib.lo: netlib.c /usr/include/sys/types.h /usr/include/features.h \
  36327. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  36328. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  36329. + /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \
  36330. + /usr/include/bits/typesizes.h /usr/include/time.h \
  36331. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \
  36332. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  36333. + /usr/include/sys/select.h /usr/include/bits/select.h \
  36334. + /usr/include/bits/sigset.h /usr/include/bits/time.h \
  36335. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  36336. + gpsd_config.h /usr/include/sys/socket.h /usr/include/sys/uio.h \
  36337. + /usr/include/bits/uio.h /usr/include/bits/socket.h \
  36338. + /usr/include/bits/sockaddr.h /usr/include/asm/socket.h \
  36339. + /usr/include/asm-generic/socket.h /usr/include/asm/sockios.h \
  36340. + /usr/include/asm-generic/sockios.h /usr/include/bits/socket2.h \
  36341. + /usr/include/netinet/in.h /usr/include/stdint.h \
  36342. + /usr/include/bits/wchar.h /usr/include/bits/in.h \
  36343. + /usr/include/netinet/in_systm.h /usr/include/netinet/ip.h \
  36344. + /usr/include/netdb.h /usr/include/rpc/netdb.h \
  36345. + /usr/include/bits/siginfo.h /usr/include/bits/netdb.h \
  36346. + /usr/include/arpa/inet.h /usr/include/errno.h /usr/include/bits/errno.h \
  36347. + /usr/include/linux/errno.h /usr/include/asm/errno.h \
  36348. + /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \
  36349. + /usr/include/stdlib.h /usr/include/bits/waitflags.h \
  36350. + /usr/include/bits/waitstatus.h /usr/include/xlocale.h \
  36351. + /usr/include/alloca.h /usr/include/bits/stdlib.h /usr/include/unistd.h \
  36352. + /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \
  36353. + /usr/include/bits/confname.h /usr/include/getopt.h \
  36354. + /usr/include/bits/unistd.h /usr/include/string.h \
  36355. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  36356. + /usr/include/bits/string3.h gpsd.h \
  36357. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h /usr/include/stdio.h \
  36358. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  36359. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  36360. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  36361. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  36362. + /usr/include/termios.h /usr/include/bits/termios.h \
  36363. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  36364. + /usr/include/sys/time.h /usr/include/inttypes.h \
  36365. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  36366. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  36367. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  36368. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  36369. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  36370. + /usr/include/signal.h /usr/include/bits/signum.h \
  36371. + /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \
  36372. + /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h \
  36373. + /usr/include/bits/sigthread.h /usr/include/pthread.h \
  36374. + /usr/include/sched.h /usr/include/bits/sched.h \
  36375. + /usr/include/bits/setjmp.h
  36376. +
  36377. +/usr/include/sys/types.h:
  36378. +
  36379. +/usr/include/features.h:
  36380. +
  36381. +/usr/include/bits/predefs.h:
  36382. +
  36383. +/usr/include/sys/cdefs.h:
  36384. +
  36385. +/usr/include/bits/wordsize.h:
  36386. +
  36387. +/usr/include/gnu/stubs.h:
  36388. +
  36389. +/usr/include/gnu/stubs-32.h:
  36390. +
  36391. +/usr/include/bits/types.h:
  36392. +
  36393. +/usr/include/bits/typesizes.h:
  36394. +
  36395. +/usr/include/time.h:
  36396. +
  36397. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  36398. +
  36399. +/usr/include/endian.h:
  36400. +
  36401. +/usr/include/bits/endian.h:
  36402. +
  36403. +/usr/include/bits/byteswap.h:
  36404. +
  36405. +/usr/include/sys/select.h:
  36406. +
  36407. +/usr/include/bits/select.h:
  36408. +
  36409. +/usr/include/bits/sigset.h:
  36410. +
  36411. +/usr/include/bits/time.h:
  36412. +
  36413. +/usr/include/sys/sysmacros.h:
  36414. +
  36415. +/usr/include/bits/pthreadtypes.h:
  36416. +
  36417. +gpsd_config.h:
  36418. +
  36419. +/usr/include/sys/socket.h:
  36420. +
  36421. +/usr/include/sys/uio.h:
  36422. +
  36423. +/usr/include/bits/uio.h:
  36424. +
  36425. +/usr/include/bits/socket.h:
  36426. +
  36427. +/usr/include/bits/sockaddr.h:
  36428. +
  36429. +/usr/include/asm/socket.h:
  36430. +
  36431. +/usr/include/asm-generic/socket.h:
  36432. +
  36433. +/usr/include/asm/sockios.h:
  36434. +
  36435. +/usr/include/asm-generic/sockios.h:
  36436. +
  36437. +/usr/include/bits/socket2.h:
  36438. +
  36439. +/usr/include/netinet/in.h:
  36440. +
  36441. +/usr/include/stdint.h:
  36442. +
  36443. +/usr/include/bits/wchar.h:
  36444. +
  36445. +/usr/include/bits/in.h:
  36446. +
  36447. +/usr/include/netinet/in_systm.h:
  36448. +
  36449. +/usr/include/netinet/ip.h:
  36450. +
  36451. +/usr/include/netdb.h:
  36452. +
  36453. +/usr/include/rpc/netdb.h:
  36454. +
  36455. +/usr/include/bits/siginfo.h:
  36456. +
  36457. +/usr/include/bits/netdb.h:
  36458. +
  36459. +/usr/include/arpa/inet.h:
  36460. +
  36461. +/usr/include/errno.h:
  36462. +
  36463. +/usr/include/bits/errno.h:
  36464. +
  36465. +/usr/include/linux/errno.h:
  36466. +
  36467. +/usr/include/asm/errno.h:
  36468. +
  36469. +/usr/include/asm-generic/errno.h:
  36470. +
  36471. +/usr/include/asm-generic/errno-base.h:
  36472. +
  36473. +/usr/include/stdlib.h:
  36474. +
  36475. +/usr/include/bits/waitflags.h:
  36476. +
  36477. +/usr/include/bits/waitstatus.h:
  36478. +
  36479. +/usr/include/xlocale.h:
  36480. +
  36481. +/usr/include/alloca.h:
  36482. +
  36483. +/usr/include/bits/stdlib.h:
  36484. +
  36485. +/usr/include/unistd.h:
  36486. +
  36487. +/usr/include/bits/posix_opt.h:
  36488. +
  36489. +/usr/include/bits/environments.h:
  36490. +
  36491. +/usr/include/bits/confname.h:
  36492. +
  36493. +/usr/include/getopt.h:
  36494. +
  36495. +/usr/include/bits/unistd.h:
  36496. +
  36497. +/usr/include/string.h:
  36498. +
  36499. +/usr/include/bits/string.h:
  36500. +
  36501. +/usr/include/bits/string2.h:
  36502. +
  36503. +/usr/include/bits/string3.h:
  36504. +
  36505. +gpsd.h:
  36506. +
  36507. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  36508. +
  36509. +/usr/include/stdio.h:
  36510. +
  36511. +/usr/include/libio.h:
  36512. +
  36513. +/usr/include/_G_config.h:
  36514. +
  36515. +/usr/include/wchar.h:
  36516. +
  36517. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  36518. +
  36519. +/usr/include/bits/stdio_lim.h:
  36520. +
  36521. +/usr/include/bits/sys_errlist.h:
  36522. +
  36523. +/usr/include/bits/stdio.h:
  36524. +
  36525. +/usr/include/bits/stdio2.h:
  36526. +
  36527. +/usr/include/termios.h:
  36528. +
  36529. +/usr/include/bits/termios.h:
  36530. +
  36531. +/usr/include/sys/ttydefaults.h:
  36532. +
  36533. +/usr/include/sys/termios.h:
  36534. +
  36535. +gps.h:
  36536. +
  36537. +/usr/include/sys/time.h:
  36538. +
  36539. +/usr/include/inttypes.h:
  36540. +
  36541. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  36542. +
  36543. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  36544. +
  36545. +/usr/include/limits.h:
  36546. +
  36547. +/usr/include/bits/posix1_lim.h:
  36548. +
  36549. +/usr/include/bits/local_lim.h:
  36550. +
  36551. +/usr/include/linux/limits.h:
  36552. +
  36553. +/usr/include/bits/posix2_lim.h:
  36554. +
  36555. +/usr/include/bits/xopen_lim.h:
  36556. +
  36557. +/usr/include/signal.h:
  36558. +
  36559. +/usr/include/bits/signum.h:
  36560. +
  36561. +/usr/include/bits/sigaction.h:
  36562. +
  36563. +/usr/include/bits/sigcontext.h:
  36564. +
  36565. +/usr/include/bits/sigstack.h:
  36566. +
  36567. +/usr/include/sys/ucontext.h:
  36568. +
  36569. +/usr/include/bits/sigthread.h:
  36570. +
  36571. +/usr/include/pthread.h:
  36572. +
  36573. +/usr/include/sched.h:
  36574. +
  36575. +/usr/include/bits/sched.h:
  36576. +
  36577. +/usr/include/bits/setjmp.h:
  36578. diff -Nur gpsd-2.39.orig/.deps/ntpshm.Plo gpsd-2.39/.deps/ntpshm.Plo
  36579. --- gpsd-2.39.orig/.deps/ntpshm.Plo 1970-01-01 01:00:00.000000000 +0100
  36580. +++ gpsd-2.39/.deps/ntpshm.Plo 2010-02-18 21:44:35.428853388 +0100
  36581. @@ -0,0 +1,211 @@
  36582. +ntpshm.lo: ntpshm.c /usr/include/sys/types.h /usr/include/features.h \
  36583. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  36584. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  36585. + /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \
  36586. + /usr/include/bits/typesizes.h /usr/include/time.h \
  36587. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \
  36588. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  36589. + /usr/include/sys/select.h /usr/include/bits/select.h \
  36590. + /usr/include/bits/sigset.h /usr/include/bits/time.h \
  36591. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  36592. + /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
  36593. + /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  36594. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  36595. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  36596. + /usr/include/string.h /usr/include/xlocale.h /usr/include/bits/string.h \
  36597. + /usr/include/bits/string2.h /usr/include/stdlib.h \
  36598. + /usr/include/bits/string3.h /usr/include/bits/waitflags.h \
  36599. + /usr/include/bits/waitstatus.h /usr/include/alloca.h \
  36600. + /usr/include/bits/stdlib.h /usr/include/math.h \
  36601. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  36602. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  36603. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  36604. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  36605. + gpsd_config.h gpsd.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  36606. + /usr/include/termios.h /usr/include/bits/termios.h \
  36607. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  36608. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  36609. + /usr/include/bits/wchar.h \
  36610. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  36611. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  36612. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  36613. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  36614. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  36615. + /usr/include/signal.h /usr/include/bits/signum.h \
  36616. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  36617. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  36618. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  36619. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  36620. + /usr/include/bits/setjmp.h /usr/include/sys/ipc.h \
  36621. + /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h \
  36622. + /usr/include/sys/shm.h /usr/include/bits/shm.h
  36623. +
  36624. +/usr/include/sys/types.h:
  36625. +
  36626. +/usr/include/features.h:
  36627. +
  36628. +/usr/include/bits/predefs.h:
  36629. +
  36630. +/usr/include/sys/cdefs.h:
  36631. +
  36632. +/usr/include/bits/wordsize.h:
  36633. +
  36634. +/usr/include/gnu/stubs.h:
  36635. +
  36636. +/usr/include/gnu/stubs-32.h:
  36637. +
  36638. +/usr/include/bits/types.h:
  36639. +
  36640. +/usr/include/bits/typesizes.h:
  36641. +
  36642. +/usr/include/time.h:
  36643. +
  36644. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  36645. +
  36646. +/usr/include/endian.h:
  36647. +
  36648. +/usr/include/bits/endian.h:
  36649. +
  36650. +/usr/include/bits/byteswap.h:
  36651. +
  36652. +/usr/include/sys/select.h:
  36653. +
  36654. +/usr/include/bits/select.h:
  36655. +
  36656. +/usr/include/bits/sigset.h:
  36657. +
  36658. +/usr/include/bits/time.h:
  36659. +
  36660. +/usr/include/sys/sysmacros.h:
  36661. +
  36662. +/usr/include/bits/pthreadtypes.h:
  36663. +
  36664. +/usr/include/stdio.h:
  36665. +
  36666. +/usr/include/libio.h:
  36667. +
  36668. +/usr/include/_G_config.h:
  36669. +
  36670. +/usr/include/wchar.h:
  36671. +
  36672. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  36673. +
  36674. +/usr/include/bits/stdio_lim.h:
  36675. +
  36676. +/usr/include/bits/sys_errlist.h:
  36677. +
  36678. +/usr/include/bits/stdio.h:
  36679. +
  36680. +/usr/include/bits/stdio2.h:
  36681. +
  36682. +/usr/include/string.h:
  36683. +
  36684. +/usr/include/xlocale.h:
  36685. +
  36686. +/usr/include/bits/string.h:
  36687. +
  36688. +/usr/include/bits/string2.h:
  36689. +
  36690. +/usr/include/stdlib.h:
  36691. +
  36692. +/usr/include/bits/string3.h:
  36693. +
  36694. +/usr/include/bits/waitflags.h:
  36695. +
  36696. +/usr/include/bits/waitstatus.h:
  36697. +
  36698. +/usr/include/alloca.h:
  36699. +
  36700. +/usr/include/bits/stdlib.h:
  36701. +
  36702. +/usr/include/math.h:
  36703. +
  36704. +/usr/include/bits/huge_val.h:
  36705. +
  36706. +/usr/include/bits/huge_valf.h:
  36707. +
  36708. +/usr/include/bits/huge_vall.h:
  36709. +
  36710. +/usr/include/bits/inf.h:
  36711. +
  36712. +/usr/include/bits/nan.h:
  36713. +
  36714. +/usr/include/bits/mathdef.h:
  36715. +
  36716. +/usr/include/bits/mathcalls.h:
  36717. +
  36718. +/usr/include/bits/mathinline.h:
  36719. +
  36720. +gpsd_config.h:
  36721. +
  36722. +gpsd.h:
  36723. +
  36724. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  36725. +
  36726. +/usr/include/termios.h:
  36727. +
  36728. +/usr/include/bits/termios.h:
  36729. +
  36730. +/usr/include/sys/ttydefaults.h:
  36731. +
  36732. +/usr/include/sys/termios.h:
  36733. +
  36734. +gps.h:
  36735. +
  36736. +/usr/include/sys/time.h:
  36737. +
  36738. +/usr/include/inttypes.h:
  36739. +
  36740. +/usr/include/stdint.h:
  36741. +
  36742. +/usr/include/bits/wchar.h:
  36743. +
  36744. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  36745. +
  36746. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  36747. +
  36748. +/usr/include/limits.h:
  36749. +
  36750. +/usr/include/bits/posix1_lim.h:
  36751. +
  36752. +/usr/include/bits/local_lim.h:
  36753. +
  36754. +/usr/include/linux/limits.h:
  36755. +
  36756. +/usr/include/bits/posix2_lim.h:
  36757. +
  36758. +/usr/include/bits/xopen_lim.h:
  36759. +
  36760. +/usr/include/signal.h:
  36761. +
  36762. +/usr/include/bits/signum.h:
  36763. +
  36764. +/usr/include/bits/siginfo.h:
  36765. +
  36766. +/usr/include/bits/sigaction.h:
  36767. +
  36768. +/usr/include/bits/sigcontext.h:
  36769. +
  36770. +/usr/include/bits/sigstack.h:
  36771. +
  36772. +/usr/include/sys/ucontext.h:
  36773. +
  36774. +/usr/include/bits/sigthread.h:
  36775. +
  36776. +/usr/include/pthread.h:
  36777. +
  36778. +/usr/include/sched.h:
  36779. +
  36780. +/usr/include/bits/sched.h:
  36781. +
  36782. +/usr/include/bits/setjmp.h:
  36783. +
  36784. +/usr/include/sys/ipc.h:
  36785. +
  36786. +/usr/include/bits/ipctypes.h:
  36787. +
  36788. +/usr/include/bits/ipc.h:
  36789. +
  36790. +/usr/include/sys/shm.h:
  36791. +
  36792. +/usr/include/bits/shm.h:
  36793. diff -Nur gpsd-2.39.orig/.deps/ntrip.Plo gpsd-2.39/.deps/ntrip.Plo
  36794. --- gpsd-2.39.orig/.deps/ntrip.Plo 1970-01-01 01:00:00.000000000 +0100
  36795. +++ gpsd-2.39/.deps/ntrip.Plo 2010-02-18 21:44:36.532852393 +0100
  36796. @@ -0,0 +1,280 @@
  36797. +ntrip.lo: ntrip.c /usr/include/sys/types.h /usr/include/features.h \
  36798. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  36799. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  36800. + /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \
  36801. + /usr/include/bits/typesizes.h /usr/include/time.h \
  36802. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \
  36803. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  36804. + /usr/include/sys/select.h /usr/include/bits/select.h \
  36805. + /usr/include/bits/sigset.h /usr/include/bits/time.h \
  36806. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  36807. + /usr/include/sys/socket.h /usr/include/sys/uio.h /usr/include/bits/uio.h \
  36808. + /usr/include/bits/socket.h /usr/include/bits/sockaddr.h \
  36809. + /usr/include/asm/socket.h /usr/include/asm-generic/socket.h \
  36810. + /usr/include/asm/sockios.h /usr/include/asm-generic/sockios.h \
  36811. + /usr/include/bits/socket2.h /usr/include/sys/time.h \
  36812. + /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  36813. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  36814. + /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \
  36815. + /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
  36816. + /usr/include/xlocale.h /usr/include/alloca.h /usr/include/bits/stdlib.h \
  36817. + /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
  36818. + /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  36819. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  36820. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h /usr/include/math.h \
  36821. + /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
  36822. + /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
  36823. + /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
  36824. + /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
  36825. + /usr/include/netdb.h /usr/include/netinet/in.h /usr/include/stdint.h \
  36826. + /usr/include/bits/wchar.h /usr/include/bits/in.h \
  36827. + /usr/include/rpc/netdb.h /usr/include/bits/siginfo.h \
  36828. + /usr/include/bits/netdb.h /usr/include/string.h \
  36829. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  36830. + /usr/include/bits/string3.h /usr/include/errno.h \
  36831. + /usr/include/bits/errno.h /usr/include/linux/errno.h \
  36832. + /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \
  36833. + /usr/include/asm-generic/errno-base.h /usr/include/fcntl.h \
  36834. + /usr/include/bits/fcntl.h /usr/include/sys/stat.h \
  36835. + /usr/include/bits/stat.h /usr/include/bits/fcntl2.h gpsd_config.h gpsd.h \
  36836. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  36837. + /usr/include/termios.h /usr/include/bits/termios.h \
  36838. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  36839. + /usr/include/inttypes.h \
  36840. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  36841. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  36842. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  36843. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  36844. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  36845. + /usr/include/signal.h /usr/include/bits/signum.h \
  36846. + /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \
  36847. + /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h \
  36848. + /usr/include/bits/sigthread.h /usr/include/pthread.h \
  36849. + /usr/include/sched.h /usr/include/bits/sched.h \
  36850. + /usr/include/bits/setjmp.h bsd-base64.h
  36851. +
  36852. +/usr/include/sys/types.h:
  36853. +
  36854. +/usr/include/features.h:
  36855. +
  36856. +/usr/include/bits/predefs.h:
  36857. +
  36858. +/usr/include/sys/cdefs.h:
  36859. +
  36860. +/usr/include/bits/wordsize.h:
  36861. +
  36862. +/usr/include/gnu/stubs.h:
  36863. +
  36864. +/usr/include/gnu/stubs-32.h:
  36865. +
  36866. +/usr/include/bits/types.h:
  36867. +
  36868. +/usr/include/bits/typesizes.h:
  36869. +
  36870. +/usr/include/time.h:
  36871. +
  36872. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  36873. +
  36874. +/usr/include/endian.h:
  36875. +
  36876. +/usr/include/bits/endian.h:
  36877. +
  36878. +/usr/include/bits/byteswap.h:
  36879. +
  36880. +/usr/include/sys/select.h:
  36881. +
  36882. +/usr/include/bits/select.h:
  36883. +
  36884. +/usr/include/bits/sigset.h:
  36885. +
  36886. +/usr/include/bits/time.h:
  36887. +
  36888. +/usr/include/sys/sysmacros.h:
  36889. +
  36890. +/usr/include/bits/pthreadtypes.h:
  36891. +
  36892. +/usr/include/sys/socket.h:
  36893. +
  36894. +/usr/include/sys/uio.h:
  36895. +
  36896. +/usr/include/bits/uio.h:
  36897. +
  36898. +/usr/include/bits/socket.h:
  36899. +
  36900. +/usr/include/bits/sockaddr.h:
  36901. +
  36902. +/usr/include/asm/socket.h:
  36903. +
  36904. +/usr/include/asm-generic/socket.h:
  36905. +
  36906. +/usr/include/asm/sockios.h:
  36907. +
  36908. +/usr/include/asm-generic/sockios.h:
  36909. +
  36910. +/usr/include/bits/socket2.h:
  36911. +
  36912. +/usr/include/sys/time.h:
  36913. +
  36914. +/usr/include/unistd.h:
  36915. +
  36916. +/usr/include/bits/posix_opt.h:
  36917. +
  36918. +/usr/include/bits/environments.h:
  36919. +
  36920. +/usr/include/bits/confname.h:
  36921. +
  36922. +/usr/include/getopt.h:
  36923. +
  36924. +/usr/include/bits/unistd.h:
  36925. +
  36926. +/usr/include/stdlib.h:
  36927. +
  36928. +/usr/include/bits/waitflags.h:
  36929. +
  36930. +/usr/include/bits/waitstatus.h:
  36931. +
  36932. +/usr/include/xlocale.h:
  36933. +
  36934. +/usr/include/alloca.h:
  36935. +
  36936. +/usr/include/bits/stdlib.h:
  36937. +
  36938. +/usr/include/stdio.h:
  36939. +
  36940. +/usr/include/libio.h:
  36941. +
  36942. +/usr/include/_G_config.h:
  36943. +
  36944. +/usr/include/wchar.h:
  36945. +
  36946. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  36947. +
  36948. +/usr/include/bits/stdio_lim.h:
  36949. +
  36950. +/usr/include/bits/sys_errlist.h:
  36951. +
  36952. +/usr/include/bits/stdio.h:
  36953. +
  36954. +/usr/include/bits/stdio2.h:
  36955. +
  36956. +/usr/include/math.h:
  36957. +
  36958. +/usr/include/bits/huge_val.h:
  36959. +
  36960. +/usr/include/bits/huge_valf.h:
  36961. +
  36962. +/usr/include/bits/huge_vall.h:
  36963. +
  36964. +/usr/include/bits/inf.h:
  36965. +
  36966. +/usr/include/bits/nan.h:
  36967. +
  36968. +/usr/include/bits/mathdef.h:
  36969. +
  36970. +/usr/include/bits/mathcalls.h:
  36971. +
  36972. +/usr/include/bits/mathinline.h:
  36973. +
  36974. +/usr/include/netdb.h:
  36975. +
  36976. +/usr/include/netinet/in.h:
  36977. +
  36978. +/usr/include/stdint.h:
  36979. +
  36980. +/usr/include/bits/wchar.h:
  36981. +
  36982. +/usr/include/bits/in.h:
  36983. +
  36984. +/usr/include/rpc/netdb.h:
  36985. +
  36986. +/usr/include/bits/siginfo.h:
  36987. +
  36988. +/usr/include/bits/netdb.h:
  36989. +
  36990. +/usr/include/string.h:
  36991. +
  36992. +/usr/include/bits/string.h:
  36993. +
  36994. +/usr/include/bits/string2.h:
  36995. +
  36996. +/usr/include/bits/string3.h:
  36997. +
  36998. +/usr/include/errno.h:
  36999. +
  37000. +/usr/include/bits/errno.h:
  37001. +
  37002. +/usr/include/linux/errno.h:
  37003. +
  37004. +/usr/include/asm/errno.h:
  37005. +
  37006. +/usr/include/asm-generic/errno.h:
  37007. +
  37008. +/usr/include/asm-generic/errno-base.h:
  37009. +
  37010. +/usr/include/fcntl.h:
  37011. +
  37012. +/usr/include/bits/fcntl.h:
  37013. +
  37014. +/usr/include/sys/stat.h:
  37015. +
  37016. +/usr/include/bits/stat.h:
  37017. +
  37018. +/usr/include/bits/fcntl2.h:
  37019. +
  37020. +gpsd_config.h:
  37021. +
  37022. +gpsd.h:
  37023. +
  37024. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  37025. +
  37026. +/usr/include/termios.h:
  37027. +
  37028. +/usr/include/bits/termios.h:
  37029. +
  37030. +/usr/include/sys/ttydefaults.h:
  37031. +
  37032. +/usr/include/sys/termios.h:
  37033. +
  37034. +gps.h:
  37035. +
  37036. +/usr/include/inttypes.h:
  37037. +
  37038. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  37039. +
  37040. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  37041. +
  37042. +/usr/include/limits.h:
  37043. +
  37044. +/usr/include/bits/posix1_lim.h:
  37045. +
  37046. +/usr/include/bits/local_lim.h:
  37047. +
  37048. +/usr/include/linux/limits.h:
  37049. +
  37050. +/usr/include/bits/posix2_lim.h:
  37051. +
  37052. +/usr/include/bits/xopen_lim.h:
  37053. +
  37054. +/usr/include/signal.h:
  37055. +
  37056. +/usr/include/bits/signum.h:
  37057. +
  37058. +/usr/include/bits/sigaction.h:
  37059. +
  37060. +/usr/include/bits/sigcontext.h:
  37061. +
  37062. +/usr/include/bits/sigstack.h:
  37063. +
  37064. +/usr/include/sys/ucontext.h:
  37065. +
  37066. +/usr/include/bits/sigthread.h:
  37067. +
  37068. +/usr/include/pthread.h:
  37069. +
  37070. +/usr/include/sched.h:
  37071. +
  37072. +/usr/include/bits/sched.h:
  37073. +
  37074. +/usr/include/bits/setjmp.h:
  37075. +
  37076. +bsd-base64.h:
  37077. diff -Nur gpsd-2.39.orig/.deps/packet.Plo gpsd-2.39/.deps/packet.Plo
  37078. --- gpsd-2.39.orig/.deps/packet.Plo 1970-01-01 01:00:00.000000000 +0100
  37079. +++ gpsd-2.39/.deps/packet.Plo 2010-02-18 21:44:39.028852721 +0100
  37080. @@ -0,0 +1,239 @@
  37081. +packet.lo: packet.c /usr/include/sys/types.h /usr/include/features.h \
  37082. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  37083. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  37084. + /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \
  37085. + /usr/include/bits/typesizes.h /usr/include/time.h \
  37086. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \
  37087. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  37088. + /usr/include/sys/select.h /usr/include/bits/select.h \
  37089. + /usr/include/bits/sigset.h /usr/include/bits/time.h \
  37090. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  37091. + /usr/include/ctype.h /usr/include/xlocale.h /usr/include/stdio.h \
  37092. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  37093. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  37094. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  37095. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  37096. + /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  37097. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  37098. + /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/string.h \
  37099. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  37100. + /usr/include/stdlib.h /usr/include/bits/string3.h /usr/include/errno.h \
  37101. + /usr/include/bits/errno.h /usr/include/linux/errno.h \
  37102. + /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \
  37103. + /usr/include/asm-generic/errno-base.h /usr/include/netinet/in.h \
  37104. + /usr/include/stdint.h /usr/include/bits/wchar.h \
  37105. + /usr/include/sys/socket.h /usr/include/sys/uio.h /usr/include/bits/uio.h \
  37106. + /usr/include/bits/socket.h /usr/include/bits/sockaddr.h \
  37107. + /usr/include/asm/socket.h /usr/include/asm-generic/socket.h \
  37108. + /usr/include/asm/sockios.h /usr/include/asm-generic/sockios.h \
  37109. + /usr/include/bits/socket2.h /usr/include/bits/in.h \
  37110. + /usr/include/arpa/inet.h gpsd_config.h bits.h gpsd.h \
  37111. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  37112. + /usr/include/termios.h /usr/include/bits/termios.h \
  37113. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  37114. + /usr/include/sys/time.h /usr/include/inttypes.h \
  37115. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  37116. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  37117. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  37118. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  37119. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  37120. + /usr/include/signal.h /usr/include/bits/signum.h \
  37121. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  37122. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  37123. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  37124. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  37125. + /usr/include/bits/setjmp.h crc24q.h packet_states.h packet_names.h
  37126. +
  37127. +/usr/include/sys/types.h:
  37128. +
  37129. +/usr/include/features.h:
  37130. +
  37131. +/usr/include/bits/predefs.h:
  37132. +
  37133. +/usr/include/sys/cdefs.h:
  37134. +
  37135. +/usr/include/bits/wordsize.h:
  37136. +
  37137. +/usr/include/gnu/stubs.h:
  37138. +
  37139. +/usr/include/gnu/stubs-32.h:
  37140. +
  37141. +/usr/include/bits/types.h:
  37142. +
  37143. +/usr/include/bits/typesizes.h:
  37144. +
  37145. +/usr/include/time.h:
  37146. +
  37147. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  37148. +
  37149. +/usr/include/endian.h:
  37150. +
  37151. +/usr/include/bits/endian.h:
  37152. +
  37153. +/usr/include/bits/byteswap.h:
  37154. +
  37155. +/usr/include/sys/select.h:
  37156. +
  37157. +/usr/include/bits/select.h:
  37158. +
  37159. +/usr/include/bits/sigset.h:
  37160. +
  37161. +/usr/include/bits/time.h:
  37162. +
  37163. +/usr/include/sys/sysmacros.h:
  37164. +
  37165. +/usr/include/bits/pthreadtypes.h:
  37166. +
  37167. +/usr/include/ctype.h:
  37168. +
  37169. +/usr/include/xlocale.h:
  37170. +
  37171. +/usr/include/stdio.h:
  37172. +
  37173. +/usr/include/libio.h:
  37174. +
  37175. +/usr/include/_G_config.h:
  37176. +
  37177. +/usr/include/wchar.h:
  37178. +
  37179. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  37180. +
  37181. +/usr/include/bits/stdio_lim.h:
  37182. +
  37183. +/usr/include/bits/sys_errlist.h:
  37184. +
  37185. +/usr/include/bits/stdio.h:
  37186. +
  37187. +/usr/include/bits/stdio2.h:
  37188. +
  37189. +/usr/include/unistd.h:
  37190. +
  37191. +/usr/include/bits/posix_opt.h:
  37192. +
  37193. +/usr/include/bits/environments.h:
  37194. +
  37195. +/usr/include/bits/confname.h:
  37196. +
  37197. +/usr/include/getopt.h:
  37198. +
  37199. +/usr/include/bits/unistd.h:
  37200. +
  37201. +/usr/include/string.h:
  37202. +
  37203. +/usr/include/bits/string.h:
  37204. +
  37205. +/usr/include/bits/string2.h:
  37206. +
  37207. +/usr/include/stdlib.h:
  37208. +
  37209. +/usr/include/bits/string3.h:
  37210. +
  37211. +/usr/include/errno.h:
  37212. +
  37213. +/usr/include/bits/errno.h:
  37214. +
  37215. +/usr/include/linux/errno.h:
  37216. +
  37217. +/usr/include/asm/errno.h:
  37218. +
  37219. +/usr/include/asm-generic/errno.h:
  37220. +
  37221. +/usr/include/asm-generic/errno-base.h:
  37222. +
  37223. +/usr/include/netinet/in.h:
  37224. +
  37225. +/usr/include/stdint.h:
  37226. +
  37227. +/usr/include/bits/wchar.h:
  37228. +
  37229. +/usr/include/sys/socket.h:
  37230. +
  37231. +/usr/include/sys/uio.h:
  37232. +
  37233. +/usr/include/bits/uio.h:
  37234. +
  37235. +/usr/include/bits/socket.h:
  37236. +
  37237. +/usr/include/bits/sockaddr.h:
  37238. +
  37239. +/usr/include/asm/socket.h:
  37240. +
  37241. +/usr/include/asm-generic/socket.h:
  37242. +
  37243. +/usr/include/asm/sockios.h:
  37244. +
  37245. +/usr/include/asm-generic/sockios.h:
  37246. +
  37247. +/usr/include/bits/socket2.h:
  37248. +
  37249. +/usr/include/bits/in.h:
  37250. +
  37251. +/usr/include/arpa/inet.h:
  37252. +
  37253. +gpsd_config.h:
  37254. +
  37255. +bits.h:
  37256. +
  37257. +gpsd.h:
  37258. +
  37259. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  37260. +
  37261. +/usr/include/termios.h:
  37262. +
  37263. +/usr/include/bits/termios.h:
  37264. +
  37265. +/usr/include/sys/ttydefaults.h:
  37266. +
  37267. +/usr/include/sys/termios.h:
  37268. +
  37269. +gps.h:
  37270. +
  37271. +/usr/include/sys/time.h:
  37272. +
  37273. +/usr/include/inttypes.h:
  37274. +
  37275. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  37276. +
  37277. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  37278. +
  37279. +/usr/include/limits.h:
  37280. +
  37281. +/usr/include/bits/posix1_lim.h:
  37282. +
  37283. +/usr/include/bits/local_lim.h:
  37284. +
  37285. +/usr/include/linux/limits.h:
  37286. +
  37287. +/usr/include/bits/posix2_lim.h:
  37288. +
  37289. +/usr/include/bits/xopen_lim.h:
  37290. +
  37291. +/usr/include/signal.h:
  37292. +
  37293. +/usr/include/bits/signum.h:
  37294. +
  37295. +/usr/include/bits/siginfo.h:
  37296. +
  37297. +/usr/include/bits/sigaction.h:
  37298. +
  37299. +/usr/include/bits/sigcontext.h:
  37300. +
  37301. +/usr/include/bits/sigstack.h:
  37302. +
  37303. +/usr/include/sys/ucontext.h:
  37304. +
  37305. +/usr/include/bits/sigthread.h:
  37306. +
  37307. +/usr/include/pthread.h:
  37308. +
  37309. +/usr/include/sched.h:
  37310. +
  37311. +/usr/include/bits/sched.h:
  37312. +
  37313. +/usr/include/bits/setjmp.h:
  37314. +
  37315. +crc24q.h:
  37316. +
  37317. +packet_states.h:
  37318. +
  37319. +packet_names.h:
  37320. diff -Nur gpsd-2.39.orig/.deps/serial.Plo gpsd-2.39/.deps/serial.Plo
  37321. --- gpsd-2.39.orig/.deps/serial.Plo 1970-01-01 01:00:00.000000000 +0100
  37322. +++ gpsd-2.39/.deps/serial.Plo 2010-02-18 21:44:39.816853637 +0100
  37323. @@ -0,0 +1,213 @@
  37324. +serial.lo: serial.c /usr/include/sys/types.h /usr/include/features.h \
  37325. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  37326. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  37327. + /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \
  37328. + /usr/include/bits/typesizes.h /usr/include/time.h \
  37329. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \
  37330. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  37331. + /usr/include/sys/select.h /usr/include/bits/select.h \
  37332. + /usr/include/bits/sigset.h /usr/include/bits/time.h \
  37333. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  37334. + /usr/include/sys/stat.h /usr/include/bits/stat.h /usr/include/unistd.h \
  37335. + /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \
  37336. + /usr/include/bits/confname.h /usr/include/getopt.h \
  37337. + /usr/include/bits/unistd.h /usr/include/string.h /usr/include/xlocale.h \
  37338. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  37339. + /usr/include/stdlib.h /usr/include/bits/string3.h /usr/include/fcntl.h \
  37340. + /usr/include/bits/fcntl.h /usr/include/bits/uio.h \
  37341. + /usr/include/bits/fcntl2.h /usr/include/errno.h \
  37342. + /usr/include/bits/errno.h /usr/include/linux/errno.h \
  37343. + /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \
  37344. + /usr/include/asm-generic/errno-base.h /usr/include/ctype.h gpsd_config.h \
  37345. + gpsd.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  37346. + /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
  37347. + /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  37348. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  37349. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  37350. + /usr/include/termios.h /usr/include/bits/termios.h \
  37351. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  37352. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  37353. + /usr/include/bits/wchar.h \
  37354. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  37355. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  37356. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  37357. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  37358. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  37359. + /usr/include/signal.h /usr/include/bits/signum.h \
  37360. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  37361. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  37362. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  37363. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  37364. + /usr/include/bits/setjmp.h
  37365. +
  37366. +/usr/include/sys/types.h:
  37367. +
  37368. +/usr/include/features.h:
  37369. +
  37370. +/usr/include/bits/predefs.h:
  37371. +
  37372. +/usr/include/sys/cdefs.h:
  37373. +
  37374. +/usr/include/bits/wordsize.h:
  37375. +
  37376. +/usr/include/gnu/stubs.h:
  37377. +
  37378. +/usr/include/gnu/stubs-32.h:
  37379. +
  37380. +/usr/include/bits/types.h:
  37381. +
  37382. +/usr/include/bits/typesizes.h:
  37383. +
  37384. +/usr/include/time.h:
  37385. +
  37386. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  37387. +
  37388. +/usr/include/endian.h:
  37389. +
  37390. +/usr/include/bits/endian.h:
  37391. +
  37392. +/usr/include/bits/byteswap.h:
  37393. +
  37394. +/usr/include/sys/select.h:
  37395. +
  37396. +/usr/include/bits/select.h:
  37397. +
  37398. +/usr/include/bits/sigset.h:
  37399. +
  37400. +/usr/include/bits/time.h:
  37401. +
  37402. +/usr/include/sys/sysmacros.h:
  37403. +
  37404. +/usr/include/bits/pthreadtypes.h:
  37405. +
  37406. +/usr/include/sys/stat.h:
  37407. +
  37408. +/usr/include/bits/stat.h:
  37409. +
  37410. +/usr/include/unistd.h:
  37411. +
  37412. +/usr/include/bits/posix_opt.h:
  37413. +
  37414. +/usr/include/bits/environments.h:
  37415. +
  37416. +/usr/include/bits/confname.h:
  37417. +
  37418. +/usr/include/getopt.h:
  37419. +
  37420. +/usr/include/bits/unistd.h:
  37421. +
  37422. +/usr/include/string.h:
  37423. +
  37424. +/usr/include/xlocale.h:
  37425. +
  37426. +/usr/include/bits/string.h:
  37427. +
  37428. +/usr/include/bits/string2.h:
  37429. +
  37430. +/usr/include/stdlib.h:
  37431. +
  37432. +/usr/include/bits/string3.h:
  37433. +
  37434. +/usr/include/fcntl.h:
  37435. +
  37436. +/usr/include/bits/fcntl.h:
  37437. +
  37438. +/usr/include/bits/uio.h:
  37439. +
  37440. +/usr/include/bits/fcntl2.h:
  37441. +
  37442. +/usr/include/errno.h:
  37443. +
  37444. +/usr/include/bits/errno.h:
  37445. +
  37446. +/usr/include/linux/errno.h:
  37447. +
  37448. +/usr/include/asm/errno.h:
  37449. +
  37450. +/usr/include/asm-generic/errno.h:
  37451. +
  37452. +/usr/include/asm-generic/errno-base.h:
  37453. +
  37454. +/usr/include/ctype.h:
  37455. +
  37456. +gpsd_config.h:
  37457. +
  37458. +gpsd.h:
  37459. +
  37460. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  37461. +
  37462. +/usr/include/stdio.h:
  37463. +
  37464. +/usr/include/libio.h:
  37465. +
  37466. +/usr/include/_G_config.h:
  37467. +
  37468. +/usr/include/wchar.h:
  37469. +
  37470. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  37471. +
  37472. +/usr/include/bits/stdio_lim.h:
  37473. +
  37474. +/usr/include/bits/sys_errlist.h:
  37475. +
  37476. +/usr/include/bits/stdio.h:
  37477. +
  37478. +/usr/include/bits/stdio2.h:
  37479. +
  37480. +/usr/include/termios.h:
  37481. +
  37482. +/usr/include/bits/termios.h:
  37483. +
  37484. +/usr/include/sys/ttydefaults.h:
  37485. +
  37486. +/usr/include/sys/termios.h:
  37487. +
  37488. +gps.h:
  37489. +
  37490. +/usr/include/sys/time.h:
  37491. +
  37492. +/usr/include/inttypes.h:
  37493. +
  37494. +/usr/include/stdint.h:
  37495. +
  37496. +/usr/include/bits/wchar.h:
  37497. +
  37498. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  37499. +
  37500. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  37501. +
  37502. +/usr/include/limits.h:
  37503. +
  37504. +/usr/include/bits/posix1_lim.h:
  37505. +
  37506. +/usr/include/bits/local_lim.h:
  37507. +
  37508. +/usr/include/linux/limits.h:
  37509. +
  37510. +/usr/include/bits/posix2_lim.h:
  37511. +
  37512. +/usr/include/bits/xopen_lim.h:
  37513. +
  37514. +/usr/include/signal.h:
  37515. +
  37516. +/usr/include/bits/signum.h:
  37517. +
  37518. +/usr/include/bits/siginfo.h:
  37519. +
  37520. +/usr/include/bits/sigaction.h:
  37521. +
  37522. +/usr/include/bits/sigcontext.h:
  37523. +
  37524. +/usr/include/bits/sigstack.h:
  37525. +
  37526. +/usr/include/sys/ucontext.h:
  37527. +
  37528. +/usr/include/bits/sigthread.h:
  37529. +
  37530. +/usr/include/pthread.h:
  37531. +
  37532. +/usr/include/sched.h:
  37533. +
  37534. +/usr/include/bits/sched.h:
  37535. +
  37536. +/usr/include/bits/setjmp.h:
  37537. diff -Nur gpsd-2.39.orig/.deps/sirfflash.Po gpsd-2.39/.deps/sirfflash.Po
  37538. --- gpsd-2.39.orig/.deps/sirfflash.Po 1970-01-01 01:00:00.000000000 +0100
  37539. +++ gpsd-2.39/.deps/sirfflash.Po 2010-02-18 21:44:19.284857381 +0100
  37540. @@ -0,0 +1 @@
  37541. +# dummy
  37542. diff -Nur gpsd-2.39.orig/.deps/srecord.Plo gpsd-2.39/.deps/srecord.Plo
  37543. --- gpsd-2.39.orig/.deps/srecord.Plo 1970-01-01 01:00:00.000000000 +0100
  37544. +++ gpsd-2.39/.deps/srecord.Plo 2010-02-18 21:44:40.332855398 +0100
  37545. @@ -0,0 +1,167 @@
  37546. +srecord.lo: srecord.c /usr/include/sys/types.h /usr/include/features.h \
  37547. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  37548. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  37549. + /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \
  37550. + /usr/include/bits/typesizes.h /usr/include/time.h \
  37551. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \
  37552. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  37553. + /usr/include/sys/select.h /usr/include/bits/select.h \
  37554. + /usr/include/bits/sigset.h /usr/include/bits/time.h \
  37555. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  37556. + /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
  37557. + /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  37558. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  37559. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  37560. + /usr/include/string.h /usr/include/xlocale.h /usr/include/bits/string.h \
  37561. + /usr/include/bits/string2.h /usr/include/stdlib.h \
  37562. + /usr/include/bits/string3.h gpsd_config.h gpsd.h \
  37563. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  37564. + /usr/include/termios.h /usr/include/bits/termios.h \
  37565. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  37566. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  37567. + /usr/include/bits/wchar.h \
  37568. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  37569. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  37570. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  37571. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  37572. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  37573. + /usr/include/signal.h /usr/include/bits/signum.h \
  37574. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  37575. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  37576. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  37577. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  37578. + /usr/include/bits/setjmp.h
  37579. +
  37580. +/usr/include/sys/types.h:
  37581. +
  37582. +/usr/include/features.h:
  37583. +
  37584. +/usr/include/bits/predefs.h:
  37585. +
  37586. +/usr/include/sys/cdefs.h:
  37587. +
  37588. +/usr/include/bits/wordsize.h:
  37589. +
  37590. +/usr/include/gnu/stubs.h:
  37591. +
  37592. +/usr/include/gnu/stubs-32.h:
  37593. +
  37594. +/usr/include/bits/types.h:
  37595. +
  37596. +/usr/include/bits/typesizes.h:
  37597. +
  37598. +/usr/include/time.h:
  37599. +
  37600. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  37601. +
  37602. +/usr/include/endian.h:
  37603. +
  37604. +/usr/include/bits/endian.h:
  37605. +
  37606. +/usr/include/bits/byteswap.h:
  37607. +
  37608. +/usr/include/sys/select.h:
  37609. +
  37610. +/usr/include/bits/select.h:
  37611. +
  37612. +/usr/include/bits/sigset.h:
  37613. +
  37614. +/usr/include/bits/time.h:
  37615. +
  37616. +/usr/include/sys/sysmacros.h:
  37617. +
  37618. +/usr/include/bits/pthreadtypes.h:
  37619. +
  37620. +/usr/include/stdio.h:
  37621. +
  37622. +/usr/include/libio.h:
  37623. +
  37624. +/usr/include/_G_config.h:
  37625. +
  37626. +/usr/include/wchar.h:
  37627. +
  37628. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  37629. +
  37630. +/usr/include/bits/stdio_lim.h:
  37631. +
  37632. +/usr/include/bits/sys_errlist.h:
  37633. +
  37634. +/usr/include/bits/stdio.h:
  37635. +
  37636. +/usr/include/bits/stdio2.h:
  37637. +
  37638. +/usr/include/string.h:
  37639. +
  37640. +/usr/include/xlocale.h:
  37641. +
  37642. +/usr/include/bits/string.h:
  37643. +
  37644. +/usr/include/bits/string2.h:
  37645. +
  37646. +/usr/include/stdlib.h:
  37647. +
  37648. +/usr/include/bits/string3.h:
  37649. +
  37650. +gpsd_config.h:
  37651. +
  37652. +gpsd.h:
  37653. +
  37654. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  37655. +
  37656. +/usr/include/termios.h:
  37657. +
  37658. +/usr/include/bits/termios.h:
  37659. +
  37660. +/usr/include/sys/ttydefaults.h:
  37661. +
  37662. +/usr/include/sys/termios.h:
  37663. +
  37664. +gps.h:
  37665. +
  37666. +/usr/include/sys/time.h:
  37667. +
  37668. +/usr/include/inttypes.h:
  37669. +
  37670. +/usr/include/stdint.h:
  37671. +
  37672. +/usr/include/bits/wchar.h:
  37673. +
  37674. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  37675. +
  37676. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  37677. +
  37678. +/usr/include/limits.h:
  37679. +
  37680. +/usr/include/bits/posix1_lim.h:
  37681. +
  37682. +/usr/include/bits/local_lim.h:
  37683. +
  37684. +/usr/include/linux/limits.h:
  37685. +
  37686. +/usr/include/bits/posix2_lim.h:
  37687. +
  37688. +/usr/include/bits/xopen_lim.h:
  37689. +
  37690. +/usr/include/signal.h:
  37691. +
  37692. +/usr/include/bits/signum.h:
  37693. +
  37694. +/usr/include/bits/siginfo.h:
  37695. +
  37696. +/usr/include/bits/sigaction.h:
  37697. +
  37698. +/usr/include/bits/sigcontext.h:
  37699. +
  37700. +/usr/include/bits/sigstack.h:
  37701. +
  37702. +/usr/include/sys/ucontext.h:
  37703. +
  37704. +/usr/include/bits/sigthread.h:
  37705. +
  37706. +/usr/include/pthread.h:
  37707. +
  37708. +/usr/include/sched.h:
  37709. +
  37710. +/usr/include/bits/sched.h:
  37711. +
  37712. +/usr/include/bits/setjmp.h:
  37713. diff -Nur gpsd-2.39.orig/.deps/strl.Plo gpsd-2.39/.deps/strl.Plo
  37714. --- gpsd-2.39.orig/.deps/strl.Plo 1970-01-01 01:00:00.000000000 +0100
  37715. +++ gpsd-2.39/.deps/strl.Plo 2010-02-18 21:44:40.720855941 +0100
  37716. @@ -0,0 +1,115 @@
  37717. +strl.lo: strl.c /usr/include/stdio.h /usr/include/features.h \
  37718. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  37719. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  37720. + /usr/include/gnu/stubs-32.h \
  37721. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h \
  37722. + /usr/include/bits/types.h /usr/include/bits/typesizes.h \
  37723. + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
  37724. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  37725. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  37726. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  37727. + /usr/include/unistd.h /usr/include/bits/posix_opt.h \
  37728. + /usr/include/bits/environments.h /usr/include/bits/confname.h \
  37729. + /usr/include/getopt.h /usr/include/bits/unistd.h /usr/include/stdlib.h \
  37730. + /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
  37731. + /usr/include/endian.h /usr/include/bits/endian.h \
  37732. + /usr/include/bits/byteswap.h /usr/include/xlocale.h \
  37733. + /usr/include/sys/types.h /usr/include/time.h /usr/include/sys/select.h \
  37734. + /usr/include/bits/select.h /usr/include/bits/sigset.h \
  37735. + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
  37736. + /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \
  37737. + /usr/include/bits/stdlib.h /usr/include/string.h \
  37738. + /usr/include/bits/string.h /usr/include/bits/string2.h \
  37739. + /usr/include/bits/string3.h gpsd_config.h
  37740. +
  37741. +/usr/include/stdio.h:
  37742. +
  37743. +/usr/include/features.h:
  37744. +
  37745. +/usr/include/bits/predefs.h:
  37746. +
  37747. +/usr/include/sys/cdefs.h:
  37748. +
  37749. +/usr/include/bits/wordsize.h:
  37750. +
  37751. +/usr/include/gnu/stubs.h:
  37752. +
  37753. +/usr/include/gnu/stubs-32.h:
  37754. +
  37755. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  37756. +
  37757. +/usr/include/bits/types.h:
  37758. +
  37759. +/usr/include/bits/typesizes.h:
  37760. +
  37761. +/usr/include/libio.h:
  37762. +
  37763. +/usr/include/_G_config.h:
  37764. +
  37765. +/usr/include/wchar.h:
  37766. +
  37767. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  37768. +
  37769. +/usr/include/bits/stdio_lim.h:
  37770. +
  37771. +/usr/include/bits/sys_errlist.h:
  37772. +
  37773. +/usr/include/bits/stdio.h:
  37774. +
  37775. +/usr/include/bits/stdio2.h:
  37776. +
  37777. +/usr/include/unistd.h:
  37778. +
  37779. +/usr/include/bits/posix_opt.h:
  37780. +
  37781. +/usr/include/bits/environments.h:
  37782. +
  37783. +/usr/include/bits/confname.h:
  37784. +
  37785. +/usr/include/getopt.h:
  37786. +
  37787. +/usr/include/bits/unistd.h:
  37788. +
  37789. +/usr/include/stdlib.h:
  37790. +
  37791. +/usr/include/bits/waitflags.h:
  37792. +
  37793. +/usr/include/bits/waitstatus.h:
  37794. +
  37795. +/usr/include/endian.h:
  37796. +
  37797. +/usr/include/bits/endian.h:
  37798. +
  37799. +/usr/include/bits/byteswap.h:
  37800. +
  37801. +/usr/include/xlocale.h:
  37802. +
  37803. +/usr/include/sys/types.h:
  37804. +
  37805. +/usr/include/time.h:
  37806. +
  37807. +/usr/include/sys/select.h:
  37808. +
  37809. +/usr/include/bits/select.h:
  37810. +
  37811. +/usr/include/bits/sigset.h:
  37812. +
  37813. +/usr/include/bits/time.h:
  37814. +
  37815. +/usr/include/sys/sysmacros.h:
  37816. +
  37817. +/usr/include/bits/pthreadtypes.h:
  37818. +
  37819. +/usr/include/alloca.h:
  37820. +
  37821. +/usr/include/bits/stdlib.h:
  37822. +
  37823. +/usr/include/string.h:
  37824. +
  37825. +/usr/include/bits/string.h:
  37826. +
  37827. +/usr/include/bits/string2.h:
  37828. +
  37829. +/usr/include/bits/string3.h:
  37830. +
  37831. +gpsd_config.h:
  37832. diff -Nur gpsd-2.39.orig/.deps/subframe.Plo gpsd-2.39/.deps/subframe.Plo
  37833. --- gpsd-2.39.orig/.deps/subframe.Plo 1970-01-01 01:00:00.000000000 +0100
  37834. +++ gpsd-2.39/.deps/subframe.Plo 2010-02-18 21:44:41.112853084 +0100
  37835. @@ -0,0 +1,154 @@
  37836. +subframe.lo: subframe.c /usr/include/sys/types.h /usr/include/features.h \
  37837. + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \
  37838. + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
  37839. + /usr/include/gnu/stubs-32.h /usr/include/bits/types.h \
  37840. + /usr/include/bits/typesizes.h /usr/include/time.h \
  37841. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h /usr/include/endian.h \
  37842. + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \
  37843. + /usr/include/sys/select.h /usr/include/bits/select.h \
  37844. + /usr/include/bits/sigset.h /usr/include/bits/time.h \
  37845. + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \
  37846. + gpsd_config.h gpsd.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h \
  37847. + /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \
  37848. + /usr/include/wchar.h /usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h \
  37849. + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
  37850. + /usr/include/bits/stdio.h /usr/include/bits/stdio2.h \
  37851. + /usr/include/termios.h /usr/include/bits/termios.h \
  37852. + /usr/include/sys/ttydefaults.h /usr/include/sys/termios.h gps.h \
  37853. + /usr/include/sys/time.h /usr/include/inttypes.h /usr/include/stdint.h \
  37854. + /usr/include/bits/wchar.h \
  37855. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h \
  37856. + /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h \
  37857. + /usr/include/limits.h /usr/include/bits/posix1_lim.h \
  37858. + /usr/include/bits/local_lim.h /usr/include/linux/limits.h \
  37859. + /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \
  37860. + /usr/include/xlocale.h /usr/include/signal.h /usr/include/bits/signum.h \
  37861. + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \
  37862. + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \
  37863. + /usr/include/sys/ucontext.h /usr/include/bits/sigthread.h \
  37864. + /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \
  37865. + /usr/include/bits/setjmp.h
  37866. +
  37867. +/usr/include/sys/types.h:
  37868. +
  37869. +/usr/include/features.h:
  37870. +
  37871. +/usr/include/bits/predefs.h:
  37872. +
  37873. +/usr/include/sys/cdefs.h:
  37874. +
  37875. +/usr/include/bits/wordsize.h:
  37876. +
  37877. +/usr/include/gnu/stubs.h:
  37878. +
  37879. +/usr/include/gnu/stubs-32.h:
  37880. +
  37881. +/usr/include/bits/types.h:
  37882. +
  37883. +/usr/include/bits/typesizes.h:
  37884. +
  37885. +/usr/include/time.h:
  37886. +
  37887. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stddef.h:
  37888. +
  37889. +/usr/include/endian.h:
  37890. +
  37891. +/usr/include/bits/endian.h:
  37892. +
  37893. +/usr/include/bits/byteswap.h:
  37894. +
  37895. +/usr/include/sys/select.h:
  37896. +
  37897. +/usr/include/bits/select.h:
  37898. +
  37899. +/usr/include/bits/sigset.h:
  37900. +
  37901. +/usr/include/bits/time.h:
  37902. +
  37903. +/usr/include/sys/sysmacros.h:
  37904. +
  37905. +/usr/include/bits/pthreadtypes.h:
  37906. +
  37907. +gpsd_config.h:
  37908. +
  37909. +gpsd.h:
  37910. +
  37911. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdbool.h:
  37912. +
  37913. +/usr/include/stdio.h:
  37914. +
  37915. +/usr/include/libio.h:
  37916. +
  37917. +/usr/include/_G_config.h:
  37918. +
  37919. +/usr/include/wchar.h:
  37920. +
  37921. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include/stdarg.h:
  37922. +
  37923. +/usr/include/bits/stdio_lim.h:
  37924. +
  37925. +/usr/include/bits/sys_errlist.h:
  37926. +
  37927. +/usr/include/bits/stdio.h:
  37928. +
  37929. +/usr/include/bits/stdio2.h:
  37930. +
  37931. +/usr/include/termios.h:
  37932. +
  37933. +/usr/include/bits/termios.h:
  37934. +
  37935. +/usr/include/sys/ttydefaults.h:
  37936. +
  37937. +/usr/include/sys/termios.h:
  37938. +
  37939. +gps.h:
  37940. +
  37941. +/usr/include/sys/time.h:
  37942. +
  37943. +/usr/include/inttypes.h:
  37944. +
  37945. +/usr/include/stdint.h:
  37946. +
  37947. +/usr/include/bits/wchar.h:
  37948. +
  37949. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/limits.h:
  37950. +
  37951. +/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed/syslimits.h:
  37952. +
  37953. +/usr/include/limits.h:
  37954. +
  37955. +/usr/include/bits/posix1_lim.h:
  37956. +
  37957. +/usr/include/bits/local_lim.h:
  37958. +
  37959. +/usr/include/linux/limits.h:
  37960. +
  37961. +/usr/include/bits/posix2_lim.h:
  37962. +
  37963. +/usr/include/bits/xopen_lim.h:
  37964. +
  37965. +/usr/include/xlocale.h:
  37966. +
  37967. +/usr/include/signal.h:
  37968. +
  37969. +/usr/include/bits/signum.h:
  37970. +
  37971. +/usr/include/bits/siginfo.h:
  37972. +
  37973. +/usr/include/bits/sigaction.h:
  37974. +
  37975. +/usr/include/bits/sigcontext.h:
  37976. +
  37977. +/usr/include/bits/sigstack.h:
  37978. +
  37979. +/usr/include/sys/ucontext.h:
  37980. +
  37981. +/usr/include/bits/sigthread.h:
  37982. +
  37983. +/usr/include/pthread.h:
  37984. +
  37985. +/usr/include/sched.h:
  37986. +
  37987. +/usr/include/bits/sched.h:
  37988. +
  37989. +/usr/include/bits/setjmp.h:
  37990. diff -Nur gpsd-2.39.orig/.deps/Tachometer.Po gpsd-2.39/.deps/Tachometer.Po
  37991. --- gpsd-2.39.orig/.deps/Tachometer.Po 1970-01-01 01:00:00.000000000 +0100
  37992. +++ gpsd-2.39/.deps/Tachometer.Po 2010-02-18 21:44:19.124856567 +0100
  37993. @@ -0,0 +1 @@
  37994. +# dummy
  37995. diff -Nur gpsd-2.39.orig/.deps/test_bits.Po gpsd-2.39/.deps/test_bits.Po
  37996. --- gpsd-2.39.orig/.deps/test_bits.Po 1970-01-01 01:00:00.000000000 +0100
  37997. +++ gpsd-2.39/.deps/test_bits.Po 2010-02-18 21:44:19.296855835 +0100
  37998. @@ -0,0 +1 @@
  37999. +# dummy
  38000. diff -Nur gpsd-2.39.orig/.deps/test_geoid.Po gpsd-2.39/.deps/test_geoid.Po
  38001. --- gpsd-2.39.orig/.deps/test_geoid.Po 1970-01-01 01:00:00.000000000 +0100
  38002. +++ gpsd-2.39/.deps/test_geoid.Po 2010-02-18 21:44:19.300857462 +0100
  38003. @@ -0,0 +1 @@
  38004. +# dummy
  38005. diff -Nur gpsd-2.39.orig/.deps/test_gpsmm.Po gpsd-2.39/.deps/test_gpsmm.Po
  38006. --- gpsd-2.39.orig/.deps/test_gpsmm.Po 1970-01-01 01:00:00.000000000 +0100
  38007. +++ gpsd-2.39/.deps/test_gpsmm.Po 2010-02-18 21:44:19.304857413 +0100
  38008. @@ -0,0 +1 @@
  38009. +# dummy
  38010. diff -Nur gpsd-2.39.orig/.deps/test_mkgmtime.Po gpsd-2.39/.deps/test_mkgmtime.Po
  38011. --- gpsd-2.39.orig/.deps/test_mkgmtime.Po 1970-01-01 01:00:00.000000000 +0100
  38012. +++ gpsd-2.39/.deps/test_mkgmtime.Po 2010-02-18 21:44:19.308856806 +0100
  38013. @@ -0,0 +1 @@
  38014. +# dummy
  38015. diff -Nur gpsd-2.39.orig/.deps/test_packet.Po gpsd-2.39/.deps/test_packet.Po
  38016. --- gpsd-2.39.orig/.deps/test_packet.Po 1970-01-01 01:00:00.000000000 +0100
  38017. +++ gpsd-2.39/.deps/test_packet.Po 2010-02-18 21:44:19.308856806 +0100
  38018. @@ -0,0 +1 @@
  38019. +# dummy
  38020. diff -Nur gpsd-2.39.orig/.deps/xgps.Po gpsd-2.39/.deps/xgps.Po
  38021. --- gpsd-2.39.orig/.deps/xgps.Po 1970-01-01 01:00:00.000000000 +0100
  38022. +++ gpsd-2.39/.deps/xgps.Po 2010-02-18 21:44:19.312857595 +0100
  38023. @@ -0,0 +1 @@
  38024. +# dummy
  38025. diff -Nur gpsd-2.39.orig/.deps/xgpsspeed.Po gpsd-2.39/.deps/xgpsspeed.Po
  38026. --- gpsd-2.39.orig/.deps/xgpsspeed.Po 1970-01-01 01:00:00.000000000 +0100
  38027. +++ gpsd-2.39/.deps/xgpsspeed.Po 2010-02-18 21:44:19.316856988 +0100
  38028. @@ -0,0 +1 @@
  38029. +# dummy
  38030. diff -Nur gpsd-2.39.orig/gps.1 gpsd-2.39/gps.1
  38031. --- gpsd-2.39.orig/gps.1 2009-03-18 17:50:54.000000000 +0100
  38032. +++ gpsd-2.39/gps.1 1970-01-01 01:00:00.000000000 +0100
  38033. @@ -1,186 +0,0 @@
  38034. -.\" Title: gps
  38035. -.\" Author:
  38036. -.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
  38037. -.\" Date: 03/18/2009
  38038. -.\" Manual: 9 Aug 2004
  38039. -.\" Source: 9 Aug 2004
  38040. -.\"
  38041. -.TH "GPS" "1" "03/18/2009" "9 Aug 2004" "9 Aug 2004"
  38042. -.\" disable hyphenation
  38043. -.nh
  38044. -.\" disable justification (adjust text to left margin only)
  38045. -.ad l
  38046. -.SH "NAME"
  38047. -gps, xgps, xgpsspeed, cgps, lcdgps, cgpxlogger \- test clients for gpsd
  38048. -.SH "SYNOPSIS"
  38049. -.HP 5
  38050. -\fBxgps\fR [\fIX\-options\fR] [\-h] [\-V] [\-j] [\-speedunits\ {[mph]\ |\ [kph]\ |\ [knots]}] [\-altunits\ {[feet]\ |\ [meters]}] [\-l\ [[d]\ |\ [m]\ |\ [s]]] [\fIserver\fR [\fI:port\fR [\fI:device\fR]]]
  38051. -.HP 10
  38052. -\fBxgpsspeed\fR [\-rv] [\fIX\-options\fR] [\-h] [\-V] [\-nc\ \fIX\-color\fR] [\-speedunits\ {[mph]\ |\ [kph]\ |\ [knots]}] [\fIserver\fR [\fI:port\fR [\fI:device\fR]]]
  38053. -.HP 5
  38054. -\fBcgps\fR [\-h] [\-V] [\-j] [\-speedunits\ {[mph]\ |\ [kph]\ |\ [knots]}] [\-altunits\ {[feet]\ |\ [meters]}] [\-l\ [[d]\ |\ [m]\ |\ [s]]] [\-m] [\-s] [\fIserver\fR [\fI:port\fR [\fI:device\fR]]]
  38055. -.HP 7
  38056. -\fBlcdgps\fR [\-h] [\-V] [\-j] [\-l\ [[d]\ |\ [m]\ |\ [s]]] [\-u\ [[i]\ |\ [n]\ |\ [m]]] [\fIserver\fR [\fI:port\fR [\fI:device\fR]]]
  38057. -.HP 10
  38058. -\fBgpxlogger\fR
  38059. -.HP 10
  38060. -\fBgpxlogger\fR [\-h] [\-V] [\-j] [\-i\ \fItrack\ timeout\fR] [\fIserver\fR [\fI:port\fR [\fI:device\fR]]]
  38061. -.SH "DESCRIPTION"
  38062. -.PP
  38063. -These are the demonstration clients shipped with
  38064. -gpsd\&. They have some common options:
  38065. -.PP
  38066. -The
  38067. -\fB\-h\fR
  38068. -option causes each client to emit a summary of its options and then exit\&.
  38069. -.PP
  38070. -The
  38071. -\fB\-V\fR
  38072. -option causes each client to dump the package version and exit\&.
  38073. -.PP
  38074. -The
  38075. -\fB\-j\fR
  38076. -option, where present, tells the daemon to hold fix data across cycles, eliminating jitter from NMEA devices that emit several partial reports\&. The downside is that with this switch on the client will occasionally report stale or invalid data held over from a previous cycle\&. This option is ineffective, and not needed, on SiRFs and most other non\-NMEA GPSes\&. See also the discussion of the J command in
  38077. -\fBgpsd\fR(8)\&.
  38078. -.PP
  38079. -The
  38080. -\fB\-l\fR
  38081. -option, when present, sets the format of latitude and longitude reports\&. The value \'d\' produces decimal degrees and is the default\&. The value \'m\' produces degrees and decimal minutes\&. The value \'s\' produces degrees, minutes, and decimal seconds\&.
  38082. -.PP
  38083. -An optional argument to any client may specify a server to get data from; a colon\-separated suffix is taken as a port number\&. If there is a second colon\-separated suffix, that is taken as a device name to be handed to the daemon in an F= command (or equivalent)\&.
  38084. -.PP
  38085. -Not all clients shipped with GPSD are documented here\&. See also the separate manual pages for
  38086. -\fBgpspipe\fR(1)
  38087. -and
  38088. -\fBgpsmon\fR(1)\&.
  38089. -.SS "xgps"
  38090. -.PP
  38091. -xgps
  38092. -is a simple test client for
  38093. -gpsd
  38094. -with an X interface\&. It displays current GPS position/time/velocity information and (for GPSes that support the feature) the locations of accessible satellites\&.
  38095. -.PP
  38096. -In the sky view, satellites are color\-coded to indicate quality of signal; consult the data display to the left for exact figures in dB\&. Diamond icons indicate WAAS/EGNOS satellites, circles indicate ordinary GPS satellites\&. Filled icons were used in the last fix, outline icons were not\&.
  38097. -.PP
  38098. -The
  38099. -\fB\-speedunits\fR
  38100. -option can be used to set the speed units for display; follow the keyword with knots for nautical miles per hour, kph for kilometres per hour, or mph for miles per hour\&. The default is miles per hour\&. This option can also be set as the X resource \'speedunits\'\&.
  38101. -.PP
  38102. -The
  38103. -\fB\-altunits\fR
  38104. -option can be used to set the altitude units for display; follow the keyword with \'meters\' or \'feet\'\&. The default is feet\&. This option can also be set as the X resource \'altunits\'\&.
  38105. -.PP
  38106. -There is a known bug in
  38107. -xgps; it assumes the default font size is no more than 18 pixels\&. If this is not the case, the satellite data display will show fewer than 12 satellites\&.
  38108. -.SS "xgpsspeed"
  38109. -.PP
  38110. -xgpsspeed
  38111. -is a speedometer that uses position information from the GPS\&. It accepts an \-h option and optional argument as for
  38112. -gps, or a \-V option to dump the package version and exit\&. Additionally, it accepts \-rv (reverse video) and \-nc (needle color) options\&.
  38113. -.PP
  38114. -The \-speedunits option can be used to set the speed units for display; follow the keyword with knots for nautical miles per hour, kph for kilometres per hour, or mph for miles per hour\&. The default is miles per hour\&. This option can also be set as the X resource \'speedunits\'\&.
  38115. -.SS "cgps"
  38116. -.PP
  38117. -cgps
  38118. -is a client resembling
  38119. -xgps, but without the pictorial satellite display and able to run on a serial terminal or terminal emulator\&.
  38120. -.PP
  38121. -The
  38122. -\fB\-s\fR
  38123. -option prevents
  38124. -cgps
  38125. -from displaying the raw data\&. This display can also be toggled with the s command\&.
  38126. -.PP
  38127. -The
  38128. -\fB\-m\fR
  38129. -option will display your magnetic heading (as opposed to your true heading)\&. This is a calculated value, not a measured value, and is subject to a potential error of up to two degrees in the areas for which the calculation is valid (currently Western Europe, Alaska, and Lower 48 in the USA)\&. The formulas used are those found in the Aviation Formulary v1\&.43\&.
  38130. -.PP
  38131. -Rather than use X resources to determine which units to use,
  38132. -cgps
  38133. -looks at variables in its environment\&. Here are the variables and values it checks:
  38134. -.sp
  38135. -.RS 4
  38136. -.nf
  38137. - GPSD_UNITS one of:
  38138. - imperial = miles/feet
  38139. - nautical = knots/feet
  38140. - metric = km/meters
  38141. - LC_MEASUREMENT
  38142. - en_US = miles/feet
  38143. - C = miles/feet
  38144. - POSIX = miles/feet
  38145. - [other] = km/meters
  38146. - LANG
  38147. - en_US = miles/feet
  38148. - C = miles/feet
  38149. - POSIX = miles/feet
  38150. - [other] = km/meters
  38151. -.fi
  38152. -.RE
  38153. -.PP
  38154. -cgps
  38155. -terminates when you send it a SIGHUP or SIGINT; given default terminal settings this will happen when you type Ctl\-C at it\&. It will also terminate on \'q\'
  38156. -.SS "lcdgps"
  38157. -.PP
  38158. -A client that passes
  38159. -gpsd
  38160. -data to
  38161. -lcdproc, turning your car computer into a very expensive and nearly feature\-free GPS receiver\&. Currently assumes a 4x40 LCD and writes data formatted to fit that size screen\&. Also displays 4\- or 6\-character Maidenhead grid square output\&.
  38162. -.PP
  38163. -Options are as for
  38164. -cgps, except: The
  38165. -\fB\-u\fR
  38166. -sets the display format the units used for altitude and speed\&. The options are:
  38167. -\(lqi\(rq
  38168. -for Imperial units (feet/miles\-per\-hour);
  38169. -\(lqn\(rq
  38170. -for nautical (feet/knots); \'m\' for metric (meters/kilometers\-per\-hour)\&.
  38171. -.SS "gpxlogger"
  38172. -.PP
  38173. -This program collects fixes from
  38174. -gpsd
  38175. -and logs them to standard output in GPX, an XML profile for track logging\&.
  38176. -.PP
  38177. -The output may be composed of multiple tracks\&. A new track is created if there\'s no fix for an interval specified by the
  38178. -\fB\-i\fR
  38179. -and defaulting to 5 seconds\&.
  38180. -.PP
  38181. -If D\-Bus support is available on the host and GPSD is configured to use it, this program listens to DBUS broadcasts from
  38182. -gpsd\&. (org\&.gpsd\&.fix)\&. Otherwise, it uses a conventional socket connection\&.
  38183. -.PP
  38184. -The
  38185. -\fB\-j\fR
  38186. -option is only meaningful in socket mode and when collecting fixes from an NMEA device\&. Presence of a server\-port\-device specification forces use of sockets even on a D\-Bus capable system, though this is unlikely to be of interest to anyone except GPSD developers\&.
  38187. -.SH "SEE ALSO"
  38188. -.PP
  38189. -
  38190. -\fBgpsd\fR(8),
  38191. -\fBlibgps\fR(3),
  38192. -\fBlibgpsd\fR(3),
  38193. -\fBgpsfake\fR(1),
  38194. -\fBgpsctl\fR(1),
  38195. -\fBgpscat\fR(1),
  38196. -\fBgpsprof\fR(1)\&.
  38197. -\fBgpspipe\fR(1)\&.
  38198. -\fBgpsmon\fR(1)\&.
  38199. -.SH "AUTHORS"
  38200. -.PP
  38201. -Remco Treffcorn, Derrick Brashear, Russ Nelson & Eric S\&. Raymond, Jeff Francis (cgps)\&. Amaury Jacquot
  38202. -<sxpert@sxpert\&.org>
  38203. -& Petter Reinholdtsen
  38204. -<pere@hungry\&.com>
  38205. -(gpxlogger)\&. Chris Kuethe
  38206. -<chris\&.kuethe@gmail\&.com>
  38207. -(cgpxlogger)\&.
  38208. -.PP
  38209. -This manual page by Eric S\&. Raymond
  38210. -<esr@thyrsus\&.com>\&. There is a project page, with
  38211. -xgps
  38212. -screenshots, at
  38213. -\fIberlios\&.de\fR\&[1]\&.
  38214. -.SH "NOTES"
  38215. -.IP " 1." 4
  38216. -berlios.de
  38217. -.RS 4
  38218. -\%http://gpsd.berlios.de/
  38219. -.RE
  38220. diff -Nur gpsd-2.39.orig/gpsctl.1 gpsd-2.39/gpsctl.1
  38221. --- gpsd-2.39.orig/gpsctl.1 2009-03-15 04:50:35.000000000 +0100
  38222. +++ gpsd-2.39/gpsctl.1 1970-01-01 01:00:00.000000000 +0100
  38223. @@ -1,155 +0,0 @@
  38224. -.\" Title: gpsctl
  38225. -.\" Author:
  38226. -.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
  38227. -.\" Date: 03/14/2009
  38228. -.\" Manual: 29 Oct 2006
  38229. -.\" Source: 29 Oct 2006
  38230. -.\"
  38231. -.TH "GPSCTL" "1" "03/14/2009" "29 Oct 2006" "29 Oct 2006"
  38232. -.\" disable hyphenation
  38233. -.nh
  38234. -.\" disable justification (adjust text to left margin only)
  38235. -.ad l
  38236. -.SH "NAME"
  38237. -gpsctl \- control the modes of a GPS
  38238. -.SH "SYNOPSIS"
  38239. -.HP 7
  38240. -\fBgpsctl\fR [\-h] [\-b | \-n] [\-x\ \fIcontrol\fR] [\-e] [\-f] [\-l] [\-s\ \fIspeed\fR] [\-t\ \fIdevicetype\fR] [\-D\ \fIdebuglevel\fR] [\-V] [\fIserial\-port\fR]
  38241. -.SH "DESCRIPTION"
  38242. -.PP
  38243. -gpsctl
  38244. -can switch a dual\-mode GPS between NMEA and vendor\-binary modes\&. It can also be used to set the device baudrate\&. Note: Not all devices have these capabilities\&.
  38245. -.PP
  38246. -If you have only one GPS attached to your machine, and gpsd is running, it is not necessary to specify the device;
  38247. -gpsctl
  38248. -does its work through
  38249. -gpsd, which will locate it for you\&.
  38250. -.PP
  38251. -When
  38252. -gpsd
  38253. -is not running, the device specification is required, and you will almost certainly need to be running as root in order to have write access to the device\&.
  38254. -.PP
  38255. -The program accepts the following options:
  38256. -.PP
  38257. -\-b
  38258. -.RS 4
  38259. -Put the GPS into binary mode\&. After the GPS resets itself, autobaud to the new speed\&.
  38260. -.RE
  38261. -.PP
  38262. -\-c
  38263. -.RS 4
  38264. -Change the GPS\'s cycle time\&. Units are seconds\&. Note, most GPses have a fixeed cycle time of 1 second\&.
  38265. -.RE
  38266. -.PP
  38267. -\-e
  38268. -.RS 4
  38269. -Generate the packet from any other arguments specified and ship it to standard output instead of the device\&. This switch can be used with the
  38270. -\fB\-t\fR
  38271. -option without specifying a device\&. Note: the packet data for a binary prototype will be raw, not ASCII\-ized in any way\&.
  38272. -.RE
  38273. -.PP
  38274. -\-f
  38275. -.RS 4
  38276. -Force low\-level access (not through the daemon)\&.
  38277. -.RE
  38278. -.PP
  38279. -\-l
  38280. -.RS 4
  38281. -List a table showing which option switches can be applied to which device types, and exit\&.
  38282. -.RE
  38283. -.PP
  38284. -\-n
  38285. -.RS 4
  38286. -Put GPS into NMEA mode\&. After the GPS resets itself autobaud to its new speed\&.
  38287. -.RE
  38288. -.PP
  38289. -\-s
  38290. -.RS 4
  38291. -Set the baud rate at which the GPS emits packets\&.
  38292. -.sp
  38293. -Use this option with caution\&. On USB and Bluetooth GPSes it is also possible for serial mode setting to fail either because the serial adaptor chip does not support non\-8N1 modes or because the device firmware does not properly synchronize the serrial adaptor chip with the UART on the GPS chipset whjen the speed changes\&. These failures can hang your device, possibly requiring a GPS power cycle or (in extreme cases) physically disconnecting the NVRAM backup battery\&.
  38294. -.RE
  38295. -.PP
  38296. -\-t
  38297. -.RS 4
  38298. -Force the device type\&.
  38299. -.RE
  38300. -.PP
  38301. -\-x
  38302. -.RS 4
  38303. -Send a specified control string to the GPS;
  38304. -gpsctl
  38305. -will provide packet headers and trailers and checksum as appropriate for binary packet types, and whatever checksum and trailer is required for text packet types\&. (You must include the leading $ for NMEA packets\&.) When sending to a UBX device, the first two bytes of the string supplied will become the message class and type, and the remainder the payload\&. When sending to a Navcom NCT or Trimble TSIP device, the first byte is interpreted as the command ID and the rest as payload\&. When sending to a Zodiac device, the first two bytes are used as a message ID of type little\-endian short, and the remainder as payload in byte pairs interpreted as little\-endian short\&. C\-style backslash escapes in the string, notably \exNN for hex, will be interpreted; additionally, \ee will be replaced with ESC\&. This switch implies
  38306. -\fB\-f\fR\&.
  38307. -.RE
  38308. -.PP
  38309. -\-T
  38310. -.RS 4
  38311. -Change the sampling timeout\&. Defaults to 4 seconds, which should always be sufficient to get a packet from a device emitting at the normal rate of 1 per second\&.
  38312. -.RE
  38313. -.PP
  38314. -\-h
  38315. -.RS 4
  38316. -Display program usage and exit\&.
  38317. -.RE
  38318. -.PP
  38319. -\-D
  38320. -.RS 4
  38321. -Set level of debug messages\&.
  38322. -.RE
  38323. -.PP
  38324. -\-V
  38325. -.RS 4
  38326. -Display program version and exit\&.
  38327. -.RE
  38328. -.PP
  38329. -The argument of the forcing option\&.
  38330. -\fB\-t\fR, should be a string which should be contained in exactly one of the known driver names; for a list, do
  38331. -\fBgpsctl \-l\fR\&.
  38332. -.PP
  38333. -Forcing the device type behaves somewhat differently depending on whether this tool is going through the daemon or not\&. In high\-level mode, if the device that daemon selects for you doesn\'t match the driver you specified,
  38334. -gpsctl
  38335. -exits with a warning\&. (This may be useful in scripts\&.)
  38336. -.PP
  38337. -In low\-level mode, if the device identifies as a Generic NMEA, use the selected driver instead\&. This will be useful if you have a GPS device of known type that is in NMEA mode and not responding to probes\&. (This option was originally implemented for talking to SiRFStar I chips, which don\'t respond to the normal SiRF ID probe\&.)
  38338. -.PP
  38339. -If no options are given, the program will display a message identifying the GPS type of the selected device and exit\&.
  38340. -.PP
  38341. -Reset (\-r) operations must stand alone; others can be combined\&. Multiple opations will be executed in tis order: mode changes (\-b and \-n) first, speed changes (\-s) second, and control\-string sends (\-c) last\&.
  38342. -.SH "EXAMPLES"
  38343. -.PP
  38344. -\fBgpsctl /dev/ttyUSB0\fR
  38345. -.RS 4
  38346. -Attempt to identify the device on USB serial device 0\&. Time out after the default number of seconds\&. Adding the
  38347. -\fB\-f\fR
  38348. -will force low\-level access and suppress the normal complaint when this tool can\'t find a GPSD to work through\&.
  38349. -.RE
  38350. -.PP
  38351. -gpsctl \-f \-n \-s 9600 /dev/ttyUSB0
  38352. -.RS 4
  38353. -Use low\-level operations (not going through a gpsd instance) to switch a GPS to NMEA mode at 9600bps\&. The tool will identify the GPS type itself\&.
  38354. -.RE
  38355. -.SH "BUGS"
  38356. -.PP
  38357. -SiRF GPSes can only be identified by the success of an attempt to flip them into SiRF binary mode\&. Thus, the process of probing one of these running in NMEA will change its behavior\&.
  38358. -.SH "SEE ALSO"
  38359. -.PP
  38360. -
  38361. -\fBgpsd\fR(8),
  38362. -\fBgps\fR(1),
  38363. -\fBlibgps\fR(3),
  38364. -\fBlibgpsd\fR(3),
  38365. -\fBgpsprof\fR(1),
  38366. -\fBgpsfake\fR(1)\&.
  38367. -.SH "AUTHOR"
  38368. -.PP
  38369. -Eric S\&. Raymond
  38370. -<esr@thyrsus\&.com>\&. There is a project page for
  38371. -gpsd
  38372. -\fIhere\fR\&[1]\&.
  38373. -.SH "NOTES"
  38374. -.IP " 1." 4
  38375. -here
  38376. -.RS 4
  38377. -\%http://gpsd.berlios.de/
  38378. -.RE
  38379. diff -Nur gpsd-2.39.orig/gpsd.8 gpsd-2.39/gpsd.8
  38380. --- gpsd-2.39.orig/gpsd.8 2009-03-15 04:50:28.000000000 +0100
  38381. +++ gpsd-2.39/gpsd.8 1970-01-01 01:00:00.000000000 +0100
  38382. @@ -1,675 +0,0 @@
  38383. -.\" Title: gpsd
  38384. -.\" Author:
  38385. -.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
  38386. -.\" Date: 03/14/2009
  38387. -.\" Manual: 9 Aug 2004
  38388. -.\" Source: 9 Aug 2004
  38389. -.\"
  38390. -.TH "GPSD" "8" "03/14/2009" "9 Aug 2004" "9 Aug 2004"
  38391. -.\" disable hyphenation
  38392. -.nh
  38393. -.\" disable justification (adjust text to left margin only)
  38394. -.ad l
  38395. -.SH "NAME"
  38396. -gpsd \- interface daemon for GPS receivers
  38397. -.SH "SYNOPSIS"
  38398. -.HP 5
  38399. -\fBgpsd\fR [\-F\ \fIcontrol\-socket\fR] [\-S\ \fIlistener\-port\fR] [\-b] [\-l] [\-G] [\-n] [\-N] [\-h] [\-P\ \fIpidfile\fR] [\-D\ \fIdebuglevel\fR] [\-V] [[\fIsource\-name\fR]...]
  38400. -.SH "DESCRIPTION"
  38401. -.PP
  38402. -gpsd
  38403. -is a monitor daemon that watches a TCP/IP port (2947 by default), waiting for applications to request information from GPSes or differential\-GPS radios attached to the host machine\&. Each GPS or radio is expected to be direct\-connected to the host via a USB or RS232C serial port\&. The port may be specified to
  38404. -gpsd
  38405. -at startup, or it may be set via a command shipped down a local control socket (e\&.g\&. by a USB hotplug script)\&. Given a GPS device by either means,
  38406. -gpsd
  38407. -discovers the correct port speed and protocol for it\&.
  38408. -.PP
  38409. -gpsd
  38410. -should be able to query any GPS that speaks either the standard textual NMEA 0183 protocol, or the (differing) extended NMEA dialects used by MKT\-3301, iTrax, Motorola OnCore, Sony CXD2951, and Ashtech/Thales devices\&. It can also interpret the binary protocols used by EverMore, Garmin, Navcom, Rockwell/Zodiac, SiRF, Trimble, and uBlox ANTARIS devices\&. It can read heading and attitude information from the Oceanserver 5000 digital compass\&.
  38411. -.PP
  38412. -The GPS protocols supported by your instance of
  38413. -gpsd
  38414. -may differ depending on how it was compiled; general\-purpose versions support many, but it can be built with protocol subsets down to a singleton for use in constrained environments\&. For a list of the GPS protocols supported by your instance, see the output of
  38415. -\fBgpsd \-l\fR
  38416. -.PP
  38417. -gpsd
  38418. -effectively hides the differences among the GPS types it supports\&. It also knows about and uses commands that tune these GPSes for lower latency\&.
  38419. -.PP
  38420. -gpsd
  38421. -can use differential\-GPS corrections from a DGPS radio or over the net, from a ground station running a DGPSIP server or a Ntrip broadcaster that reports RTCM\-104 data; this will shrink position errors by roughly a factor of four\&. When
  38422. -gpsd
  38423. -opens a serial device emitting RTCM\-104, it automatically recognizes this and uses the device as a correction source for all connected GPSes that accept RTCM corrections (this is dependent on the type of the GPS; not all GPSes have the firmware capability to accept RTCM correction packets)\&.
  38424. -See
  38425. -the section called \(lqACCURACY\(rq
  38426. -and
  38427. -the section called \(lqFILES\(rq
  38428. -for discussion\&.
  38429. -.PP
  38430. -The program accepts the following options:
  38431. -.PP
  38432. -\-F
  38433. -.RS 4
  38434. -Create a control socket for device addition and removal commands\&. You must specify a valid pathname on your local filesystem; this will be created as a Unix\-domain socket to which you can write commands that edit the daemon\'s internal device list\&.
  38435. -.RE
  38436. -.PP
  38437. -\-S
  38438. -.RS 4
  38439. -Set TCP/IP port on which to listen for GPSD clients (default is 2947)\&.
  38440. -.RE
  38441. -.PP
  38442. -\-b
  38443. -.RS 4
  38444. -Broken\-device\-safety, otherwise known as read\-only mode\&. Some popular bluetooth and USB receivers lock up or become totally inaccessible when probed or reconfigured\&. This switch prevents gpsd from writing to a receiver\&. This means that
  38445. -gpsd
  38446. -cannot configure the receiver for optimal performance, but it also means that
  38447. -gpsd
  38448. -cannot break the receiver\&. A better solution would be for Bluetooth to not be so fragile\&. A platform independent method to identify serial\-over\-Bluetooth devices would also be nice\&.
  38449. -.RE
  38450. -.PP
  38451. -\-G
  38452. -.RS 4
  38453. -This flag causes
  38454. -gpsd
  38455. -to listen on all addresses (INADDR_ANY) rather than just the loopback (INADDR_LOOPBACK) address\&. For the sake of privacy and security, PVT information is now private to the local machine until the user makes an effort to expose this to the world\&. Listening on the loopback by default is a change from previous behaviour\&.
  38456. -.RE
  38457. -.PP
  38458. -\-l
  38459. -.RS 4
  38460. -List all drivers compiled into this
  38461. -gpsd
  38462. -instance\&. The letters to the left of each driver name are the
  38463. -gpsd
  38464. -control commands supported by that driver\&.
  38465. -.RE
  38466. -.PP
  38467. -\-n
  38468. -.RS 4
  38469. -Don\'t wait for a client to connect before polling whatever GPS is associated with it\&. It is thought that some GPSes go to a standby mode (drawing less power) before the host machine asserts DTR, so waiting for the first actual request might save battery power on portable equipment\&. This option is deprecated as it was found to be confusing; gpsd will now always remain connected to the configured receivers\&.
  38470. -.RE
  38471. -.PP
  38472. -\-N
  38473. -.RS 4
  38474. -Don\'t daemonize; run in foreground\&. Also suppresses privilege\-dropping\&. This switch is mainly useful for debugging\&. Its meaning may change in future versions\&.
  38475. -.RE
  38476. -.PP
  38477. -\-h
  38478. -.RS 4
  38479. -Display help message and terminate\&.
  38480. -.RE
  38481. -.PP
  38482. -\-P
  38483. -.RS 4
  38484. -Specify the name and path to record the daemon\'s process ID\&.
  38485. -.RE
  38486. -.PP
  38487. -\-D
  38488. -.RS 4
  38489. -Set debug level\&. At debug levels 2 and above,
  38490. -gpsd
  38491. -reports incoming sentence and actions to standard error if
  38492. -gpsd
  38493. -is in the foreground (\-N) or to syslog if in the background\&.
  38494. -.RE
  38495. -.PP
  38496. -\-V
  38497. -.RS 4
  38498. -Dump version and exit\&.
  38499. -.RE
  38500. -.PP
  38501. -Arguments are interpreted as the names of data sources\&. Normally, a data source is the name of a local serial device from which the daemon may expect GPS data\&.
  38502. -.PP
  38503. -A data source name may also be a URL pointing to a specific differential\-GPS service (DGPSIP server or Ntrip broadcaster)\&.If the URL starts with "ntrip://" Ntrip will be used; if the URL starts with "dgpsip://", DGPSIP will be used\&.
  38504. -Gpsd
  38505. -also defaults to DGPSIP if no protocol is defined\&. For Ntrip services that require authentication, a prefix of the form "username:password@" can be added before the name of the Ntrip broadcaster\&. If a suffix of the service name begins with ":" it is interpreted as a port number, overriding the default IANA\-assigned port of 2101\&. For Ntrip service you also need to specify which stream to use; the stream is given in the form "/streamname"\&. So, an example DGPSIP URL could be "dgpsip://dgpsip\&.example\&.com" and a Ntrip URL could be "ntrip://foo:bar@ntrip\&.example\&.com:80/example\-stream"\&.
  38506. -.PP
  38507. -Internally, the daemon maintains a device list holding the pathnames of GPSes known to the daemon\&. Initially, this list is the list of device\-name arguments specified on the command line\&. That list may be empty, in which case the daemon will have no devices on its search list until they are added by a control\-socket command (see
  38508. -the section called \(lqGPS DEVICE MANAGEMENT\(rq
  38509. -for details on this)\&. Daemon startup will abort with an error if neither any devices nor a control socket are specified\&.
  38510. -.PP
  38511. -At any given time, each client will be listening to only one of the GPSes on the device list\&. By default, a client\'s device is the one that most recently shipped information to the daemon at the time the client first requests GPS information\&.
  38512. -.sp
  38513. -.it 1 an-trap
  38514. -.nr an-no-space-flag 1
  38515. -.nr an-break-flag 1
  38516. -.br
  38517. -Warning
  38518. -.PP
  38519. -It is planned that the command protocol described below will change radically at API version 4\&. It is a bad idea for applications to speak this protocol directly: rather, they should use the
  38520. -libgps
  38521. -client library and take appropriate care to conditionalize their code on the major and minor API version symbols\&. See the GPSD project website for more information on the protocol and API change\&.
  38522. -.PP
  38523. -The request protocol for
  38524. -gpsd
  38525. -clients is very simple\&. Each request normally consists of a single ASCII character followed by a newline\&. Case of the request character is ignored\&. Each request returns a line of response text ended by a CR/LF\&. Requests and responses are as follows, with %f standing for a decimal float numeral and %d for decimal integer numeral:
  38526. -.PP
  38527. -Any command other than L, F, K, W=0 or R=0 is considered a request for GPS information and will cause a GPS device to be connected to the client\'s channel\&.
  38528. -.PP
  38529. -a
  38530. -.RS 4
  38531. -The current altitude as "A=%f", meters above mean sea level\&.
  38532. -.RE
  38533. -.PP
  38534. -b
  38535. -.RS 4
  38536. -The B command with no argument returns four fields giving the parameters of the serial link to the GPS as "B=%d %d %c %d"; baud rate, byte size, parity, (N, O or E for no parity, odd, or even) and stop bits (1 or 2)\&.
  38537. -.sp
  38538. -The command "B=%d" sets the baud rate, not changing parity or stop bits; The command "B=%d [78] [NOE] [12]" (B followed by whiteapace; followed by a numeric speed; followed by one of the digits 7 or 8; followed by whitespace; followed by one of the letters \'N\', \'O\', or \'E\'; followed by whitespace; followed by one of the digits \'1\' or 2\') sets not only speed but word length, parity, and stop bits\&.
  38539. -.sp
  38540. -For both forms, watch the response, because it is possible for this to fail if the GPS does not support a speed\-switching command or only supports some combinations of serial modes\&. In case of failure, the daemon and GPS will continue to communicate at the old speed\&. Both forms are rejected if more than one client is attached to the channel\&.
  38541. -.sp
  38542. -Use this command with caution\&. On USB and Bluetooth GPSes it is also possible for serial mode setting to fail either because the serial adaptor chip does not support non\-8N1 modes or because the device firmware does not properly synchronize the serrial adaptor chip with the UART on the GPS chipset whjen the speed changes\&. These failures can hang your device, possibly requiring a GPS power cycle or (in extreme cases) physically disconnecting the NVRAM backup battery\&.
  38543. -.sp
  38544. -(Older versions of
  38545. -gpsd
  38546. -supported changing speed only\&.)
  38547. -.RE
  38548. -.PP
  38549. -c
  38550. -.RS 4
  38551. -C with no following = asks the daemon to return the cycle time of the attached GPS, if any\&. If there is no attached device it will return "C=?"\&.
  38552. -.sp
  38553. -If the driver has the capability to change sampling rate the command "C=%f" does so, setting a new cycle time in seconds\&. The "C=" form is rejected if more than one client is attached to the channel\&.
  38554. -.sp
  38555. -If the driver has the capability to change sampling rate, this command always returns "C=%f %f" giving the current cycle time in seconds and the minimum possible cycle time\&. If the driver does not have the capability to change sampling rate, this returns, as "C=%f", the cycle time in seconds only\&.
  38556. -.sp
  38557. -Either number may be fractional, indicating a GPS cycle shorter than a second; however, if >1 the cycle time must be a whole number\&. Also note that relatively few GPSes have the ability to set sub\-second cycle times; consult your hardware protocol description to make sure this works\&.
  38558. -.sp
  38559. -This command will return "C=?" at start of session, before the first full packet has been received from the GPS, because the GPS type is not yet known\&. To set up conditions for a real answer, issue it after some command that reads position/velocity/time information from the device\&.
  38560. -.RE
  38561. -.PP
  38562. -d
  38563. -.RS 4
  38564. -Returns the UTC time in the ISO 8601 format, "D=yyyy\-mm\-ddThh:nmm:ss\&.ssZ"\&. Digits of precision in the fractional\-seconds part will vary and may be absent\&.
  38565. -.RE
  38566. -.PP
  38567. -e
  38568. -.RS 4
  38569. -Returns "E=? %f %f": estimated position errors in meters \(em horizontal, and vertical (95% confidence level)\&. Note: many GPSes do not supply these numbers\&. When the GPS does not supply them,
  38570. -gpsd
  38571. -computes them from satellite DOP using fixed figures for expected non\-DGPS and DGPS range errors in meters\&. A value of \'?\' for either of these numbers should be taken to mean that component of DOP is not available\&. The ? value is a backwards\-compatibility placeholder; some early versions of GPSD returned a total error estimate there\&. See also the \'q\' command\&.
  38572. -.RE
  38573. -.PP
  38574. -f
  38575. -.RS 4
  38576. -Gets or sets the active GPS device name\&. The bare command \'f\' requests a response containing \'F=\' followed by the name of the active GPS device\&. The other form of the command is \'f=\', in which case all following printable characters up to but not including the next CR/LF are interpreted as the name of a trial GPS device\&. If the trial device is in
  38577. -gpsd\'s device list, it is opened and read to see if a GPS can be found there\&. If it can, the trial device becomes the active device for this client\&.
  38578. -.sp
  38579. -The \'f=\' command may fail if the specified device name is not on the daemon\'s device list\&. This device list is initialized with the paths given on the command line, if any were specified\&. For security reasons, ordinary clients cannot change this device list; instead, this must be done via the daemon\'s local control socket declared with the \-F option\&.
  38580. -.sp
  38581. -Once an \'f=\' command succeeds, the client is tied to the specified device until the client disconnects\&.
  38582. -.sp
  38583. -Whether the command is \'f\' or \'f=\' or not, and whether it succeeds or not, the response always lists the name of the client\'s device\&.
  38584. -.sp
  38585. -(At protocol level 1, the F command failed if more than one client was attached, and multiple devices were not supported\&.)
  38586. -.RE
  38587. -.PP
  38588. -g
  38589. -.RS 4
  38590. -With =, accepts a single argument which may have either of the values \'gps\' or \'rtcm104v2\', with case ignored\&. This specifies the type of information the client wants and forces a device assignment\&. Without =, forces a device assignment but doesn\'t force the type\&. This command is optional; if it is not given, the client will be bound to whatever available device the daemon finds first\&.
  38591. -.sp
  38592. -This command returns either \'?\' if no device of the specified type(s) could be assigned, otherwise a string (\'GPS\' or \'RTCM104v2\') identifying the kind of information the attached device returns\&.
  38593. -.sp
  38594. -(Earlier versions accepted \'RTCM104\' and returned \'RTCM104\' rather than \'RTCM104v2\')
  38595. -.RE
  38596. -.PP
  38597. -i
  38598. -.RS 4
  38599. -Returns a text string identifying the GPS\&. The string may contain spaces and is terminated by CR\-LF\&. This command will return \'?\' at start of session, before the first full packet has been received from the GPS, because its type is not yet known\&.
  38600. -.RE
  38601. -.PP
  38602. -j
  38603. -.RS 4
  38604. -Get or set buffering policy; this only matters for NMEA devices which report fix data in several separate sentences during the poll cycle (and in particular it
  38605. -\fIdoesn\'t\fR
  38606. -matter for SiRF chips)\&. The default (j=0) is to clear all fix data at the start of each poll cycle, so until the sentence that reports a given piece of data arrives queries will report ?\&. Setting j=1 will disable this, retaining data from the previous cycle\&. This is a per\-user\-channel bit, not a per\-device one\&. The j=0 setting is hyper\-correct and never displays stale data, but may produce a jittery display; the j=1 setting allows stale data but smooths the display\&.
  38607. -.sp
  38608. -(At protocol level below 3, there was no J command\&. Note, this command is experimental and its semantics are subject to change\&.)
  38609. -.RE
  38610. -.PP
  38611. -k
  38612. -.RS 4
  38613. -Returns a line consisting of "K=" followed by an integer count of of all GPS devices known to
  38614. -gpsd, followed by a space, followed by a space\-separated list of the device names\&. This command lists devices the daemon has been pointed at by the command\-line argument(s) or an add command via its control socket, and has successfully recognized as GPSes\&. Because GPSes might be unplugged at any time, the presence of a name in this list does not guarantee that the device is available\&.
  38615. -.sp
  38616. -(At protocol level 1, there was no K command\&.)
  38617. -.RE
  38618. -.PP
  38619. -l
  38620. -.RS 4
  38621. -Returns four fields: the major protocol/API revision number, the minor revision number, the gpsd version, and a list of accepted request letters\&. Note: earlier versions of this command returned only three fields, omitting the minor revision number\&.
  38622. -.RE
  38623. -.PP
  38624. -m
  38625. -.RS 4
  38626. -The NMEA mode as "M=%d"\&. 0=no mode value yet seen, 1=no fix, 2=2D (no altitude), 3=3D (with altitude)\&.
  38627. -.RE
  38628. -.PP
  38629. -n
  38630. -.RS 4
  38631. -Get or set the GPS driver mode\&. Without argument, reports the mode as "N=%d"; N=0 means NMEA mode and N=1 means alternate mode (binary if it has one, for SiRF and Evermore chipsets in particular)\&. With argument, set the mode if possible; the new mode will be reported in the response\&. The "N=" form is rejected if more than one client is attached to the channel\&.
  38632. -.RE
  38633. -.PP
  38634. -o
  38635. -.RS 4
  38636. -Attempts to return a complete time/position/velocity report as a unit\&. Any field for which data is not available being reported as ?\&. If there is no fix, the response is simply "O=?", otherwise a tag and timestamp are always reported\&. Fields are as follows, in order:
  38637. -.PP
  38638. -tag
  38639. -.RS 4
  38640. -A tag identifying the last sentence received\&. For NMEA devices this is just the NMEA sentence name; the talker\-ID portion may be useful for distinguishing among results produced by different NMEA talkers in the same wire\&.
  38641. -.RE
  38642. -.PP
  38643. -timestamp
  38644. -.RS 4
  38645. -Seconds since the Unix epoch, UTC\&. May have a fractional part of up to \&.01sec precision\&.
  38646. -.RE
  38647. -.PP
  38648. -time error
  38649. -.RS 4
  38650. -Estimated timestamp error (%f, seconds, 95% confidence)\&.
  38651. -.RE
  38652. -.PP
  38653. -latitude
  38654. -.RS 4
  38655. -Latitude as in the P report (%f, degrees)\&.
  38656. -.RE
  38657. -.PP
  38658. -longitude
  38659. -.RS 4
  38660. -Longitude as in the P report (%f, degrees)\&.
  38661. -.RE
  38662. -.PP
  38663. -altitude
  38664. -.RS 4
  38665. -Altitude as in the A report (%f, meters)\&. If the mode field is not 3 this is an estimate and should be treated as unreliable\&.
  38666. -.RE
  38667. -.PP
  38668. -horizontal error estimate
  38669. -.RS 4
  38670. -Horizontal error estimate as in the E report (%f, meters)\&.
  38671. -.RE
  38672. -.PP
  38673. -vertical error estimate
  38674. -.RS 4
  38675. -Vertical error estimate as in the E report (%f, meters)\&.
  38676. -.RE
  38677. -.PP
  38678. -course over ground
  38679. -.RS 4
  38680. -Track as in the T report (%f, degrees)\&.
  38681. -.RE
  38682. -.PP
  38683. -speed over ground
  38684. -.RS 4
  38685. -Speed (%f, meters/sec)\&. Note: older versions of the O command reported this field in knots\&.
  38686. -.RE
  38687. -.PP
  38688. -climb/sink
  38689. -.RS 4
  38690. -Vertical velocity as in the U report (%f, meters/sec)\&.
  38691. -.RE
  38692. -.PP
  38693. -estimated error in course over ground
  38694. -.RS 4
  38695. -Error estimate for course (%f, degrees, 95% confidence)\&.
  38696. -.RE
  38697. -.PP
  38698. -estimated error in speed over ground
  38699. -.RS 4
  38700. -Error estimate for speed (%f, meters/sec, 95% confidence)\&. Note: older experimental versions of the O command reported this field in knots\&.
  38701. -.RE
  38702. -.PP
  38703. -estimated error in climb/sink
  38704. -.RS 4
  38705. -Estimated error for climb/sink (%f, meters/sec, 95% confidence)\&.
  38706. -.RE
  38707. -.PP
  38708. -mode
  38709. -.RS 4
  38710. -The NMEA mode (%d, ?=no mode value yet seen, 1=no fix, 2=2D, 3=3D)\&. (This field was not reported at protocol levels 2 and lower\&.)
  38711. -.RE
  38712. -.RE
  38713. -.PP
  38714. -p
  38715. -.RS 4
  38716. -Returns the current position in the form "P=%f %f"; numbers are in degrees, latitude first\&.
  38717. -.RE
  38718. -.PP
  38719. -q
  38720. -.RS 4
  38721. -Returns "Q=%d %f %f %f %f %f": a count of satellites used in the last fix, and five dimensionless dilution\-of\-precision (DOP) numbers \(em spherical, horizontal, vertical, time, and total geometric\&. These are computed from the satellite geometry; they are factors by which to multiply the estimated UERE (user error in meters at specified confidence level due to ionospheric delay, multipath reception, etc\&.) to get actual circular error ranges in meters (or seconds) at the same confidence level\&. See also the \'e\' command\&. Note: Some GPSes may fail to report these, or report only one of them (often HDOP); a value of 0\&.0 should be taken as an indication that the data is not available\&.
  38722. -.sp
  38723. -Note: Older versions of
  38724. -gpsd
  38725. -reported only the first three DOP numbers, omitting time DOP and total DOP\&.
  38726. -.RE
  38727. -.PP
  38728. -r
  38729. -.RS 4
  38730. -Sets or toggles \'raw\' mode\&. Return "R=0" or "R=1" or "R=2"\&. In raw mode you read the NMEA data stream from each GPS\&. (Non\-NMEA GPSes get their communication format translated to NMEA on the fly\&.) If the device is a source of RTCM\-104 corrections, the corrections are dumped in the textual format described in
  38731. -\fBrtcm104\fR(5)\&.
  38732. -.sp
  38733. -The command \'r\' immediately followed by the digit \'1\' or the plus sign \'+\' sets raw mode\&. The command \'r\' immediately followed by the digit \'2\' sets super\-raw mode; for non\-NMEA (binary) GPSes or RTCM\-104 sources this dumps the raw binary packet\&. The command \'r\' followed by the digit \'0\' or the minus sign \'\-\' clears raw mode\&. The command \'r\' with neither suffix toggles raw mode\&.
  38734. -.sp
  38735. -Note: older versions of
  38736. -gpsd
  38737. -did not support super\-raw mode\&.
  38738. -.RE
  38739. -.PP
  38740. -s
  38741. -.RS 4
  38742. -The NMEA status as "S=%d"\&. 0=no fix, 1=fix, 2=DGPS\-corrected fix\&.
  38743. -.RE
  38744. -.PP
  38745. -t
  38746. -.RS 4
  38747. -Track made good; course "T=%f" in degrees from true north\&.
  38748. -.RE
  38749. -.PP
  38750. -u
  38751. -.RS 4
  38752. -Current rate of climb as "U=%f" in meters per second\&. Some GPSes (not SiRF\-based) do not report this, in that case
  38753. -gpsd
  38754. -computes it using the altitude from the last fix (if available)\&.
  38755. -.RE
  38756. -.PP
  38757. -v
  38758. -.RS 4
  38759. -The current speed over ground as "V=%f" in knots\&.
  38760. -.RE
  38761. -.PP
  38762. -w
  38763. -.RS 4
  38764. -Sets or toggles \'watcher\' mode (see the description below)\&. Return "W=0" or "W=1"\&.The command \'w\' immediately followed by the digit \'1\' or the plus sign \'+\' sets watcher mode\&. The command \'w\' followed by the digit \'0\' or the minus sign \'\-\' clears watcher mode\&. The command \'w\' with neither suffix toggles watcher mode\&.
  38765. -.RE
  38766. -.PP
  38767. -x
  38768. -.RS 4
  38769. -Returns "X=0" if the GPS is offline, "X=%f" if online; in the latter case, %f is a timestamp from when the last sentence was received\&.
  38770. -.sp
  38771. -(At protocol level 1, the nonzero response was always 1\&.)
  38772. -.RE
  38773. -.PP
  38774. -y
  38775. -.RS 4
  38776. -Returns Y=, followed by a sentence tag, followed by a timestamp (seconds since the Unix epoch, UTC) and a count not more than 12, followed by that many quintuples of satellite PRNs, elevation/azimuth pairs (elevation an integer formatted as %d in range 0\-90, azimuth an integer formatted as %d in range 0\-359), signal strengths in decibels, and 1 or 0 according as the satellite was or was not used in the last fix\&. Each number is followed by one space\&.
  38777. -.sp
  38778. -(At protocol level 1, this response had no tag or timestamp\&.)
  38779. -.RE
  38780. -.PP
  38781. -z
  38782. -.RS 4
  38783. -The Z command returns daemon profiling information of interest to
  38784. -gpsd
  38785. -developers\&. The format of this string is subject to change without notice\&.
  38786. -.RE
  38787. -.PP
  38788. -$
  38789. -.RS 4
  38790. -The $ command returns daemon profiling information of interest to
  38791. -gpsd
  38792. -developers\&. The format of this string is subject to change without notice\&.
  38793. -.RE
  38794. -.PP
  38795. -Note that a response consisting of just ? following the = means that there is no valid data available\&. This may mean either that the device being queried is offline, or (for position/velocity/time queries) that it is online but has no fix\&.
  38796. -.PP
  38797. -Requests can be concatenated and sent as a string;
  38798. -gpsd
  38799. -will then respond with a comma\-separated list of replies\&.
  38800. -.PP
  38801. -Every
  38802. -gpsd
  38803. -reply will start with the string "GPSD" followed by the replies\&. Examples:
  38804. -.sp
  38805. -.RS 4
  38806. -.nf
  38807. - query: "p\en"
  38808. - reply: "GPSD,P=36\&.000000 123\&.000000\er\en"
  38809. -
  38810. - query: "d\en"
  38811. - reply: "GPSD,D=2002\-11\-16T02:45:05\&.12Z\er\en"
  38812. -
  38813. - query: "va\en"
  38814. - reply: "GPSD,V=0\&.000000,A=37\&.900000\er\en"
  38815. -.fi
  38816. -.RE
  38817. -.PP
  38818. -When clients are active but the GPS is not responding,
  38819. -gpsd
  38820. -will spin trying to open the GPS device once per second\&. Thus, it can be left running in background and survive having a GPS repeatedly unplugged and plugged back in\&. When it is properly installed along with hotplug notifier scripts feeding it device\-add commands,
  38821. -gpsd
  38822. -should require no configuration or user action to find devices\&.
  38823. -.PP
  38824. -The recommended mode for clients is watcher mode\&. In watcher mode
  38825. -gpsd
  38826. -ships a line of data to the client each time the GPS gets either a fix update or a satellite picture, but rather than being raw NMEA the line is a gpsd \'o\' or \'y\' response\&. Additionally, watching clients get notifications in the form X=0 or X=%f when the online/offline status of the GPS changes, and an I response giving the device type when the user is assigned a device\&.
  38827. -.PP
  38828. -Clients should be prepared for the possibility that additional fields (such as heading or roll/pitch/yaw) may be added to the O command, and not treat the occurrence of extra fields as an error\&. The protocol number will be incremented if and when such fields are added\&.
  38829. -.PP
  38830. -Sending SIGHUP to a running
  38831. -gpsd
  38832. -forces it to close all GPSes and all client connections\&. It will then attempt to reconnect to any GPSes on its device list and resume listening for client connections\&. This may be useful if your GPS enters a wedged or confused state but can be soft\-reset by pulling down DTR\&.
  38833. -.SH "GPS DEVICE MANAGEMENT"
  38834. -.PP
  38835. -gpsd
  38836. -maintains an internal list of GPS devices\&. If you specify devices on the command line, the list is initialized with those pathnames; otherwise the list starts empty\&. Commands to add and remove GPS device paths from the daemon\'s device list must be written to a local Unix\-domain socket which will be accessible only to programs running as root\&. This control socket will be located wherever the \-F option specifies it\&.
  38837. -.PP
  38838. -To point
  38839. -gpsd
  38840. -at a device that may be a GPS, write to the control socket a plus sign (\'+\') followed by the device name followed by LF or CR\-LF\&. Thus, to point the daemon at
  38841. -\fI/dev/foo\fR\&. send "+/dev/foo\en"\&. To tell the daemon that a device has been disconnected and is no longer available, send a minus sign (\'\-\') followed by the device name followed by LF or CR\-LF\&. Thus, to remove
  38842. -\fI/dev/foo\fR
  38843. -from the search list\&. send "\-/dev/foo\en"\&.
  38844. -.PP
  38845. -To send a control string to a specified device, write to the control socket a \'!\', followed by the device name, followed by \'=\', followed by the control string\&.
  38846. -.PP
  38847. -To send a binary control string to a specified device, write to the control socket a \'&\', followed by the device name, followed by \'=\', followed by the control string in paired hex digits\&.
  38848. -.PP
  38849. -Your client may await a response, which will be a line beginning with either "OK" or "ERROR"\&. An ERROR reponse to an add command means the device did not emit data recognizable as GPS packets; an ERROR response to a remove command means the specified device was not in
  38850. -gpsd\'s device list\&. An ERROR response to a ! command means the daemon did not recognize the devicename specified\&.
  38851. -.PP
  38852. -The control socket is intended for use by hotplug scripts and other device\-discovery services\&. This control channel is separate from the public
  38853. -gpsd
  38854. -service port, and only locally accessible, in order to prevent remote denial\-of\-service and spoofing attacks\&.
  38855. -.SH "ACCURACY"
  38856. -.PP
  38857. -The base User Estimated Range Error (UERE) of GPSes is 8 meters or less at 66% confidence, 15 meters or less at 95% confidence\&. Actual horizontal error will be UERE times a dilution factor dependent on current satellite position\&. Altitude determination is more sensitive to variability to atmospheric signal lag than latitude/longitude, and is also subject to errors in the estimation of local mean sea level; base error is 12 meters at 66% confidence, 23 meters at 95% confidence\&. Again, this will be multiplied by a vertical dilution of precision (VDOP) dependent on satellite geometry, and VDOP is typically larger than HDOP\&. Users should
  38858. -\fInot\fR
  38859. -rely on GPS altitude for life\-critical tasks such as landing an airplane\&.
  38860. -.PP
  38861. -These errors are intrinsic to the design and physics of the GPS system\&.
  38862. -gpsd
  38863. -does its internal computations at sufficient accuracy that it will add no measurable position error of its own\&.
  38864. -.PP
  38865. -DGPS correction will reduce UERE by a factor of 4, provided you are within about 100mi (160km) of a DGPS ground station from which you are eceiving corrections\&.
  38866. -.PP
  38867. -On a 4800bps connection, the time latency of fixes provided by
  38868. -gpsd
  38869. -will be one second or less 95% of the time\&. Most of this lag is due to the fact that GPSes normally emit fixes once per second, thus expected latency is 0\&.5sec\&. On the personal\-computer hardware available in 2005, computation lag induced by
  38870. -gpsd
  38871. -will be negligible, on the order of a millisecond\&. Nevertheless, latency can introduce significant errors for vehicles in motion; at 50km/h (31mi/h) of speed over ground, 1 second of lag corresponds to 13\&.8 meters change in position between updates\&.
  38872. -.PP
  38873. -The time reporting of the GPS system itself has an intrinsic accuracy limit of 0\&.000,000,340 = 3\&.4\(mu10\-7
  38874. -seconds\&. A more important limit is the GPS tick rate\&. While the one\-per\-second PPS pulses emitted by serial GPS units are timed to the GPS system\'s intrinsic accuracy limit,the satellites only emit navigation messages at 0\&.01\-second intervals, and the timestamps in them only carry 0\&.01\-second precision\&. Thus, the timestamps that
  38875. -gpsd
  38876. -reports in time/position/velocity messages are normally accurate only to 1/100th of a second\&.
  38877. -.SH "USE WITH NTP"
  38878. -.PP
  38879. -gpsd can provide reference clock information to
  38880. -ntpd, to keep the system clock synchronized to the time provided by the GPS receiver\&. This facility is only available when the daemon is started from root\&. If you\'re going to use
  38881. -gpsd
  38882. -you probably want to run it
  38883. -\fB\-n\fR
  38884. -mode so the clock will be updated even when no clients are active\&.
  38885. -.PP
  38886. -Note that deriving time from messages received from the GPS is not as accurate as you might expect\&. Messages are often delayed in the receiver and on the link by several hundred milliseconds, and this delay is not constant\&. On Linux,
  38887. -gpsd
  38888. -includes support for interpreting the PPS pulses emitted at the start of every clock second on the carrier\-detect lines of some serial GPSes; this pulse can be used to update NTP at much higher accuracy than message time provides\&. You can determine whether your GPS emits this pulse by running at \-D 5 and watching for carrier\-detect state change messages in the logfile\&.
  38889. -.PP
  38890. -When
  38891. -gpsd
  38892. -receives a sentence with a timestamp, it packages the received timestamp with current local time and sends it to a shared\-memory segment with an ID known to
  38893. -ntpd, the network time synchronization daemon\&. If
  38894. -ntpd
  38895. -has been properly configured to receive this message, it will be used to correct the system clock\&.
  38896. -.PP
  38897. -Here is a sample
  38898. -\fIntp\&.conf\fR
  38899. -configuration stanza telling
  38900. -ntpd
  38901. -how to read the GPS notfications:
  38902. -.sp
  38903. -.RS 4
  38904. -.nf
  38905. -server 127\&.127\&.28\&.0 minpoll 4 maxpoll 4
  38906. -fudge 127\&.127\&.28\&.0 time1 0\&.420 refid GPS
  38907. -
  38908. -server 127\&.127\&.28\&.1 minpoll 4 maxpoll 4 prefer
  38909. -fudge 127\&.127\&.28\&.1 refid GPS1
  38910. -.fi
  38911. -.RE
  38912. -.PP
  38913. -The magic pseudo\-IP address 127\&.127\&.28\&.0 identifies unit 0 of the
  38914. -ntpd
  38915. -shared\-memory driver; 127\&.127\&.28\&.1 identifies unit 1\&. Unit 0 is used for message\-decoded time and unit 1 for the (more accurate, when available) time derived from the PPS synchronization pulse\&. Splitting these notifications allows
  38916. -ntpd
  38917. -to use its normal heuristics to weight them\&.
  38918. -.PP
  38919. -With this configuration,
  38920. -ntpd
  38921. -will read the timestamp posted by
  38922. -gpsd
  38923. -every 16 seconds and send it to unit 0\&. The number after the parameter time1 is an offset in seconds\&. You can use it to adjust out some of the fixed delays in the system\&. 0\&.035 is a good starting value for the Garmin GPS\-18/USB, 0\&.420 for the Garmin GPS\-18/LVC\&.
  38924. -.PP
  38925. -After restarting ntpd, a line similar to the one below should appear in the output of the command "ntpq \-p" (after allowing a couple of minutes):
  38926. -.sp
  38927. -.RS 4
  38928. -.nf
  38929. -remote refid st t when poll reach delay offset jitter
  38930. -=========================================================================
  38931. -+SHM(0) \&.GPS\&. 0 l 13 16 377 0\&.000 0\&.885 0\&.882
  38932. -.fi
  38933. -.RE
  38934. -.PP
  38935. -If you are running PPS then it will look like this:
  38936. -.sp
  38937. -.RS 4
  38938. -.nf
  38939. -remote refid st t when poll reach delay offset jitter
  38940. -=========================================================================
  38941. -\-SHM(0) \&.GPS\&. 0 l 13 16 377 0\&.000 0\&.885 0\&.882
  38942. -*SHM(1) \&.GPS1\&. 0 l 11 16 377 0\&.000 \-0\&.059 0\&.006
  38943. -.fi
  38944. -.RE
  38945. -.PP
  38946. -When the value under "reach" remains zero, check that gpsd is running; and some application is connected to it or the \'\-n\' option was used\&. Make sure the receiver is locked on to at least one satellite, and the receiver is in SiRF binary, Garmin binary or NMEA/PPS mode\&. Plain NMEA will also drive ntpd, but the accuracy as bad as one second\&. When the SHM(0) line does not appear at all, check the system logs for error messages from ntpd\&.
  38947. -.PP
  38948. -When no other reference clocks appear in the NTP configuration, the system clock will lock onto the GPS clock\&. When you have previously used
  38949. -ntpd, and other reference clocks appear in your configuration, there may be a fixed offset between the GPS clock and other clocks\&. The
  38950. -gpsd
  38951. -developers would like to receive information about the offsets observed by users for each type of receiver\&. Please send us the output of the "ntpq \-p" command and the make and type of receiver\&.
  38952. -.SH "USE WITH D-BUS"
  38953. -.PP
  38954. -On operating systems that support D\-BUS,
  38955. -gpsd
  38956. -can be built to broadcast GPS fixes to D\-BUS\-aware applications\&. As D\-BUS is still at a pre\-1\&.0 stage, we will not attempt to document this interface here\&. Read the
  38957. -gpsd
  38958. -source code to learn more\&.
  38959. -.SH "SECURITY AND PERMISSIONS ISSUES"
  38960. -.PP
  38961. -gpsd, if given the \-G flag, will listen for connections from any reachable host, and then disclose the current position\&. Before using the \-G flag, consider whether you consider your computer\'s location to be sensitive data to be kept private or something that you wish to publish\&.
  38962. -.PP
  38963. -gpsd
  38964. -must start up as root in order to open the NTPD shared\-memory segment, open its logfile, and create its local control socket\&. Before doing any processing of GPS data, it tries to drop root privileges by setting its UID to "nobody" (or another userid as set by configure) and its group ID to the group of the initial GPS passed on the command line \(em or, if that device doesn\'t exist, to the group of
  38965. -\fI/dev/ttyS0\fR\&.
  38966. -.PP
  38967. -Privilege\-dropping is a hedge against the possibility that carefully crafted data, either presented from a client socket or from a subverted serial device posing as a GPS, could be used to induce misbehavior in the internals of
  38968. -gpsd\&. It ensures that any such compromises cannot be used for privilege elevation to root\&.
  38969. -.PP
  38970. -The assumption behind
  38971. -gpsd\'s particular behavior is that all the tty devices to which a GPS might be connected are owned by the same non\-root group and allow group read/write, though the group may vary because of distribution\-specific or local administrative practice\&. If this assumption is false,
  38972. -gpsd
  38973. -may not be able to open GPS devices in order to read them (such failures will be logged)\&.
  38974. -.PP
  38975. -In order to fend off inadvertent denial\-of\-service attacks by port scanners (not to mention deliberate ones),
  38976. -gpsd
  38977. -will time out inactive client connections\&. Before the client has issued a command that requests a channel assignment, a short timeout (60 seconds) applies\&. There is no timeout for clients in watcher or raw modes; rather,
  38978. -gpsd
  38979. -drops these clients if they fail to read data long enough for the outbound socket write buffer to fill\&. Clients with an assigned device in polling mode are subject to a longer timeout (15 minutes)\&.
  38980. -.SH "LIMITATIONS"
  38981. -.PP
  38982. -If multiple NMEA talkers are feeding RMC, GLL, and GGA sentences to the same serial device (possible with an RS422 adapter hooked up to some marine\-navigation systems), an \'O\' response may mix an altitude from one device\'s GGA with latitude/longitude from another\'s RMC/GLL after the second sentence has arrived\&.
  38983. -.PP
  38984. -gpsd
  38985. -may change control settings on your GPS (such as the emission frequency of various sentences or packets) and not restore the original settings on exit\&. This is a result of inadequacies in NMEA and the vendor binary GPS protocols, which often do not give clients any way to query the values of control settings in order to be able to restore them later\&.
  38986. -.PP
  38987. -If your GPS uses a SiRF chipset at firmware level 231, and it is after 31 May 2007, reported UTC time may be off by the difference between 13 seconds and whatever leap\-second correction is currently applicable, from startup until complete subframe information is received (normally about six seconds)\&. Firmware levels 232 and up don\'t have this problem\&. You may run
  38988. -gpsd
  38989. -at debug level 4 to see the chipset type and firmware revision level\&.
  38990. -.PP
  38991. -When using SiRF chips, the VDOP/TDOP/GDOP figures and associated error estimates are computed by
  38992. -gpsd
  38993. -rather than reported by the chip\&. The computation does not exactly match what SiRF chips do internally, which includes some satellite weighting using parameters
  38994. -gpsd
  38995. -cannot see\&.
  38996. -.PP
  38997. -Autobauding on the Trimble GPSes can take as long as 5 seconds if the device speed is not matched to the GPS speed\&.
  38998. -.PP
  38999. -If you are using an NMEA\-only GPS (that is, not using SiRF or Garmin or Zodiac binary mode) and the GPS does not emit GPZDA at the start of its update cycle (which most consumer\-grade NMEA GPSes do not) and it is after 2099, then the century part of the dates
  39000. -gpsd
  39001. -delivers will be wrong\&.
  39002. -.SH "FILES"
  39003. -.PP
  39004. -\fI/dev/ttyS0\fR
  39005. -.RS 4
  39006. -Prototype TTY device\&. After startup,
  39007. -gpsd
  39008. -sets its group ID to the owner of this device if no GPS device was specified on the command line does not exist\&.
  39009. -.RE
  39010. -.SH "APPLICABLE STANDARDS"
  39011. -.PP
  39012. -The official NMEA protocol standard is available on paper from the
  39013. -\fINational Marine Electronics Association\fR\&[1], but is proprietary and expensive; the maintainers of
  39014. -gpsd
  39015. -have made a point of not looking at it\&. The
  39016. -\fIGPSD website\fR\&[2]
  39017. -links to several documents that collect publicly disclosed information about the protocol\&.
  39018. -.PP
  39019. -gpsd
  39020. -parses the following NMEA sentences: RMC, GGA, GLL, GSA, GSV, VTG, ZDA\&. It recognizes these with either the normal GP talker\-ID prefix, or with the II prefix emitted by Seahawk Autohelm marine navigation systems, or with the IN prefix emitted by some Garmin units\&. It recognizes one vendor extension, the PGRME emitted by some Garmin GPS models\&.
  39021. -.PP
  39022. -Note that
  39023. -gpsd
  39024. -returns pure decimal degrees, not the hybrid degree/minute format described in the NMEA standard\&.
  39025. -.PP
  39026. -Differential\-GPS corrections are conveyed by the RTCM\-104 proocol\&. The applicable standard for RTCM\-104 V2 is
  39027. -RTCM Recommended Standards for Differential NAVSTAR GPS Service
  39028. -RTCM Paper 194\-93/SC 104\-STD\&. The applicable standard for RTCM\-104 V3 is
  39029. -RTCM Standard 10403\&.1 for Differential GNSS Services \- Version 3
  39030. -RTCM Paper 177\-2006\-SC104\-STD\&.
  39031. -.SH "SEE ALSO"
  39032. -.PP
  39033. -
  39034. -\fBgps\fR(1),
  39035. -\fBlibgps\fR(3),
  39036. -\fBlibgpsd\fR(3),
  39037. -\fBgpsprof\fR(1),
  39038. -\fBgpsfake\fR(1),
  39039. -\fBgpsctl\fR(1),
  39040. -\fBgpscat\fR(1),
  39041. -\fBrtcm-104\fR(5)\&.
  39042. -.SH "AUTHORS"
  39043. -.PP
  39044. -Remco Treffcorn, Derrick Brashear, Russ Nelson, Eric S\&. Raymond, Chris Kuethe\&. This manual page by Eric S\&. Raymond
  39045. -<esr@thyrsus\&.com>\&. There is a project site at
  39046. -\fIhere\fR\&[2]\&.
  39047. -.SH "NOTES"
  39048. -.IP " 1." 4
  39049. -National Marine Electronics Association
  39050. -.RS 4
  39051. -\%http://www.nmea.org/pub/0183/
  39052. -.RE
  39053. -.IP " 2." 4
  39054. -GPSD website
  39055. -.RS 4
  39056. -\%http://gpsd.berlios.de/
  39057. -.RE
  39058. diff -Nur gpsd-2.39.orig/gpsd_config.h gpsd-2.39/gpsd_config.h
  39059. --- gpsd-2.39.orig/gpsd_config.h 1970-01-01 01:00:00.000000000 +0100
  39060. +++ gpsd-2.39/gpsd_config.h 2010-02-18 21:44:19.056856007 +0100
  39061. @@ -0,0 +1,359 @@
  39062. +/* gpsd_config.h. Generated from gpsd_config.h.in by configure. */
  39063. +/* gpsd_config.h.in. Generated from configure.ac by autoheader. */
  39064. +
  39065. +/* Define if building universal (internal helper macro) */
  39066. +/* #undef AC_APPLE_UNIVERSAL_BUILD */
  39067. +
  39068. +/* AIVDM protocol support) */
  39069. +#define AIVDM_ENABLE 1
  39070. +
  39071. +/* Allow gpsd to controlsend device */
  39072. +#define ALLOW_CONTROLSEND 1
  39073. +
  39074. +/* Allow gpsd to reconfigure device */
  39075. +#define ALLOW_RECONFIGURE 1
  39076. +
  39077. +/* Ashtech chipset support */
  39078. +#define ASHTECH_ENABLE 1
  39079. +
  39080. +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
  39081. + systems. This function is required for `alloca.c' support on those systems.
  39082. + */
  39083. +/* #undef CRAY_STACKSEG_END */
  39084. +
  39085. +/* Define to 1 if using `alloca.c'. */
  39086. +/* #undef C_ALLOCA */
  39087. +
  39088. +/* DBUS support */
  39089. +/* #undef DBUS_ENABLE */
  39090. +
  39091. +/* DeLorme EarthMate Zodiac support */
  39092. +#define EARTHMATE_ENABLE 1
  39093. +
  39094. +/* EverMore binary support */
  39095. +#define EVERMORE_ENABLE 1
  39096. +
  39097. +/* Fixed port speed */
  39098. +/* #undef FIXED_PORT_SPEED */
  39099. +
  39100. +/* San Jose Navigation FV-18 support */
  39101. +#define FV18_ENABLE 1
  39102. +
  39103. +/* Garmin Simple Text support */
  39104. +/* #undef GARMINTXT_ENABLE */
  39105. +
  39106. +/* Garmin support */
  39107. +#define GARMIN_ENABLE 1
  39108. +
  39109. +/* GPSclock chipset support */
  39110. +#define GPSCLOCK_ENABLE 1
  39111. +
  39112. +/* GPSD privilege revokation user */
  39113. +/* #undef GPSD_USER */
  39114. +
  39115. +/* Define to 1 if you have `alloca', as a function or macro. */
  39116. +#define HAVE_ALLOCA 1
  39117. +
  39118. +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
  39119. + */
  39120. +#define HAVE_ALLOCA_H 1
  39121. +
  39122. +/* Define to 1 if you have the <arpa/inet.h> header file. */
  39123. +#define HAVE_ARPA_INET_H 1
  39124. +
  39125. +/* Define if you have the external 'daylight' variable. */
  39126. +#define HAVE_DAYLIGHT 1
  39127. +
  39128. +/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
  39129. + */
  39130. +/* #undef HAVE_DECL_TZNAME */
  39131. +
  39132. +/* Define to 1 if you have the <dlfcn.h> header file. */
  39133. +#define HAVE_DLFCN_H 1
  39134. +
  39135. +/* Define to 1 if you have the <getopt.h> header file. */
  39136. +#define HAVE_GETOPT_H 1
  39137. +
  39138. +/* Define to 1 if you have the <inttypes.h> header file. */
  39139. +#define HAVE_INTTYPES_H 1
  39140. +
  39141. +/* pthread libraries are present */
  39142. +#define HAVE_LIBPTHREAD /**/
  39143. +
  39144. +/* Define to 1 if you have the <memory.h> header file. */
  39145. +#define HAVE_MEMORY_H 1
  39146. +
  39147. +/* Motif available */
  39148. +/* #undef HAVE_MOTIF */
  39149. +
  39150. +/* Define to 1 if you have the <ncurses.h> header file. */
  39151. +#define HAVE_NCURSES_H 1
  39152. +
  39153. +/* Define to 1 if you have the <netdb.h> header file. */
  39154. +#define HAVE_NETDB_H 1
  39155. +
  39156. +/* Define to 1 if you have the <netinet/in.h> header file. */
  39157. +#define HAVE_NETINET_IN_H 1
  39158. +
  39159. +/* Define to 1 if you have the <netinet/in_systm.h> header file. */
  39160. +#define HAVE_NETINET_IN_SYSTM_H 1
  39161. +
  39162. +/* Define to 1 if you have the <netinet/ip.h> header file. */
  39163. +/* #undef HAVE_NETINET_IP_H */
  39164. +
  39165. +/* Define to 1 if you have the <netinet/tcp.h> header file. */
  39166. +#define HAVE_NETINET_TCP_H 1
  39167. +
  39168. +/* Define to 1 if you have the `round' function. */
  39169. +/* #undef HAVE_ROUND */
  39170. +
  39171. +/* Define to 1 if you have the `setlocale' function. */
  39172. +#define HAVE_SETLOCALE 1
  39173. +
  39174. +/* Define to 1 if you have the <stdint.h> header file. */
  39175. +#define HAVE_STDINT_H 1
  39176. +
  39177. +/* Define to 1 if you have the <stdlib.h> header file. */
  39178. +#define HAVE_STDLIB_H 1
  39179. +
  39180. +/* Define to 1 if you have the <strings.h> header file. */
  39181. +#define HAVE_STRINGS_H 1
  39182. +
  39183. +/* Define to 1 if you have the <string.h> header file. */
  39184. +#define HAVE_STRING_H 1
  39185. +
  39186. +/* Define to 1 if you have the `strlcat' function. */
  39187. +/* #undef HAVE_STRLCAT */
  39188. +
  39189. +/* Define to 1 if you have the `strlcpy' function. */
  39190. +/* #undef HAVE_STRLCPY */
  39191. +
  39192. +/* Define to 1 if you have the `strtonum' function. */
  39193. +/* #undef HAVE_STRTONUM */
  39194. +
  39195. +/* Define to 1 if `tm_zone' is a member of `struct tm'. */
  39196. +#define HAVE_STRUCT_TM_TM_ZONE 1
  39197. +
  39198. +/* Define to 1 if you have the <sys/ipc.h> header file. */
  39199. +#define HAVE_SYS_IPC_H 1
  39200. +
  39201. +/* Define to 1 if you have the <sys/modem.h> header file. */
  39202. +/* #undef HAVE_SYS_MODEM_H */
  39203. +
  39204. +/* Define to 1 if you have the <sys/select.h> header file. */
  39205. +#define HAVE_SYS_SELECT_H 1
  39206. +
  39207. +/* Define to 1 if you have the <sys/shm.h> header file. */
  39208. +#define HAVE_SYS_SHM_H 1
  39209. +
  39210. +/* Define to 1 if you have the <sys/socket.h> header file. */
  39211. +#define HAVE_SYS_SOCKET_H 1
  39212. +
  39213. +/* Define to 1 if you have the <sys/stat.h> header file. */
  39214. +#define HAVE_SYS_STAT_H 1
  39215. +
  39216. +/* Define to 1 if you have the <sys/termios.h> header file. */
  39217. +#define HAVE_SYS_TERMIOS_H 1
  39218. +
  39219. +/* Define to 1 if you have the <sys/time.h> header file. */
  39220. +#define HAVE_SYS_TIME_H 1
  39221. +
  39222. +/* Define to 1 if you have the <sys/types.h> header file. */
  39223. +#define HAVE_SYS_TYPES_H 1
  39224. +
  39225. +/* Define to 1 if you have the <termios.h> header file. */
  39226. +#define HAVE_TERMIOS_H 1
  39227. +
  39228. +/* Have timezone variable */
  39229. +#define HAVE_TIMEZONE /**/
  39230. +
  39231. +/* struct tm has tm_gmtoff */
  39232. +/* #undef HAVE_TM_GMTOFF */
  39233. +
  39234. +/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
  39235. + `HAVE_STRUCT_TM_TM_ZONE' instead. */
  39236. +#define HAVE_TM_ZONE 1
  39237. +
  39238. +/* Define to 1 if you don't have `tm_zone' but do have the external array
  39239. + `tzname'. */
  39240. +/* #undef HAVE_TZNAME */
  39241. +
  39242. +/* Define to 1 if you have the <unistd.h> header file. */
  39243. +#define HAVE_UNISTD_H 1
  39244. +
  39245. +/* Define to 1 if you have the `vsnprintf' function. */
  39246. +#define HAVE_VSNPRINTF 1
  39247. +
  39248. +/* Define to 1 if you have the <X11/xpm.h> header file. */
  39249. +/* #undef HAVE_X11_XPM_H */
  39250. +
  39251. +/* Xp available */
  39252. +/* #undef HAVE_XP */
  39253. +
  39254. +/* Xpm available */
  39255. +/* #undef HAVE_XPM */
  39256. +
  39257. +/* Define to 1 if you have the <xpm.h> header file. */
  39258. +/* #undef HAVE_XPM_H */
  39259. +
  39260. +/* iTrax chipset support */
  39261. +#define ITRAX_ENABLE 1
  39262. +
  39263. +/* Limited maximum clients */
  39264. +/* #undef LIMITED_MAX_CLIENTS */
  39265. +
  39266. +/* Maximum gps devices */
  39267. +/* #undef LIMITED_MAX_DEVICES */
  39268. +
  39269. +/* Define to the sub-directory in which libtool stores uninstalled libraries.
  39270. + */
  39271. +#define LT_OBJDIR ".libs/"
  39272. +
  39273. +/* MKT-3301 support */
  39274. +#define MKT3301_ENABLE 1
  39275. +
  39276. +/* Navcom support */
  39277. +#define NAVCOM_ENABLE 1
  39278. +
  39279. +/* MKT-3301 requires NMEA support */
  39280. +#define NMEA_ENABLE 1
  39281. +
  39282. +/* NTP time hinting support */
  39283. +#define NTPSHM_ENABLE 1
  39284. +
  39285. +/* NTRIP support */
  39286. +#define NTRIP_ENABLE 1
  39287. +
  39288. +/* OceanServer support */
  39289. +/* #undef OCEANSERVER_ENABLE */
  39290. +
  39291. +/* Name of package */
  39292. +#define PACKAGE "gpsd"
  39293. +
  39294. +/* Define to the address where bug reports for this package should be sent. */
  39295. +#define PACKAGE_BUGREPORT ""
  39296. +
  39297. +/* Define to the full name of this package. */
  39298. +#define PACKAGE_NAME ""
  39299. +
  39300. +/* Define to the full name and version of this package. */
  39301. +#define PACKAGE_STRING ""
  39302. +
  39303. +/* Define to the one symbol short name of this package. */
  39304. +#define PACKAGE_TARNAME ""
  39305. +
  39306. +/* Define to the home page for this package. */
  39307. +#define PACKAGE_URL ""
  39308. +
  39309. +/* Define to the version of this package. */
  39310. +#define PACKAGE_VERSION ""
  39311. +
  39312. +/* PPS time syncing support */
  39313. +#define PPS_ENABLE 1
  39314. +
  39315. +/* PPS on CTS rather than DCD */
  39316. +/* #undef PPS_ON_CTS */
  39317. +
  39318. +/* profiling support */
  39319. +/* #undef PROFILING */
  39320. +
  39321. +/* rtcm104v2 binary support */
  39322. +#define RTCM104V2_ENABLE 1
  39323. +
  39324. +/* rtcm104v3 binary support */
  39325. +#define RTCM104V3_ENABLE 1
  39326. +
  39327. +/* SiRF chipset support */
  39328. +#define SIRF_ENABLE 1
  39329. +
  39330. +/* The size of `char', as computed by sizeof. */
  39331. +#define SIZEOF_CHAR 1
  39332. +
  39333. +/* The size of `double', as computed by sizeof. */
  39334. +#define SIZEOF_DOUBLE 8
  39335. +
  39336. +/* The size of `float', as computed by sizeof. */
  39337. +#define SIZEOF_FLOAT 4
  39338. +
  39339. +/* The size of `int', as computed by sizeof. */
  39340. +#define SIZEOF_INT 4
  39341. +
  39342. +/* The size of `long', as computed by sizeof. */
  39343. +#define SIZEOF_LONG 4
  39344. +
  39345. +/* The size of `long long', as computed by sizeof. */
  39346. +#define SIZEOF_LONG_LONG 8
  39347. +
  39348. +/* The size of `short', as computed by sizeof. */
  39349. +#define SIZEOF_SHORT 2
  39350. +
  39351. +/* Squelch logging and hexdumps */
  39352. +/* #undef SQUELCH_ENABLE */
  39353. +
  39354. +/* If using the C implementation of alloca, define if you know the
  39355. + direction of stack growth for your system; otherwise it will be
  39356. + automatically deduced at runtime.
  39357. + STACK_DIRECTION > 0 => grows toward higher addresses
  39358. + STACK_DIRECTION < 0 => grows toward lower addresses
  39359. + STACK_DIRECTION = 0 => direction of growth unknown */
  39360. +/* #undef STACK_DIRECTION */
  39361. +
  39362. +/* Define to 1 if you have the ANSI C header files. */
  39363. +#define STDC_HEADERS 1
  39364. +
  39365. +/* SuperStarII chipset support */
  39366. +#define SUPERSTAR2_ENABLE 1
  39367. +
  39368. +/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  39369. +#define TIME_WITH_SYS_TIME 1
  39370. +
  39371. +/* Define to 1 if your <sys/time.h> declares `struct tm'. */
  39372. +/* #undef TM_IN_SYS_TIME */
  39373. +
  39374. +/* True North Technologies support */
  39375. +/* #undef TNT_ENABLE */
  39376. +
  39377. +/* DeLorme TripMate support */
  39378. +#define TRIPMATE_ENABLE 1
  39379. +
  39380. +/* Trimble TSIP support */
  39381. +#define TSIP_ENABLE 1
  39382. +
  39383. +/* UBX Protocol support */
  39384. +#define UBX_ENABLE 1
  39385. +
  39386. +/* Version number of package */
  39387. +#define VERSION "2.39"
  39388. +
  39389. +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  39390. + significant byte first (like Motorola and SPARC, unlike Intel). */
  39391. +#if defined AC_APPLE_UNIVERSAL_BUILD
  39392. +# if defined __BIG_ENDIAN__
  39393. +# define WORDS_BIGENDIAN 1
  39394. +# endif
  39395. +#else
  39396. +# ifndef WORDS_BIGENDIAN
  39397. +/* # undef WORDS_BIGENDIAN */
  39398. +# endif
  39399. +#endif
  39400. +
  39401. +/* Define to 1 if the X Window System is missing or not being used. */
  39402. +/* #undef X_DISPLAY_MISSING */
  39403. +
  39404. +/* Macro for declaring function arguments unused. */
  39405. +#if defined(__GNUC__)
  39406. +# define UNUSED __attribute__((unused)) /* Flag variable as unused */
  39407. +#else /* not __GNUC__ */
  39408. +# define UNUSED
  39409. +#endif
  39410. +
  39411. +/* Some libc's don't have strlcat/strlcpy. Local copies are provided */
  39412. +#ifndef HAVE_STRLCAT
  39413. +size_t strlcat(/*@out@*/char *dst, /*@in@*/const char *src, size_t size);
  39414. +#endif
  39415. +#ifndef HAVE_STRLCPY
  39416. +size_t strlcpy(/*@out@*/char *dst, /*@in@*/const char *src, size_t size);
  39417. +#endif
  39418. +
  39419. +/* Define to empty if `const' does not conform to ANSI C. */
  39420. +/* #undef const */
  39421. diff -Nur gpsd-2.39.orig/gpsd_config.h.in gpsd-2.39/gpsd_config.h.in
  39422. --- gpsd-2.39.orig/gpsd_config.h.in 2009-03-18 22:10:49.000000000 +0100
  39423. +++ gpsd-2.39/gpsd_config.h.in 2010-02-18 21:42:04.600855467 +0100
  39424. @@ -1,5 +1,8 @@
  39425. /* gpsd_config.h.in. Generated from configure.ac by autoheader. */
  39426. +/* Define if building universal (internal helper macro) */
  39427. +#undef AC_APPLE_UNIVERSAL_BUILD
  39428. +
  39429. /* AIVDM protocol support) */
  39430. #undef AIVDM_ENABLE
  39431. @@ -100,9 +103,6 @@
  39432. /* Define to 1 if you have the <netinet/tcp.h> header file. */
  39433. #undef HAVE_NETINET_TCP_H
  39434. -/* Define to 1 if you have the <Python.h> header file. */
  39435. -#undef HAVE_PYTHON_H
  39436. -
  39437. /* Define to 1 if you have the `round' function. */
  39438. #undef HAVE_ROUND
  39439. @@ -130,7 +130,7 @@
  39440. /* Define to 1 if you have the `strtonum' function. */
  39441. #undef HAVE_STRTONUM
  39442. -/* Define to 1 if `tm_zone' is member of `struct tm'. */
  39443. +/* Define to 1 if `tm_zone' is a member of `struct tm'. */
  39444. #undef HAVE_STRUCT_TM_TM_ZONE
  39445. /* Define to 1 if you have the <sys/ipc.h> header file. */
  39446. @@ -241,6 +241,9 @@
  39447. /* Define to the one symbol short name of this package. */
  39448. #undef PACKAGE_TARNAME
  39449. +/* Define to the home page for this package. */
  39450. +#undef PACKAGE_URL
  39451. +
  39452. /* Define to the version of this package. */
  39453. #undef PACKAGE_VERSION
  39454. @@ -321,9 +324,17 @@
  39455. /* Version number of package */
  39456. #undef VERSION
  39457. -/* Define to 1 if your processor stores words with the most significant byte
  39458. - first (like Motorola and SPARC, unlike Intel and VAX). */
  39459. -#undef WORDS_BIGENDIAN
  39460. +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  39461. + significant byte first (like Motorola and SPARC, unlike Intel). */
  39462. +#if defined AC_APPLE_UNIVERSAL_BUILD
  39463. +# if defined __BIG_ENDIAN__
  39464. +# define WORDS_BIGENDIAN 1
  39465. +# endif
  39466. +#else
  39467. +# ifndef WORDS_BIGENDIAN
  39468. +# undef WORDS_BIGENDIAN
  39469. +# endif
  39470. +#endif
  39471. /* Define to 1 if the X Window System is missing or not being used. */
  39472. #undef X_DISPLAY_MISSING
  39473. diff -Nur gpsd-2.39.orig/gpsd_config.h.in~ gpsd-2.39/gpsd_config.h.in~
  39474. --- gpsd-2.39.orig/gpsd_config.h.in~ 1970-01-01 01:00:00.000000000 +0100
  39475. +++ gpsd-2.39/gpsd_config.h.in~ 2010-02-18 21:38:47.392856051 +0100
  39476. @@ -0,0 +1,358 @@
  39477. +/* gpsd_config.h.in. Generated from configure.ac by autoheader. */
  39478. +
  39479. +/* Define if building universal (internal helper macro) */
  39480. +#undef AC_APPLE_UNIVERSAL_BUILD
  39481. +
  39482. +/* AIVDM protocol support) */
  39483. +#undef AIVDM_ENABLE
  39484. +
  39485. +/* Allow gpsd to controlsend device */
  39486. +#undef ALLOW_CONTROLSEND
  39487. +
  39488. +/* Allow gpsd to reconfigure device */
  39489. +#undef ALLOW_RECONFIGURE
  39490. +
  39491. +/* Ashtech chipset support */
  39492. +#undef ASHTECH_ENABLE
  39493. +
  39494. +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
  39495. + systems. This function is required for `alloca.c' support on those systems.
  39496. + */
  39497. +#undef CRAY_STACKSEG_END
  39498. +
  39499. +/* Define to 1 if using `alloca.c'. */
  39500. +#undef C_ALLOCA
  39501. +
  39502. +/* DBUS support */
  39503. +#undef DBUS_ENABLE
  39504. +
  39505. +/* DeLorme EarthMate Zodiac support */
  39506. +#undef EARTHMATE_ENABLE
  39507. +
  39508. +/* EverMore binary support */
  39509. +#undef EVERMORE_ENABLE
  39510. +
  39511. +/* Fixed port speed */
  39512. +#undef FIXED_PORT_SPEED
  39513. +
  39514. +/* San Jose Navigation FV-18 support */
  39515. +#undef FV18_ENABLE
  39516. +
  39517. +/* Garmin Simple Text support */
  39518. +#undef GARMINTXT_ENABLE
  39519. +
  39520. +/* Garmin support */
  39521. +#undef GARMIN_ENABLE
  39522. +
  39523. +/* GPSclock chipset support */
  39524. +#undef GPSCLOCK_ENABLE
  39525. +
  39526. +/* GPSD privilege revokation user */
  39527. +#undef GPSD_USER
  39528. +
  39529. +/* Define to 1 if you have `alloca', as a function or macro. */
  39530. +#undef HAVE_ALLOCA
  39531. +
  39532. +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
  39533. + */
  39534. +#undef HAVE_ALLOCA_H
  39535. +
  39536. +/* Define to 1 if you have the <arpa/inet.h> header file. */
  39537. +#undef HAVE_ARPA_INET_H
  39538. +
  39539. +/* Define if you have the external 'daylight' variable. */
  39540. +#undef HAVE_DAYLIGHT
  39541. +
  39542. +/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
  39543. + */
  39544. +#undef HAVE_DECL_TZNAME
  39545. +
  39546. +/* Define to 1 if you have the <dlfcn.h> header file. */
  39547. +#undef HAVE_DLFCN_H
  39548. +
  39549. +/* Define to 1 if you have the <getopt.h> header file. */
  39550. +#undef HAVE_GETOPT_H
  39551. +
  39552. +/* Define to 1 if you have the <inttypes.h> header file. */
  39553. +#undef HAVE_INTTYPES_H
  39554. +
  39555. +/* pthread libraries are present */
  39556. +#undef HAVE_LIBPTHREAD
  39557. +
  39558. +/* Define to 1 if you have the <memory.h> header file. */
  39559. +#undef HAVE_MEMORY_H
  39560. +
  39561. +/* Motif available */
  39562. +#undef HAVE_MOTIF
  39563. +
  39564. +/* Define to 1 if you have the <ncurses.h> header file. */
  39565. +#undef HAVE_NCURSES_H
  39566. +
  39567. +/* Define to 1 if you have the <netdb.h> header file. */
  39568. +#undef HAVE_NETDB_H
  39569. +
  39570. +/* Define to 1 if you have the <netinet/in.h> header file. */
  39571. +#undef HAVE_NETINET_IN_H
  39572. +
  39573. +/* Define to 1 if you have the <netinet/in_systm.h> header file. */
  39574. +#undef HAVE_NETINET_IN_SYSTM_H
  39575. +
  39576. +/* Define to 1 if you have the <netinet/ip.h> header file. */
  39577. +#undef HAVE_NETINET_IP_H
  39578. +
  39579. +/* Define to 1 if you have the <netinet/tcp.h> header file. */
  39580. +#undef HAVE_NETINET_TCP_H
  39581. +
  39582. +/* Define to 1 if you have the `round' function. */
  39583. +#undef HAVE_ROUND
  39584. +
  39585. +/* Define to 1 if you have the `setlocale' function. */
  39586. +#undef HAVE_SETLOCALE
  39587. +
  39588. +/* Define to 1 if you have the <stdint.h> header file. */
  39589. +#undef HAVE_STDINT_H
  39590. +
  39591. +/* Define to 1 if you have the <stdlib.h> header file. */
  39592. +#undef HAVE_STDLIB_H
  39593. +
  39594. +/* Define to 1 if you have the <strings.h> header file. */
  39595. +#undef HAVE_STRINGS_H
  39596. +
  39597. +/* Define to 1 if you have the <string.h> header file. */
  39598. +#undef HAVE_STRING_H
  39599. +
  39600. +/* Define to 1 if you have the `strlcat' function. */
  39601. +#undef HAVE_STRLCAT
  39602. +
  39603. +/* Define to 1 if you have the `strlcpy' function. */
  39604. +#undef HAVE_STRLCPY
  39605. +
  39606. +/* Define to 1 if you have the `strtonum' function. */
  39607. +#undef HAVE_STRTONUM
  39608. +
  39609. +/* Define to 1 if `tm_zone' is a member of `struct tm'. */
  39610. +#undef HAVE_STRUCT_TM_TM_ZONE
  39611. +
  39612. +/* Define to 1 if you have the <sys/ipc.h> header file. */
  39613. +#undef HAVE_SYS_IPC_H
  39614. +
  39615. +/* Define to 1 if you have the <sys/modem.h> header file. */
  39616. +#undef HAVE_SYS_MODEM_H
  39617. +
  39618. +/* Define to 1 if you have the <sys/select.h> header file. */
  39619. +#undef HAVE_SYS_SELECT_H
  39620. +
  39621. +/* Define to 1 if you have the <sys/shm.h> header file. */
  39622. +#undef HAVE_SYS_SHM_H
  39623. +
  39624. +/* Define to 1 if you have the <sys/socket.h> header file. */
  39625. +#undef HAVE_SYS_SOCKET_H
  39626. +
  39627. +/* Define to 1 if you have the <sys/stat.h> header file. */
  39628. +#undef HAVE_SYS_STAT_H
  39629. +
  39630. +/* Define to 1 if you have the <sys/termios.h> header file. */
  39631. +#undef HAVE_SYS_TERMIOS_H
  39632. +
  39633. +/* Define to 1 if you have the <sys/time.h> header file. */
  39634. +#undef HAVE_SYS_TIME_H
  39635. +
  39636. +/* Define to 1 if you have the <sys/types.h> header file. */
  39637. +#undef HAVE_SYS_TYPES_H
  39638. +
  39639. +/* Define to 1 if you have the <termios.h> header file. */
  39640. +#undef HAVE_TERMIOS_H
  39641. +
  39642. +/* Have timezone variable */
  39643. +#undef HAVE_TIMEZONE
  39644. +
  39645. +/* struct tm has tm_gmtoff */
  39646. +#undef HAVE_TM_GMTOFF
  39647. +
  39648. +/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
  39649. + `HAVE_STRUCT_TM_TM_ZONE' instead. */
  39650. +#undef HAVE_TM_ZONE
  39651. +
  39652. +/* Define to 1 if you don't have `tm_zone' but do have the external array
  39653. + `tzname'. */
  39654. +#undef HAVE_TZNAME
  39655. +
  39656. +/* Define to 1 if you have the <unistd.h> header file. */
  39657. +#undef HAVE_UNISTD_H
  39658. +
  39659. +/* Define to 1 if you have the `vsnprintf' function. */
  39660. +#undef HAVE_VSNPRINTF
  39661. +
  39662. +/* Define to 1 if you have the <X11/xpm.h> header file. */
  39663. +#undef HAVE_X11_XPM_H
  39664. +
  39665. +/* Xp available */
  39666. +#undef HAVE_XP
  39667. +
  39668. +/* Xpm available */
  39669. +#undef HAVE_XPM
  39670. +
  39671. +/* Define to 1 if you have the <xpm.h> header file. */
  39672. +#undef HAVE_XPM_H
  39673. +
  39674. +/* iTrax chipset support */
  39675. +#undef ITRAX_ENABLE
  39676. +
  39677. +/* Limited maximum clients */
  39678. +#undef LIMITED_MAX_CLIENTS
  39679. +
  39680. +/* Maximum gps devices */
  39681. +#undef LIMITED_MAX_DEVICES
  39682. +
  39683. +/* Define to the sub-directory in which libtool stores uninstalled libraries.
  39684. + */
  39685. +#undef LT_OBJDIR
  39686. +
  39687. +/* MKT-3301 support */
  39688. +#undef MKT3301_ENABLE
  39689. +
  39690. +/* Navcom support */
  39691. +#undef NAVCOM_ENABLE
  39692. +
  39693. +/* MKT-3301 requires NMEA support */
  39694. +#undef NMEA_ENABLE
  39695. +
  39696. +/* NTP time hinting support */
  39697. +#undef NTPSHM_ENABLE
  39698. +
  39699. +/* NTRIP support */
  39700. +#undef NTRIP_ENABLE
  39701. +
  39702. +/* OceanServer support */
  39703. +#undef OCEANSERVER_ENABLE
  39704. +
  39705. +/* Name of package */
  39706. +#undef PACKAGE
  39707. +
  39708. +/* Define to the address where bug reports for this package should be sent. */
  39709. +#undef PACKAGE_BUGREPORT
  39710. +
  39711. +/* Define to the full name of this package. */
  39712. +#undef PACKAGE_NAME
  39713. +
  39714. +/* Define to the full name and version of this package. */
  39715. +#undef PACKAGE_STRING
  39716. +
  39717. +/* Define to the one symbol short name of this package. */
  39718. +#undef PACKAGE_TARNAME
  39719. +
  39720. +/* Define to the home page for this package. */
  39721. +#undef PACKAGE_URL
  39722. +
  39723. +/* Define to the version of this package. */
  39724. +#undef PACKAGE_VERSION
  39725. +
  39726. +/* PPS time syncing support */
  39727. +#undef PPS_ENABLE
  39728. +
  39729. +/* PPS on CTS rather than DCD */
  39730. +#undef PPS_ON_CTS
  39731. +
  39732. +/* profiling support */
  39733. +#undef PROFILING
  39734. +
  39735. +/* rtcm104v2 binary support */
  39736. +#undef RTCM104V2_ENABLE
  39737. +
  39738. +/* rtcm104v3 binary support */
  39739. +#undef RTCM104V3_ENABLE
  39740. +
  39741. +/* SiRF chipset support */
  39742. +#undef SIRF_ENABLE
  39743. +
  39744. +/* The size of `char', as computed by sizeof. */
  39745. +#undef SIZEOF_CHAR
  39746. +
  39747. +/* The size of `double', as computed by sizeof. */
  39748. +#undef SIZEOF_DOUBLE
  39749. +
  39750. +/* The size of `float', as computed by sizeof. */
  39751. +#undef SIZEOF_FLOAT
  39752. +
  39753. +/* The size of `int', as computed by sizeof. */
  39754. +#undef SIZEOF_INT
  39755. +
  39756. +/* The size of `long', as computed by sizeof. */
  39757. +#undef SIZEOF_LONG
  39758. +
  39759. +/* The size of `long long', as computed by sizeof. */
  39760. +#undef SIZEOF_LONG_LONG
  39761. +
  39762. +/* The size of `short', as computed by sizeof. */
  39763. +#undef SIZEOF_SHORT
  39764. +
  39765. +/* Squelch logging and hexdumps */
  39766. +#undef SQUELCH_ENABLE
  39767. +
  39768. +/* If using the C implementation of alloca, define if you know the
  39769. + direction of stack growth for your system; otherwise it will be
  39770. + automatically deduced at runtime.
  39771. + STACK_DIRECTION > 0 => grows toward higher addresses
  39772. + STACK_DIRECTION < 0 => grows toward lower addresses
  39773. + STACK_DIRECTION = 0 => direction of growth unknown */
  39774. +#undef STACK_DIRECTION
  39775. +
  39776. +/* Define to 1 if you have the ANSI C header files. */
  39777. +#undef STDC_HEADERS
  39778. +
  39779. +/* SuperStarII chipset support */
  39780. +#undef SUPERSTAR2_ENABLE
  39781. +
  39782. +/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  39783. +#undef TIME_WITH_SYS_TIME
  39784. +
  39785. +/* Define to 1 if your <sys/time.h> declares `struct tm'. */
  39786. +#undef TM_IN_SYS_TIME
  39787. +
  39788. +/* True North Technologies support */
  39789. +#undef TNT_ENABLE
  39790. +
  39791. +/* DeLorme TripMate support */
  39792. +#undef TRIPMATE_ENABLE
  39793. +
  39794. +/* Trimble TSIP support */
  39795. +#undef TSIP_ENABLE
  39796. +
  39797. +/* UBX Protocol support */
  39798. +#undef UBX_ENABLE
  39799. +
  39800. +/* Version number of package */
  39801. +#undef VERSION
  39802. +
  39803. +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  39804. + significant byte first (like Motorola and SPARC, unlike Intel). */
  39805. +#if defined AC_APPLE_UNIVERSAL_BUILD
  39806. +# if defined __BIG_ENDIAN__
  39807. +# define WORDS_BIGENDIAN 1
  39808. +# endif
  39809. +#else
  39810. +# ifndef WORDS_BIGENDIAN
  39811. +# undef WORDS_BIGENDIAN
  39812. +# endif
  39813. +#endif
  39814. +
  39815. +/* Define to 1 if the X Window System is missing or not being used. */
  39816. +#undef X_DISPLAY_MISSING
  39817. +
  39818. +/* Macro for declaring function arguments unused. */
  39819. +#if defined(__GNUC__)
  39820. +# define UNUSED __attribute__((unused)) /* Flag variable as unused */
  39821. +#else /* not __GNUC__ */
  39822. +# define UNUSED
  39823. +#endif
  39824. +
  39825. +/* Some libc's don't have strlcat/strlcpy. Local copies are provided */
  39826. +#ifndef HAVE_STRLCAT
  39827. +size_t strlcat(/*@out@*/char *dst, /*@in@*/const char *src, size_t size);
  39828. +#endif
  39829. +#ifndef HAVE_STRLCPY
  39830. +size_t strlcpy(/*@out@*/char *dst, /*@in@*/const char *src, size_t size);
  39831. +#endif
  39832. +
  39833. +/* Define to empty if `const' does not conform to ANSI C. */
  39834. +#undef const
  39835. diff -Nur gpsd-2.39.orig/gpsdecode.1 gpsd-2.39/gpsdecode.1
  39836. --- gpsd-2.39.orig/gpsdecode.1 2009-03-18 15:55:51.000000000 +0100
  39837. +++ gpsd-2.39/gpsdecode.1 1970-01-01 01:00:00.000000000 +0100
  39838. @@ -1,120 +0,0 @@
  39839. -.\" Title: gpsdecode
  39840. -.\" Author:
  39841. -.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
  39842. -.\" Date: 03/18/2009
  39843. -.\" Manual: 13 Jul 2005
  39844. -.\" Source: 13 Jul 2005
  39845. -.\"
  39846. -.TH "GPSDECODE" "1" "03/18/2009" "13 Jul 2005" "13 Jul 2005"
  39847. -.\" disable hyphenation
  39848. -.nh
  39849. -.\" disable justification (adjust text to left margin only)
  39850. -.ad l
  39851. -.SH "NAME"
  39852. -gpsdecode \- decode RTCM or AIVDM streams into a readable format
  39853. -.SH "SYNOPSIS"
  39854. -.HP 10
  39855. -\fBgpsdecode\fR [\-d] [\-e] [\-l] [\-u] [\-D\ \fIdebuglevel\fR] [\-V]
  39856. -.SH "DESCRIPTION"
  39857. -.PP
  39858. -This tool is a decoder/encoder for various binary packet formats associated with GPS and differential\-correction services\&. It produces a text dump on standard output from binary on standard input, or binary packets on standard output from text on standard input, and aims to be 100% information\-preserving in both directions\&. As well as data, the decoder also prints decoder status messages to standard error as necessary\&.
  39859. -.PP
  39860. -Two of the supported formats are RTCM 2 and 3, a pair of obscure and complicated serial protocol used for broadcasting pseudorange corrections from differential\-GPS reference stations\&. You can use this mode of the tool with
  39861. -\fBnc\fR(1)
  39862. -to examine RTCM feeds from DGPSIP servers or Ntrip broadcasters\&. The decoder dump format for RTCM2 is described in
  39863. -\fBrtcm\fR(5); these lines go to standard output\&.
  39864. -.PP
  39865. -Another supported format is AIVDM\&. This is the sentence format used by the marine Automatic Identification System\&. This can be decoded, but not yet encoded\&.
  39866. -.PP
  39867. -The dump lines are values of AIS payload fields, comma\-separated, in the order that they occur in the payload, spare and assigned\-mode bits omitted\&. Spans of fields expressing a date are emitted as an ISO8601 timestamp (look for colons and the trailing Z indicating Zulu/UTC time), and the 19\-bit group of TDMA status fields found at the end of message types 1\-4 are are dumped as a single unsigned integer in hex\&. (Unused regional\-authority fields are also dumped in hex\&.)
  39868. -.PP
  39869. -By default, certain scaling and conversion operations are performed for the output\&. Latitudes and longitudes are scaled to decimal degrees rather than the native AIS unit of 1/10000th of a minute of arc\&. Ship (but not air) speeds are scaled to knots rather than tenth\-of\-knot unit\&. Navigation status and positioning\-system type are dumped as text strings rather than IAS numeric codes\&. Rate of turn may appear as "nan" if is unavailable, of as one of the strings "fastright" or "fastleft" if it is out of the IAS encoding range; otherwise it is quadratically mapped back to the turn sensor number in degrees per minute\&. Vessel draughts are converted to decimal meters rather than native AIS decimeters\&.
  39870. -.SH "OPTIONS"
  39871. -.PP
  39872. -The
  39873. -\fB\-d\fR
  39874. -option tells the program to decode packets presented on standard input to a text dump on standard output\&. This is the default behavior\&.
  39875. -.PP
  39876. -RTCM2 will be dumped in the format of
  39877. -\fBrtcm-104\fR(5)
  39878. -on standard output\&.
  39879. -.PP
  39880. -The
  39881. -\fB\-e\fR
  39882. -option option tells the program to encode a text dump in the format of
  39883. -\fBrtcm-104\fR(5)
  39884. -to standard output\&. Encoding is supported only RTCM2, not for RTCM3\&.
  39885. -.PP
  39886. -The
  39887. -\fB\-u\fR
  39888. -suppresses scaling to float quantities and text expansion of numeric codes\&. A dump with this option is lossless\&.
  39889. -.PP
  39890. -The
  39891. -\fB\-l\fR
  39892. -inserts a mnemonic label, followed by an equal sign, before each field in each dump line\&.
  39893. -.PP
  39894. -The
  39895. -\fB\-V\fR
  39896. -option directs the program to emit its version number, then exit\&.
  39897. -.PP
  39898. -The
  39899. -\fB\-D\fR
  39900. -option sets a debug verbosity level\&. It is mainly of interest to developers\&.
  39901. -.SH "APPLICABLE STANDARDS"
  39902. -.PP
  39903. -The applicable standard for V2 is
  39904. -RTCM Recommended Standards for Differential NAVSTAR GPS Service
  39905. -RTCM Paper 194\-93/SC 104\-STD\&.
  39906. -.PP
  39907. -Note that
  39908. -gpsdecode
  39909. -presently recognizes only the 2\&.1 level of RTCM; the protocol was revised up to a version 2\&.3 including additional messages relating to GLONASS and real\-time kinematics before being deprecated in favor of V3\&. It is now obsolete\&.
  39910. -.PP
  39911. -The applicable standard for V3 is
  39912. -RTCM Standard 10403\&.1 for Differential GNSS Services \- Version 3
  39913. -RTCM Paper 177\-2006\-SC104\-STD\&.
  39914. -.PP
  39915. -Ordering instructions for the RTCM standards are accessible from the website of the
  39916. -\fIRadio Technical Commission for Maritime Services\fR\&[1]
  39917. -under "Publications"\&.
  39918. -.PP
  39919. -The applicable standard for AIVDM is
  39920. -ITU\-R M\&.1371: ITU Recommendation on the Technical Characteristics for a Universal Shipborne Automatic Identification System (AIS) using Time Division Multiple Access in the Maritime Mobile Band,\&. A more accessible description can be found onn the references page of the GPSD project website\&.
  39921. -.SH "BUGS AND LIMITATIONS"
  39922. -.PP
  39923. -AIDVM decoding presently only parses fields for the common sentence types 1\-5, the rarely encountered type 9, and the uncommon type 18\&. AIVDM encoding is not yet supported\&.
  39924. -.PP
  39925. -RTCM3 decoding is buggy and incomplete\&.
  39926. -.PP
  39927. -RTCM2 represents floating\-point quantities as an integer multiple of a fixed scale factor\&. Editing an RTCM2 dump can produce numbers that are not an integer multiple of the scale factor for their field\&. If you do this, the value actually packed into binary RTCM2 will be rounded down to the nearest scale unit, and dumping will show slightly different numbers than those you entered\&. This bug could be fixed by supporting the
  39928. -\fB\-u\fR
  39929. -option to suppress scaling, but the protocol is noew obsolete\&.
  39930. -.PP
  39931. -The RTCM2 decoder logic is sufficiently convoluted to confuse some compiler optimizers, notably in GCC 3\&.x at \-O2, into generating bad code\&.
  39932. -.SH "SEE ALSO"
  39933. -.PP
  39934. -
  39935. -\fBgpsd\fR(8),
  39936. -\fBgps\fR(1),
  39937. -\fBlibgps\fR(3),
  39938. -\fBlibgpsd\fR(3),
  39939. -\fBgpsprof\fR(1),
  39940. -\fBgpsfake\fR(1),
  39941. -\fBrtcm-104\fR(5)\&.
  39942. -.SH "AUTHOR"
  39943. -.PP
  39944. -Eric S\&. Raymond
  39945. -<esr@thyrsus\&.com>\&. This is a somewhat hacked version of an RTCM decoder originally written by Wolfgang Rupprecht\&. There is a project page for
  39946. -gpsd
  39947. -\fIhere\fR\&[2]\&.
  39948. -.SH "NOTES"
  39949. -.IP " 1." 4
  39950. -Radio Technical Commission for Maritime Services
  39951. -.RS 4
  39952. -\%http://www.rtcm.org/
  39953. -.RE
  39954. -.IP " 2." 4
  39955. -here
  39956. -.RS 4
  39957. -\%http://gpsd.berlios.de/
  39958. -.RE
  39959. diff -Nur gpsd-2.39.orig/gpsflash.1 gpsd-2.39/gpsflash.1
  39960. --- gpsd-2.39.orig/gpsflash.1 2009-03-15 04:50:37.000000000 +0100
  39961. +++ gpsd-2.39/gpsflash.1 1970-01-01 01:00:00.000000000 +0100
  39962. @@ -1,74 +0,0 @@
  39963. -.\" Title: gpsflash
  39964. -.\" Author:
  39965. -.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
  39966. -.\" Date: 03/14/2009
  39967. -.\" Manual: 15 Jul 2005
  39968. -.\" Source: 15 Jul 2005
  39969. -.\"
  39970. -.TH "GPSFLASH" "1" "03/14/2009" "15 Jul 2005" "15 Jul 2005"
  39971. -.\" disable hyphenation
  39972. -.nh
  39973. -.\" disable justification (adjust text to left margin only)
  39974. -.ad l
  39975. -.SH "NAME"
  39976. -gpsflash \- 2-stage firmware loader for GPS chipsets
  39977. -.SH "SYNOPSIS"
  39978. -.HP 9
  39979. -\fBgpsflash\fR [\-n] [\-l\ \fIloader\-file\fR] \-f\ \fIfirmware\-file\fR {\fItty\fR}
  39980. -.SH "DESCRIPTION"
  39981. -.PP
  39982. -This program is a firmware loader for GPSes connected to your host computer via serial or USB port\&. Presently it supports only SiRF GPSes\&. Other GPSes may be supported in the future if the vendors cooperate\&.
  39983. -.PP
  39984. -For operation, this program requires a flashloader binary (found by default in a file named
  39985. -\fIdlgsp2\&.bin\fR) and a firmware image\&. This program first ships a command that tells the GPS a flashloader image will follow, then gives the GPS time to reboot into the flashloader\&. The flashloader then accepts S\-records from the serial or USB port until it sees a termination record, at which point it writes the new firmware into the GPS\'s non\-volatile memory and reboots the chip into the new firmware\&.
  39986. -.PP
  39987. -There is one required argument, specifying the serial device to which the GPS is connected\&.
  39988. -.PP
  39989. -The \-l option specifies the flashloader binary\&. The \-f option specifies the firmware image file, and is required unless you are just probing the GPS (\-n option)\&.
  39990. -.PP
  39991. -If the \-n option is specified, the program will probe the GPS to try to determine its type and whether the upload is compatible, but not actually perform the upload\&. When this option is specified, the \-f option is not required\&.
  39992. -.PP
  39993. -You will need to obtain your own copy of
  39994. -\fIdlgsp2\&.bin\fR
  39995. -and your own firmware image\&. The GPSD project does not yet have permission to distribute these files, so don\'t ask us for copies\&.
  39996. -.PP
  39997. -Depending on your GPS type, this program may or may not attempt to check that the flashloader or firmware image is compatible with your GPS; in some cases no check is possible\&.
  39998. -\fBEXPERIMENT AT YOUR OWN RISK\&.\fR
  39999. -.PP
  40000. -This program will only work with firmware images in S\-record format, which is the form SiRF normally distributes them in\&. If you get a binary firmware image from somewhere, you can use
  40001. -\fBobjdump\fR(1), from the GNU binutils to convert it to S\-records\&.
  40002. -.PP
  40003. -Realize that we are not kidding around when we say that this could very well break your receiver permanently, and if it does, it\'s no one\'s fault but your own\&. For this program to flash your GPS, you must set an environment variable called I_READ_THE_WARNING with the value "why oh why didn\'t i take the blue pill"\&.
  40004. -.PP
  40005. -This program emits progress messages to standard output\&.
  40006. -.PP
  40007. -The GPS will be reset to 4800bps NMEA after flash\&.
  40008. -.SH "BUGS AND LIMITAIONS"
  40009. -.sp
  40010. -.it 1 an-trap
  40011. -.nr an-no-space-flag 1
  40012. -.nr an-break-flag 1
  40013. -.br
  40014. -Warning
  40015. -.PP
  40016. -THIS PROGRAM CAN DESTROY YOUR GPS\&. A botched firmware upload will turn it into a paperweight\&. USE AT YOUR OWN RISK\&. Maintainers are not responsible for direct or incidental damages\&. YOU HAVE BEEN WARNED\&.
  40017. -.SH "SEE ALSO"
  40018. -.PP
  40019. -
  40020. -\fBgpsd\fR(8),
  40021. -\fBgps\fR(1),
  40022. -\fBlibgps\fR(3),
  40023. -\fBlibgpsd\fR(3),
  40024. -\fBsrec\fR(5)\&.
  40025. -.SH "AUTHOR"
  40026. -.PP
  40027. -Chris Kuethe
  40028. -<chris\&.kuethe@gmail\&.com>\&. There is a project page for
  40029. -gpsd
  40030. -\fIhere\fR\&[1]\&.
  40031. -.SH "NOTES"
  40032. -.IP " 1." 4
  40033. -here
  40034. -.RS 4
  40035. -\%http://gpsd.berlios.de/
  40036. -.RE
  40037. diff -Nur gpsd-2.39.orig/gpsmon.1 gpsd-2.39/gpsmon.1
  40038. --- gpsd-2.39.orig/gpsmon.1 2009-03-15 04:50:32.000000000 +0100
  40039. +++ gpsd-2.39/gpsmon.1 1970-01-01 01:00:00.000000000 +0100
  40040. @@ -1,196 +0,0 @@
  40041. -.\" Title: gpsmon
  40042. -.\" Author:
  40043. -.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
  40044. -.\" Date: 03/14/2009
  40045. -.\" Manual: 17 Feb 2009
  40046. -.\" Source: 17 Feb 2009
  40047. -.\"
  40048. -.TH "GPSMON" "1" "03/14/2009" "17 Feb 2009" "17 Feb 2009"
  40049. -.\" disable hyphenation
  40050. -.nh
  40051. -.\" disable justification (adjust text to left margin only)
  40052. -.ad l
  40053. -.SH "NAME"
  40054. -gpsmon \- real-time GPS packet monitor and control utility
  40055. -.SH "SYNOPSIS"
  40056. -.HP 7
  40057. -\fBgpsmon\fR [\-h] [\-V] [\-F\ \fIcontrol\-socket\fR] [[\ \fIserver\fR\ [\fI:port\fR\ [\fI:device\fR]]\ |\ \fIdevice\fR]] [\-l] [\-D\ \fIdebuglevel\fR]
  40058. -.SH "DESCRIPTION"
  40059. -.PP
  40060. -gpsmon
  40061. -is a monitor that watches packets coming from a GPS and displays them along with diagnostic information\&. It supports commands that can be used to tweak GPS settings in various ways; some are device\-independent, some vary with the GPS chipset type\&.
  40062. -.PP
  40063. -gpsmon
  40064. -differs from a navigation client in that it mostly dumps raw data from the GPS, with only enough data\-massaging to allow checks against expected output\&. In particular, this tool does not do any interpolation or modeling to derive climb/sink or error estimates\&. Nor does it discard altitude reports when the fix quality is too low\&.
  40065. -.PP
  40066. -gpsmon
  40067. -is a designed to run in a terminal emulator with a minimum 25x80 size; the non\-GUI interface is a design choice made to accomodate users operating in constrained environments and over telnet or ssh connections\&. If run in a larger window, the size of the packrty\-log window will be increased to fit\&.
  40068. -.PP
  40069. -gpsmon
  40070. -accepts an \-h option that displays a usage message, or a \-V option to dump the package version and exit\&.
  40071. -.PP
  40072. -This program may be run in either of two modes, as a client for the
  40073. -gpsd
  40074. -daemon (and its associated control socket) or directly connected to a specified serial device\&. When run with no argument, it attempts to connect to the daemon\&. If the argument looks like a server:port specification it will also attempt to connect to the daemon\&. If the argument looks like a bare server name it will attempt to connect to a daemon running on the default gpsd port on that server\&. Only if the device argument contains slashes but no colons will it be treated as a serial device for direct connection\&. In direct\-connect mode
  40075. -gpsmon
  40076. -will hunt for a correct baud rate and lock on to it automatically\&.
  40077. -.PP
  40078. -The \-F option is only valid in client mode; it specifies a control socket to which the program should send device control strings\&. You must specify a valid pathname of a Unix\-domain socket on your local filesystem\&.
  40079. -.PP
  40080. -The \-D option enables packet\-getter debugging output and is probably only useful to developers of the GPSD code\&. Consult the packet\-getter source code for relevant values\&.
  40081. -.PP
  40082. -The \-l option lists a table showing which GPS device types
  40083. -gpsmon
  40084. -has built\-in support for, and which generic commands can be applied to which GPS types, and then exits\&. Note that this does not list type\-specific commands associated with individual GPS types\&.
  40085. -.PP
  40086. -After startup, the top part of the screen reports the contents of several especially interesting packet types\&. The bottom half of the screen is a scrolling hex dump of all packets the GPS is issuing\&. Dump lines beginning >>> represent control packets sent to the GPS\&.
  40087. -.SH "COMMANDS"
  40088. -.PP
  40089. -The following device\-independent comands are available while
  40090. -gpsmon
  40091. -is running:
  40092. -.PP
  40093. -i
  40094. -.RS 4
  40095. -Enable/disable subtype probing and reinitialize the driver\&. In normal operation,
  40096. -gpsmon
  40097. -does not send configuration strings to the device (except for wakeup strings needed to get it to send data, if any)\&. The command \'i1\' causes it to send the same sequence of subtype probes that
  40098. -gpsd
  40099. -would\&. The command \'i0\' turns off probing; \'i\' alone toggles the bit\&. In either case, the current driver is re\-selected; if the probe bit is enabled, probes will begin to be issued immediately\&.
  40100. -.sp
  40101. -Note that enabling probing might flip the device into another mode; in particular, it will flip a SiRF chip into binary mode as if you had used the
  40102. -\(lqn\(rq
  40103. -command\&. This is due to a limitation in the SiRF firmware that we can\'t fix\&.
  40104. -.RE
  40105. -.PP
  40106. -c
  40107. -.RS 4
  40108. -Change cycle time\&. Follow it with a number interpreted as a cycle time in seconds\&. Most devices have a fixed cycle time of 1 second, so this command may fail with a message\&.
  40109. -.RE
  40110. -.PP
  40111. -l
  40112. -.RS 4
  40113. -Toggle packet logging\&. If packet logging is on, it will be turned off and the log closed\&. If it is off, logging to the filename following the l will be enabled\&. Differs from simply capturing the data from the GPS device in that only whole packets are logged\&. The logfile is opened for append, so you can log more than one portion of the packet stream and they will be stitched together correctly\&.
  40114. -.RE
  40115. -.PP
  40116. -n
  40117. -.RS 4
  40118. -With an argument of 0, switch device to NMEA mode at current speed; with an argument of 1, change to binary (native) mode\&. With no argument, toggle the setting\&. Will show an error if the device doesn\'t have such modes\&.
  40119. -.RE
  40120. -.PP
  40121. -q
  40122. -.RS 4
  40123. -Quit
  40124. -gpsmon\&. Control\-C, or whatever your current interrupt chracter is, works as well\&.
  40125. -.RE
  40126. -.PP
  40127. -s
  40128. -.RS 4
  40129. -Change baud rate\&. Follow it with a number interpreted as bits per second, for example "s9600"\&. The speed number may optionally be followed by a colon and a wordlength\-parity\-stopbits specification in the traditional style, e\&.g 8N1 (the default), 7E1, etc\&. Some devices don\'t support serial modes other than their default, so this command may fail with a message\&.
  40130. -.sp
  40131. -Use this command with caution\&. On USB and Bluetooth GPSes it is also possible for serial mode setting to fail either because the serial adaptor chip does not support non\-8N1 modes or because the device firmware does not properly synchronize the serrial adaptor chip with the UART on the GPS chipset whjen the speed changes\&. These failures can hang your device, possibly requiring a GPS power cycle or (in extreme cases) physically disconnecting the NVRAM backup battery\&.
  40132. -.RE
  40133. -.PP
  40134. -t
  40135. -.RS 4
  40136. -Force a switch of monitoring type\&. Follow it with a string that is unique to the name of a gpsd driver with
  40137. -gpsmon
  40138. -support;
  40139. -gpsmon
  40140. -will switch to using that driver and display code\&. Will show an error message if there is no matching gpsd driver, or multiple matches, or the unique match has no display support in
  40141. -gpsmon\&.
  40142. -.RE
  40143. -.PP
  40144. -x
  40145. -.RS 4
  40146. -Send hex payload to device\&. Following the command letter you may type hex digit pairs; end with a newline\&. These will become the payload of a control packet shipped to the device\&. The packet will be wrapped with headers, trailers, and checksum appropriate for the current driver type\&. The first one or two bytes of the payload may be specially interpreted, see the description of the
  40147. -\fB\-x\fR
  40148. -of
  40149. -\fBgpsctl\fR(1)\&.
  40150. -.RE
  40151. -.PP
  40152. -X
  40153. -.RS 4
  40154. -Send raw hex bytes to device\&. Following the command letter you may type hex digit pairs; end with a newline\&. These will be shipped to the device\&.
  40155. -.RE
  40156. -.PP
  40157. -Ctrl\-S
  40158. -.RS 4
  40159. -Freeze display, suspend scrolling in debug window\&.
  40160. -.RE
  40161. -.PP
  40162. -Ctrl\-Q
  40163. -.RS 4
  40164. -Unfreeze display, resume normal operation\&.
  40165. -.RE
  40166. -.SS "NMEA support"
  40167. -.PP
  40168. -(These remarks apply to not just generic NMEA devices but all extended NMEA devices for which
  40169. -gpsmon
  40170. -presently has support\&.)
  40171. -.PP
  40172. -All fields are raw data from the GPS except the "Cooked PVT" window near top of screen, provided as a sheck\&.
  40173. -.PP
  40174. -There are no device\-specific commands\&. Which generic commands are available may vary by type: examine the output of
  40175. -\fBgpsmon \-l\fR
  40176. -to learn more\&.
  40177. -.SS "SiRF support"
  40178. -.PP
  40179. -Most information is raw from the GPS\&. Underlined fields are derived by translation from ECEF coordinates or application of leap\-second and local time\-zone offsets\&.
  40180. -.PP
  40181. -The following commands are supported for SiRF GPSes only:
  40182. -.PP
  40183. -A
  40184. -.RS 4
  40185. -Toggle reporting of 50BPS subframe data\&.
  40186. -.RE
  40187. -.PP
  40188. -M
  40189. -.RS 4
  40190. -Set (M1) or clear (M0) static navigation\&. The SiRF documentation says
  40191. -\(lqStatic navigation is a position filter designed to be used with motor vehicles\&. When the vehicle\'s velocity falls below a threshold, the position and heading are frozen, and velocity is set to zero\&. This condition will continue until the computed velocity rises above 1\&.2 times the threshold or until the computed position is at least a set distance from the frozen place\&. The threshold velocity and set distance may vary with software versions\&.\(rq
  40192. -.sp
  40193. -Non\-static mode is designed for use with road navigation software, which often snaps the reported position to the nearest road within some uncertainty radius\&. You probably want to turn static navigation off for pedestrian use, as it is likely to report speed zero and position changing in large jumps\&.
  40194. -.RE
  40195. -.PP
  40196. -P
  40197. -.RS 4
  40198. -Toggle navigation\-parameter display mode\&. Toggles between normal display and one that shows selected navigation parameters from MID 19, including the Static Navigation bit toggled by the \'M\' command\&.
  40199. -.RE
  40200. -.PP
  40201. -To interpret what you see, you will need a copy of the
  40202. -SiRF Binary Protocol Reference Manual\&.
  40203. -.SH "FILES"
  40204. -.PP
  40205. -\fI/var/run/gpsd\&.sock\fR
  40206. -.RS 4
  40207. -The default location of the control socket\&.
  40208. -.RE
  40209. -.SH "BUGS AND LIMITATIONS"
  40210. -.PP
  40211. -This tool used to be called \'sirfmon\', and worked only on SiRF devices (and the command set has changed to resemble the command switches of
  40212. -gpsctl)\&. It now has support for a range of NMEA devices as well; support for other (binary\-protocol) device types is planned\&. It will behave sanely, just dumping packets, when connected to a GPS type it knows nothing about\&.
  40213. -.SH "SEE ALSO"
  40214. -.PP
  40215. -
  40216. -\fBgpsd\fR(8),
  40217. -\fBgps\fR(1),
  40218. -\fBlibgps\fR(3),
  40219. -\fBlibgpsd\fR(3),
  40220. -\fBgpsprof\fR(1),
  40221. -\fBgpsfake\fR(1),
  40222. -\fBgpsctl\fR(1),
  40223. -\fBgpscat\fR(1)\&.
  40224. -\fBgpspipe\fR(1)\&.
  40225. -.SH "AUTHOR"
  40226. -.PP
  40227. -Eric S\&. Raymond
  40228. -<esr@thyrsus\&.com>\&. This code is part of the gpsd toolset; there is a project page for
  40229. -gpsd
  40230. -\fIhere\fR\&[1]\&.
  40231. -.SH "NOTES"
  40232. -.IP " 1." 4
  40233. -here
  40234. -.RS 4
  40235. -\%http://gpsd.berlios.de/
  40236. -.RE
  40237. diff -Nur gpsd-2.39.orig/gpspipe.1 gpsd-2.39/gpspipe.1
  40238. --- gpsd-2.39.orig/gpspipe.1 2009-03-15 04:50:36.000000000 +0100
  40239. +++ gpsd-2.39/gpspipe.1 1970-01-01 01:00:00.000000000 +0100
  40240. @@ -1,118 +0,0 @@
  40241. -.\" Title: gpspipe
  40242. -.\" Author:
  40243. -.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
  40244. -.\" Date: 03/14/2009
  40245. -.\" Manual: 03 Aug 2005
  40246. -.\" Source: 03 Aug 2005
  40247. -.\"
  40248. -.TH "GPSPIPE" "1" "03/14/2009" "03 Aug 2005" "03 Aug 2005"
  40249. -.\" disable hyphenation
  40250. -.nh
  40251. -.\" disable justification (adjust text to left margin only)
  40252. -.ad l
  40253. -.SH "NAME"
  40254. -gpspipe \- tool to connect to gpsd and retrieve sentences
  40255. -.SH "SYNOPSIS"
  40256. -.HP 8
  40257. -\fBgpspipe\fR [\-h] [\-d] [\-l] [\-f\ \fIfilename\fR] [\-n\ \fIcount\fR] [\-r] [\-R] [\-s\ \fIserial\-device\fR] [\-t] [\-w] [\-v] [\fIserver\fR [\fI:port\fR [\fI:device\fR]]]
  40258. -.SH "DESCRIPTION"
  40259. -.PP
  40260. -gpspipe
  40261. -is a tool to connect to
  40262. -gpsd
  40263. -and output the received sentences to stdout\&. This makes the program useful as a pipe from
  40264. -gpsd
  40265. -to another program or file\&.
  40266. -.PP
  40267. -gpspipe
  40268. -does not require root privileges, and can be run concurrently with other tools connecting to the local
  40269. -gpsd
  40270. -without causing problems\&.
  40271. -.PP
  40272. -The output will consist of one or both of the raw NMEA or native
  40273. -gpsd
  40274. -sentences\&. Each line can be optionally time stamped\&. There is also an option to exit gracefully after a given count of packets\&.
  40275. -.PP
  40276. -Optionally a server, tcp port number and remote device can be given\&. If omitted,
  40277. -gpspipe
  40278. -connects to 127\&.0\&.0\&.1 on the default port (2947) and uses the first device opened by
  40279. -gpsd\&.
  40280. -.PP
  40281. -gpspipe
  40282. -may be run as a daemon, but requires the \-f flag for writing the output to a file\&.
  40283. -.SH "OPTIONS"
  40284. -.PP
  40285. -\-h makes
  40286. -gpspipe
  40287. -print a usage message and exit\&.
  40288. -.PP
  40289. -\-d causes
  40290. -gpspipe
  40291. -to run as a daemon\&.
  40292. -.PP
  40293. -\-l causes
  40294. -gpspipe
  40295. -to sleep for ten seconds before attempting to connect to gpsd\&. This is very useful when running as a daemon, giving gpsd time to start before attempting a connection\&.
  40296. -.PP
  40297. -\-r causes raw NMEA sentences to be output\&.
  40298. -.PP
  40299. -\-R causes super\-raw (gps binary) data to be output\&. This overrides NMEA and gpsd output modes\&.
  40300. -.PP
  40301. -\-s option causes the collected data to be written to the specified serial device with settings 4800 8N1\&. Thus
  40302. -gpspipe
  40303. -can be used with \-s and \-r options to emulate a serial port hardwired to a GPS that
  40304. -gpsd
  40305. -is managing\&.
  40306. -.PP
  40307. -\-f option causes the collected data to be written to the specified file\&. Use of this option is mandatory if
  40308. -gpspipe
  40309. -is run as a daemon\&.
  40310. -.PP
  40311. -\-w causes native
  40312. -gpsdsentences to be output\&.
  40313. -.PP
  40314. -\-t adds a timestamp to each sentence output\&.
  40315. -.PP
  40316. -\-n [count] causes [count] sentences to be output\&.
  40317. -gpspipe
  40318. -will then exit gracefully\&.
  40319. -.PP
  40320. -\-j makes the program send J=1 to the daemon, requesting fix hold across cycles\&.
  40321. -.PP
  40322. -\-v causes
  40323. -gpspipe
  40324. -to show a spinning activity indicator on stderr\&. This is useful if stdout is redirected into a file or a pipe\&. By default the spinner is advanced with every messages written; specifying \-v more than once will double the number of messages required to rotate the spinner\&.
  40325. -.PP
  40326. -\-V prints the version, then exits\&.
  40327. -.PP
  40328. -At least one of \-R \-r or \-w must be specified\&.
  40329. -.SH "EXAMPLE"
  40330. -.PP
  40331. -When
  40332. -gpsd is running
  40333. -\fBgpspipe \-r \-n 100\fR
  40334. -will send one hundred raw NMEA sentences to standard output, then exit\&.
  40335. -.SH "SEE ALSO"
  40336. -.PP
  40337. -
  40338. -\fBgpsd\fR(8),
  40339. -\fBgps\fR(1),
  40340. -\fBlibgps\fR(3),
  40341. -\fBlibgpsd\fR(3),
  40342. -\fBgpsprof\fR(1),
  40343. -\fBgpsfake\fR(1),
  40344. -\fBgpsctl\fR(1),
  40345. -\fBgpscat\fR(1)\&.
  40346. -\fBgpsmon\fR(1)\&.
  40347. -.SH "AUTHOR"
  40348. -.PP
  40349. -Gary E\&. Miller
  40350. -<gem@rellim\&.com>\&. There is a project page for
  40351. -gpsd
  40352. -\fIhere\fR\&[1]\&.
  40353. -.SH "NOTES"
  40354. -.IP " 1." 4
  40355. -here
  40356. -.RS 4
  40357. -\%http://gpsd.berlios.de/
  40358. -.RE
  40359. diff -Nur gpsd-2.39.orig/libgps.3 gpsd-2.39/libgps.3
  40360. --- gpsd-2.39.orig/libgps.3 2009-03-15 04:50:30.000000000 +0100
  40361. +++ gpsd-2.39/libgps.3 1970-01-01 01:00:00.000000000 +0100
  40362. @@ -1,178 +0,0 @@
  40363. -.\" Title: 3
  40364. -.\" Author:
  40365. -.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
  40366. -.\" Date: 14 Aug 2004
  40367. -.\" Manual: Linux
  40368. -.\" Source: Linux
  40369. -.\"
  40370. -.TH "3" "3" "14 Aug 2004" "Linux" "Linux"
  40371. -.\" disable hyphenation
  40372. -.nh
  40373. -.\" disable justification (adjust text to left margin only)
  40374. -.ad l
  40375. -.SH "NAME"
  40376. -libgps \- C service library for communicating with the GPS daemon
  40377. -.SH "SYNOPSIS"
  40378. -.sp
  40379. -.ft B
  40380. -.nf
  40381. -
  40382. -C:
  40383. -
  40384. -#include <gps\&.h>
  40385. -
  40386. -.fi
  40387. -.ft
  40388. -.HP 28
  40389. -.BI "struct gps_data_t *gps_open(char\ *" "server" ", char\ *\ " "port" ");"
  40390. -.HP 14
  40391. -.BI "int gps_query(struct\ gps_data_t\ *" "gpsdata" ", char\ *" "fmt" "\&.\&.\&.);"
  40392. -.HP 22
  40393. -.BI "void gps_set_raw_hook(struct\ gps_data_t\ *" "gpsdata" ", void\ (*" "hook" ")(struct\ gps_data_t\ *,\ char\ *buf));"
  40394. -.HP 13
  40395. -.BI "int gps_poll(struct\ gps_data_t\ *" "gpsdata" ");"
  40396. -.HP 15
  40397. -.BI "void gps_close(struct\ gps_data_t\ *" "gpsdata" ");"
  40398. -.HP 22
  40399. -.BI "void gps_set_callback(struct\ gps_data_t\ *" "gpsdata" ", void\ (*" "callback" ")(struct\ gps_data_t\ *sentence,\ char\ *buf), pthread_t\ *" "handler" ");"
  40400. -.HP 22
  40401. -.BI "void gps_del_callback(struct\ gps_data_t\ *" "gpsdata" ", pthread\ *" "handler" ");"
  40402. -.HP 18
  40403. -.BI "void rtcm2_unpack(struct\ rtcm_t\ *" "rtcmp" ", char\ *" "buf" ");"
  40404. -.sp
  40405. -.ft B
  40406. -.nf
  40407. -
  40408. -Python:
  40409. -
  40410. -import gps
  40411. -
  40412. -session = gps\&.gps(host="127\&.0\&.0\&.1", port="2947")
  40413. -
  40414. -session\&.set_raw_hook(raw_hook)
  40415. -
  40416. -session\&.query(commands)
  40417. -
  40418. -session\&.poll()
  40419. -
  40420. -del session
  40421. -
  40422. -.fi
  40423. -.ft
  40424. -.SH "DESCRIPTION"
  40425. -.PP
  40426. -\fBlibgps\fR
  40427. -is a service library which supports querying GPS devices; link it with the linker option \-lgps\&. There are two interfaces supported in it; one high\-level interface that goes through
  40428. -\fBgpsd\fR(1)
  40429. -and is intended for concurrent use by several applications, and one low\-level interface that speaks directly with the serial or USB device to which the GPS is attached\&. This page describes the high\-level interface that is safe for multiple applications to use simultaneously; it is probably the one you want\&. The low\-level interface is documented at
  40430. -\fBlibgpsd\fR(3)\&.
  40431. -.sp
  40432. -.it 1 an-trap
  40433. -.nr an-no-space-flag 1
  40434. -.nr an-break-flag 1
  40435. -.br
  40436. -Warning
  40437. -.PP
  40438. -The API described below may change incompatibly at API version 4\&. Take care to conditionalize your code on the major and minor API version symbols in
  40439. -\fIgps\&.h\fR; ideally, force a compilation failure if the header is not exporting a version you recognize\&. See the GPSD project website for more information on the protocol and API change\&.
  40440. -.PP
  40441. -Calling
  40442. -\fBgps_open()\fR
  40443. -initializes a GPS\-data structure to hold the data collected by the GPS, and returns a socket attached to
  40444. -\fBgpsd\fR(1)\&.
  40445. -\fBgps_open()\fR
  40446. -returns NULL on errors\&. errno is set depending on the error returned from the the socket layer; see
  40447. -\fIgps\&.h\fR
  40448. -for values and explanations\&.
  40449. -.PP
  40450. -\fBgps_close()\fR
  40451. -ends the session\&. NB: ending the session does not destroy any threads created to handle callbacks\&. You must delete all callbacks prior to calling
  40452. -\fBgps_close()\fR\&. Failure to do so results in undefined behavior\&. Currently it will leak a thread, and in the future might result in aborting the program\&.
  40453. -.PP
  40454. -\fBgps_poll()\fR
  40455. -accepts a response, or sequence of responses, from the daemon and interprets it as though it were a query response (the return value is as for a query)\&.
  40456. -\fBgps_poll()\fR
  40457. -returns the validity mask of the received structure\&. This function does a blocking read waiting for data from the daemon; it returns 0 for success, or \-1 on a Unix\-level read error\&.
  40458. -.PP
  40459. -\fBgps_query()\fR
  40460. -writes a command to the daemon, accepts a one\-line response, and updates parts of the GPS\-data structure that correspond to data changed since the last call\&. The second argument must be a format string containing letters from the command set documented at
  40461. -\fBgpsd\fR(1)\&. It may have % elements as for
  40462. -\fBsprintf\fR(3), which will be filled in from any following arguments\&. This function returns a 0 on success, or a \-1 if there was a Unix\-level read error\&.
  40463. -.PP
  40464. -\fBgps_set_raw_hook()\fR
  40465. -takes a function you specify and run it (synchronously) on the raw data pulled by a
  40466. -\fBgps_query()\fR
  40467. -or
  40468. -\fBgps_poll()\fR
  40469. -call\&. The arguments passed to this hook will be a pointer to a structure containing parsed data, and a buffer containining the raw
  40470. -gpsd
  40471. -response\&.
  40472. -.PP
  40473. -\fBgps_set_callback()\fR
  40474. -takes a function you specify and runs it asynchronously each time new data arrives from
  40475. -gpsd, using POSIX threads\&. For example, you can call gps_set_callback(gpsdata, my_function, handler) once in your program, and from there on your gpsdata structure will be parsed by your
  40476. -\fBmy_function()\fR
  40477. -each time new data are available\&.
  40478. -\fBmy_function()\fR
  40479. -could change some global variables in your program based on received data; it is your responsibility to ensure that your program uses mutexes or other mechanisms to avoid race conditions\&. NB:
  40480. -\fBgps_set_callback()\fR
  40481. -will create a new thread, and contrary to what you might expect
  40482. -\fBgps_close()\fR
  40483. -will not destroy that thread\&. You must therefore explicitly remove the callback with
  40484. -\fBgps_del_callback()\fR
  40485. -before calling
  40486. -\fBgps_close()\fR\&.
  40487. -.PP
  40488. -\fBgps_del_callback()\fR
  40489. -deregisters the callback function previously set with
  40490. -\fBgps_set_callback()\fR\&. After the invocation of this function no operation will be done when new data arrives\&.
  40491. -.PP
  40492. -Consult
  40493. -\fIgps\&.h\fR
  40494. -to learn more about the data members and associated timestamps\&. Note that information will accumulate in the session structure over time, and the \'valid\' field is not automatically zeroed by each poll\&. It is up to the client to zero that field when appropriate and to keep an eye on the fix and sentence timestamps\&.
  40495. -.PP
  40496. -The
  40497. -\fBrtcm_unpack()\fR
  40498. -will be useful when you are connected to an RTCM\-104 source in raw mode\&. Use it as part of a raw hook, calling it with the address of the
  40499. -struct rtcm_t
  40500. -element of your session structure buffer as first argument and the buffer as the second\&. It will unpack a line of RTCM data into the structure\&. This function returns 0 when it has read the last line of an RTCM\-104 message, a positive int when it expects more dump lines, and a negative int on parse failure\&. You must zero out the
  40501. -struct rtcm_t
  40502. -each time before this function is called on a new header (H) line, as it relies on the message type field being initially zero and uses it to track what kind of following line is expected\&.
  40503. -.PP
  40504. -The Python implementation supports the same facilities as the C library\&.
  40505. -\fBgps_open()\fR
  40506. -is replaced by the initialization of a gps session object; the other calls are methods of that object, and have the same names as the corresponding C functions\&. Resources within the session object will be properly released when it is garbage\-collected\&.
  40507. -.SH "CODE EXAMPLE"
  40508. -.PP
  40509. -The following is an excerpted and simplified version of the libgps interface code from
  40510. -\fBxgps\fR(1)\&. The function
  40511. -\fBhandle_input()\fR
  40512. -is a trivial piece of code that calls gps_poll(gpsdata)\&.
  40513. -.sp
  40514. -.RS 4
  40515. -.nf
  40516. - gpsdata = gps_open(server, port);
  40517. -
  40518. - build_gui(toplevel);
  40519. -
  40520. - gps_set_raw_hook(gpsdata, update_panel);
  40521. -
  40522. - (void)gps_query(gpsdata, "w+x\en");
  40523. -
  40524. - (void)XtAppAddInput(app, gpsdata\->gps_fd,
  40525. - (XtPointer)XtInputReadMask, handle_input, NULL);
  40526. - (void)XtAppMainLoop(app);
  40527. -
  40528. - (void)gps_close(gpsdata);
  40529. -.fi
  40530. -.RE
  40531. -.SH "SEE ALSO"
  40532. -.PP
  40533. -
  40534. -\fBgpsd\fR(8),
  40535. -\fBgps\fR(1),
  40536. -\fBlibgps\fR(3)\&.
  40537. -\fBlibgpsmm\fR(3)\&.
  40538. -.SH "AUTHOR"
  40539. -.PP
  40540. -Eric S\&. Raymond <esr@thyrsus\&.com>, Thread\-callback methods in the C binding added by Alfredo Pironti <alfredo@users\&.sourceforge\&.net>\&.
  40541. diff -Nur gpsd-2.39.orig/libgpsd.3 gpsd-2.39/libgpsd.3
  40542. --- gpsd-2.39.orig/libgpsd.3 2009-03-15 04:50:31.000000000 +0100
  40543. +++ gpsd-2.39/libgpsd.3 1970-01-01 01:00:00.000000000 +0100
  40544. @@ -1,102 +0,0 @@
  40545. -.\" Title: 3
  40546. -.\" Author:
  40547. -.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
  40548. -.\" Date: 14 Aug 2004
  40549. -.\" Manual: Linux
  40550. -.\" Source: Linux
  40551. -.\"
  40552. -.TH "3" "3" "14 Aug 2004" "Linux" "Linux"
  40553. -.\" disable hyphenation
  40554. -.nh
  40555. -.\" disable justification (adjust text to left margin only)
  40556. -.ad l
  40557. -.SH "NAME"
  40558. -libgpsd \- service library for GPS applications
  40559. -.SH "SYNOPSIS"
  40560. -.sp
  40561. -.ft B
  40562. -.nf
  40563. -C:
  40564. -
  40565. -#include <gpsd\&.h>
  40566. -
  40567. -.fi
  40568. -.ft
  40569. -.HP 19
  40570. -.BI "int gpsd_open_dgps(char\ *\ " "dgpsserver" ");"
  40571. -.HP 15
  40572. -.BI "void gpsd_init(struct\ gps_device_t\ *" "session" ", struct\ *\ " "gps_context_t\ *" ", char\ *\ " "device" ");"
  40573. -.HP 18
  40574. -.BI "int gpsd_activate(struct\ gps_device_t\ *" "session" ", bool\ " "reconfigurable" ");"
  40575. -.HP 21
  40576. -.BI "void gpsd_deactivate(struct\ gps_device_t\ *\ " "session" ");"
  40577. -.HP 21
  40578. -.BI "gps_mask_t gpsd_poll(struct\ gps_device_t\ *\ " "session" ");"
  40579. -.HP 15
  40580. -.BI "void gpsd_wrap(struct\ gps_device_t\ *\ " "session" ");"
  40581. -.HP 17
  40582. -.BI "void gpsd_report(int\ " "d" ", const\ char\ *\ " "fmt" ", " "\&.\&.\&." ");"
  40583. -.SH "DESCRIPTION"
  40584. -.PP
  40585. -\fBlibgps\fR
  40586. -is a service library which supports querying GPS devices; link it with the linker option \-lgps\&. There are two interfaces supported in it; one high\-level interface that goes through
  40587. -\fBgpsd\fR(1)
  40588. -and is intended for concurrent use by several applications, and one low\-level interface that speaks directly with the serial or USB device to which the GPS is attached\&. This page describes the low\-level interface, which
  40589. -\fBgpsd\fR(1)
  40590. -itself uses\&. See
  40591. -\fBgpsd\fR(3)
  40592. -for a description of the high\-level interface, which is almost certainly what you want\&.
  40593. -.PP
  40594. -Calling
  40595. -\fBgpsd_init()\fR
  40596. -initializes a session structure to hold the data collected by the GPS\&.
  40597. -.PP
  40598. -The second argument must be a context structure\&. The library will use it for information that need to be shared between sessions; presently this includes the leap\-second correction and possibly a pointer to a shared\-memory segment used to communicate with the Network Time Protocol daemon\&.
  40599. -.PP
  40600. -After the session structure has been set up, you may modify some of its members\&.
  40601. -.PP
  40602. -\fIgpsd_device\fR
  40603. -.RS 4
  40604. -This member should hold the path name of the device\&.
  40605. -.RE
  40606. -.PP
  40607. -\fIbaudrate\fR
  40608. -.RS 4
  40609. -Communication speed in bits per second\&. For NMEA or SiRF devices, the library automatically hunts through all plausible baud rates, stopping on the one where it sees valid packets\&. By setting this field you can designate a speed to be tried at the front of the hunt queue
  40610. -.RE
  40611. -.PP
  40612. -\fIraw_hook\fR
  40613. -.RS 4
  40614. -A hook function to be executed on each NMEA sentence or as it is read from the GPS\&. The data from non\-NMEA GPSes like the EarthMate will be translated to an NMEA sentence before being passed to the hook\&. Parameters are a pointer to a gps_data structure full of parsed data, the sentence, the length of the sentence, and a rawness level\&.
  40615. -.RE
  40616. -.PP
  40617. -\fBgpsd_activate()\fR
  40618. -initializes the connection to the GPS\&.
  40619. -\fBgpsd_deactivate()\fR
  40620. -closes the connection\&. These functions are provided so that long\-running programs can release a connection when there is no activity requiring the GPS, and re\-acquire it later\&.
  40621. -.PP
  40622. -\fBgpsd_poll()\fR
  40623. -queries the GPS and updates the part of the session structure that holds position, speed, GPS signal quality, and other data returned by the GPS\&. It returns a mask describing which fields have changed\&.
  40624. -.PP
  40625. -\fBgpsd_wrap()\fR
  40626. -ends the session, implicitly performing a
  40627. -\fBgpsd_deactivate()\fR\&.
  40628. -.PP
  40629. -The calling application must define one additional function:
  40630. -\fBgpsd_report()\fR\&. The library will use this to issue ordinary status messages\&. Use first argument of 0 for errors, 1 for ordinary status messages, and 2 or higher for debugging messages\&.
  40631. -.PP
  40632. -The low\-level functions do not allocate or free any dynamic storage\&. They can thus be used in a long\-running application (such as
  40633. -\fBgpsd\fR(8)
  40634. -itself) with a guarantee that they won\'t cause memory leaks\&.
  40635. -.SH "BUGS"
  40636. -.PP
  40637. -Writes to the context structure members are not guarded by a mutex\&.
  40638. -.SH "SEE ALSO"
  40639. -.PP
  40640. -
  40641. -\fBgpsd\fR(8),
  40642. -\fBgps\fR(1),
  40643. -\fBlibgpsd\fR(3)\&.
  40644. -.SH "AUTHOR"
  40645. -.PP
  40646. -Eric S\&. Raymond <esr@thyrsus\&.com> based partly on earlier work by Remco Treffkorn, Derrick Brashear, and Russ Nelson\&.
  40647. diff -Nur gpsd-2.39.orig/libgpsd.pc gpsd-2.39/libgpsd.pc
  40648. --- gpsd-2.39.orig/libgpsd.pc 1970-01-01 01:00:00.000000000 +0100
  40649. +++ gpsd-2.39/libgpsd.pc 2010-02-18 21:44:19.028856910 +0100
  40650. @@ -0,0 +1,9 @@
  40651. +prefix=/usr/local
  40652. +exec_prefix=${prefix}
  40653. +libdir=${exec_prefix}/lib
  40654. +includedir=${prefix}/include
  40655. +
  40656. +Name: libgpsd
  40657. +Description: Lowlevel GPSD control library
  40658. +Version: 2.39
  40659. +Libs: -L${libdir} -lgpsd
  40660. diff -Nur gpsd-2.39.orig/libgpsmm.3 gpsd-2.39/libgpsmm.3
  40661. --- gpsd-2.39.orig/libgpsmm.3 2009-03-15 04:50:30.000000000 +0100
  40662. +++ gpsd-2.39/libgpsmm.3 1970-01-01 01:00:00.000000000 +0100
  40663. @@ -1,57 +0,0 @@
  40664. -.\" Title: libgpsmm
  40665. -.\" Author:
  40666. -.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
  40667. -.\" Date: 13 May 2005
  40668. -.\" Manual: Linux
  40669. -.\" Source: Linux
  40670. -.\"
  40671. -.TH "LIBGPSMM" "3" "13 May 2005" "Linux" "Linux"
  40672. -.\" disable hyphenation
  40673. -.nh
  40674. -.\" disable justification (adjust text to left margin only)
  40675. -.ad l
  40676. -.SH "NAME"
  40677. -libgpsmm \- C++ class wrapper for the GPS daemon
  40678. -.SH "SYNOPSIS"
  40679. -.sp
  40680. -.ft B
  40681. -.nf
  40682. -
  40683. -C++:
  40684. -
  40685. -#include <libgpsmm>
  40686. -
  40687. -.fi
  40688. -.ft
  40689. -.HP 24
  40690. -.BI "struct gps_data_t *open(char\ *" "host" ", char\ *" "port" ");"
  40691. -.HP 24
  40692. -.BI "struct gps_data_t *open(void);"
  40693. -.HP 25
  40694. -.BI "struct gps_data_t *query(char\ *" "request" ");"
  40695. -.HP 24
  40696. -.BI "struct gps_data_t *poll(void);"
  40697. -.HP 17
  40698. -.BI "int set_callback(void\ (*" "hook" ")(struct\ gps_data_t\ *sentence,\ char\ *buf));"
  40699. -.HP 17
  40700. -.BI "int del_callback(void);"
  40701. -.SH "DESCRIPTION"
  40702. -.PP
  40703. -\fBlibgpsmm\fR
  40704. -is a mere wrapper over
  40705. -\fBlibgps\fR\&. Method names are the same as the analogue C functions\&. For a detailed description of the functions please read
  40706. -\fBlibgps\fR(3)\&.
  40707. -\fBopen()\fR
  40708. -must be called after class constructor and before any other method (\fBopen()\fR
  40709. -is not inside the constructor since it may fail, however constructors have no return value)\&. The analogue of the C function
  40710. -\fBgps_close()\fR
  40711. -is in the destructor\&.
  40712. -.SH "SEE ALSO"
  40713. -.PP
  40714. -
  40715. -\fBgpsd\fR(8),
  40716. -\fBgps\fR(1),
  40717. -\fBlibgps\fR(3)\&.
  40718. -.SH "AUTHOR"
  40719. -.PP
  40720. -Alfredo Pironti <alfredio@users\&.sourceforge\&.net>\&.
  40721. diff -Nur gpsd-2.39.orig/libgps.pc gpsd-2.39/libgps.pc
  40722. --- gpsd-2.39.orig/libgps.pc 1970-01-01 01:00:00.000000000 +0100
  40723. +++ gpsd-2.39/libgps.pc 2010-02-18 21:44:19.000857533 +0100
  40724. @@ -0,0 +1,9 @@
  40725. +prefix=/usr/local
  40726. +exec_prefix=${prefix}
  40727. +libdir=${exec_prefix}/lib
  40728. +includedir=${prefix}/include
  40729. +
  40730. +Name: GPSD
  40731. +Description: GPS Daemon communication library
  40732. +Version: 2.39
  40733. +Libs: -L${libdir} -lgps
  40734. diff -Nur gpsd-2.39.orig/libtool gpsd-2.39/libtool
  40735. --- gpsd-2.39.orig/libtool 1970-01-01 01:00:00.000000000 +0100
  40736. +++ gpsd-2.39/libtool 2010-02-18 21:44:19.396856571 +0100
  40737. @@ -0,0 +1,9063 @@
  40738. +#! /bin/bash
  40739. +
  40740. +# libtool - Provide generalized library-building support services.
  40741. +# Generated automatically by config.status (gpsd) 2.39
  40742. +# Libtool was configured on host hydrogenium:
  40743. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  40744. +#
  40745. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  40746. +# 2006, 2007, 2008 Free Software Foundation, Inc.
  40747. +# Written by Gordon Matzigkeit, 1996
  40748. +#
  40749. +# This file is part of GNU Libtool.
  40750. +#
  40751. +# GNU Libtool is free software; you can redistribute it and/or
  40752. +# modify it under the terms of the GNU General Public License as
  40753. +# published by the Free Software Foundation; either version 2 of
  40754. +# the License, or (at your option) any later version.
  40755. +#
  40756. +# As a special exception to the GNU General Public License,
  40757. +# if you distribute this file as part of a program or library that
  40758. +# is built using GNU Libtool, you may include this file under the
  40759. +# same distribution terms that you use for the rest of that program.
  40760. +#
  40761. +# GNU Libtool is distributed in the hope that it will be useful,
  40762. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  40763. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  40764. +# GNU General Public License for more details.
  40765. +#
  40766. +# You should have received a copy of the GNU General Public License
  40767. +# along with GNU Libtool; see the file COPYING. If not, a copy
  40768. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  40769. +# obtained by writing to the Free Software Foundation, Inc.,
  40770. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  40771. +
  40772. +
  40773. +# The names of the tagged configurations supported by this script.
  40774. +available_tags="CXX "
  40775. +
  40776. +# ### BEGIN LIBTOOL CONFIG
  40777. +
  40778. +# Which release of libtool.m4 was used?
  40779. +macro_version=2.2.6b
  40780. +macro_revision=1.3017
  40781. +
  40782. +# Whether or not to build shared libraries.
  40783. +build_libtool_libs=yes
  40784. +
  40785. +# Whether or not to build static libraries.
  40786. +build_old_libs=yes
  40787. +
  40788. +# What type of objects to build.
  40789. +pic_mode=default
  40790. +
  40791. +# Whether or not to optimize for fast installation.
  40792. +fast_install=yes
  40793. +
  40794. +# The host system.
  40795. +host_alias=
  40796. +host=i686-pc-linux-gnu
  40797. +host_os=linux-gnu
  40798. +
  40799. +# The build system.
  40800. +build_alias=
  40801. +build=i686-pc-linux-gnu
  40802. +build_os=linux-gnu
  40803. +
  40804. +# A sed program that does not truncate output.
  40805. +SED="/bin/sed"
  40806. +
  40807. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  40808. +Xsed="$SED -e 1s/^X//"
  40809. +
  40810. +# A grep program that handles long lines.
  40811. +GREP="/bin/grep"
  40812. +
  40813. +# An ERE matcher.
  40814. +EGREP="/bin/grep -E"
  40815. +
  40816. +# A literal string matcher.
  40817. +FGREP="/bin/grep -F"
  40818. +
  40819. +# A BSD- or MS-compatible name lister.
  40820. +NM="/usr/bin/nm -B"
  40821. +
  40822. +# Whether we need soft or hard links.
  40823. +LN_S="ln -s"
  40824. +
  40825. +# What is the maximum length of a command?
  40826. +max_cmd_len=1572864
  40827. +
  40828. +# Object file suffix (normally "o").
  40829. +objext=o
  40830. +
  40831. +# Executable file suffix (normally "").
  40832. +exeext=
  40833. +
  40834. +# whether the shell understands "unset".
  40835. +lt_unset=unset
  40836. +
  40837. +# turn spaces into newlines.
  40838. +SP2NL="tr \\040 \\012"
  40839. +
  40840. +# turn newlines into spaces.
  40841. +NL2SP="tr \\015\\012 \\040\\040"
  40842. +
  40843. +# How to create reloadable object files.
  40844. +reload_flag=" -r"
  40845. +reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"
  40846. +
  40847. +# An object symbol dumper.
  40848. +OBJDUMP="objdump"
  40849. +
  40850. +# Method to check whether dependent libraries are shared objects.
  40851. +deplibs_check_method="pass_all"
  40852. +
  40853. +# Command to use when deplibs_check_method == "file_magic".
  40854. +file_magic_cmd="\$MAGIC_CMD"
  40855. +
  40856. +# The archiver.
  40857. +AR="ar"
  40858. +AR_FLAGS="cru"
  40859. +
  40860. +# A symbol stripping program.
  40861. +STRIP="strip"
  40862. +
  40863. +# Commands used to install an old-style archive.
  40864. +RANLIB="ranlib"
  40865. +old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib"
  40866. +old_postuninstall_cmds=""
  40867. +
  40868. +# A C compiler.
  40869. +LTCC="gcc"
  40870. +
  40871. +# LTCC compiler flags.
  40872. +LTCFLAGS="-g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE "
  40873. +
  40874. +# Take the output of nm and produce a listing of raw symbols and C names.
  40875. +global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'"
  40876. +
  40877. +# Transform the output of nm in a proper C declaration.
  40878. +global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[ABCDGIRSTW]* .* \\(.*\\)\$/extern char \\1;/p'"
  40879. +
  40880. +# Transform the output of nm in a C name address pair.
  40881. +global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p'"
  40882. +
  40883. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  40884. +global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\(lib[^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"lib\\2\", (void *) \\&\\2},/p'"
  40885. +
  40886. +# The name of the directory that contains temporary libtool files.
  40887. +objdir=.libs
  40888. +
  40889. +# Shell to use when invoking shell scripts.
  40890. +SHELL="/bin/bash"
  40891. +
  40892. +# An echo program that does not interpret backslashes.
  40893. +ECHO="echo"
  40894. +
  40895. +# Used to examine libraries when file_magic_cmd begins with "file".
  40896. +MAGIC_CMD=file
  40897. +
  40898. +# Must we lock files when doing compilation?
  40899. +need_locks="no"
  40900. +
  40901. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  40902. +DSYMUTIL=""
  40903. +
  40904. +# Tool to change global to local symbols on Mac OS X.
  40905. +NMEDIT=""
  40906. +
  40907. +# Tool to manipulate fat objects and archives on Mac OS X.
  40908. +LIPO=""
  40909. +
  40910. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  40911. +OTOOL=""
  40912. +
  40913. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  40914. +OTOOL64=""
  40915. +
  40916. +# Old archive suffix (normally "a").
  40917. +libext=a
  40918. +
  40919. +# Shared library suffix (normally ".so").
  40920. +shrext_cmds=".so"
  40921. +
  40922. +# The commands to extract the exported symbol list from a shared archive.
  40923. +extract_expsyms_cmds=""
  40924. +
  40925. +# Variables whose values should be saved in libtool wrapper scripts and
  40926. +# restored at link time.
  40927. +variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  40928. +
  40929. +# Do we need the "lib" prefix for modules?
  40930. +need_lib_prefix=no
  40931. +
  40932. +# Do we need a version for libraries?
  40933. +need_version=no
  40934. +
  40935. +# Library versioning type.
  40936. +version_type=linux
  40937. +
  40938. +# Shared library runtime path variable.
  40939. +runpath_var=LD_RUN_PATH
  40940. +
  40941. +# Shared library path variable.
  40942. +shlibpath_var=LD_LIBRARY_PATH
  40943. +
  40944. +# Is shlibpath searched before the hard-coded library search path?
  40945. +shlibpath_overrides_runpath=no
  40946. +
  40947. +# Format of library name prefix.
  40948. +libname_spec="lib\$name"
  40949. +
  40950. +# List of archive names. First name is the real one, the rest are links.
  40951. +# The last name is the one that the linker finds with -lNAME
  40952. +library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}"
  40953. +
  40954. +# The coded name of the library, if different from the real name.
  40955. +soname_spec="\${libname}\${release}\${shared_ext}\$major"
  40956. +
  40957. +# Command to use after installation of a shared archive.
  40958. +postinstall_cmds=""
  40959. +
  40960. +# Command to use after uninstallation of a shared archive.
  40961. +postuninstall_cmds=""
  40962. +
  40963. +# Commands used to finish a libtool library installation in a directory.
  40964. +finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir"
  40965. +
  40966. +# As "finish_cmds", except a single script fragment to be evaled but
  40967. +# not shown.
  40968. +finish_eval=""
  40969. +
  40970. +# Whether we should hardcode library paths into libraries.
  40971. +hardcode_into_libs=yes
  40972. +
  40973. +# Compile-time system search path for libraries.
  40974. +sys_lib_search_path_spec="/usr/lib/gcc/i486-linux-gnu/4.4.3 /usr/lib /lib /usr/lib/i486-linux-gnu"
  40975. +
  40976. +# Run-time system search path for libraries.
  40977. +sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib/mesa /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/lib/alsa-lib /usr/local/lib "
  40978. +
  40979. +# Whether dlopen is supported.
  40980. +dlopen_support=unknown
  40981. +
  40982. +# Whether dlopen of programs is supported.
  40983. +dlopen_self=unknown
  40984. +
  40985. +# Whether dlopen of statically linked programs is supported.
  40986. +dlopen_self_static=unknown
  40987. +
  40988. +# Commands to strip libraries.
  40989. +old_striplib="strip --strip-debug"
  40990. +striplib="strip --strip-unneeded"
  40991. +
  40992. +
  40993. +# The linker used to build libraries.
  40994. +LD="/usr/bin/ld"
  40995. +
  40996. +# Commands used to build an old-style archive.
  40997. +old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
  40998. +
  40999. +# A language specific compiler.
  41000. +CC="gcc"
  41001. +
  41002. +# Is the compiler the GNU compiler?
  41003. +with_gcc=yes
  41004. +
  41005. +# Compiler flag to turn off builtin functions.
  41006. +no_builtin_flag=" -fno-builtin"
  41007. +
  41008. +# How to pass a linker flag through the compiler.
  41009. +wl="-Wl,"
  41010. +
  41011. +# Additional compiler flags for building library objects.
  41012. +pic_flag=" -fPIC -DPIC"
  41013. +
  41014. +# Compiler flag to prevent dynamic linking.
  41015. +link_static_flag="-static"
  41016. +
  41017. +# Does compiler simultaneously support -c and -o options?
  41018. +compiler_c_o="yes"
  41019. +
  41020. +# Whether or not to add -lc for building shared libraries.
  41021. +build_libtool_need_lc=no
  41022. +
  41023. +# Whether or not to disallow shared libs when runtime libs are static.
  41024. +allow_libtool_libs_with_static_runtimes=no
  41025. +
  41026. +# Compiler flag to allow reflexive dlopens.
  41027. +export_dynamic_flag_spec="\${wl}--export-dynamic"
  41028. +
  41029. +# Compiler flag to generate shared objects directly from archives.
  41030. +whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"
  41031. +
  41032. +# Whether the compiler copes with passing no objects directly.
  41033. +compiler_needs_object="no"
  41034. +
  41035. +# Create an old-style archive from a shared archive.
  41036. +old_archive_from_new_cmds=""
  41037. +
  41038. +# Create a temporary old-style archive to link instead of a shared archive.
  41039. +old_archive_from_expsyms_cmds=""
  41040. +
  41041. +# Commands used to build a shared archive.
  41042. +archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
  41043. +archive_expsym_cmds="echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~
  41044. + cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$output_objdir/\$libname.ver~
  41045. + echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~
  41046. + \$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib"
  41047. +
  41048. +# Commands used to build a loadable module if different from building
  41049. +# a shared archive.
  41050. +module_cmds=""
  41051. +module_expsym_cmds=""
  41052. +
  41053. +# Whether we are building with GNU ld or not.
  41054. +with_gnu_ld="yes"
  41055. +
  41056. +# Flag that allows shared libraries with undefined symbols to be built.
  41057. +allow_undefined_flag=""
  41058. +
  41059. +# Flag that enforces no undefined symbols.
  41060. +no_undefined_flag=""
  41061. +
  41062. +# Flag to hardcode $libdir into a binary during linking.
  41063. +# This must work even if $libdir does not exist
  41064. +hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
  41065. +
  41066. +# If ld is used when linking, flag to hardcode $libdir into a binary
  41067. +# during linking. This must work even if $libdir does not exist.
  41068. +hardcode_libdir_flag_spec_ld=""
  41069. +
  41070. +# Whether we need a single "-rpath" flag with a separated argument.
  41071. +hardcode_libdir_separator=""
  41072. +
  41073. +# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  41074. +# DIR into the resulting binary.
  41075. +hardcode_direct=no
  41076. +
  41077. +# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  41078. +# DIR into the resulting binary and the resulting library dependency is
  41079. +# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
  41080. +# library is relocated.
  41081. +hardcode_direct_absolute=no
  41082. +
  41083. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  41084. +# into the resulting binary.
  41085. +hardcode_minus_L=no
  41086. +
  41087. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  41088. +# into the resulting binary.
  41089. +hardcode_shlibpath_var=unsupported
  41090. +
  41091. +# Set to "yes" if building a shared library automatically hardcodes DIR
  41092. +# into the library and all subsequent libraries and executables linked
  41093. +# against it.
  41094. +hardcode_automatic=no
  41095. +
  41096. +# Set to yes if linker adds runtime paths of dependent libraries
  41097. +# to runtime path list.
  41098. +inherit_rpath=no
  41099. +
  41100. +# Whether libtool must link a program against all its dependency libraries.
  41101. +link_all_deplibs=no
  41102. +
  41103. +# Fix the shell variable $srcfile for the compiler.
  41104. +fix_srcfile_path=""
  41105. +
  41106. +# Set to "yes" if exported symbols are required.
  41107. +always_export_symbols=no
  41108. +
  41109. +# The commands to list exported symbols.
  41110. +export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"
  41111. +
  41112. +# Symbols that should not be listed in the preloaded symbols.
  41113. +exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"
  41114. +
  41115. +# Symbols that must always be exported.
  41116. +include_expsyms=""
  41117. +
  41118. +# Commands necessary for linking programs (against libraries) with templates.
  41119. +prelink_cmds=""
  41120. +
  41121. +# Specify filename containing input files.
  41122. +file_list_spec=""
  41123. +
  41124. +# How to hardcode a shared library path into an executable.
  41125. +hardcode_action=immediate
  41126. +
  41127. +# The directories searched by this compiler when creating a shared library.
  41128. +compiler_lib_search_dirs=""
  41129. +
  41130. +# Dependencies to place before and after the objects being linked to
  41131. +# create a shared library.
  41132. +predep_objects=""
  41133. +postdep_objects=""
  41134. +predeps=""
  41135. +postdeps=""
  41136. +
  41137. +# The library search path used internally by the compiler when linking
  41138. +# a shared library.
  41139. +compiler_lib_search_path=""
  41140. +
  41141. +# ### END LIBTOOL CONFIG
  41142. +
  41143. +# Generated from ltmain.m4sh.
  41144. +
  41145. +# ltmain.sh (GNU libtool) 2.2.6b
  41146. +# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  41147. +
  41148. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
  41149. +# This is free software; see the source for copying conditions. There is NO
  41150. +# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  41151. +
  41152. +# GNU Libtool is free software; you can redistribute it and/or modify
  41153. +# it under the terms of the GNU General Public License as published by
  41154. +# the Free Software Foundation; either version 2 of the License, or
  41155. +# (at your option) any later version.
  41156. +#
  41157. +# As a special exception to the GNU General Public License,
  41158. +# if you distribute this file as part of a program or library that
  41159. +# is built using GNU Libtool, you may include this file under the
  41160. +# same distribution terms that you use for the rest of that program.
  41161. +#
  41162. +# GNU Libtool is distributed in the hope that it will be useful, but
  41163. +# WITHOUT ANY WARRANTY; without even the implied warranty of
  41164. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  41165. +# General Public License for more details.
  41166. +#
  41167. +# You should have received a copy of the GNU General Public License
  41168. +# along with GNU Libtool; see the file COPYING. If not, a copy
  41169. +# can be downloaded from http://www.gnu.org/licenses/gpl.html,
  41170. +# or obtained by writing to the Free Software Foundation, Inc.,
  41171. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  41172. +
  41173. +# Usage: $progname [OPTION]... [MODE-ARG]...
  41174. +#
  41175. +# Provide generalized library-building support services.
  41176. +#
  41177. +# --config show all configuration variables
  41178. +# --debug enable verbose shell tracing
  41179. +# -n, --dry-run display commands without modifying any files
  41180. +# --features display basic configuration information and exit
  41181. +# --mode=MODE use operation mode MODE
  41182. +# --preserve-dup-deps don't remove duplicate dependency libraries
  41183. +# --quiet, --silent don't print informational messages
  41184. +# --tag=TAG use configuration variables from tag TAG
  41185. +# -v, --verbose print informational messages (default)
  41186. +# --version print version information
  41187. +# -h, --help print short or long help message
  41188. +#
  41189. +# MODE must be one of the following:
  41190. +#
  41191. +# clean remove files from the build directory
  41192. +# compile compile a source file into a libtool object
  41193. +# execute automatically set library path, then run a program
  41194. +# finish complete the installation of libtool libraries
  41195. +# install install libraries or executables
  41196. +# link create a library or an executable
  41197. +# uninstall remove libraries from an installed directory
  41198. +#
  41199. +# MODE-ARGS vary depending on the MODE.
  41200. +# Try `$progname --help --mode=MODE' for a more detailed description of MODE.
  41201. +#
  41202. +# When reporting a bug, please describe a test case to reproduce it and
  41203. +# include the following information:
  41204. +#
  41205. +# host-triplet: $host
  41206. +# shell: $SHELL
  41207. +# compiler: $LTCC
  41208. +# compiler flags: $LTCFLAGS
  41209. +# linker: $LD (gnu? $with_gnu_ld)
  41210. +# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
  41211. +# automake: $automake_version
  41212. +# autoconf: $autoconf_version
  41213. +#
  41214. +# Report bugs to <bug-libtool@gnu.org>.
  41215. +
  41216. +PROGRAM=ltmain.sh
  41217. +PACKAGE=libtool
  41218. +VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
  41219. +TIMESTAMP=""
  41220. +package_revision=1.3017
  41221. +
  41222. +# Be Bourne compatible
  41223. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  41224. + emulate sh
  41225. + NULLCMD=:
  41226. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  41227. + # is contrary to our usage. Disable this feature.
  41228. + alias -g '${1+"$@"}'='"$@"'
  41229. + setopt NO_GLOB_SUBST
  41230. +else
  41231. + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
  41232. +fi
  41233. +BIN_SH=xpg4; export BIN_SH # for Tru64
  41234. +DUALCASE=1; export DUALCASE # for MKS sh
  41235. +
  41236. +# NLS nuisances: We save the old values to restore during execute mode.
  41237. +# Only set LANG and LC_ALL to C if already set.
  41238. +# These must not be set unconditionally because not all systems understand
  41239. +# e.g. LANG=C (notably SCO).
  41240. +lt_user_locale=
  41241. +lt_safe_locale=
  41242. +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  41243. +do
  41244. + eval "if test \"\${$lt_var+set}\" = set; then
  41245. + save_$lt_var=\$$lt_var
  41246. + $lt_var=C
  41247. + export $lt_var
  41248. + lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
  41249. + lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
  41250. + fi"
  41251. +done
  41252. +
  41253. +$lt_unset CDPATH
  41254. +
  41255. +
  41256. +
  41257. +
  41258. +
  41259. +: ${CP="cp -f"}
  41260. +: ${ECHO="echo"}
  41261. +: ${EGREP="/bin/grep -E"}
  41262. +: ${FGREP="/bin/grep -F"}
  41263. +: ${GREP="/bin/grep"}
  41264. +: ${LN_S="ln -s"}
  41265. +: ${MAKE="make"}
  41266. +: ${MKDIR="mkdir"}
  41267. +: ${MV="mv -f"}
  41268. +: ${RM="rm -f"}
  41269. +: ${SED="/bin/sed"}
  41270. +: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
  41271. +: ${Xsed="$SED -e 1s/^X//"}
  41272. +
  41273. +# Global variables:
  41274. +EXIT_SUCCESS=0
  41275. +EXIT_FAILURE=1
  41276. +EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
  41277. +EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
  41278. +
  41279. +exit_status=$EXIT_SUCCESS
  41280. +
  41281. +# Make sure IFS has a sensible default
  41282. +lt_nl='
  41283. +'
  41284. +IFS=" $lt_nl"
  41285. +
  41286. +dirname="s,/[^/]*$,,"
  41287. +basename="s,^.*/,,"
  41288. +
  41289. +# func_dirname_and_basename file append nondir_replacement
  41290. +# perform func_basename and func_dirname in a single function
  41291. +# call:
  41292. +# dirname: Compute the dirname of FILE. If nonempty,
  41293. +# add APPEND to the result, otherwise set result
  41294. +# to NONDIR_REPLACEMENT.
  41295. +# value returned in "$func_dirname_result"
  41296. +# basename: Compute filename of FILE.
  41297. +# value retuned in "$func_basename_result"
  41298. +# Implementation must be kept synchronized with func_dirname
  41299. +# and func_basename. For efficiency, we do not delegate to
  41300. +# those functions but instead duplicate the functionality here.
  41301. +func_dirname_and_basename ()
  41302. +{
  41303. + # Extract subdirectory from the argument.
  41304. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  41305. + if test "X$func_dirname_result" = "X${1}"; then
  41306. + func_dirname_result="${3}"
  41307. + else
  41308. + func_dirname_result="$func_dirname_result${2}"
  41309. + fi
  41310. + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  41311. +}
  41312. +
  41313. +# Generated shell functions inserted here.
  41314. +
  41315. +# func_dirname file append nondir_replacement
  41316. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  41317. +# otherwise set result to NONDIR_REPLACEMENT.
  41318. +func_dirname ()
  41319. +{
  41320. + case ${1} in
  41321. + */*) func_dirname_result="${1%/*}${2}" ;;
  41322. + * ) func_dirname_result="${3}" ;;
  41323. + esac
  41324. +}
  41325. +
  41326. +# func_basename file
  41327. +func_basename ()
  41328. +{
  41329. + func_basename_result="${1##*/}"
  41330. +}
  41331. +
  41332. +# func_dirname_and_basename file append nondir_replacement
  41333. +# perform func_basename and func_dirname in a single function
  41334. +# call:
  41335. +# dirname: Compute the dirname of FILE. If nonempty,
  41336. +# add APPEND to the result, otherwise set result
  41337. +# to NONDIR_REPLACEMENT.
  41338. +# value returned in "$func_dirname_result"
  41339. +# basename: Compute filename of FILE.
  41340. +# value retuned in "$func_basename_result"
  41341. +# Implementation must be kept synchronized with func_dirname
  41342. +# and func_basename. For efficiency, we do not delegate to
  41343. +# those functions but instead duplicate the functionality here.
  41344. +func_dirname_and_basename ()
  41345. +{
  41346. + case ${1} in
  41347. + */*) func_dirname_result="${1%/*}${2}" ;;
  41348. + * ) func_dirname_result="${3}" ;;
  41349. + esac
  41350. + func_basename_result="${1##*/}"
  41351. +}
  41352. +
  41353. +# func_stripname prefix suffix name
  41354. +# strip PREFIX and SUFFIX off of NAME.
  41355. +# PREFIX and SUFFIX must not contain globbing or regex special
  41356. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  41357. +# dot (in which case that matches only a dot).
  41358. +func_stripname ()
  41359. +{
  41360. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  41361. + # positional parameters, so assign one to ordinary parameter first.
  41362. + func_stripname_result=${3}
  41363. + func_stripname_result=${func_stripname_result#"${1}"}
  41364. + func_stripname_result=${func_stripname_result%"${2}"}
  41365. +}
  41366. +
  41367. +# func_opt_split
  41368. +func_opt_split ()
  41369. +{
  41370. + func_opt_split_opt=${1%%=*}
  41371. + func_opt_split_arg=${1#*=}
  41372. +}
  41373. +
  41374. +# func_lo2o object
  41375. +func_lo2o ()
  41376. +{
  41377. + case ${1} in
  41378. + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  41379. + *) func_lo2o_result=${1} ;;
  41380. + esac
  41381. +}
  41382. +
  41383. +# func_xform libobj-or-source
  41384. +func_xform ()
  41385. +{
  41386. + func_xform_result=${1%.*}.lo
  41387. +}
  41388. +
  41389. +# func_arith arithmetic-term...
  41390. +func_arith ()
  41391. +{
  41392. + func_arith_result=$(( $* ))
  41393. +}
  41394. +
  41395. +# func_len string
  41396. +# STRING may not start with a hyphen.
  41397. +func_len ()
  41398. +{
  41399. + func_len_result=${#1}
  41400. +}
  41401. +
  41402. +
  41403. +# func_append var value
  41404. +# Append VALUE to the end of shell variable VAR.
  41405. +func_append ()
  41406. +{
  41407. + eval "$1+=\$2"
  41408. +}
  41409. +# Generated shell functions inserted here.
  41410. +
  41411. +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
  41412. +# is ksh but when the shell is invoked as "sh" and the current value of
  41413. +# the _XPG environment variable is not equal to 1 (one), the special
  41414. +# positional parameter $0, within a function call, is the name of the
  41415. +# function.
  41416. +progpath="$0"
  41417. +
  41418. +# The name of this program:
  41419. +# In the unlikely event $progname began with a '-', it would play havoc with
  41420. +# func_echo (imagine progname=-n), so we prepend ./ in that case:
  41421. +func_dirname_and_basename "$progpath"
  41422. +progname=$func_basename_result
  41423. +case $progname in
  41424. + -*) progname=./$progname ;;
  41425. +esac
  41426. +
  41427. +# Make sure we have an absolute path for reexecution:
  41428. +case $progpath in
  41429. + [\\/]*|[A-Za-z]:\\*) ;;
  41430. + *[\\/]*)
  41431. + progdir=$func_dirname_result
  41432. + progdir=`cd "$progdir" && pwd`
  41433. + progpath="$progdir/$progname"
  41434. + ;;
  41435. + *)
  41436. + save_IFS="$IFS"
  41437. + IFS=:
  41438. + for progdir in $PATH; do
  41439. + IFS="$save_IFS"
  41440. + test -x "$progdir/$progname" && break
  41441. + done
  41442. + IFS="$save_IFS"
  41443. + test -n "$progdir" || progdir=`pwd`
  41444. + progpath="$progdir/$progname"
  41445. + ;;
  41446. +esac
  41447. +
  41448. +# Sed substitution that helps us do robust quoting. It backslashifies
  41449. +# metacharacters that are still active within double-quoted strings.
  41450. +Xsed="${SED}"' -e 1s/^X//'
  41451. +sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
  41452. +
  41453. +# Same as above, but do not quote variable references.
  41454. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  41455. +
  41456. +# Re-`\' parameter expansions in output of double_quote_subst that were
  41457. +# `\'-ed in input to the same. If an odd number of `\' preceded a '$'
  41458. +# in input to double_quote_subst, that '$' was protected from expansion.
  41459. +# Since each input `\' is now two `\'s, look for any number of runs of
  41460. +# four `\'s followed by two `\'s and then a '$'. `\' that '$'.
  41461. +bs='\\'
  41462. +bs2='\\\\'
  41463. +bs4='\\\\\\\\'
  41464. +dollar='\$'
  41465. +sed_double_backslash="\
  41466. + s/$bs4/&\\
  41467. +/g
  41468. + s/^$bs2$dollar/$bs&/
  41469. + s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
  41470. + s/\n//g"
  41471. +
  41472. +# Standard options:
  41473. +opt_dry_run=false
  41474. +opt_help=false
  41475. +opt_quiet=false
  41476. +opt_verbose=false
  41477. +opt_warning=:
  41478. +
  41479. +# func_echo arg...
  41480. +# Echo program name prefixed message, along with the current mode
  41481. +# name if it has been set yet.
  41482. +func_echo ()
  41483. +{
  41484. + $ECHO "$progname${mode+: }$mode: $*"
  41485. +}
  41486. +
  41487. +# func_verbose arg...
  41488. +# Echo program name prefixed message in verbose mode only.
  41489. +func_verbose ()
  41490. +{
  41491. + $opt_verbose && func_echo ${1+"$@"}
  41492. +
  41493. + # A bug in bash halts the script if the last line of a function
  41494. + # fails when set -e is in force, so we need another command to
  41495. + # work around that:
  41496. + :
  41497. +}
  41498. +
  41499. +# func_error arg...
  41500. +# Echo program name prefixed message to standard error.
  41501. +func_error ()
  41502. +{
  41503. + $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
  41504. +}
  41505. +
  41506. +# func_warning arg...
  41507. +# Echo program name prefixed warning message to standard error.
  41508. +func_warning ()
  41509. +{
  41510. + $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
  41511. +
  41512. + # bash bug again:
  41513. + :
  41514. +}
  41515. +
  41516. +# func_fatal_error arg...
  41517. +# Echo program name prefixed message to standard error, and exit.
  41518. +func_fatal_error ()
  41519. +{
  41520. + func_error ${1+"$@"}
  41521. + exit $EXIT_FAILURE
  41522. +}
  41523. +
  41524. +# func_fatal_help arg...
  41525. +# Echo program name prefixed message to standard error, followed by
  41526. +# a help hint, and exit.
  41527. +func_fatal_help ()
  41528. +{
  41529. + func_error ${1+"$@"}
  41530. + func_fatal_error "$help"
  41531. +}
  41532. +help="Try \`$progname --help' for more information." ## default
  41533. +
  41534. +
  41535. +# func_grep expression filename
  41536. +# Check whether EXPRESSION matches any line of FILENAME, without output.
  41537. +func_grep ()
  41538. +{
  41539. + $GREP "$1" "$2" >/dev/null 2>&1
  41540. +}
  41541. +
  41542. +
  41543. +# func_mkdir_p directory-path
  41544. +# Make sure the entire path to DIRECTORY-PATH is available.
  41545. +func_mkdir_p ()
  41546. +{
  41547. + my_directory_path="$1"
  41548. + my_dir_list=
  41549. +
  41550. + if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
  41551. +
  41552. + # Protect directory names starting with `-'
  41553. + case $my_directory_path in
  41554. + -*) my_directory_path="./$my_directory_path" ;;
  41555. + esac
  41556. +
  41557. + # While some portion of DIR does not yet exist...
  41558. + while test ! -d "$my_directory_path"; do
  41559. + # ...make a list in topmost first order. Use a colon delimited
  41560. + # list incase some portion of path contains whitespace.
  41561. + my_dir_list="$my_directory_path:$my_dir_list"
  41562. +
  41563. + # If the last portion added has no slash in it, the list is done
  41564. + case $my_directory_path in */*) ;; *) break ;; esac
  41565. +
  41566. + # ...otherwise throw away the child directory and loop
  41567. + my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
  41568. + done
  41569. + my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
  41570. +
  41571. + save_mkdir_p_IFS="$IFS"; IFS=':'
  41572. + for my_dir in $my_dir_list; do
  41573. + IFS="$save_mkdir_p_IFS"
  41574. + # mkdir can fail with a `File exist' error if two processes
  41575. + # try to create one of the directories concurrently. Don't
  41576. + # stop in that case!
  41577. + $MKDIR "$my_dir" 2>/dev/null || :
  41578. + done
  41579. + IFS="$save_mkdir_p_IFS"
  41580. +
  41581. + # Bail out if we (or some other process) failed to create a directory.
  41582. + test -d "$my_directory_path" || \
  41583. + func_fatal_error "Failed to create \`$1'"
  41584. + fi
  41585. +}
  41586. +
  41587. +
  41588. +# func_mktempdir [string]
  41589. +# Make a temporary directory that won't clash with other running
  41590. +# libtool processes, and avoids race conditions if possible. If
  41591. +# given, STRING is the basename for that directory.
  41592. +func_mktempdir ()
  41593. +{
  41594. + my_template="${TMPDIR-/tmp}/${1-$progname}"
  41595. +
  41596. + if test "$opt_dry_run" = ":"; then
  41597. + # Return a directory name, but don't create it in dry-run mode
  41598. + my_tmpdir="${my_template}-$$"
  41599. + else
  41600. +
  41601. + # If mktemp works, use that first and foremost
  41602. + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
  41603. +
  41604. + if test ! -d "$my_tmpdir"; then
  41605. + # Failing that, at least try and use $RANDOM to avoid a race
  41606. + my_tmpdir="${my_template}-${RANDOM-0}$$"
  41607. +
  41608. + save_mktempdir_umask=`umask`
  41609. + umask 0077
  41610. + $MKDIR "$my_tmpdir"
  41611. + umask $save_mktempdir_umask
  41612. + fi
  41613. +
  41614. + # If we're not in dry-run mode, bomb out on failure
  41615. + test -d "$my_tmpdir" || \
  41616. + func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
  41617. + fi
  41618. +
  41619. + $ECHO "X$my_tmpdir" | $Xsed
  41620. +}
  41621. +
  41622. +
  41623. +# func_quote_for_eval arg
  41624. +# Aesthetically quote ARG to be evaled later.
  41625. +# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
  41626. +# is double-quoted, suitable for a subsequent eval, whereas
  41627. +# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
  41628. +# which are still active within double quotes backslashified.
  41629. +func_quote_for_eval ()
  41630. +{
  41631. + case $1 in
  41632. + *[\\\`\"\$]*)
  41633. + func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
  41634. + *)
  41635. + func_quote_for_eval_unquoted_result="$1" ;;
  41636. + esac
  41637. +
  41638. + case $func_quote_for_eval_unquoted_result in
  41639. + # Double-quote args containing shell metacharacters to delay
  41640. + # word splitting, command substitution and and variable
  41641. + # expansion for a subsequent eval.
  41642. + # Many Bourne shells cannot handle close brackets correctly
  41643. + # in scan sets, so we specify it separately.
  41644. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  41645. + func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
  41646. + ;;
  41647. + *)
  41648. + func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
  41649. + esac
  41650. +}
  41651. +
  41652. +
  41653. +# func_quote_for_expand arg
  41654. +# Aesthetically quote ARG to be evaled later; same as above,
  41655. +# but do not quote variable references.
  41656. +func_quote_for_expand ()
  41657. +{
  41658. + case $1 in
  41659. + *[\\\`\"]*)
  41660. + my_arg=`$ECHO "X$1" | $Xsed \
  41661. + -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
  41662. + *)
  41663. + my_arg="$1" ;;
  41664. + esac
  41665. +
  41666. + case $my_arg in
  41667. + # Double-quote args containing shell metacharacters to delay
  41668. + # word splitting and command substitution for a subsequent eval.
  41669. + # Many Bourne shells cannot handle close brackets correctly
  41670. + # in scan sets, so we specify it separately.
  41671. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  41672. + my_arg="\"$my_arg\""
  41673. + ;;
  41674. + esac
  41675. +
  41676. + func_quote_for_expand_result="$my_arg"
  41677. +}
  41678. +
  41679. +
  41680. +# func_show_eval cmd [fail_exp]
  41681. +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
  41682. +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
  41683. +# is given, then evaluate it.
  41684. +func_show_eval ()
  41685. +{
  41686. + my_cmd="$1"
  41687. + my_fail_exp="${2-:}"
  41688. +
  41689. + ${opt_silent-false} || {
  41690. + func_quote_for_expand "$my_cmd"
  41691. + eval "func_echo $func_quote_for_expand_result"
  41692. + }
  41693. +
  41694. + if ${opt_dry_run-false}; then :; else
  41695. + eval "$my_cmd"
  41696. + my_status=$?
  41697. + if test "$my_status" -eq 0; then :; else
  41698. + eval "(exit $my_status); $my_fail_exp"
  41699. + fi
  41700. + fi
  41701. +}
  41702. +
  41703. +
  41704. +# func_show_eval_locale cmd [fail_exp]
  41705. +# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
  41706. +# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
  41707. +# is given, then evaluate it. Use the saved locale for evaluation.
  41708. +func_show_eval_locale ()
  41709. +{
  41710. + my_cmd="$1"
  41711. + my_fail_exp="${2-:}"
  41712. +
  41713. + ${opt_silent-false} || {
  41714. + func_quote_for_expand "$my_cmd"
  41715. + eval "func_echo $func_quote_for_expand_result"
  41716. + }
  41717. +
  41718. + if ${opt_dry_run-false}; then :; else
  41719. + eval "$lt_user_locale
  41720. + $my_cmd"
  41721. + my_status=$?
  41722. + eval "$lt_safe_locale"
  41723. + if test "$my_status" -eq 0; then :; else
  41724. + eval "(exit $my_status); $my_fail_exp"
  41725. + fi
  41726. + fi
  41727. +}
  41728. +
  41729. +
  41730. +
  41731. +
  41732. +
  41733. +# func_version
  41734. +# Echo version message to standard output and exit.
  41735. +func_version ()
  41736. +{
  41737. + $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
  41738. + s/^# //
  41739. + s/^# *$//
  41740. + s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
  41741. + p
  41742. + }' < "$progpath"
  41743. + exit $?
  41744. +}
  41745. +
  41746. +# func_usage
  41747. +# Echo short help message to standard output and exit.
  41748. +func_usage ()
  41749. +{
  41750. + $SED -n '/^# Usage:/,/# -h/ {
  41751. + s/^# //
  41752. + s/^# *$//
  41753. + s/\$progname/'$progname'/
  41754. + p
  41755. + }' < "$progpath"
  41756. + $ECHO
  41757. + $ECHO "run \`$progname --help | more' for full usage"
  41758. + exit $?
  41759. +}
  41760. +
  41761. +# func_help
  41762. +# Echo long help message to standard output and exit.
  41763. +func_help ()
  41764. +{
  41765. + $SED -n '/^# Usage:/,/# Report bugs to/ {
  41766. + s/^# //
  41767. + s/^# *$//
  41768. + s*\$progname*'$progname'*
  41769. + s*\$host*'"$host"'*
  41770. + s*\$SHELL*'"$SHELL"'*
  41771. + s*\$LTCC*'"$LTCC"'*
  41772. + s*\$LTCFLAGS*'"$LTCFLAGS"'*
  41773. + s*\$LD*'"$LD"'*
  41774. + s/\$with_gnu_ld/'"$with_gnu_ld"'/
  41775. + s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
  41776. + s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
  41777. + p
  41778. + }' < "$progpath"
  41779. + exit $?
  41780. +}
  41781. +
  41782. +# func_missing_arg argname
  41783. +# Echo program name prefixed message to standard error and set global
  41784. +# exit_cmd.
  41785. +func_missing_arg ()
  41786. +{
  41787. + func_error "missing argument for $1"
  41788. + exit_cmd=exit
  41789. +}
  41790. +
  41791. +exit_cmd=:
  41792. +
  41793. +
  41794. +
  41795. +
  41796. +
  41797. +# Check that we have a working $ECHO.
  41798. +if test "X$1" = X--no-reexec; then
  41799. + # Discard the --no-reexec flag, and continue.
  41800. + shift
  41801. +elif test "X$1" = X--fallback-echo; then
  41802. + # Avoid inline document here, it may be left over
  41803. + :
  41804. +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
  41805. + # Yippee, $ECHO works!
  41806. + :
  41807. +else
  41808. + # Restart under the correct shell, and then maybe $ECHO will work.
  41809. + exec $SHELL "$progpath" --no-reexec ${1+"$@"}
  41810. +fi
  41811. +
  41812. +if test "X$1" = X--fallback-echo; then
  41813. + # used as fallback echo
  41814. + shift
  41815. + cat <<EOF
  41816. +$*
  41817. +EOF
  41818. + exit $EXIT_SUCCESS
  41819. +fi
  41820. +
  41821. +magic="%%%MAGIC variable%%%"
  41822. +magic_exe="%%%MAGIC EXE variable%%%"
  41823. +
  41824. +# Global variables.
  41825. +# $mode is unset
  41826. +nonopt=
  41827. +execute_dlfiles=
  41828. +preserve_args=
  41829. +lo2o="s/\\.lo\$/.${objext}/"
  41830. +o2lo="s/\\.${objext}\$/.lo/"
  41831. +extracted_archives=
  41832. +extracted_serial=0
  41833. +
  41834. +opt_dry_run=false
  41835. +opt_duplicate_deps=false
  41836. +opt_silent=false
  41837. +opt_debug=:
  41838. +
  41839. +# If this variable is set in any of the actions, the command in it
  41840. +# will be execed at the end. This prevents here-documents from being
  41841. +# left over by shells.
  41842. +exec_cmd=
  41843. +
  41844. +# func_fatal_configuration arg...
  41845. +# Echo program name prefixed message to standard error, followed by
  41846. +# a configuration failure hint, and exit.
  41847. +func_fatal_configuration ()
  41848. +{
  41849. + func_error ${1+"$@"}
  41850. + func_error "See the $PACKAGE documentation for more information."
  41851. + func_fatal_error "Fatal configuration error."
  41852. +}
  41853. +
  41854. +
  41855. +# func_config
  41856. +# Display the configuration for all the tags in this script.
  41857. +func_config ()
  41858. +{
  41859. + re_begincf='^# ### BEGIN LIBTOOL'
  41860. + re_endcf='^# ### END LIBTOOL'
  41861. +
  41862. + # Default configuration.
  41863. + $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath"
  41864. +
  41865. + # Now print the configurations for the tags.
  41866. + for tagname in $taglist; do
  41867. + $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath"
  41868. + done
  41869. +
  41870. + exit $?
  41871. +}
  41872. +
  41873. +# func_features
  41874. +# Display the features supported by this script.
  41875. +func_features ()
  41876. +{
  41877. + $ECHO "host: $host"
  41878. + if test "$build_libtool_libs" = yes; then
  41879. + $ECHO "enable shared libraries"
  41880. + else
  41881. + $ECHO "disable shared libraries"
  41882. + fi
  41883. + if test "$build_old_libs" = yes; then
  41884. + $ECHO "enable static libraries"
  41885. + else
  41886. + $ECHO "disable static libraries"
  41887. + fi
  41888. +
  41889. + exit $?
  41890. +}
  41891. +
  41892. +# func_enable_tag tagname
  41893. +# Verify that TAGNAME is valid, and either flag an error and exit, or
  41894. +# enable the TAGNAME tag. We also add TAGNAME to the global $taglist
  41895. +# variable here.
  41896. +func_enable_tag ()
  41897. +{
  41898. + # Global variable:
  41899. + tagname="$1"
  41900. +
  41901. + re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
  41902. + re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
  41903. + sed_extractcf="/$re_begincf/,/$re_endcf/p"
  41904. +
  41905. + # Validate tagname.
  41906. + case $tagname in
  41907. + *[!-_A-Za-z0-9,/]*)
  41908. + func_fatal_error "invalid tag name: $tagname"
  41909. + ;;
  41910. + esac
  41911. +
  41912. + # Don't test for the "default" C tag, as we know it's
  41913. + # there but not specially marked.
  41914. + case $tagname in
  41915. + CC) ;;
  41916. + *)
  41917. + if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
  41918. + taglist="$taglist $tagname"
  41919. +
  41920. + # Evaluate the configuration. Be careful to quote the path
  41921. + # and the sed script, to avoid splitting on whitespace, but
  41922. + # also don't use non-portable quotes within backquotes within
  41923. + # quotes we have to do it in 2 steps:
  41924. + extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
  41925. + eval "$extractedcf"
  41926. + else
  41927. + func_error "ignoring unknown tag $tagname"
  41928. + fi
  41929. + ;;
  41930. + esac
  41931. +}
  41932. +
  41933. +# Parse options once, thoroughly. This comes as soon as possible in
  41934. +# the script to make things like `libtool --version' happen quickly.
  41935. +{
  41936. +
  41937. + # Shorthand for --mode=foo, only valid as the first argument
  41938. + case $1 in
  41939. + clean|clea|cle|cl)
  41940. + shift; set dummy --mode clean ${1+"$@"}; shift
  41941. + ;;
  41942. + compile|compil|compi|comp|com|co|c)
  41943. + shift; set dummy --mode compile ${1+"$@"}; shift
  41944. + ;;
  41945. + execute|execut|execu|exec|exe|ex|e)
  41946. + shift; set dummy --mode execute ${1+"$@"}; shift
  41947. + ;;
  41948. + finish|finis|fini|fin|fi|f)
  41949. + shift; set dummy --mode finish ${1+"$@"}; shift
  41950. + ;;
  41951. + install|instal|insta|inst|ins|in|i)
  41952. + shift; set dummy --mode install ${1+"$@"}; shift
  41953. + ;;
  41954. + link|lin|li|l)
  41955. + shift; set dummy --mode link ${1+"$@"}; shift
  41956. + ;;
  41957. + uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
  41958. + shift; set dummy --mode uninstall ${1+"$@"}; shift
  41959. + ;;
  41960. + esac
  41961. +
  41962. + # Parse non-mode specific arguments:
  41963. + while test "$#" -gt 0; do
  41964. + opt="$1"
  41965. + shift
  41966. +
  41967. + case $opt in
  41968. + --config) func_config ;;
  41969. +
  41970. + --debug) preserve_args="$preserve_args $opt"
  41971. + func_echo "enabling shell trace mode"
  41972. + opt_debug='set -x'
  41973. + $opt_debug
  41974. + ;;
  41975. +
  41976. + -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break
  41977. + execute_dlfiles="$execute_dlfiles $1"
  41978. + shift
  41979. + ;;
  41980. +
  41981. + --dry-run | -n) opt_dry_run=: ;;
  41982. + --features) func_features ;;
  41983. + --finish) mode="finish" ;;
  41984. +
  41985. + --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break
  41986. + case $1 in
  41987. + # Valid mode arguments:
  41988. + clean) ;;
  41989. + compile) ;;
  41990. + execute) ;;
  41991. + finish) ;;
  41992. + install) ;;
  41993. + link) ;;
  41994. + relink) ;;
  41995. + uninstall) ;;
  41996. +
  41997. + # Catch anything else as an error
  41998. + *) func_error "invalid argument for $opt"
  41999. + exit_cmd=exit
  42000. + break
  42001. + ;;
  42002. + esac
  42003. +
  42004. + mode="$1"
  42005. + shift
  42006. + ;;
  42007. +
  42008. + --preserve-dup-deps)
  42009. + opt_duplicate_deps=: ;;
  42010. +
  42011. + --quiet|--silent) preserve_args="$preserve_args $opt"
  42012. + opt_silent=:
  42013. + ;;
  42014. +
  42015. + --verbose| -v) preserve_args="$preserve_args $opt"
  42016. + opt_silent=false
  42017. + ;;
  42018. +
  42019. + --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
  42020. + preserve_args="$preserve_args $opt $1"
  42021. + func_enable_tag "$1" # tagname is set here
  42022. + shift
  42023. + ;;
  42024. +
  42025. + # Separate optargs to long options:
  42026. + -dlopen=*|--mode=*|--tag=*)
  42027. + func_opt_split "$opt"
  42028. + set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
  42029. + shift
  42030. + ;;
  42031. +
  42032. + -\?|-h) func_usage ;;
  42033. + --help) opt_help=: ;;
  42034. + --version) func_version ;;
  42035. +
  42036. + -*) func_fatal_help "unrecognized option \`$opt'" ;;
  42037. +
  42038. + *) nonopt="$opt"
  42039. + break
  42040. + ;;
  42041. + esac
  42042. + done
  42043. +
  42044. +
  42045. + case $host in
  42046. + *cygwin* | *mingw* | *pw32* | *cegcc*)
  42047. + # don't eliminate duplications in $postdeps and $predeps
  42048. + opt_duplicate_compiler_generated_deps=:
  42049. + ;;
  42050. + *)
  42051. + opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
  42052. + ;;
  42053. + esac
  42054. +
  42055. + # Having warned about all mis-specified options, bail out if
  42056. + # anything was wrong.
  42057. + $exit_cmd $EXIT_FAILURE
  42058. +}
  42059. +
  42060. +# func_check_version_match
  42061. +# Ensure that we are using m4 macros, and libtool script from the same
  42062. +# release of libtool.
  42063. +func_check_version_match ()
  42064. +{
  42065. + if test "$package_revision" != "$macro_revision"; then
  42066. + if test "$VERSION" != "$macro_version"; then
  42067. + if test -z "$macro_version"; then
  42068. + cat >&2 <<_LT_EOF
  42069. +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  42070. +$progname: definition of this LT_INIT comes from an older release.
  42071. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  42072. +$progname: and run autoconf again.
  42073. +_LT_EOF
  42074. + else
  42075. + cat >&2 <<_LT_EOF
  42076. +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  42077. +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
  42078. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  42079. +$progname: and run autoconf again.
  42080. +_LT_EOF
  42081. + fi
  42082. + else
  42083. + cat >&2 <<_LT_EOF
  42084. +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
  42085. +$progname: but the definition of this LT_INIT comes from revision $macro_revision.
  42086. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision
  42087. +$progname: of $PACKAGE $VERSION and run autoconf again.
  42088. +_LT_EOF
  42089. + fi
  42090. +
  42091. + exit $EXIT_MISMATCH
  42092. + fi
  42093. +}
  42094. +
  42095. +
  42096. +## ----------- ##
  42097. +## Main. ##
  42098. +## ----------- ##
  42099. +
  42100. +$opt_help || {
  42101. + # Sanity checks first:
  42102. + func_check_version_match
  42103. +
  42104. + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  42105. + func_fatal_configuration "not configured to build any kind of library"
  42106. + fi
  42107. +
  42108. + test -z "$mode" && func_fatal_error "error: you must specify a MODE."
  42109. +
  42110. +
  42111. + # Darwin sucks
  42112. + eval std_shrext=\"$shrext_cmds\"
  42113. +
  42114. +
  42115. + # Only execute mode is allowed to have -dlopen flags.
  42116. + if test -n "$execute_dlfiles" && test "$mode" != execute; then
  42117. + func_error "unrecognized option \`-dlopen'"
  42118. + $ECHO "$help" 1>&2
  42119. + exit $EXIT_FAILURE
  42120. + fi
  42121. +
  42122. + # Change the help message to a mode-specific one.
  42123. + generic_help="$help"
  42124. + help="Try \`$progname --help --mode=$mode' for more information."
  42125. +}
  42126. +
  42127. +
  42128. +# func_lalib_p file
  42129. +# True iff FILE is a libtool `.la' library or `.lo' object file.
  42130. +# This function is only a basic sanity check; it will hardly flush out
  42131. +# determined imposters.
  42132. +func_lalib_p ()
  42133. +{
  42134. + test -f "$1" &&
  42135. + $SED -e 4q "$1" 2>/dev/null \
  42136. + | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
  42137. +}
  42138. +
  42139. +# func_lalib_unsafe_p file
  42140. +# True iff FILE is a libtool `.la' library or `.lo' object file.
  42141. +# This function implements the same check as func_lalib_p without
  42142. +# resorting to external programs. To this end, it redirects stdin and
  42143. +# closes it afterwards, without saving the original file descriptor.
  42144. +# As a safety measure, use it only where a negative result would be
  42145. +# fatal anyway. Works if `file' does not exist.
  42146. +func_lalib_unsafe_p ()
  42147. +{
  42148. + lalib_p=no
  42149. + if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
  42150. + for lalib_p_l in 1 2 3 4
  42151. + do
  42152. + read lalib_p_line
  42153. + case "$lalib_p_line" in
  42154. + \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
  42155. + esac
  42156. + done
  42157. + exec 0<&5 5<&-
  42158. + fi
  42159. + test "$lalib_p" = yes
  42160. +}
  42161. +
  42162. +# func_ltwrapper_script_p file
  42163. +# True iff FILE is a libtool wrapper script
  42164. +# This function is only a basic sanity check; it will hardly flush out
  42165. +# determined imposters.
  42166. +func_ltwrapper_script_p ()
  42167. +{
  42168. + func_lalib_p "$1"
  42169. +}
  42170. +
  42171. +# func_ltwrapper_executable_p file
  42172. +# True iff FILE is a libtool wrapper executable
  42173. +# This function is only a basic sanity check; it will hardly flush out
  42174. +# determined imposters.
  42175. +func_ltwrapper_executable_p ()
  42176. +{
  42177. + func_ltwrapper_exec_suffix=
  42178. + case $1 in
  42179. + *.exe) ;;
  42180. + *) func_ltwrapper_exec_suffix=.exe ;;
  42181. + esac
  42182. + $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1
  42183. +}
  42184. +
  42185. +# func_ltwrapper_scriptname file
  42186. +# Assumes file is an ltwrapper_executable
  42187. +# uses $file to determine the appropriate filename for a
  42188. +# temporary ltwrapper_script.
  42189. +func_ltwrapper_scriptname ()
  42190. +{
  42191. + func_ltwrapper_scriptname_result=""
  42192. + if func_ltwrapper_executable_p "$1"; then
  42193. + func_dirname_and_basename "$1" "" "."
  42194. + func_stripname '' '.exe' "$func_basename_result"
  42195. + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
  42196. + fi
  42197. +}
  42198. +
  42199. +# func_ltwrapper_p file
  42200. +# True iff FILE is a libtool wrapper script or wrapper executable
  42201. +# This function is only a basic sanity check; it will hardly flush out
  42202. +# determined imposters.
  42203. +func_ltwrapper_p ()
  42204. +{
  42205. + func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1"
  42206. +}
  42207. +
  42208. +
  42209. +# func_execute_cmds commands fail_cmd
  42210. +# Execute tilde-delimited COMMANDS.
  42211. +# If FAIL_CMD is given, eval that upon failure.
  42212. +# FAIL_CMD may read-access the current command in variable CMD!
  42213. +func_execute_cmds ()
  42214. +{
  42215. + $opt_debug
  42216. + save_ifs=$IFS; IFS='~'
  42217. + for cmd in $1; do
  42218. + IFS=$save_ifs
  42219. + eval cmd=\"$cmd\"
  42220. + func_show_eval "$cmd" "${2-:}"
  42221. + done
  42222. + IFS=$save_ifs
  42223. +}
  42224. +
  42225. +
  42226. +# func_source file
  42227. +# Source FILE, adding directory component if necessary.
  42228. +# Note that it is not necessary on cygwin/mingw to append a dot to
  42229. +# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
  42230. +# behavior happens only for exec(3), not for open(2)! Also, sourcing
  42231. +# `FILE.' does not work on cygwin managed mounts.
  42232. +func_source ()
  42233. +{
  42234. + $opt_debug
  42235. + case $1 in
  42236. + */* | *\\*) . "$1" ;;
  42237. + *) . "./$1" ;;
  42238. + esac
  42239. +}
  42240. +
  42241. +
  42242. +# func_infer_tag arg
  42243. +# Infer tagged configuration to use if any are available and
  42244. +# if one wasn't chosen via the "--tag" command line option.
  42245. +# Only attempt this if the compiler in the base compile
  42246. +# command doesn't match the default compiler.
  42247. +# arg is usually of the form 'gcc ...'
  42248. +func_infer_tag ()
  42249. +{
  42250. + $opt_debug
  42251. + if test -n "$available_tags" && test -z "$tagname"; then
  42252. + CC_quoted=
  42253. + for arg in $CC; do
  42254. + func_quote_for_eval "$arg"
  42255. + CC_quoted="$CC_quoted $func_quote_for_eval_result"
  42256. + done
  42257. + case $@ in
  42258. + # Blanks in the command may have been stripped by the calling shell,
  42259. + # but not from the CC environment variable when configure was run.
  42260. + " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
  42261. + # Blanks at the start of $base_compile will cause this to fail
  42262. + # if we don't check for them as well.
  42263. + *)
  42264. + for z in $available_tags; do
  42265. + if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
  42266. + # Evaluate the configuration.
  42267. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
  42268. + CC_quoted=
  42269. + for arg in $CC; do
  42270. + # Double-quote args containing other shell metacharacters.
  42271. + func_quote_for_eval "$arg"
  42272. + CC_quoted="$CC_quoted $func_quote_for_eval_result"
  42273. + done
  42274. + case "$@ " in
  42275. + " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
  42276. + # The compiler in the base compile command matches
  42277. + # the one in the tagged configuration.
  42278. + # Assume this is the tagged configuration we want.
  42279. + tagname=$z
  42280. + break
  42281. + ;;
  42282. + esac
  42283. + fi
  42284. + done
  42285. + # If $tagname still isn't set, then no tagged configuration
  42286. + # was found and let the user know that the "--tag" command
  42287. + # line option must be used.
  42288. + if test -z "$tagname"; then
  42289. + func_echo "unable to infer tagged configuration"
  42290. + func_fatal_error "specify a tag with \`--tag'"
  42291. +# else
  42292. +# func_verbose "using $tagname tagged configuration"
  42293. + fi
  42294. + ;;
  42295. + esac
  42296. + fi
  42297. +}
  42298. +
  42299. +
  42300. +
  42301. +# func_write_libtool_object output_name pic_name nonpic_name
  42302. +# Create a libtool object file (analogous to a ".la" file),
  42303. +# but don't create it if we're doing a dry run.
  42304. +func_write_libtool_object ()
  42305. +{
  42306. + write_libobj=${1}
  42307. + if test "$build_libtool_libs" = yes; then
  42308. + write_lobj=\'${2}\'
  42309. + else
  42310. + write_lobj=none
  42311. + fi
  42312. +
  42313. + if test "$build_old_libs" = yes; then
  42314. + write_oldobj=\'${3}\'
  42315. + else
  42316. + write_oldobj=none
  42317. + fi
  42318. +
  42319. + $opt_dry_run || {
  42320. + cat >${write_libobj}T <<EOF
  42321. +# $write_libobj - a libtool object file
  42322. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  42323. +#
  42324. +# Please DO NOT delete this file!
  42325. +# It is necessary for linking the library.
  42326. +
  42327. +# Name of the PIC object.
  42328. +pic_object=$write_lobj
  42329. +
  42330. +# Name of the non-PIC object
  42331. +non_pic_object=$write_oldobj
  42332. +
  42333. +EOF
  42334. + $MV "${write_libobj}T" "${write_libobj}"
  42335. + }
  42336. +}
  42337. +
  42338. +# func_mode_compile arg...
  42339. +func_mode_compile ()
  42340. +{
  42341. + $opt_debug
  42342. + # Get the compilation command and the source file.
  42343. + base_compile=
  42344. + srcfile="$nonopt" # always keep a non-empty value in "srcfile"
  42345. + suppress_opt=yes
  42346. + suppress_output=
  42347. + arg_mode=normal
  42348. + libobj=
  42349. + later=
  42350. + pie_flag=
  42351. +
  42352. + for arg
  42353. + do
  42354. + case $arg_mode in
  42355. + arg )
  42356. + # do not "continue". Instead, add this to base_compile
  42357. + lastarg="$arg"
  42358. + arg_mode=normal
  42359. + ;;
  42360. +
  42361. + target )
  42362. + libobj="$arg"
  42363. + arg_mode=normal
  42364. + continue
  42365. + ;;
  42366. +
  42367. + normal )
  42368. + # Accept any command-line options.
  42369. + case $arg in
  42370. + -o)
  42371. + test -n "$libobj" && \
  42372. + func_fatal_error "you cannot specify \`-o' more than once"
  42373. + arg_mode=target
  42374. + continue
  42375. + ;;
  42376. +
  42377. + -pie | -fpie | -fPIE)
  42378. + pie_flag="$pie_flag $arg"
  42379. + continue
  42380. + ;;
  42381. +
  42382. + -shared | -static | -prefer-pic | -prefer-non-pic)
  42383. + later="$later $arg"
  42384. + continue
  42385. + ;;
  42386. +
  42387. + -no-suppress)
  42388. + suppress_opt=no
  42389. + continue
  42390. + ;;
  42391. +
  42392. + -Xcompiler)
  42393. + arg_mode=arg # the next one goes into the "base_compile" arg list
  42394. + continue # The current "srcfile" will either be retained or
  42395. + ;; # replaced later. I would guess that would be a bug.
  42396. +
  42397. + -Wc,*)
  42398. + func_stripname '-Wc,' '' "$arg"
  42399. + args=$func_stripname_result
  42400. + lastarg=
  42401. + save_ifs="$IFS"; IFS=','
  42402. + for arg in $args; do
  42403. + IFS="$save_ifs"
  42404. + func_quote_for_eval "$arg"
  42405. + lastarg="$lastarg $func_quote_for_eval_result"
  42406. + done
  42407. + IFS="$save_ifs"
  42408. + func_stripname ' ' '' "$lastarg"
  42409. + lastarg=$func_stripname_result
  42410. +
  42411. + # Add the arguments to base_compile.
  42412. + base_compile="$base_compile $lastarg"
  42413. + continue
  42414. + ;;
  42415. +
  42416. + *)
  42417. + # Accept the current argument as the source file.
  42418. + # The previous "srcfile" becomes the current argument.
  42419. + #
  42420. + lastarg="$srcfile"
  42421. + srcfile="$arg"
  42422. + ;;
  42423. + esac # case $arg
  42424. + ;;
  42425. + esac # case $arg_mode
  42426. +
  42427. + # Aesthetically quote the previous argument.
  42428. + func_quote_for_eval "$lastarg"
  42429. + base_compile="$base_compile $func_quote_for_eval_result"
  42430. + done # for arg
  42431. +
  42432. + case $arg_mode in
  42433. + arg)
  42434. + func_fatal_error "you must specify an argument for -Xcompile"
  42435. + ;;
  42436. + target)
  42437. + func_fatal_error "you must specify a target with \`-o'"
  42438. + ;;
  42439. + *)
  42440. + # Get the name of the library object.
  42441. + test -z "$libobj" && {
  42442. + func_basename "$srcfile"
  42443. + libobj="$func_basename_result"
  42444. + }
  42445. + ;;
  42446. + esac
  42447. +
  42448. + # Recognize several different file suffixes.
  42449. + # If the user specifies -o file.o, it is replaced with file.lo
  42450. + case $libobj in
  42451. + *.[cCFSifmso] | \
  42452. + *.ada | *.adb | *.ads | *.asm | \
  42453. + *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
  42454. + *.[fF][09]? | *.for | *.java | *.obj | *.sx)
  42455. + func_xform "$libobj"
  42456. + libobj=$func_xform_result
  42457. + ;;
  42458. + esac
  42459. +
  42460. + case $libobj in
  42461. + *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
  42462. + *)
  42463. + func_fatal_error "cannot determine name of library object from \`$libobj'"
  42464. + ;;
  42465. + esac
  42466. +
  42467. + func_infer_tag $base_compile
  42468. +
  42469. + for arg in $later; do
  42470. + case $arg in
  42471. + -shared)
  42472. + test "$build_libtool_libs" != yes && \
  42473. + func_fatal_configuration "can not build a shared library"
  42474. + build_old_libs=no
  42475. + continue
  42476. + ;;
  42477. +
  42478. + -static)
  42479. + build_libtool_libs=no
  42480. + build_old_libs=yes
  42481. + continue
  42482. + ;;
  42483. +
  42484. + -prefer-pic)
  42485. + pic_mode=yes
  42486. + continue
  42487. + ;;
  42488. +
  42489. + -prefer-non-pic)
  42490. + pic_mode=no
  42491. + continue
  42492. + ;;
  42493. + esac
  42494. + done
  42495. +
  42496. + func_quote_for_eval "$libobj"
  42497. + test "X$libobj" != "X$func_quote_for_eval_result" \
  42498. + && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
  42499. + && func_warning "libobj name \`$libobj' may not contain shell special characters."
  42500. + func_dirname_and_basename "$obj" "/" ""
  42501. + objname="$func_basename_result"
  42502. + xdir="$func_dirname_result"
  42503. + lobj=${xdir}$objdir/$objname
  42504. +
  42505. + test -z "$base_compile" && \
  42506. + func_fatal_help "you must specify a compilation command"
  42507. +
  42508. + # Delete any leftover library objects.
  42509. + if test "$build_old_libs" = yes; then
  42510. + removelist="$obj $lobj $libobj ${libobj}T"
  42511. + else
  42512. + removelist="$lobj $libobj ${libobj}T"
  42513. + fi
  42514. +
  42515. + # On Cygwin there's no "real" PIC flag so we must build both object types
  42516. + case $host_os in
  42517. + cygwin* | mingw* | pw32* | os2* | cegcc*)
  42518. + pic_mode=default
  42519. + ;;
  42520. + esac
  42521. + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
  42522. + # non-PIC code in shared libraries is not supported
  42523. + pic_mode=default
  42524. + fi
  42525. +
  42526. + # Calculate the filename of the output object if compiler does
  42527. + # not support -o with -c
  42528. + if test "$compiler_c_o" = no; then
  42529. + output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
  42530. + lockfile="$output_obj.lock"
  42531. + else
  42532. + output_obj=
  42533. + need_locks=no
  42534. + lockfile=
  42535. + fi
  42536. +
  42537. + # Lock this critical section if it is needed
  42538. + # We use this script file to make the link, it avoids creating a new file
  42539. + if test "$need_locks" = yes; then
  42540. + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
  42541. + func_echo "Waiting for $lockfile to be removed"
  42542. + sleep 2
  42543. + done
  42544. + elif test "$need_locks" = warn; then
  42545. + if test -f "$lockfile"; then
  42546. + $ECHO "\
  42547. +*** ERROR, $lockfile exists and contains:
  42548. +`cat $lockfile 2>/dev/null`
  42549. +
  42550. +This indicates that another process is trying to use the same
  42551. +temporary object file, and libtool could not work around it because
  42552. +your compiler does not support \`-c' and \`-o' together. If you
  42553. +repeat this compilation, it may succeed, by chance, but you had better
  42554. +avoid parallel builds (make -j) in this platform, or get a better
  42555. +compiler."
  42556. +
  42557. + $opt_dry_run || $RM $removelist
  42558. + exit $EXIT_FAILURE
  42559. + fi
  42560. + removelist="$removelist $output_obj"
  42561. + $ECHO "$srcfile" > "$lockfile"
  42562. + fi
  42563. +
  42564. + $opt_dry_run || $RM $removelist
  42565. + removelist="$removelist $lockfile"
  42566. + trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
  42567. +
  42568. + if test -n "$fix_srcfile_path"; then
  42569. + eval srcfile=\"$fix_srcfile_path\"
  42570. + fi
  42571. + func_quote_for_eval "$srcfile"
  42572. + qsrcfile=$func_quote_for_eval_result
  42573. +
  42574. + # Only build a PIC object if we are building libtool libraries.
  42575. + if test "$build_libtool_libs" = yes; then
  42576. + # Without this assignment, base_compile gets emptied.
  42577. + fbsd_hideous_sh_bug=$base_compile
  42578. +
  42579. + if test "$pic_mode" != no; then
  42580. + command="$base_compile $qsrcfile $pic_flag"
  42581. + else
  42582. + # Don't build PIC code
  42583. + command="$base_compile $qsrcfile"
  42584. + fi
  42585. +
  42586. + func_mkdir_p "$xdir$objdir"
  42587. +
  42588. + if test -z "$output_obj"; then
  42589. + # Place PIC objects in $objdir
  42590. + command="$command -o $lobj"
  42591. + fi
  42592. +
  42593. + func_show_eval_locale "$command" \
  42594. + 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
  42595. +
  42596. + if test "$need_locks" = warn &&
  42597. + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
  42598. + $ECHO "\
  42599. +*** ERROR, $lockfile contains:
  42600. +`cat $lockfile 2>/dev/null`
  42601. +
  42602. +but it should contain:
  42603. +$srcfile
  42604. +
  42605. +This indicates that another process is trying to use the same
  42606. +temporary object file, and libtool could not work around it because
  42607. +your compiler does not support \`-c' and \`-o' together. If you
  42608. +repeat this compilation, it may succeed, by chance, but you had better
  42609. +avoid parallel builds (make -j) in this platform, or get a better
  42610. +compiler."
  42611. +
  42612. + $opt_dry_run || $RM $removelist
  42613. + exit $EXIT_FAILURE
  42614. + fi
  42615. +
  42616. + # Just move the object if needed, then go on to compile the next one
  42617. + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
  42618. + func_show_eval '$MV "$output_obj" "$lobj"' \
  42619. + 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
  42620. + fi
  42621. +
  42622. + # Allow error messages only from the first compilation.
  42623. + if test "$suppress_opt" = yes; then
  42624. + suppress_output=' >/dev/null 2>&1'
  42625. + fi
  42626. + fi
  42627. +
  42628. + # Only build a position-dependent object if we build old libraries.
  42629. + if test "$build_old_libs" = yes; then
  42630. + if test "$pic_mode" != yes; then
  42631. + # Don't build PIC code
  42632. + command="$base_compile $qsrcfile$pie_flag"
  42633. + else
  42634. + command="$base_compile $qsrcfile $pic_flag"
  42635. + fi
  42636. + if test "$compiler_c_o" = yes; then
  42637. + command="$command -o $obj"
  42638. + fi
  42639. +
  42640. + # Suppress compiler output if we already did a PIC compilation.
  42641. + command="$command$suppress_output"
  42642. + func_show_eval_locale "$command" \
  42643. + '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
  42644. +
  42645. + if test "$need_locks" = warn &&
  42646. + test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
  42647. + $ECHO "\
  42648. +*** ERROR, $lockfile contains:
  42649. +`cat $lockfile 2>/dev/null`
  42650. +
  42651. +but it should contain:
  42652. +$srcfile
  42653. +
  42654. +This indicates that another process is trying to use the same
  42655. +temporary object file, and libtool could not work around it because
  42656. +your compiler does not support \`-c' and \`-o' together. If you
  42657. +repeat this compilation, it may succeed, by chance, but you had better
  42658. +avoid parallel builds (make -j) in this platform, or get a better
  42659. +compiler."
  42660. +
  42661. + $opt_dry_run || $RM $removelist
  42662. + exit $EXIT_FAILURE
  42663. + fi
  42664. +
  42665. + # Just move the object if needed
  42666. + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
  42667. + func_show_eval '$MV "$output_obj" "$obj"' \
  42668. + 'error=$?; $opt_dry_run || $RM $removelist; exit $error'
  42669. + fi
  42670. + fi
  42671. +
  42672. + $opt_dry_run || {
  42673. + func_write_libtool_object "$libobj" "$objdir/$objname" "$objname"
  42674. +
  42675. + # Unlock the critical section if it was locked
  42676. + if test "$need_locks" != no; then
  42677. + removelist=$lockfile
  42678. + $RM "$lockfile"
  42679. + fi
  42680. + }
  42681. +
  42682. + exit $EXIT_SUCCESS
  42683. +}
  42684. +
  42685. +$opt_help || {
  42686. +test "$mode" = compile && func_mode_compile ${1+"$@"}
  42687. +}
  42688. +
  42689. +func_mode_help ()
  42690. +{
  42691. + # We need to display help for each of the modes.
  42692. + case $mode in
  42693. + "")
  42694. + # Generic help is extracted from the usage comments
  42695. + # at the start of this file.
  42696. + func_help
  42697. + ;;
  42698. +
  42699. + clean)
  42700. + $ECHO \
  42701. +"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
  42702. +
  42703. +Remove files from the build directory.
  42704. +
  42705. +RM is the name of the program to use to delete files associated with each FILE
  42706. +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  42707. +to RM.
  42708. +
  42709. +If FILE is a libtool library, object or program, all the files associated
  42710. +with it are deleted. Otherwise, only FILE itself is deleted using RM."
  42711. + ;;
  42712. +
  42713. + compile)
  42714. + $ECHO \
  42715. +"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
  42716. +
  42717. +Compile a source file into a libtool library object.
  42718. +
  42719. +This mode accepts the following additional options:
  42720. +
  42721. + -o OUTPUT-FILE set the output file name to OUTPUT-FILE
  42722. + -no-suppress do not suppress compiler output for multiple passes
  42723. + -prefer-pic try to building PIC objects only
  42724. + -prefer-non-pic try to building non-PIC objects only
  42725. + -shared do not build a \`.o' file suitable for static linking
  42726. + -static only build a \`.o' file suitable for static linking
  42727. +
  42728. +COMPILE-COMMAND is a command to be used in creating a \`standard' object file
  42729. +from the given SOURCEFILE.
  42730. +
  42731. +The output file name is determined by removing the directory component from
  42732. +SOURCEFILE, then substituting the C source code suffix \`.c' with the
  42733. +library object suffix, \`.lo'."
  42734. + ;;
  42735. +
  42736. + execute)
  42737. + $ECHO \
  42738. +"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]...
  42739. +
  42740. +Automatically set library path, then run a program.
  42741. +
  42742. +This mode accepts the following additional options:
  42743. +
  42744. + -dlopen FILE add the directory containing FILE to the library path
  42745. +
  42746. +This mode sets the library path environment variable according to \`-dlopen'
  42747. +flags.
  42748. +
  42749. +If any of the ARGS are libtool executable wrappers, then they are translated
  42750. +into their corresponding uninstalled binary, and any of their required library
  42751. +directories are added to the library path.
  42752. +
  42753. +Then, COMMAND is executed, with ARGS as arguments."
  42754. + ;;
  42755. +
  42756. + finish)
  42757. + $ECHO \
  42758. +"Usage: $progname [OPTION]... --mode=finish [LIBDIR]...
  42759. +
  42760. +Complete the installation of libtool libraries.
  42761. +
  42762. +Each LIBDIR is a directory that contains libtool libraries.
  42763. +
  42764. +The commands that this mode executes may require superuser privileges. Use
  42765. +the \`--dry-run' option if you just want to see what would be executed."
  42766. + ;;
  42767. +
  42768. + install)
  42769. + $ECHO \
  42770. +"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND...
  42771. +
  42772. +Install executables or libraries.
  42773. +
  42774. +INSTALL-COMMAND is the installation command. The first component should be
  42775. +either the \`install' or \`cp' program.
  42776. +
  42777. +The following components of INSTALL-COMMAND are treated specially:
  42778. +
  42779. + -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation
  42780. +
  42781. +The rest of the components are interpreted as arguments to that command (only
  42782. +BSD-compatible install options are recognized)."
  42783. + ;;
  42784. +
  42785. + link)
  42786. + $ECHO \
  42787. +"Usage: $progname [OPTION]... --mode=link LINK-COMMAND...
  42788. +
  42789. +Link object files or libraries together to form another library, or to
  42790. +create an executable program.
  42791. +
  42792. +LINK-COMMAND is a command using the C compiler that you would use to create
  42793. +a program from several object files.
  42794. +
  42795. +The following components of LINK-COMMAND are treated specially:
  42796. +
  42797. + -all-static do not do any dynamic linking at all
  42798. + -avoid-version do not add a version suffix if possible
  42799. + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
  42800. + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
  42801. + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
  42802. + -export-symbols SYMFILE
  42803. + try to export only the symbols listed in SYMFILE
  42804. + -export-symbols-regex REGEX
  42805. + try to export only the symbols matching REGEX
  42806. + -LLIBDIR search LIBDIR for required installed libraries
  42807. + -lNAME OUTPUT-FILE requires the installed library libNAME
  42808. + -module build a library that can dlopened
  42809. + -no-fast-install disable the fast-install mode
  42810. + -no-install link a not-installable executable
  42811. + -no-undefined declare that a library does not refer to external symbols
  42812. + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
  42813. + -objectlist FILE Use a list of object files found in FILE to specify objects
  42814. + -precious-files-regex REGEX
  42815. + don't remove output files matching REGEX
  42816. + -release RELEASE specify package release information
  42817. + -rpath LIBDIR the created library will eventually be installed in LIBDIR
  42818. + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
  42819. + -shared only do dynamic linking of libtool libraries
  42820. + -shrext SUFFIX override the standard shared library file extension
  42821. + -static do not do any dynamic linking of uninstalled libtool libraries
  42822. + -static-libtool-libs
  42823. + do not do any dynamic linking of libtool libraries
  42824. + -version-info CURRENT[:REVISION[:AGE]]
  42825. + specify library version info [each variable defaults to 0]
  42826. + -weak LIBNAME declare that the target provides the LIBNAME interface
  42827. +
  42828. +All other options (arguments beginning with \`-') are ignored.
  42829. +
  42830. +Every other argument is treated as a filename. Files ending in \`.la' are
  42831. +treated as uninstalled libtool libraries, other files are standard or library
  42832. +object files.
  42833. +
  42834. +If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
  42835. +only library objects (\`.lo' files) may be specified, and \`-rpath' is
  42836. +required, except when creating a convenience library.
  42837. +
  42838. +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
  42839. +using \`ar' and \`ranlib', or on Windows using \`lib'.
  42840. +
  42841. +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
  42842. +is created, otherwise an executable program is created."
  42843. + ;;
  42844. +
  42845. + uninstall)
  42846. + $ECHO \
  42847. +"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
  42848. +
  42849. +Remove libraries from an installation directory.
  42850. +
  42851. +RM is the name of the program to use to delete files associated with each FILE
  42852. +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
  42853. +to RM.
  42854. +
  42855. +If FILE is a libtool library, all the files associated with it are deleted.
  42856. +Otherwise, only FILE itself is deleted using RM."
  42857. + ;;
  42858. +
  42859. + *)
  42860. + func_fatal_help "invalid operation mode \`$mode'"
  42861. + ;;
  42862. + esac
  42863. +
  42864. + $ECHO
  42865. + $ECHO "Try \`$progname --help' for more information about other modes."
  42866. +
  42867. + exit $?
  42868. +}
  42869. +
  42870. + # Now that we've collected a possible --mode arg, show help if necessary
  42871. + $opt_help && func_mode_help
  42872. +
  42873. +
  42874. +# func_mode_execute arg...
  42875. +func_mode_execute ()
  42876. +{
  42877. + $opt_debug
  42878. + # The first argument is the command name.
  42879. + cmd="$nonopt"
  42880. + test -z "$cmd" && \
  42881. + func_fatal_help "you must specify a COMMAND"
  42882. +
  42883. + # Handle -dlopen flags immediately.
  42884. + for file in $execute_dlfiles; do
  42885. + test -f "$file" \
  42886. + || func_fatal_help "\`$file' is not a file"
  42887. +
  42888. + dir=
  42889. + case $file in
  42890. + *.la)
  42891. + # Check to see that this really is a libtool archive.
  42892. + func_lalib_unsafe_p "$file" \
  42893. + || func_fatal_help "\`$lib' is not a valid libtool archive"
  42894. +
  42895. + # Read the libtool library.
  42896. + dlname=
  42897. + library_names=
  42898. + func_source "$file"
  42899. +
  42900. + # Skip this library if it cannot be dlopened.
  42901. + if test -z "$dlname"; then
  42902. + # Warn if it was a shared library.
  42903. + test -n "$library_names" && \
  42904. + func_warning "\`$file' was not linked with \`-export-dynamic'"
  42905. + continue
  42906. + fi
  42907. +
  42908. + func_dirname "$file" "" "."
  42909. + dir="$func_dirname_result"
  42910. +
  42911. + if test -f "$dir/$objdir/$dlname"; then
  42912. + dir="$dir/$objdir"
  42913. + else
  42914. + if test ! -f "$dir/$dlname"; then
  42915. + func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
  42916. + fi
  42917. + fi
  42918. + ;;
  42919. +
  42920. + *.lo)
  42921. + # Just add the directory containing the .lo file.
  42922. + func_dirname "$file" "" "."
  42923. + dir="$func_dirname_result"
  42924. + ;;
  42925. +
  42926. + *)
  42927. + func_warning "\`-dlopen' is ignored for non-libtool libraries and objects"
  42928. + continue
  42929. + ;;
  42930. + esac
  42931. +
  42932. + # Get the absolute pathname.
  42933. + absdir=`cd "$dir" && pwd`
  42934. + test -n "$absdir" && dir="$absdir"
  42935. +
  42936. + # Now add the directory to shlibpath_var.
  42937. + if eval "test -z \"\$$shlibpath_var\""; then
  42938. + eval "$shlibpath_var=\"\$dir\""
  42939. + else
  42940. + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
  42941. + fi
  42942. + done
  42943. +
  42944. + # This variable tells wrapper scripts just to set shlibpath_var
  42945. + # rather than running their programs.
  42946. + libtool_execute_magic="$magic"
  42947. +
  42948. + # Check if any of the arguments is a wrapper script.
  42949. + args=
  42950. + for file
  42951. + do
  42952. + case $file in
  42953. + -*) ;;
  42954. + *)
  42955. + # Do a test to see if this is really a libtool program.
  42956. + if func_ltwrapper_script_p "$file"; then
  42957. + func_source "$file"
  42958. + # Transform arg to wrapped name.
  42959. + file="$progdir/$program"
  42960. + elif func_ltwrapper_executable_p "$file"; then
  42961. + func_ltwrapper_scriptname "$file"
  42962. + func_source "$func_ltwrapper_scriptname_result"
  42963. + # Transform arg to wrapped name.
  42964. + file="$progdir/$program"
  42965. + fi
  42966. + ;;
  42967. + esac
  42968. + # Quote arguments (to preserve shell metacharacters).
  42969. + func_quote_for_eval "$file"
  42970. + args="$args $func_quote_for_eval_result"
  42971. + done
  42972. +
  42973. + if test "X$opt_dry_run" = Xfalse; then
  42974. + if test -n "$shlibpath_var"; then
  42975. + # Export the shlibpath_var.
  42976. + eval "export $shlibpath_var"
  42977. + fi
  42978. +
  42979. + # Restore saved environment variables
  42980. + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  42981. + do
  42982. + eval "if test \"\${save_$lt_var+set}\" = set; then
  42983. + $lt_var=\$save_$lt_var; export $lt_var
  42984. + else
  42985. + $lt_unset $lt_var
  42986. + fi"
  42987. + done
  42988. +
  42989. + # Now prepare to actually exec the command.
  42990. + exec_cmd="\$cmd$args"
  42991. + else
  42992. + # Display what would be done.
  42993. + if test -n "$shlibpath_var"; then
  42994. + eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
  42995. + $ECHO "export $shlibpath_var"
  42996. + fi
  42997. + $ECHO "$cmd$args"
  42998. + exit $EXIT_SUCCESS
  42999. + fi
  43000. +}
  43001. +
  43002. +test "$mode" = execute && func_mode_execute ${1+"$@"}
  43003. +
  43004. +
  43005. +# func_mode_finish arg...
  43006. +func_mode_finish ()
  43007. +{
  43008. + $opt_debug
  43009. + libdirs="$nonopt"
  43010. + admincmds=
  43011. +
  43012. + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  43013. + for dir
  43014. + do
  43015. + libdirs="$libdirs $dir"
  43016. + done
  43017. +
  43018. + for libdir in $libdirs; do
  43019. + if test -n "$finish_cmds"; then
  43020. + # Do each command in the finish commands.
  43021. + func_execute_cmds "$finish_cmds" 'admincmds="$admincmds
  43022. +'"$cmd"'"'
  43023. + fi
  43024. + if test -n "$finish_eval"; then
  43025. + # Do the single finish_eval.
  43026. + eval cmds=\"$finish_eval\"
  43027. + $opt_dry_run || eval "$cmds" || admincmds="$admincmds
  43028. + $cmds"
  43029. + fi
  43030. + done
  43031. + fi
  43032. +
  43033. + # Exit here if they wanted silent mode.
  43034. + $opt_silent && exit $EXIT_SUCCESS
  43035. +
  43036. + $ECHO "X----------------------------------------------------------------------" | $Xsed
  43037. + $ECHO "Libraries have been installed in:"
  43038. + for libdir in $libdirs; do
  43039. + $ECHO " $libdir"
  43040. + done
  43041. + $ECHO
  43042. + $ECHO "If you ever happen to want to link against installed libraries"
  43043. + $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
  43044. + $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
  43045. + $ECHO "flag during linking and do at least one of the following:"
  43046. + if test -n "$shlibpath_var"; then
  43047. + $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable"
  43048. + $ECHO " during execution"
  43049. + fi
  43050. + if test -n "$runpath_var"; then
  43051. + $ECHO " - add LIBDIR to the \`$runpath_var' environment variable"
  43052. + $ECHO " during linking"
  43053. + fi
  43054. + if test -n "$hardcode_libdir_flag_spec"; then
  43055. + libdir=LIBDIR
  43056. + eval flag=\"$hardcode_libdir_flag_spec\"
  43057. +
  43058. + $ECHO " - use the \`$flag' linker flag"
  43059. + fi
  43060. + if test -n "$admincmds"; then
  43061. + $ECHO " - have your system administrator run these commands:$admincmds"
  43062. + fi
  43063. + if test -f /etc/ld.so.conf; then
  43064. + $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  43065. + fi
  43066. + $ECHO
  43067. +
  43068. + $ECHO "See any operating system documentation about shared libraries for"
  43069. + case $host in
  43070. + solaris2.[6789]|solaris2.1[0-9])
  43071. + $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
  43072. + $ECHO "pages."
  43073. + ;;
  43074. + *)
  43075. + $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
  43076. + ;;
  43077. + esac
  43078. + $ECHO "X----------------------------------------------------------------------" | $Xsed
  43079. + exit $EXIT_SUCCESS
  43080. +}
  43081. +
  43082. +test "$mode" = finish && func_mode_finish ${1+"$@"}
  43083. +
  43084. +
  43085. +# func_mode_install arg...
  43086. +func_mode_install ()
  43087. +{
  43088. + $opt_debug
  43089. + # There may be an optional sh(1) argument at the beginning of
  43090. + # install_prog (especially on Windows NT).
  43091. + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
  43092. + # Allow the use of GNU shtool's install command.
  43093. + $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
  43094. + # Aesthetically quote it.
  43095. + func_quote_for_eval "$nonopt"
  43096. + install_prog="$func_quote_for_eval_result "
  43097. + arg=$1
  43098. + shift
  43099. + else
  43100. + install_prog=
  43101. + arg=$nonopt
  43102. + fi
  43103. +
  43104. + # The real first argument should be the name of the installation program.
  43105. + # Aesthetically quote it.
  43106. + func_quote_for_eval "$arg"
  43107. + install_prog="$install_prog$func_quote_for_eval_result"
  43108. +
  43109. + # We need to accept at least all the BSD install flags.
  43110. + dest=
  43111. + files=
  43112. + opts=
  43113. + prev=
  43114. + install_type=
  43115. + isdir=no
  43116. + stripme=
  43117. + for arg
  43118. + do
  43119. + if test -n "$dest"; then
  43120. + files="$files $dest"
  43121. + dest=$arg
  43122. + continue
  43123. + fi
  43124. +
  43125. + case $arg in
  43126. + -d) isdir=yes ;;
  43127. + -f)
  43128. + case " $install_prog " in
  43129. + *[\\\ /]cp\ *) ;;
  43130. + *) prev=$arg ;;
  43131. + esac
  43132. + ;;
  43133. + -g | -m | -o)
  43134. + prev=$arg
  43135. + ;;
  43136. + -s)
  43137. + stripme=" -s"
  43138. + continue
  43139. + ;;
  43140. + -*)
  43141. + ;;
  43142. + *)
  43143. + # If the previous option needed an argument, then skip it.
  43144. + if test -n "$prev"; then
  43145. + prev=
  43146. + else
  43147. + dest=$arg
  43148. + continue
  43149. + fi
  43150. + ;;
  43151. + esac
  43152. +
  43153. + # Aesthetically quote the argument.
  43154. + func_quote_for_eval "$arg"
  43155. + install_prog="$install_prog $func_quote_for_eval_result"
  43156. + done
  43157. +
  43158. + test -z "$install_prog" && \
  43159. + func_fatal_help "you must specify an install program"
  43160. +
  43161. + test -n "$prev" && \
  43162. + func_fatal_help "the \`$prev' option requires an argument"
  43163. +
  43164. + if test -z "$files"; then
  43165. + if test -z "$dest"; then
  43166. + func_fatal_help "no file or destination specified"
  43167. + else
  43168. + func_fatal_help "you must specify a destination"
  43169. + fi
  43170. + fi
  43171. +
  43172. + # Strip any trailing slash from the destination.
  43173. + func_stripname '' '/' "$dest"
  43174. + dest=$func_stripname_result
  43175. +
  43176. + # Check to see that the destination is a directory.
  43177. + test -d "$dest" && isdir=yes
  43178. + if test "$isdir" = yes; then
  43179. + destdir="$dest"
  43180. + destname=
  43181. + else
  43182. + func_dirname_and_basename "$dest" "" "."
  43183. + destdir="$func_dirname_result"
  43184. + destname="$func_basename_result"
  43185. +
  43186. + # Not a directory, so check to see that there is only one file specified.
  43187. + set dummy $files; shift
  43188. + test "$#" -gt 1 && \
  43189. + func_fatal_help "\`$dest' is not a directory"
  43190. + fi
  43191. + case $destdir in
  43192. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  43193. + *)
  43194. + for file in $files; do
  43195. + case $file in
  43196. + *.lo) ;;
  43197. + *)
  43198. + func_fatal_help "\`$destdir' must be an absolute directory name"
  43199. + ;;
  43200. + esac
  43201. + done
  43202. + ;;
  43203. + esac
  43204. +
  43205. + # This variable tells wrapper scripts just to set variables rather
  43206. + # than running their programs.
  43207. + libtool_install_magic="$magic"
  43208. +
  43209. + staticlibs=
  43210. + future_libdirs=
  43211. + current_libdirs=
  43212. + for file in $files; do
  43213. +
  43214. + # Do each installation.
  43215. + case $file in
  43216. + *.$libext)
  43217. + # Do the static libraries later.
  43218. + staticlibs="$staticlibs $file"
  43219. + ;;
  43220. +
  43221. + *.la)
  43222. + # Check to see that this really is a libtool archive.
  43223. + func_lalib_unsafe_p "$file" \
  43224. + || func_fatal_help "\`$file' is not a valid libtool archive"
  43225. +
  43226. + library_names=
  43227. + old_library=
  43228. + relink_command=
  43229. + func_source "$file"
  43230. +
  43231. + # Add the libdir to current_libdirs if it is the destination.
  43232. + if test "X$destdir" = "X$libdir"; then
  43233. + case "$current_libdirs " in
  43234. + *" $libdir "*) ;;
  43235. + *) current_libdirs="$current_libdirs $libdir" ;;
  43236. + esac
  43237. + else
  43238. + # Note the libdir as a future libdir.
  43239. + case "$future_libdirs " in
  43240. + *" $libdir "*) ;;
  43241. + *) future_libdirs="$future_libdirs $libdir" ;;
  43242. + esac
  43243. + fi
  43244. +
  43245. + func_dirname "$file" "/" ""
  43246. + dir="$func_dirname_result"
  43247. + dir="$dir$objdir"
  43248. +
  43249. + if test -n "$relink_command"; then
  43250. + # Determine the prefix the user has applied to our future dir.
  43251. + inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
  43252. +
  43253. + # Don't allow the user to place us outside of our expected
  43254. + # location b/c this prevents finding dependent libraries that
  43255. + # are installed to the same prefix.
  43256. + # At present, this check doesn't affect windows .dll's that
  43257. + # are installed into $libdir/../bin (currently, that works fine)
  43258. + # but it's something to keep an eye on.
  43259. + test "$inst_prefix_dir" = "$destdir" && \
  43260. + func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
  43261. +
  43262. + if test -n "$inst_prefix_dir"; then
  43263. + # Stick the inst_prefix_dir data into the link command.
  43264. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  43265. + else
  43266. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
  43267. + fi
  43268. +
  43269. + func_warning "relinking \`$file'"
  43270. + func_show_eval "$relink_command" \
  43271. + 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
  43272. + fi
  43273. +
  43274. + # See the names of the shared library.
  43275. + set dummy $library_names; shift
  43276. + if test -n "$1"; then
  43277. + realname="$1"
  43278. + shift
  43279. +
  43280. + srcname="$realname"
  43281. + test -n "$relink_command" && srcname="$realname"T
  43282. +
  43283. + # Install the shared library and build the symlinks.
  43284. + func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
  43285. + 'exit $?'
  43286. + tstripme="$stripme"
  43287. + case $host_os in
  43288. + cygwin* | mingw* | pw32* | cegcc*)
  43289. + case $realname in
  43290. + *.dll.a)
  43291. + tstripme=""
  43292. + ;;
  43293. + esac
  43294. + ;;
  43295. + esac
  43296. + if test -n "$tstripme" && test -n "$striplib"; then
  43297. + func_show_eval "$striplib $destdir/$realname" 'exit $?'
  43298. + fi
  43299. +
  43300. + if test "$#" -gt 0; then
  43301. + # Delete the old symlinks, and create new ones.
  43302. + # Try `ln -sf' first, because the `ln' binary might depend on
  43303. + # the symlink we replace! Solaris /bin/ln does not understand -f,
  43304. + # so we also need to try rm && ln -s.
  43305. + for linkname
  43306. + do
  43307. + test "$linkname" != "$realname" \
  43308. + && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })"
  43309. + done
  43310. + fi
  43311. +
  43312. + # Do each command in the postinstall commands.
  43313. + lib="$destdir/$realname"
  43314. + func_execute_cmds "$postinstall_cmds" 'exit $?'
  43315. + fi
  43316. +
  43317. + # Install the pseudo-library for information purposes.
  43318. + func_basename "$file"
  43319. + name="$func_basename_result"
  43320. + instname="$dir/$name"i
  43321. + func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
  43322. +
  43323. + # Maybe install the static library, too.
  43324. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
  43325. + ;;
  43326. +
  43327. + *.lo)
  43328. + # Install (i.e. copy) a libtool object.
  43329. +
  43330. + # Figure out destination file name, if it wasn't already specified.
  43331. + if test -n "$destname"; then
  43332. + destfile="$destdir/$destname"
  43333. + else
  43334. + func_basename "$file"
  43335. + destfile="$func_basename_result"
  43336. + destfile="$destdir/$destfile"
  43337. + fi
  43338. +
  43339. + # Deduce the name of the destination old-style object file.
  43340. + case $destfile in
  43341. + *.lo)
  43342. + func_lo2o "$destfile"
  43343. + staticdest=$func_lo2o_result
  43344. + ;;
  43345. + *.$objext)
  43346. + staticdest="$destfile"
  43347. + destfile=
  43348. + ;;
  43349. + *)
  43350. + func_fatal_help "cannot copy a libtool object to \`$destfile'"
  43351. + ;;
  43352. + esac
  43353. +
  43354. + # Install the libtool object if requested.
  43355. + test -n "$destfile" && \
  43356. + func_show_eval "$install_prog $file $destfile" 'exit $?'
  43357. +
  43358. + # Install the old object if enabled.
  43359. + if test "$build_old_libs" = yes; then
  43360. + # Deduce the name of the old-style object file.
  43361. + func_lo2o "$file"
  43362. + staticobj=$func_lo2o_result
  43363. + func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?'
  43364. + fi
  43365. + exit $EXIT_SUCCESS
  43366. + ;;
  43367. +
  43368. + *)
  43369. + # Figure out destination file name, if it wasn't already specified.
  43370. + if test -n "$destname"; then
  43371. + destfile="$destdir/$destname"
  43372. + else
  43373. + func_basename "$file"
  43374. + destfile="$func_basename_result"
  43375. + destfile="$destdir/$destfile"
  43376. + fi
  43377. +
  43378. + # If the file is missing, and there is a .exe on the end, strip it
  43379. + # because it is most likely a libtool script we actually want to
  43380. + # install
  43381. + stripped_ext=""
  43382. + case $file in
  43383. + *.exe)
  43384. + if test ! -f "$file"; then
  43385. + func_stripname '' '.exe' "$file"
  43386. + file=$func_stripname_result
  43387. + stripped_ext=".exe"
  43388. + fi
  43389. + ;;
  43390. + esac
  43391. +
  43392. + # Do a test to see if this is really a libtool program.
  43393. + case $host in
  43394. + *cygwin* | *mingw*)
  43395. + if func_ltwrapper_executable_p "$file"; then
  43396. + func_ltwrapper_scriptname "$file"
  43397. + wrapper=$func_ltwrapper_scriptname_result
  43398. + else
  43399. + func_stripname '' '.exe' "$file"
  43400. + wrapper=$func_stripname_result
  43401. + fi
  43402. + ;;
  43403. + *)
  43404. + wrapper=$file
  43405. + ;;
  43406. + esac
  43407. + if func_ltwrapper_script_p "$wrapper"; then
  43408. + notinst_deplibs=
  43409. + relink_command=
  43410. +
  43411. + func_source "$wrapper"
  43412. +
  43413. + # Check the variables that should have been set.
  43414. + test -z "$generated_by_libtool_version" && \
  43415. + func_fatal_error "invalid libtool wrapper script \`$wrapper'"
  43416. +
  43417. + finalize=yes
  43418. + for lib in $notinst_deplibs; do
  43419. + # Check to see that each library is installed.
  43420. + libdir=
  43421. + if test -f "$lib"; then
  43422. + func_source "$lib"
  43423. + fi
  43424. + libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
  43425. + if test -n "$libdir" && test ! -f "$libfile"; then
  43426. + func_warning "\`$lib' has not been installed in \`$libdir'"
  43427. + finalize=no
  43428. + fi
  43429. + done
  43430. +
  43431. + relink_command=
  43432. + func_source "$wrapper"
  43433. +
  43434. + outputname=
  43435. + if test "$fast_install" = no && test -n "$relink_command"; then
  43436. + $opt_dry_run || {
  43437. + if test "$finalize" = yes; then
  43438. + tmpdir=`func_mktempdir`
  43439. + func_basename "$file$stripped_ext"
  43440. + file="$func_basename_result"
  43441. + outputname="$tmpdir/$file"
  43442. + # Replace the output file specification.
  43443. + relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
  43444. +
  43445. + $opt_silent || {
  43446. + func_quote_for_expand "$relink_command"
  43447. + eval "func_echo $func_quote_for_expand_result"
  43448. + }
  43449. + if eval "$relink_command"; then :
  43450. + else
  43451. + func_error "error: relink \`$file' with the above command before installing it"
  43452. + $opt_dry_run || ${RM}r "$tmpdir"
  43453. + continue
  43454. + fi
  43455. + file="$outputname"
  43456. + else
  43457. + func_warning "cannot relink \`$file'"
  43458. + fi
  43459. + }
  43460. + else
  43461. + # Install the binary that we compiled earlier.
  43462. + file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
  43463. + fi
  43464. + fi
  43465. +
  43466. + # remove .exe since cygwin /usr/bin/install will append another
  43467. + # one anyway
  43468. + case $install_prog,$host in
  43469. + */usr/bin/install*,*cygwin*)
  43470. + case $file:$destfile in
  43471. + *.exe:*.exe)
  43472. + # this is ok
  43473. + ;;
  43474. + *.exe:*)
  43475. + destfile=$destfile.exe
  43476. + ;;
  43477. + *:*.exe)
  43478. + func_stripname '' '.exe' "$destfile"
  43479. + destfile=$func_stripname_result
  43480. + ;;
  43481. + esac
  43482. + ;;
  43483. + esac
  43484. + func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
  43485. + $opt_dry_run || if test -n "$outputname"; then
  43486. + ${RM}r "$tmpdir"
  43487. + fi
  43488. + ;;
  43489. + esac
  43490. + done
  43491. +
  43492. + for file in $staticlibs; do
  43493. + func_basename "$file"
  43494. + name="$func_basename_result"
  43495. +
  43496. + # Set up the ranlib parameters.
  43497. + oldlib="$destdir/$name"
  43498. +
  43499. + func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
  43500. +
  43501. + if test -n "$stripme" && test -n "$old_striplib"; then
  43502. + func_show_eval "$old_striplib $oldlib" 'exit $?'
  43503. + fi
  43504. +
  43505. + # Do each command in the postinstall commands.
  43506. + func_execute_cmds "$old_postinstall_cmds" 'exit $?'
  43507. + done
  43508. +
  43509. + test -n "$future_libdirs" && \
  43510. + func_warning "remember to run \`$progname --finish$future_libdirs'"
  43511. +
  43512. + if test -n "$current_libdirs"; then
  43513. + # Maybe just do a dry run.
  43514. + $opt_dry_run && current_libdirs=" -n$current_libdirs"
  43515. + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
  43516. + else
  43517. + exit $EXIT_SUCCESS
  43518. + fi
  43519. +}
  43520. +
  43521. +test "$mode" = install && func_mode_install ${1+"$@"}
  43522. +
  43523. +
  43524. +# func_generate_dlsyms outputname originator pic_p
  43525. +# Extract symbols from dlprefiles and create ${outputname}S.o with
  43526. +# a dlpreopen symbol table.
  43527. +func_generate_dlsyms ()
  43528. +{
  43529. + $opt_debug
  43530. + my_outputname="$1"
  43531. + my_originator="$2"
  43532. + my_pic_p="${3-no}"
  43533. + my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
  43534. + my_dlsyms=
  43535. +
  43536. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  43537. + if test -n "$NM" && test -n "$global_symbol_pipe"; then
  43538. + my_dlsyms="${my_outputname}S.c"
  43539. + else
  43540. + func_error "not configured to extract global symbols from dlpreopened files"
  43541. + fi
  43542. + fi
  43543. +
  43544. + if test -n "$my_dlsyms"; then
  43545. + case $my_dlsyms in
  43546. + "") ;;
  43547. + *.c)
  43548. + # Discover the nlist of each of the dlfiles.
  43549. + nlist="$output_objdir/${my_outputname}.nm"
  43550. +
  43551. + func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
  43552. +
  43553. + # Parse the name list into a source file.
  43554. + func_verbose "creating $output_objdir/$my_dlsyms"
  43555. +
  43556. + $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
  43557. +/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */
  43558. +/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */
  43559. +
  43560. +#ifdef __cplusplus
  43561. +extern \"C\" {
  43562. +#endif
  43563. +
  43564. +/* External symbol declarations for the compiler. */\
  43565. +"
  43566. +
  43567. + if test "$dlself" = yes; then
  43568. + func_verbose "generating symbol list for \`$output'"
  43569. +
  43570. + $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
  43571. +
  43572. + # Add our own program objects to the symbol list.
  43573. + progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  43574. + for progfile in $progfiles; do
  43575. + func_verbose "extracting global C symbols from \`$progfile'"
  43576. + $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
  43577. + done
  43578. +
  43579. + if test -n "$exclude_expsyms"; then
  43580. + $opt_dry_run || {
  43581. + eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
  43582. + eval '$MV "$nlist"T "$nlist"'
  43583. + }
  43584. + fi
  43585. +
  43586. + if test -n "$export_symbols_regex"; then
  43587. + $opt_dry_run || {
  43588. + eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
  43589. + eval '$MV "$nlist"T "$nlist"'
  43590. + }
  43591. + fi
  43592. +
  43593. + # Prepare the list of exported symbols
  43594. + if test -z "$export_symbols"; then
  43595. + export_symbols="$output_objdir/$outputname.exp"
  43596. + $opt_dry_run || {
  43597. + $RM $export_symbols
  43598. + eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  43599. + case $host in
  43600. + *cygwin* | *mingw* | *cegcc* )
  43601. + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  43602. + eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
  43603. + ;;
  43604. + esac
  43605. + }
  43606. + else
  43607. + $opt_dry_run || {
  43608. + eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
  43609. + eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
  43610. + eval '$MV "$nlist"T "$nlist"'
  43611. + case $host in
  43612. + *cygwin | *mingw* | *cegcc* )
  43613. + eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  43614. + eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
  43615. + ;;
  43616. + esac
  43617. + }
  43618. + fi
  43619. + fi
  43620. +
  43621. + for dlprefile in $dlprefiles; do
  43622. + func_verbose "extracting global C symbols from \`$dlprefile'"
  43623. + func_basename "$dlprefile"
  43624. + name="$func_basename_result"
  43625. + $opt_dry_run || {
  43626. + eval '$ECHO ": $name " >> "$nlist"'
  43627. + eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  43628. + }
  43629. + done
  43630. +
  43631. + $opt_dry_run || {
  43632. + # Make sure we have at least an empty file.
  43633. + test -f "$nlist" || : > "$nlist"
  43634. +
  43635. + if test -n "$exclude_expsyms"; then
  43636. + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
  43637. + $MV "$nlist"T "$nlist"
  43638. + fi
  43639. +
  43640. + # Try sorting and uniquifying the output.
  43641. + if $GREP -v "^: " < "$nlist" |
  43642. + if sort -k 3 </dev/null >/dev/null 2>&1; then
  43643. + sort -k 3
  43644. + else
  43645. + sort +2
  43646. + fi |
  43647. + uniq > "$nlist"S; then
  43648. + :
  43649. + else
  43650. + $GREP -v "^: " < "$nlist" > "$nlist"S
  43651. + fi
  43652. +
  43653. + if test -f "$nlist"S; then
  43654. + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
  43655. + else
  43656. + $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
  43657. + fi
  43658. +
  43659. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  43660. +
  43661. +/* The mapping between symbol names and symbols. */
  43662. +typedef struct {
  43663. + const char *name;
  43664. + void *address;
  43665. +} lt_dlsymlist;
  43666. +"
  43667. + case $host in
  43668. + *cygwin* | *mingw* | *cegcc* )
  43669. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  43670. +/* DATA imports from DLLs on WIN32 con't be const, because
  43671. + runtime relocations are performed -- see ld's documentation
  43672. + on pseudo-relocs. */"
  43673. + lt_dlsym_const= ;;
  43674. + *osf5*)
  43675. + echo >> "$output_objdir/$my_dlsyms" "\
  43676. +/* This system does not cope well with relocations in const data */"
  43677. + lt_dlsym_const= ;;
  43678. + *)
  43679. + lt_dlsym_const=const ;;
  43680. + esac
  43681. +
  43682. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  43683. +extern $lt_dlsym_const lt_dlsymlist
  43684. +lt_${my_prefix}_LTX_preloaded_symbols[];
  43685. +$lt_dlsym_const lt_dlsymlist
  43686. +lt_${my_prefix}_LTX_preloaded_symbols[] =
  43687. +{\
  43688. + { \"$my_originator\", (void *) 0 },"
  43689. +
  43690. + case $need_lib_prefix in
  43691. + no)
  43692. + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms"
  43693. + ;;
  43694. + *)
  43695. + eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
  43696. + ;;
  43697. + esac
  43698. + $ECHO >> "$output_objdir/$my_dlsyms" "\
  43699. + {0, (void *) 0}
  43700. +};
  43701. +
  43702. +/* This works around a problem in FreeBSD linker */
  43703. +#ifdef FREEBSD_WORKAROUND
  43704. +static const void *lt_preloaded_setup() {
  43705. + return lt_${my_prefix}_LTX_preloaded_symbols;
  43706. +}
  43707. +#endif
  43708. +
  43709. +#ifdef __cplusplus
  43710. +}
  43711. +#endif\
  43712. +"
  43713. + } # !$opt_dry_run
  43714. +
  43715. + pic_flag_for_symtable=
  43716. + case "$compile_command " in
  43717. + *" -static "*) ;;
  43718. + *)
  43719. + case $host in
  43720. + # compiling the symbol table file with pic_flag works around
  43721. + # a FreeBSD bug that causes programs to crash when -lm is
  43722. + # linked before any other PIC object. But we must not use
  43723. + # pic_flag when linking with -static. The problem exists in
  43724. + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
  43725. + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
  43726. + pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
  43727. + *-*-hpux*)
  43728. + pic_flag_for_symtable=" $pic_flag" ;;
  43729. + *)
  43730. + if test "X$my_pic_p" != Xno; then
  43731. + pic_flag_for_symtable=" $pic_flag"
  43732. + fi
  43733. + ;;
  43734. + esac
  43735. + ;;
  43736. + esac
  43737. + symtab_cflags=
  43738. + for arg in $LTCFLAGS; do
  43739. + case $arg in
  43740. + -pie | -fpie | -fPIE) ;;
  43741. + *) symtab_cflags="$symtab_cflags $arg" ;;
  43742. + esac
  43743. + done
  43744. +
  43745. + # Now compile the dynamic symbol file.
  43746. + func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?'
  43747. +
  43748. + # Clean up the generated files.
  43749. + func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"'
  43750. +
  43751. + # Transform the symbol file into the correct name.
  43752. + symfileobj="$output_objdir/${my_outputname}S.$objext"
  43753. + case $host in
  43754. + *cygwin* | *mingw* | *cegcc* )
  43755. + if test -f "$output_objdir/$my_outputname.def"; then
  43756. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  43757. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  43758. + else
  43759. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  43760. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  43761. + fi
  43762. + ;;
  43763. + *)
  43764. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  43765. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  43766. + ;;
  43767. + esac
  43768. + ;;
  43769. + *)
  43770. + func_fatal_error "unknown suffix for \`$my_dlsyms'"
  43771. + ;;
  43772. + esac
  43773. + else
  43774. + # We keep going just in case the user didn't refer to
  43775. + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
  43776. + # really was required.
  43777. +
  43778. + # Nullify the symbol file.
  43779. + compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
  43780. + finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
  43781. + fi
  43782. +}
  43783. +
  43784. +# func_win32_libid arg
  43785. +# return the library type of file 'arg'
  43786. +#
  43787. +# Need a lot of goo to handle *both* DLLs and import libs
  43788. +# Has to be a shell function in order to 'eat' the argument
  43789. +# that is supplied when $file_magic_command is called.
  43790. +func_win32_libid ()
  43791. +{
  43792. + $opt_debug
  43793. + win32_libid_type="unknown"
  43794. + win32_fileres=`file -L $1 2>/dev/null`
  43795. + case $win32_fileres in
  43796. + *ar\ archive\ import\ library*) # definitely import
  43797. + win32_libid_type="x86 archive import"
  43798. + ;;
  43799. + *ar\ archive*) # could be an import, or static
  43800. + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
  43801. + $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
  43802. + win32_nmres=`eval $NM -f posix -A $1 |
  43803. + $SED -n -e '
  43804. + 1,100{
  43805. + / I /{
  43806. + s,.*,import,
  43807. + p
  43808. + q
  43809. + }
  43810. + }'`
  43811. + case $win32_nmres in
  43812. + import*) win32_libid_type="x86 archive import";;
  43813. + *) win32_libid_type="x86 archive static";;
  43814. + esac
  43815. + fi
  43816. + ;;
  43817. + *DLL*)
  43818. + win32_libid_type="x86 DLL"
  43819. + ;;
  43820. + *executable*) # but shell scripts are "executable" too...
  43821. + case $win32_fileres in
  43822. + *MS\ Windows\ PE\ Intel*)
  43823. + win32_libid_type="x86 DLL"
  43824. + ;;
  43825. + esac
  43826. + ;;
  43827. + esac
  43828. + $ECHO "$win32_libid_type"
  43829. +}
  43830. +
  43831. +
  43832. +
  43833. +# func_extract_an_archive dir oldlib
  43834. +func_extract_an_archive ()
  43835. +{
  43836. + $opt_debug
  43837. + f_ex_an_ar_dir="$1"; shift
  43838. + f_ex_an_ar_oldlib="$1"
  43839. + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
  43840. + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
  43841. + :
  43842. + else
  43843. + func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib"
  43844. + fi
  43845. +}
  43846. +
  43847. +
  43848. +# func_extract_archives gentop oldlib ...
  43849. +func_extract_archives ()
  43850. +{
  43851. + $opt_debug
  43852. + my_gentop="$1"; shift
  43853. + my_oldlibs=${1+"$@"}
  43854. + my_oldobjs=""
  43855. + my_xlib=""
  43856. + my_xabs=""
  43857. + my_xdir=""
  43858. +
  43859. + for my_xlib in $my_oldlibs; do
  43860. + # Extract the objects.
  43861. + case $my_xlib in
  43862. + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
  43863. + *) my_xabs=`pwd`"/$my_xlib" ;;
  43864. + esac
  43865. + func_basename "$my_xlib"
  43866. + my_xlib="$func_basename_result"
  43867. + my_xlib_u=$my_xlib
  43868. + while :; do
  43869. + case " $extracted_archives " in
  43870. + *" $my_xlib_u "*)
  43871. + func_arith $extracted_serial + 1
  43872. + extracted_serial=$func_arith_result
  43873. + my_xlib_u=lt$extracted_serial-$my_xlib ;;
  43874. + *) break ;;
  43875. + esac
  43876. + done
  43877. + extracted_archives="$extracted_archives $my_xlib_u"
  43878. + my_xdir="$my_gentop/$my_xlib_u"
  43879. +
  43880. + func_mkdir_p "$my_xdir"
  43881. +
  43882. + case $host in
  43883. + *-darwin*)
  43884. + func_verbose "Extracting $my_xabs"
  43885. + # Do not bother doing anything if just a dry run
  43886. + $opt_dry_run || {
  43887. + darwin_orig_dir=`pwd`
  43888. + cd $my_xdir || exit $?
  43889. + darwin_archive=$my_xabs
  43890. + darwin_curdir=`pwd`
  43891. + darwin_base_archive=`basename "$darwin_archive"`
  43892. + darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
  43893. + if test -n "$darwin_arches"; then
  43894. + darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'`
  43895. + darwin_arch=
  43896. + func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
  43897. + for darwin_arch in $darwin_arches ; do
  43898. + func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  43899. + $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
  43900. + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
  43901. + func_extract_an_archive "`pwd`" "${darwin_base_archive}"
  43902. + cd "$darwin_curdir"
  43903. + $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
  43904. + done # $darwin_arches
  43905. + ## Okay now we've a bunch of thin objects, gotta fatten them up :)
  43906. + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
  43907. + darwin_file=
  43908. + darwin_files=
  43909. + for darwin_file in $darwin_filelist; do
  43910. + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
  43911. + $LIPO -create -output "$darwin_file" $darwin_files
  43912. + done # $darwin_filelist
  43913. + $RM -rf unfat-$$
  43914. + cd "$darwin_orig_dir"
  43915. + else
  43916. + cd $darwin_orig_dir
  43917. + func_extract_an_archive "$my_xdir" "$my_xabs"
  43918. + fi # $darwin_arches
  43919. + } # !$opt_dry_run
  43920. + ;;
  43921. + *)
  43922. + func_extract_an_archive "$my_xdir" "$my_xabs"
  43923. + ;;
  43924. + esac
  43925. + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
  43926. + done
  43927. +
  43928. + func_extract_archives_result="$my_oldobjs"
  43929. +}
  43930. +
  43931. +
  43932. +
  43933. +# func_emit_wrapper_part1 [arg=no]
  43934. +#
  43935. +# Emit the first part of a libtool wrapper script on stdout.
  43936. +# For more information, see the description associated with
  43937. +# func_emit_wrapper(), below.
  43938. +func_emit_wrapper_part1 ()
  43939. +{
  43940. + func_emit_wrapper_part1_arg1=no
  43941. + if test -n "$1" ; then
  43942. + func_emit_wrapper_part1_arg1=$1
  43943. + fi
  43944. +
  43945. + $ECHO "\
  43946. +#! $SHELL
  43947. +
  43948. +# $output - temporary wrapper script for $objdir/$outputname
  43949. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  43950. +#
  43951. +# The $output program cannot be directly executed until all the libtool
  43952. +# libraries that it depends on are installed.
  43953. +#
  43954. +# This wrapper script should never be moved out of the build directory.
  43955. +# If it is, it will not operate correctly.
  43956. +
  43957. +# Sed substitution that helps us do robust quoting. It backslashifies
  43958. +# metacharacters that are still active within double-quoted strings.
  43959. +Xsed='${SED} -e 1s/^X//'
  43960. +sed_quote_subst='$sed_quote_subst'
  43961. +
  43962. +# Be Bourne compatible
  43963. +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
  43964. + emulate sh
  43965. + NULLCMD=:
  43966. + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
  43967. + # is contrary to our usage. Disable this feature.
  43968. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  43969. + setopt NO_GLOB_SUBST
  43970. +else
  43971. + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
  43972. +fi
  43973. +BIN_SH=xpg4; export BIN_SH # for Tru64
  43974. +DUALCASE=1; export DUALCASE # for MKS sh
  43975. +
  43976. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  43977. +# if CDPATH is set.
  43978. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  43979. +
  43980. +relink_command=\"$relink_command\"
  43981. +
  43982. +# This environment variable determines our operation mode.
  43983. +if test \"\$libtool_install_magic\" = \"$magic\"; then
  43984. + # install mode needs the following variables:
  43985. + generated_by_libtool_version='$macro_version'
  43986. + notinst_deplibs='$notinst_deplibs'
  43987. +else
  43988. + # When we are sourced in execute mode, \$file and \$ECHO are already set.
  43989. + if test \"\$libtool_execute_magic\" != \"$magic\"; then
  43990. + ECHO=\"$qecho\"
  43991. + file=\"\$0\"
  43992. + # Make sure echo works.
  43993. + if test \"X\$1\" = X--no-reexec; then
  43994. + # Discard the --no-reexec flag, and continue.
  43995. + shift
  43996. + elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
  43997. + # Yippee, \$ECHO works!
  43998. + :
  43999. + else
  44000. + # Restart under the correct shell, and then maybe \$ECHO will work.
  44001. + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
  44002. + fi
  44003. + fi\
  44004. +"
  44005. + $ECHO "\
  44006. +
  44007. + # Find the directory that this script lives in.
  44008. + thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
  44009. + test \"x\$thisdir\" = \"x\$file\" && thisdir=.
  44010. +
  44011. + # Follow symbolic links until we get to the real thisdir.
  44012. + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
  44013. + while test -n \"\$file\"; do
  44014. + destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
  44015. +
  44016. + # If there was a directory component, then change thisdir.
  44017. + if test \"x\$destdir\" != \"x\$file\"; then
  44018. + case \"\$destdir\" in
  44019. + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
  44020. + *) thisdir=\"\$thisdir/\$destdir\" ;;
  44021. + esac
  44022. + fi
  44023. +
  44024. + file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  44025. + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  44026. + done
  44027. +"
  44028. +}
  44029. +# end: func_emit_wrapper_part1
  44030. +
  44031. +# func_emit_wrapper_part2 [arg=no]
  44032. +#
  44033. +# Emit the second part of a libtool wrapper script on stdout.
  44034. +# For more information, see the description associated with
  44035. +# func_emit_wrapper(), below.
  44036. +func_emit_wrapper_part2 ()
  44037. +{
  44038. + func_emit_wrapper_part2_arg1=no
  44039. + if test -n "$1" ; then
  44040. + func_emit_wrapper_part2_arg1=$1
  44041. + fi
  44042. +
  44043. + $ECHO "\
  44044. +
  44045. + # Usually 'no', except on cygwin/mingw when embedded into
  44046. + # the cwrapper.
  44047. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
  44048. + if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
  44049. + # special case for '.'
  44050. + if test \"\$thisdir\" = \".\"; then
  44051. + thisdir=\`pwd\`
  44052. + fi
  44053. + # remove .libs from thisdir
  44054. + case \"\$thisdir\" in
  44055. + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
  44056. + $objdir ) thisdir=. ;;
  44057. + esac
  44058. + fi
  44059. +
  44060. + # Try to get the absolute directory name.
  44061. + absdir=\`cd \"\$thisdir\" && pwd\`
  44062. + test -n \"\$absdir\" && thisdir=\"\$absdir\"
  44063. +"
  44064. +
  44065. + if test "$fast_install" = yes; then
  44066. + $ECHO "\
  44067. + program=lt-'$outputname'$exeext
  44068. + progdir=\"\$thisdir/$objdir\"
  44069. +
  44070. + if test ! -f \"\$progdir/\$program\" ||
  44071. + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
  44072. + test \"X\$file\" != \"X\$progdir/\$program\"; }; then
  44073. +
  44074. + file=\"\$\$-\$program\"
  44075. +
  44076. + if test ! -d \"\$progdir\"; then
  44077. + $MKDIR \"\$progdir\"
  44078. + else
  44079. + $RM \"\$progdir/\$file\"
  44080. + fi"
  44081. +
  44082. + $ECHO "\
  44083. +
  44084. + # relink executable if necessary
  44085. + if test -n \"\$relink_command\"; then
  44086. + if relink_command_output=\`eval \$relink_command 2>&1\`; then :
  44087. + else
  44088. + $ECHO \"\$relink_command_output\" >&2
  44089. + $RM \"\$progdir/\$file\"
  44090. + exit 1
  44091. + fi
  44092. + fi
  44093. +
  44094. + $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
  44095. + { $RM \"\$progdir/\$program\";
  44096. + $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
  44097. + $RM \"\$progdir/\$file\"
  44098. + fi"
  44099. + else
  44100. + $ECHO "\
  44101. + program='$outputname'
  44102. + progdir=\"\$thisdir/$objdir\"
  44103. +"
  44104. + fi
  44105. +
  44106. + $ECHO "\
  44107. +
  44108. + if test -f \"\$progdir/\$program\"; then"
  44109. +
  44110. + # Export our shlibpath_var if we have one.
  44111. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  44112. + $ECHO "\
  44113. + # Add our own library path to $shlibpath_var
  44114. + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
  44115. +
  44116. + # Some systems cannot cope with colon-terminated $shlibpath_var
  44117. + # The second colon is a workaround for a bug in BeOS R4 sed
  44118. + $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
  44119. +
  44120. + export $shlibpath_var
  44121. +"
  44122. + fi
  44123. +
  44124. + # fixup the dll searchpath if we need to.
  44125. + if test -n "$dllsearchpath"; then
  44126. + $ECHO "\
  44127. + # Add the dll search path components to the executable PATH
  44128. + PATH=$dllsearchpath:\$PATH
  44129. +"
  44130. + fi
  44131. +
  44132. + $ECHO "\
  44133. + if test \"\$libtool_execute_magic\" != \"$magic\"; then
  44134. + # Run the actual program with our arguments.
  44135. +"
  44136. + case $host in
  44137. + # Backslashes separate directories on plain windows
  44138. + *-*-mingw | *-*-os2* | *-cegcc*)
  44139. + $ECHO "\
  44140. + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  44141. +"
  44142. + ;;
  44143. +
  44144. + *)
  44145. + $ECHO "\
  44146. + exec \"\$progdir/\$program\" \${1+\"\$@\"}
  44147. +"
  44148. + ;;
  44149. + esac
  44150. + $ECHO "\
  44151. + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
  44152. + exit 1
  44153. + fi
  44154. + else
  44155. + # The program doesn't exist.
  44156. + \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
  44157. + \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
  44158. + $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
  44159. + exit 1
  44160. + fi
  44161. +fi\
  44162. +"
  44163. +}
  44164. +# end: func_emit_wrapper_part2
  44165. +
  44166. +
  44167. +# func_emit_wrapper [arg=no]
  44168. +#
  44169. +# Emit a libtool wrapper script on stdout.
  44170. +# Don't directly open a file because we may want to
  44171. +# incorporate the script contents within a cygwin/mingw
  44172. +# wrapper executable. Must ONLY be called from within
  44173. +# func_mode_link because it depends on a number of variables
  44174. +# set therein.
  44175. +#
  44176. +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  44177. +# variable will take. If 'yes', then the emitted script
  44178. +# will assume that the directory in which it is stored is
  44179. +# the $objdir directory. This is a cygwin/mingw-specific
  44180. +# behavior.
  44181. +func_emit_wrapper ()
  44182. +{
  44183. + func_emit_wrapper_arg1=no
  44184. + if test -n "$1" ; then
  44185. + func_emit_wrapper_arg1=$1
  44186. + fi
  44187. +
  44188. + # split this up so that func_emit_cwrapperexe_src
  44189. + # can call each part independently.
  44190. + func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
  44191. + func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
  44192. +}
  44193. +
  44194. +
  44195. +# func_to_host_path arg
  44196. +#
  44197. +# Convert paths to host format when used with build tools.
  44198. +# Intended for use with "native" mingw (where libtool itself
  44199. +# is running under the msys shell), or in the following cross-
  44200. +# build environments:
  44201. +# $build $host
  44202. +# mingw (msys) mingw [e.g. native]
  44203. +# cygwin mingw
  44204. +# *nix + wine mingw
  44205. +# where wine is equipped with the `winepath' executable.
  44206. +# In the native mingw case, the (msys) shell automatically
  44207. +# converts paths for any non-msys applications it launches,
  44208. +# but that facility isn't available from inside the cwrapper.
  44209. +# Similar accommodations are necessary for $host mingw and
  44210. +# $build cygwin. Calling this function does no harm for other
  44211. +# $host/$build combinations not listed above.
  44212. +#
  44213. +# ARG is the path (on $build) that should be converted to
  44214. +# the proper representation for $host. The result is stored
  44215. +# in $func_to_host_path_result.
  44216. +func_to_host_path ()
  44217. +{
  44218. + func_to_host_path_result="$1"
  44219. + if test -n "$1" ; then
  44220. + case $host in
  44221. + *mingw* )
  44222. + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  44223. + case $build in
  44224. + *mingw* ) # actually, msys
  44225. + # awkward: cmd appends spaces to result
  44226. + lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  44227. + func_to_host_path_tmp1=`( cmd //c echo "$1" |\
  44228. + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  44229. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  44230. + $SED -e "$lt_sed_naive_backslashify"`
  44231. + ;;
  44232. + *cygwin* )
  44233. + func_to_host_path_tmp1=`cygpath -w "$1"`
  44234. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  44235. + $SED -e "$lt_sed_naive_backslashify"`
  44236. + ;;
  44237. + * )
  44238. + # Unfortunately, winepath does not exit with a non-zero
  44239. + # error code, so we are forced to check the contents of
  44240. + # stdout. On the other hand, if the command is not
  44241. + # found, the shell will set an exit code of 127 and print
  44242. + # *an error message* to stdout. So we must check for both
  44243. + # error code of zero AND non-empty stdout, which explains
  44244. + # the odd construction:
  44245. + func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
  44246. + if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
  44247. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  44248. + $SED -e "$lt_sed_naive_backslashify"`
  44249. + else
  44250. + # Allow warning below.
  44251. + func_to_host_path_result=""
  44252. + fi
  44253. + ;;
  44254. + esac
  44255. + if test -z "$func_to_host_path_result" ; then
  44256. + func_error "Could not determine host path corresponding to"
  44257. + func_error " '$1'"
  44258. + func_error "Continuing, but uninstalled executables may not work."
  44259. + # Fallback:
  44260. + func_to_host_path_result="$1"
  44261. + fi
  44262. + ;;
  44263. + esac
  44264. + fi
  44265. +}
  44266. +# end: func_to_host_path
  44267. +
  44268. +# func_to_host_pathlist arg
  44269. +#
  44270. +# Convert pathlists to host format when used with build tools.
  44271. +# See func_to_host_path(), above. This function supports the
  44272. +# following $build/$host combinations (but does no harm for
  44273. +# combinations not listed here):
  44274. +# $build $host
  44275. +# mingw (msys) mingw [e.g. native]
  44276. +# cygwin mingw
  44277. +# *nix + wine mingw
  44278. +#
  44279. +# Path separators are also converted from $build format to
  44280. +# $host format. If ARG begins or ends with a path separator
  44281. +# character, it is preserved (but converted to $host format)
  44282. +# on output.
  44283. +#
  44284. +# ARG is a pathlist (on $build) that should be converted to
  44285. +# the proper representation on $host. The result is stored
  44286. +# in $func_to_host_pathlist_result.
  44287. +func_to_host_pathlist ()
  44288. +{
  44289. + func_to_host_pathlist_result="$1"
  44290. + if test -n "$1" ; then
  44291. + case $host in
  44292. + *mingw* )
  44293. + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  44294. + # Remove leading and trailing path separator characters from
  44295. + # ARG. msys behavior is inconsistent here, cygpath turns them
  44296. + # into '.;' and ';.', and winepath ignores them completely.
  44297. + func_to_host_pathlist_tmp2="$1"
  44298. + # Once set for this call, this variable should not be
  44299. + # reassigned. It is used in tha fallback case.
  44300. + func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
  44301. + $SED -e 's|^:*||' -e 's|:*$||'`
  44302. + case $build in
  44303. + *mingw* ) # Actually, msys.
  44304. + # Awkward: cmd appends spaces to result.
  44305. + lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  44306. + func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
  44307. + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  44308. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  44309. + $SED -e "$lt_sed_naive_backslashify"`
  44310. + ;;
  44311. + *cygwin* )
  44312. + func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
  44313. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  44314. + $SED -e "$lt_sed_naive_backslashify"`
  44315. + ;;
  44316. + * )
  44317. + # unfortunately, winepath doesn't convert pathlists
  44318. + func_to_host_pathlist_result=""
  44319. + func_to_host_pathlist_oldIFS=$IFS
  44320. + IFS=:
  44321. + for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
  44322. + IFS=$func_to_host_pathlist_oldIFS
  44323. + if test -n "$func_to_host_pathlist_f" ; then
  44324. + func_to_host_path "$func_to_host_pathlist_f"
  44325. + if test -n "$func_to_host_path_result" ; then
  44326. + if test -z "$func_to_host_pathlist_result" ; then
  44327. + func_to_host_pathlist_result="$func_to_host_path_result"
  44328. + else
  44329. + func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
  44330. + fi
  44331. + fi
  44332. + fi
  44333. + IFS=:
  44334. + done
  44335. + IFS=$func_to_host_pathlist_oldIFS
  44336. + ;;
  44337. + esac
  44338. + if test -z "$func_to_host_pathlist_result" ; then
  44339. + func_error "Could not determine the host path(s) corresponding to"
  44340. + func_error " '$1'"
  44341. + func_error "Continuing, but uninstalled executables may not work."
  44342. + # Fallback. This may break if $1 contains DOS-style drive
  44343. + # specifications. The fix is not to complicate the expression
  44344. + # below, but for the user to provide a working wine installation
  44345. + # with winepath so that path translation in the cross-to-mingw
  44346. + # case works properly.
  44347. + lt_replace_pathsep_nix_to_dos="s|:|;|g"
  44348. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
  44349. + $SED -e "$lt_replace_pathsep_nix_to_dos"`
  44350. + fi
  44351. + # Now, add the leading and trailing path separators back
  44352. + case "$1" in
  44353. + :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
  44354. + ;;
  44355. + esac
  44356. + case "$1" in
  44357. + *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
  44358. + ;;
  44359. + esac
  44360. + ;;
  44361. + esac
  44362. + fi
  44363. +}
  44364. +# end: func_to_host_pathlist
  44365. +
  44366. +# func_emit_cwrapperexe_src
  44367. +# emit the source code for a wrapper executable on stdout
  44368. +# Must ONLY be called from within func_mode_link because
  44369. +# it depends on a number of variable set therein.
  44370. +func_emit_cwrapperexe_src ()
  44371. +{
  44372. + cat <<EOF
  44373. +
  44374. +/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
  44375. + Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  44376. +
  44377. + The $output program cannot be directly executed until all the libtool
  44378. + libraries that it depends on are installed.
  44379. +
  44380. + This wrapper executable should never be moved out of the build directory.
  44381. + If it is, it will not operate correctly.
  44382. +
  44383. + Currently, it simply execs the wrapper *script* "$SHELL $output",
  44384. + but could eventually absorb all of the scripts functionality and
  44385. + exec $objdir/$outputname directly.
  44386. +*/
  44387. +EOF
  44388. + cat <<"EOF"
  44389. +#include <stdio.h>
  44390. +#include <stdlib.h>
  44391. +#ifdef _MSC_VER
  44392. +# include <direct.h>
  44393. +# include <process.h>
  44394. +# include <io.h>
  44395. +# define setmode _setmode
  44396. +#else
  44397. +# include <unistd.h>
  44398. +# include <stdint.h>
  44399. +# ifdef __CYGWIN__
  44400. +# include <io.h>
  44401. +# define HAVE_SETENV
  44402. +# ifdef __STRICT_ANSI__
  44403. +char *realpath (const char *, char *);
  44404. +int putenv (char *);
  44405. +int setenv (const char *, const char *, int);
  44406. +# endif
  44407. +# endif
  44408. +#endif
  44409. +#include <malloc.h>
  44410. +#include <stdarg.h>
  44411. +#include <assert.h>
  44412. +#include <string.h>
  44413. +#include <ctype.h>
  44414. +#include <errno.h>
  44415. +#include <fcntl.h>
  44416. +#include <sys/stat.h>
  44417. +
  44418. +#if defined(PATH_MAX)
  44419. +# define LT_PATHMAX PATH_MAX
  44420. +#elif defined(MAXPATHLEN)
  44421. +# define LT_PATHMAX MAXPATHLEN
  44422. +#else
  44423. +# define LT_PATHMAX 1024
  44424. +#endif
  44425. +
  44426. +#ifndef S_IXOTH
  44427. +# define S_IXOTH 0
  44428. +#endif
  44429. +#ifndef S_IXGRP
  44430. +# define S_IXGRP 0
  44431. +#endif
  44432. +
  44433. +#ifdef _MSC_VER
  44434. +# define S_IXUSR _S_IEXEC
  44435. +# define stat _stat
  44436. +# ifndef _INTPTR_T_DEFINED
  44437. +# define intptr_t int
  44438. +# endif
  44439. +#endif
  44440. +
  44441. +#ifndef DIR_SEPARATOR
  44442. +# define DIR_SEPARATOR '/'
  44443. +# define PATH_SEPARATOR ':'
  44444. +#endif
  44445. +
  44446. +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
  44447. + defined (__OS2__)
  44448. +# define HAVE_DOS_BASED_FILE_SYSTEM
  44449. +# define FOPEN_WB "wb"
  44450. +# ifndef DIR_SEPARATOR_2
  44451. +# define DIR_SEPARATOR_2 '\\'
  44452. +# endif
  44453. +# ifndef PATH_SEPARATOR_2
  44454. +# define PATH_SEPARATOR_2 ';'
  44455. +# endif
  44456. +#endif
  44457. +
  44458. +#ifndef DIR_SEPARATOR_2
  44459. +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
  44460. +#else /* DIR_SEPARATOR_2 */
  44461. +# define IS_DIR_SEPARATOR(ch) \
  44462. + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
  44463. +#endif /* DIR_SEPARATOR_2 */
  44464. +
  44465. +#ifndef PATH_SEPARATOR_2
  44466. +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR)
  44467. +#else /* PATH_SEPARATOR_2 */
  44468. +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
  44469. +#endif /* PATH_SEPARATOR_2 */
  44470. +
  44471. +#ifdef __CYGWIN__
  44472. +# define FOPEN_WB "wb"
  44473. +#endif
  44474. +
  44475. +#ifndef FOPEN_WB
  44476. +# define FOPEN_WB "w"
  44477. +#endif
  44478. +#ifndef _O_BINARY
  44479. +# define _O_BINARY 0
  44480. +#endif
  44481. +
  44482. +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
  44483. +#define XFREE(stale) do { \
  44484. + if (stale) { free ((void *) stale); stale = 0; } \
  44485. +} while (0)
  44486. +
  44487. +#undef LTWRAPPER_DEBUGPRINTF
  44488. +#if defined DEBUGWRAPPER
  44489. +# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
  44490. +static void
  44491. +ltwrapper_debugprintf (const char *fmt, ...)
  44492. +{
  44493. + va_list args;
  44494. + va_start (args, fmt);
  44495. + (void) vfprintf (stderr, fmt, args);
  44496. + va_end (args);
  44497. +}
  44498. +#else
  44499. +# define LTWRAPPER_DEBUGPRINTF(args)
  44500. +#endif
  44501. +
  44502. +const char *program_name = NULL;
  44503. +
  44504. +void *xmalloc (size_t num);
  44505. +char *xstrdup (const char *string);
  44506. +const char *base_name (const char *name);
  44507. +char *find_executable (const char *wrapper);
  44508. +char *chase_symlinks (const char *pathspec);
  44509. +int make_executable (const char *path);
  44510. +int check_executable (const char *path);
  44511. +char *strendzap (char *str, const char *pat);
  44512. +void lt_fatal (const char *message, ...);
  44513. +void lt_setenv (const char *name, const char *value);
  44514. +char *lt_extend_str (const char *orig_value, const char *add, int to_end);
  44515. +void lt_opt_process_env_set (const char *arg);
  44516. +void lt_opt_process_env_prepend (const char *arg);
  44517. +void lt_opt_process_env_append (const char *arg);
  44518. +int lt_split_name_value (const char *arg, char** name, char** value);
  44519. +void lt_update_exe_path (const char *name, const char *value);
  44520. +void lt_update_lib_path (const char *name, const char *value);
  44521. +
  44522. +static const char *script_text_part1 =
  44523. +EOF
  44524. +
  44525. + func_emit_wrapper_part1 yes |
  44526. + $SED -e 's/\([\\"]\)/\\\1/g' \
  44527. + -e 's/^/ "/' -e 's/$/\\n"/'
  44528. + echo ";"
  44529. + cat <<EOF
  44530. +
  44531. +static const char *script_text_part2 =
  44532. +EOF
  44533. + func_emit_wrapper_part2 yes |
  44534. + $SED -e 's/\([\\"]\)/\\\1/g' \
  44535. + -e 's/^/ "/' -e 's/$/\\n"/'
  44536. + echo ";"
  44537. +
  44538. + cat <<EOF
  44539. +const char * MAGIC_EXE = "$magic_exe";
  44540. +const char * LIB_PATH_VARNAME = "$shlibpath_var";
  44541. +EOF
  44542. +
  44543. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  44544. + func_to_host_pathlist "$temp_rpath"
  44545. + cat <<EOF
  44546. +const char * LIB_PATH_VALUE = "$func_to_host_pathlist_result";
  44547. +EOF
  44548. + else
  44549. + cat <<"EOF"
  44550. +const char * LIB_PATH_VALUE = "";
  44551. +EOF
  44552. + fi
  44553. +
  44554. + if test -n "$dllsearchpath"; then
  44555. + func_to_host_pathlist "$dllsearchpath:"
  44556. + cat <<EOF
  44557. +const char * EXE_PATH_VARNAME = "PATH";
  44558. +const char * EXE_PATH_VALUE = "$func_to_host_pathlist_result";
  44559. +EOF
  44560. + else
  44561. + cat <<"EOF"
  44562. +const char * EXE_PATH_VARNAME = "";
  44563. +const char * EXE_PATH_VALUE = "";
  44564. +EOF
  44565. + fi
  44566. +
  44567. + if test "$fast_install" = yes; then
  44568. + cat <<EOF
  44569. +const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
  44570. +EOF
  44571. + else
  44572. + cat <<EOF
  44573. +const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
  44574. +EOF
  44575. + fi
  44576. +
  44577. +
  44578. + cat <<"EOF"
  44579. +
  44580. +#define LTWRAPPER_OPTION_PREFIX "--lt-"
  44581. +#define LTWRAPPER_OPTION_PREFIX_LENGTH 5
  44582. +
  44583. +static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
  44584. +static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
  44585. +
  44586. +static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
  44587. +
  44588. +static const size_t env_set_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
  44589. +static const char *env_set_opt = LTWRAPPER_OPTION_PREFIX "env-set";
  44590. + /* argument is putenv-style "foo=bar", value of foo is set to bar */
  44591. +
  44592. +static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
  44593. +static const char *env_prepend_opt = LTWRAPPER_OPTION_PREFIX "env-prepend";
  44594. + /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
  44595. +
  44596. +static const size_t env_append_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
  44597. +static const char *env_append_opt = LTWRAPPER_OPTION_PREFIX "env-append";
  44598. + /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
  44599. +
  44600. +int
  44601. +main (int argc, char *argv[])
  44602. +{
  44603. + char **newargz;
  44604. + int newargc;
  44605. + char *tmp_pathspec;
  44606. + char *actual_cwrapper_path;
  44607. + char *actual_cwrapper_name;
  44608. + char *target_name;
  44609. + char *lt_argv_zero;
  44610. + intptr_t rval = 127;
  44611. +
  44612. + int i;
  44613. +
  44614. + program_name = (char *) xstrdup (base_name (argv[0]));
  44615. + LTWRAPPER_DEBUGPRINTF (("(main) argv[0] : %s\n", argv[0]));
  44616. + LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
  44617. +
  44618. + /* very simple arg parsing; don't want to rely on getopt */
  44619. + for (i = 1; i < argc; i++)
  44620. + {
  44621. + if (strcmp (argv[i], dumpscript_opt) == 0)
  44622. + {
  44623. +EOF
  44624. + case "$host" in
  44625. + *mingw* | *cygwin* )
  44626. + # make stdout use "unix" line endings
  44627. + echo " setmode(1,_O_BINARY);"
  44628. + ;;
  44629. + esac
  44630. +
  44631. + cat <<"EOF"
  44632. + printf ("%s", script_text_part1);
  44633. + printf ("%s", script_text_part2);
  44634. + return 0;
  44635. + }
  44636. + }
  44637. +
  44638. + newargz = XMALLOC (char *, argc + 1);
  44639. + tmp_pathspec = find_executable (argv[0]);
  44640. + if (tmp_pathspec == NULL)
  44641. + lt_fatal ("Couldn't find %s", argv[0]);
  44642. + LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
  44643. + tmp_pathspec));
  44644. +
  44645. + actual_cwrapper_path = chase_symlinks (tmp_pathspec);
  44646. + LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
  44647. + actual_cwrapper_path));
  44648. + XFREE (tmp_pathspec);
  44649. +
  44650. + actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
  44651. + strendzap (actual_cwrapper_path, actual_cwrapper_name);
  44652. +
  44653. + /* wrapper name transforms */
  44654. + strendzap (actual_cwrapper_name, ".exe");
  44655. + tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
  44656. + XFREE (actual_cwrapper_name);
  44657. + actual_cwrapper_name = tmp_pathspec;
  44658. + tmp_pathspec = 0;
  44659. +
  44660. + /* target_name transforms -- use actual target program name; might have lt- prefix */
  44661. + target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
  44662. + strendzap (target_name, ".exe");
  44663. + tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
  44664. + XFREE (target_name);
  44665. + target_name = tmp_pathspec;
  44666. + tmp_pathspec = 0;
  44667. +
  44668. + LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
  44669. + target_name));
  44670. +EOF
  44671. +
  44672. + cat <<EOF
  44673. + newargz[0] =
  44674. + XMALLOC (char, (strlen (actual_cwrapper_path) +
  44675. + strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
  44676. + strcpy (newargz[0], actual_cwrapper_path);
  44677. + strcat (newargz[0], "$objdir");
  44678. + strcat (newargz[0], "/");
  44679. +EOF
  44680. +
  44681. + cat <<"EOF"
  44682. + /* stop here, and copy so we don't have to do this twice */
  44683. + tmp_pathspec = xstrdup (newargz[0]);
  44684. +
  44685. + /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
  44686. + strcat (newargz[0], actual_cwrapper_name);
  44687. +
  44688. + /* DO want the lt- prefix here if it exists, so use target_name */
  44689. + lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
  44690. + XFREE (tmp_pathspec);
  44691. + tmp_pathspec = NULL;
  44692. +EOF
  44693. +
  44694. + case $host_os in
  44695. + mingw*)
  44696. + cat <<"EOF"
  44697. + {
  44698. + char* p;
  44699. + while ((p = strchr (newargz[0], '\\')) != NULL)
  44700. + {
  44701. + *p = '/';
  44702. + }
  44703. + while ((p = strchr (lt_argv_zero, '\\')) != NULL)
  44704. + {
  44705. + *p = '/';
  44706. + }
  44707. + }
  44708. +EOF
  44709. + ;;
  44710. + esac
  44711. +
  44712. + cat <<"EOF"
  44713. + XFREE (target_name);
  44714. + XFREE (actual_cwrapper_path);
  44715. + XFREE (actual_cwrapper_name);
  44716. +
  44717. + lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
  44718. + lt_setenv ("DUALCASE", "1"); /* for MSK sh */
  44719. + lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
  44720. + lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
  44721. +
  44722. + newargc=0;
  44723. + for (i = 1; i < argc; i++)
  44724. + {
  44725. + if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
  44726. + {
  44727. + if (argv[i][env_set_opt_len] == '=')
  44728. + {
  44729. + const char *p = argv[i] + env_set_opt_len + 1;
  44730. + lt_opt_process_env_set (p);
  44731. + }
  44732. + else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
  44733. + {
  44734. + lt_opt_process_env_set (argv[++i]); /* don't copy */
  44735. + }
  44736. + else
  44737. + lt_fatal ("%s missing required argument", env_set_opt);
  44738. + continue;
  44739. + }
  44740. + if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
  44741. + {
  44742. + if (argv[i][env_prepend_opt_len] == '=')
  44743. + {
  44744. + const char *p = argv[i] + env_prepend_opt_len + 1;
  44745. + lt_opt_process_env_prepend (p);
  44746. + }
  44747. + else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
  44748. + {
  44749. + lt_opt_process_env_prepend (argv[++i]); /* don't copy */
  44750. + }
  44751. + else
  44752. + lt_fatal ("%s missing required argument", env_prepend_opt);
  44753. + continue;
  44754. + }
  44755. + if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
  44756. + {
  44757. + if (argv[i][env_append_opt_len] == '=')
  44758. + {
  44759. + const char *p = argv[i] + env_append_opt_len + 1;
  44760. + lt_opt_process_env_append (p);
  44761. + }
  44762. + else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
  44763. + {
  44764. + lt_opt_process_env_append (argv[++i]); /* don't copy */
  44765. + }
  44766. + else
  44767. + lt_fatal ("%s missing required argument", env_append_opt);
  44768. + continue;
  44769. + }
  44770. + if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
  44771. + {
  44772. + /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
  44773. + namespace, but it is not one of the ones we know about and
  44774. + have already dealt with, above (inluding dump-script), then
  44775. + report an error. Otherwise, targets might begin to believe
  44776. + they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
  44777. + namespace. The first time any user complains about this, we'll
  44778. + need to make LTWRAPPER_OPTION_PREFIX a configure-time option
  44779. + or a configure.ac-settable value.
  44780. + */
  44781. + lt_fatal ("Unrecognized option in %s namespace: '%s'",
  44782. + ltwrapper_option_prefix, argv[i]);
  44783. + }
  44784. + /* otherwise ... */
  44785. + newargz[++newargc] = xstrdup (argv[i]);
  44786. + }
  44787. + newargz[++newargc] = NULL;
  44788. +
  44789. + LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
  44790. + for (i = 0; i < newargc; i++)
  44791. + {
  44792. + LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
  44793. + }
  44794. +
  44795. +EOF
  44796. +
  44797. + case $host_os in
  44798. + mingw*)
  44799. + cat <<"EOF"
  44800. + /* execv doesn't actually work on mingw as expected on unix */
  44801. + rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
  44802. + if (rval == -1)
  44803. + {
  44804. + /* failed to start process */
  44805. + LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
  44806. + return 127;
  44807. + }
  44808. + return rval;
  44809. +EOF
  44810. + ;;
  44811. + *)
  44812. + cat <<"EOF"
  44813. + execv (lt_argv_zero, newargz);
  44814. + return rval; /* =127, but avoids unused variable warning */
  44815. +EOF
  44816. + ;;
  44817. + esac
  44818. +
  44819. + cat <<"EOF"
  44820. +}
  44821. +
  44822. +void *
  44823. +xmalloc (size_t num)
  44824. +{
  44825. + void *p = (void *) malloc (num);
  44826. + if (!p)
  44827. + lt_fatal ("Memory exhausted");
  44828. +
  44829. + return p;
  44830. +}
  44831. +
  44832. +char *
  44833. +xstrdup (const char *string)
  44834. +{
  44835. + return string ? strcpy ((char *) xmalloc (strlen (string) + 1),
  44836. + string) : NULL;
  44837. +}
  44838. +
  44839. +const char *
  44840. +base_name (const char *name)
  44841. +{
  44842. + const char *base;
  44843. +
  44844. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  44845. + /* Skip over the disk name in MSDOS pathnames. */
  44846. + if (isalpha ((unsigned char) name[0]) && name[1] == ':')
  44847. + name += 2;
  44848. +#endif
  44849. +
  44850. + for (base = name; *name; name++)
  44851. + if (IS_DIR_SEPARATOR (*name))
  44852. + base = name + 1;
  44853. + return base;
  44854. +}
  44855. +
  44856. +int
  44857. +check_executable (const char *path)
  44858. +{
  44859. + struct stat st;
  44860. +
  44861. + LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n",
  44862. + path ? (*path ? path : "EMPTY!") : "NULL!"));
  44863. + if ((!path) || (!*path))
  44864. + return 0;
  44865. +
  44866. + if ((stat (path, &st) >= 0)
  44867. + && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))
  44868. + return 1;
  44869. + else
  44870. + return 0;
  44871. +}
  44872. +
  44873. +int
  44874. +make_executable (const char *path)
  44875. +{
  44876. + int rval = 0;
  44877. + struct stat st;
  44878. +
  44879. + LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n",
  44880. + path ? (*path ? path : "EMPTY!") : "NULL!"));
  44881. + if ((!path) || (!*path))
  44882. + return 0;
  44883. +
  44884. + if (stat (path, &st) >= 0)
  44885. + {
  44886. + rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR);
  44887. + }
  44888. + return rval;
  44889. +}
  44890. +
  44891. +/* Searches for the full path of the wrapper. Returns
  44892. + newly allocated full path name if found, NULL otherwise
  44893. + Does not chase symlinks, even on platforms that support them.
  44894. +*/
  44895. +char *
  44896. +find_executable (const char *wrapper)
  44897. +{
  44898. + int has_slash = 0;
  44899. + const char *p;
  44900. + const char *p_next;
  44901. + /* static buffer for getcwd */
  44902. + char tmp[LT_PATHMAX + 1];
  44903. + int tmp_len;
  44904. + char *concat_name;
  44905. +
  44906. + LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n",
  44907. + wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
  44908. +
  44909. + if ((wrapper == NULL) || (*wrapper == '\0'))
  44910. + return NULL;
  44911. +
  44912. + /* Absolute path? */
  44913. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  44914. + if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
  44915. + {
  44916. + concat_name = xstrdup (wrapper);
  44917. + if (check_executable (concat_name))
  44918. + return concat_name;
  44919. + XFREE (concat_name);
  44920. + }
  44921. + else
  44922. + {
  44923. +#endif
  44924. + if (IS_DIR_SEPARATOR (wrapper[0]))
  44925. + {
  44926. + concat_name = xstrdup (wrapper);
  44927. + if (check_executable (concat_name))
  44928. + return concat_name;
  44929. + XFREE (concat_name);
  44930. + }
  44931. +#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
  44932. + }
  44933. +#endif
  44934. +
  44935. + for (p = wrapper; *p; p++)
  44936. + if (*p == '/')
  44937. + {
  44938. + has_slash = 1;
  44939. + break;
  44940. + }
  44941. + if (!has_slash)
  44942. + {
  44943. + /* no slashes; search PATH */
  44944. + const char *path = getenv ("PATH");
  44945. + if (path != NULL)
  44946. + {
  44947. + for (p = path; *p; p = p_next)
  44948. + {
  44949. + const char *q;
  44950. + size_t p_len;
  44951. + for (q = p; *q; q++)
  44952. + if (IS_PATH_SEPARATOR (*q))
  44953. + break;
  44954. + p_len = q - p;
  44955. + p_next = (*q == '\0' ? q : q + 1);
  44956. + if (p_len == 0)
  44957. + {
  44958. + /* empty path: current directory */
  44959. + if (getcwd (tmp, LT_PATHMAX) == NULL)
  44960. + lt_fatal ("getcwd failed");
  44961. + tmp_len = strlen (tmp);
  44962. + concat_name =
  44963. + XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  44964. + memcpy (concat_name, tmp, tmp_len);
  44965. + concat_name[tmp_len] = '/';
  44966. + strcpy (concat_name + tmp_len + 1, wrapper);
  44967. + }
  44968. + else
  44969. + {
  44970. + concat_name =
  44971. + XMALLOC (char, p_len + 1 + strlen (wrapper) + 1);
  44972. + memcpy (concat_name, p, p_len);
  44973. + concat_name[p_len] = '/';
  44974. + strcpy (concat_name + p_len + 1, wrapper);
  44975. + }
  44976. + if (check_executable (concat_name))
  44977. + return concat_name;
  44978. + XFREE (concat_name);
  44979. + }
  44980. + }
  44981. + /* not found in PATH; assume curdir */
  44982. + }
  44983. + /* Relative path | not found in path: prepend cwd */
  44984. + if (getcwd (tmp, LT_PATHMAX) == NULL)
  44985. + lt_fatal ("getcwd failed");
  44986. + tmp_len = strlen (tmp);
  44987. + concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  44988. + memcpy (concat_name, tmp, tmp_len);
  44989. + concat_name[tmp_len] = '/';
  44990. + strcpy (concat_name + tmp_len + 1, wrapper);
  44991. +
  44992. + if (check_executable (concat_name))
  44993. + return concat_name;
  44994. + XFREE (concat_name);
  44995. + return NULL;
  44996. +}
  44997. +
  44998. +char *
  44999. +chase_symlinks (const char *pathspec)
  45000. +{
  45001. +#ifndef S_ISLNK
  45002. + return xstrdup (pathspec);
  45003. +#else
  45004. + char buf[LT_PATHMAX];
  45005. + struct stat s;
  45006. + char *tmp_pathspec = xstrdup (pathspec);
  45007. + char *p;
  45008. + int has_symlinks = 0;
  45009. + while (strlen (tmp_pathspec) && !has_symlinks)
  45010. + {
  45011. + LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
  45012. + tmp_pathspec));
  45013. + if (lstat (tmp_pathspec, &s) == 0)
  45014. + {
  45015. + if (S_ISLNK (s.st_mode) != 0)
  45016. + {
  45017. + has_symlinks = 1;
  45018. + break;
  45019. + }
  45020. +
  45021. + /* search backwards for last DIR_SEPARATOR */
  45022. + p = tmp_pathspec + strlen (tmp_pathspec) - 1;
  45023. + while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
  45024. + p--;
  45025. + if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
  45026. + {
  45027. + /* no more DIR_SEPARATORS left */
  45028. + break;
  45029. + }
  45030. + *p = '\0';
  45031. + }
  45032. + else
  45033. + {
  45034. + char *errstr = strerror (errno);
  45035. + lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
  45036. + }
  45037. + }
  45038. + XFREE (tmp_pathspec);
  45039. +
  45040. + if (!has_symlinks)
  45041. + {
  45042. + return xstrdup (pathspec);
  45043. + }
  45044. +
  45045. + tmp_pathspec = realpath (pathspec, buf);
  45046. + if (tmp_pathspec == 0)
  45047. + {
  45048. + lt_fatal ("Could not follow symlinks for %s", pathspec);
  45049. + }
  45050. + return xstrdup (tmp_pathspec);
  45051. +#endif
  45052. +}
  45053. +
  45054. +char *
  45055. +strendzap (char *str, const char *pat)
  45056. +{
  45057. + size_t len, patlen;
  45058. +
  45059. + assert (str != NULL);
  45060. + assert (pat != NULL);
  45061. +
  45062. + len = strlen (str);
  45063. + patlen = strlen (pat);
  45064. +
  45065. + if (patlen <= len)
  45066. + {
  45067. + str += len - patlen;
  45068. + if (strcmp (str, pat) == 0)
  45069. + *str = '\0';
  45070. + }
  45071. + return str;
  45072. +}
  45073. +
  45074. +static void
  45075. +lt_error_core (int exit_status, const char *mode,
  45076. + const char *message, va_list ap)
  45077. +{
  45078. + fprintf (stderr, "%s: %s: ", program_name, mode);
  45079. + vfprintf (stderr, message, ap);
  45080. + fprintf (stderr, ".\n");
  45081. +
  45082. + if (exit_status >= 0)
  45083. + exit (exit_status);
  45084. +}
  45085. +
  45086. +void
  45087. +lt_fatal (const char *message, ...)
  45088. +{
  45089. + va_list ap;
  45090. + va_start (ap, message);
  45091. + lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
  45092. + va_end (ap);
  45093. +}
  45094. +
  45095. +void
  45096. +lt_setenv (const char *name, const char *value)
  45097. +{
  45098. + LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
  45099. + (name ? name : "<NULL>"),
  45100. + (value ? value : "<NULL>")));
  45101. + {
  45102. +#ifdef HAVE_SETENV
  45103. + /* always make a copy, for consistency with !HAVE_SETENV */
  45104. + char *str = xstrdup (value);
  45105. + setenv (name, str, 1);
  45106. +#else
  45107. + int len = strlen (name) + 1 + strlen (value) + 1;
  45108. + char *str = XMALLOC (char, len);
  45109. + sprintf (str, "%s=%s", name, value);
  45110. + if (putenv (str) != EXIT_SUCCESS)
  45111. + {
  45112. + XFREE (str);
  45113. + }
  45114. +#endif
  45115. + }
  45116. +}
  45117. +
  45118. +char *
  45119. +lt_extend_str (const char *orig_value, const char *add, int to_end)
  45120. +{
  45121. + char *new_value;
  45122. + if (orig_value && *orig_value)
  45123. + {
  45124. + int orig_value_len = strlen (orig_value);
  45125. + int add_len = strlen (add);
  45126. + new_value = XMALLOC (char, add_len + orig_value_len + 1);
  45127. + if (to_end)
  45128. + {
  45129. + strcpy (new_value, orig_value);
  45130. + strcpy (new_value + orig_value_len, add);
  45131. + }
  45132. + else
  45133. + {
  45134. + strcpy (new_value, add);
  45135. + strcpy (new_value + add_len, orig_value);
  45136. + }
  45137. + }
  45138. + else
  45139. + {
  45140. + new_value = xstrdup (add);
  45141. + }
  45142. + return new_value;
  45143. +}
  45144. +
  45145. +int
  45146. +lt_split_name_value (const char *arg, char** name, char** value)
  45147. +{
  45148. + const char *p;
  45149. + int len;
  45150. + if (!arg || !*arg)
  45151. + return 1;
  45152. +
  45153. + p = strchr (arg, (int)'=');
  45154. +
  45155. + if (!p)
  45156. + return 1;
  45157. +
  45158. + *value = xstrdup (++p);
  45159. +
  45160. + len = strlen (arg) - strlen (*value);
  45161. + *name = XMALLOC (char, len);
  45162. + strncpy (*name, arg, len-1);
  45163. + (*name)[len - 1] = '\0';
  45164. +
  45165. + return 0;
  45166. +}
  45167. +
  45168. +void
  45169. +lt_opt_process_env_set (const char *arg)
  45170. +{
  45171. + char *name = NULL;
  45172. + char *value = NULL;
  45173. +
  45174. + if (lt_split_name_value (arg, &name, &value) != 0)
  45175. + {
  45176. + XFREE (name);
  45177. + XFREE (value);
  45178. + lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
  45179. + }
  45180. +
  45181. + lt_setenv (name, value);
  45182. + XFREE (name);
  45183. + XFREE (value);
  45184. +}
  45185. +
  45186. +void
  45187. +lt_opt_process_env_prepend (const char *arg)
  45188. +{
  45189. + char *name = NULL;
  45190. + char *value = NULL;
  45191. + char *new_value = NULL;
  45192. +
  45193. + if (lt_split_name_value (arg, &name, &value) != 0)
  45194. + {
  45195. + XFREE (name);
  45196. + XFREE (value);
  45197. + lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
  45198. + }
  45199. +
  45200. + new_value = lt_extend_str (getenv (name), value, 0);
  45201. + lt_setenv (name, new_value);
  45202. + XFREE (new_value);
  45203. + XFREE (name);
  45204. + XFREE (value);
  45205. +}
  45206. +
  45207. +void
  45208. +lt_opt_process_env_append (const char *arg)
  45209. +{
  45210. + char *name = NULL;
  45211. + char *value = NULL;
  45212. + char *new_value = NULL;
  45213. +
  45214. + if (lt_split_name_value (arg, &name, &value) != 0)
  45215. + {
  45216. + XFREE (name);
  45217. + XFREE (value);
  45218. + lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
  45219. + }
  45220. +
  45221. + new_value = lt_extend_str (getenv (name), value, 1);
  45222. + lt_setenv (name, new_value);
  45223. + XFREE (new_value);
  45224. + XFREE (name);
  45225. + XFREE (value);
  45226. +}
  45227. +
  45228. +void
  45229. +lt_update_exe_path (const char *name, const char *value)
  45230. +{
  45231. + LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
  45232. + (name ? name : "<NULL>"),
  45233. + (value ? value : "<NULL>")));
  45234. +
  45235. + if (name && *name && value && *value)
  45236. + {
  45237. + char *new_value = lt_extend_str (getenv (name), value, 0);
  45238. + /* some systems can't cope with a ':'-terminated path #' */
  45239. + int len = strlen (new_value);
  45240. + while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
  45241. + {
  45242. + new_value[len-1] = '\0';
  45243. + }
  45244. + lt_setenv (name, new_value);
  45245. + XFREE (new_value);
  45246. + }
  45247. +}
  45248. +
  45249. +void
  45250. +lt_update_lib_path (const char *name, const char *value)
  45251. +{
  45252. + LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
  45253. + (name ? name : "<NULL>"),
  45254. + (value ? value : "<NULL>")));
  45255. +
  45256. + if (name && *name && value && *value)
  45257. + {
  45258. + char *new_value = lt_extend_str (getenv (name), value, 0);
  45259. + lt_setenv (name, new_value);
  45260. + XFREE (new_value);
  45261. + }
  45262. +}
  45263. +
  45264. +
  45265. +EOF
  45266. +}
  45267. +# end: func_emit_cwrapperexe_src
  45268. +
  45269. +# func_mode_link arg...
  45270. +func_mode_link ()
  45271. +{
  45272. + $opt_debug
  45273. + case $host in
  45274. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  45275. + # It is impossible to link a dll without this setting, and
  45276. + # we shouldn't force the makefile maintainer to figure out
  45277. + # which system we are compiling for in order to pass an extra
  45278. + # flag for every libtool invocation.
  45279. + # allow_undefined=no
  45280. +
  45281. + # FIXME: Unfortunately, there are problems with the above when trying
  45282. + # to make a dll which has undefined symbols, in which case not
  45283. + # even a static library is built. For now, we need to specify
  45284. + # -no-undefined on the libtool link line when we can be certain
  45285. + # that all symbols are satisfied, otherwise we get a static library.
  45286. + allow_undefined=yes
  45287. + ;;
  45288. + *)
  45289. + allow_undefined=yes
  45290. + ;;
  45291. + esac
  45292. + libtool_args=$nonopt
  45293. + base_compile="$nonopt $@"
  45294. + compile_command=$nonopt
  45295. + finalize_command=$nonopt
  45296. +
  45297. + compile_rpath=
  45298. + finalize_rpath=
  45299. + compile_shlibpath=
  45300. + finalize_shlibpath=
  45301. + convenience=
  45302. + old_convenience=
  45303. + deplibs=
  45304. + old_deplibs=
  45305. + compiler_flags=
  45306. + linker_flags=
  45307. + dllsearchpath=
  45308. + lib_search_path=`pwd`
  45309. + inst_prefix_dir=
  45310. + new_inherited_linker_flags=
  45311. +
  45312. + avoid_version=no
  45313. + dlfiles=
  45314. + dlprefiles=
  45315. + dlself=no
  45316. + export_dynamic=no
  45317. + export_symbols=
  45318. + export_symbols_regex=
  45319. + generated=
  45320. + libobjs=
  45321. + ltlibs=
  45322. + module=no
  45323. + no_install=no
  45324. + objs=
  45325. + non_pic_objects=
  45326. + precious_files_regex=
  45327. + prefer_static_libs=no
  45328. + preload=no
  45329. + prev=
  45330. + prevarg=
  45331. + release=
  45332. + rpath=
  45333. + xrpath=
  45334. + perm_rpath=
  45335. + temp_rpath=
  45336. + thread_safe=no
  45337. + vinfo=
  45338. + vinfo_number=no
  45339. + weak_libs=
  45340. + single_module="${wl}-single_module"
  45341. + func_infer_tag $base_compile
  45342. +
  45343. + # We need to know -static, to get the right output filenames.
  45344. + for arg
  45345. + do
  45346. + case $arg in
  45347. + -shared)
  45348. + test "$build_libtool_libs" != yes && \
  45349. + func_fatal_configuration "can not build a shared library"
  45350. + build_old_libs=no
  45351. + break
  45352. + ;;
  45353. + -all-static | -static | -static-libtool-libs)
  45354. + case $arg in
  45355. + -all-static)
  45356. + if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
  45357. + func_warning "complete static linking is impossible in this configuration"
  45358. + fi
  45359. + if test -n "$link_static_flag"; then
  45360. + dlopen_self=$dlopen_self_static
  45361. + fi
  45362. + prefer_static_libs=yes
  45363. + ;;
  45364. + -static)
  45365. + if test -z "$pic_flag" && test -n "$link_static_flag"; then
  45366. + dlopen_self=$dlopen_self_static
  45367. + fi
  45368. + prefer_static_libs=built
  45369. + ;;
  45370. + -static-libtool-libs)
  45371. + if test -z "$pic_flag" && test -n "$link_static_flag"; then
  45372. + dlopen_self=$dlopen_self_static
  45373. + fi
  45374. + prefer_static_libs=yes
  45375. + ;;
  45376. + esac
  45377. + build_libtool_libs=no
  45378. + build_old_libs=yes
  45379. + break
  45380. + ;;
  45381. + esac
  45382. + done
  45383. +
  45384. + # See if our shared archives depend on static archives.
  45385. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes
  45386. +
  45387. + # Go through the arguments, transforming them on the way.
  45388. + while test "$#" -gt 0; do
  45389. + arg="$1"
  45390. + shift
  45391. + func_quote_for_eval "$arg"
  45392. + qarg=$func_quote_for_eval_unquoted_result
  45393. + func_append libtool_args " $func_quote_for_eval_result"
  45394. +
  45395. + # If the previous option needs an argument, assign it.
  45396. + if test -n "$prev"; then
  45397. + case $prev in
  45398. + output)
  45399. + func_append compile_command " @OUTPUT@"
  45400. + func_append finalize_command " @OUTPUT@"
  45401. + ;;
  45402. + esac
  45403. +
  45404. + case $prev in
  45405. + dlfiles|dlprefiles)
  45406. + if test "$preload" = no; then
  45407. + # Add the symbol object into the linking commands.
  45408. + func_append compile_command " @SYMFILE@"
  45409. + func_append finalize_command " @SYMFILE@"
  45410. + preload=yes
  45411. + fi
  45412. + case $arg in
  45413. + *.la | *.lo) ;; # We handle these cases below.
  45414. + force)
  45415. + if test "$dlself" = no; then
  45416. + dlself=needless
  45417. + export_dynamic=yes
  45418. + fi
  45419. + prev=
  45420. + continue
  45421. + ;;
  45422. + self)
  45423. + if test "$prev" = dlprefiles; then
  45424. + dlself=yes
  45425. + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
  45426. + dlself=yes
  45427. + else
  45428. + dlself=needless
  45429. + export_dynamic=yes
  45430. + fi
  45431. + prev=
  45432. + continue
  45433. + ;;
  45434. + *)
  45435. + if test "$prev" = dlfiles; then
  45436. + dlfiles="$dlfiles $arg"
  45437. + else
  45438. + dlprefiles="$dlprefiles $arg"
  45439. + fi
  45440. + prev=
  45441. + continue
  45442. + ;;
  45443. + esac
  45444. + ;;
  45445. + expsyms)
  45446. + export_symbols="$arg"
  45447. + test -f "$arg" \
  45448. + || func_fatal_error "symbol file \`$arg' does not exist"
  45449. + prev=
  45450. + continue
  45451. + ;;
  45452. + expsyms_regex)
  45453. + export_symbols_regex="$arg"
  45454. + prev=
  45455. + continue
  45456. + ;;
  45457. + framework)
  45458. + case $host in
  45459. + *-*-darwin*)
  45460. + case "$deplibs " in
  45461. + *" $qarg.ltframework "*) ;;
  45462. + *) deplibs="$deplibs $qarg.ltframework" # this is fixed later
  45463. + ;;
  45464. + esac
  45465. + ;;
  45466. + esac
  45467. + prev=
  45468. + continue
  45469. + ;;
  45470. + inst_prefix)
  45471. + inst_prefix_dir="$arg"
  45472. + prev=
  45473. + continue
  45474. + ;;
  45475. + objectlist)
  45476. + if test -f "$arg"; then
  45477. + save_arg=$arg
  45478. + moreargs=
  45479. + for fil in `cat "$save_arg"`
  45480. + do
  45481. +# moreargs="$moreargs $fil"
  45482. + arg=$fil
  45483. + # A libtool-controlled object.
  45484. +
  45485. + # Check to see that this really is a libtool object.
  45486. + if func_lalib_unsafe_p "$arg"; then
  45487. + pic_object=
  45488. + non_pic_object=
  45489. +
  45490. + # Read the .lo file
  45491. + func_source "$arg"
  45492. +
  45493. + if test -z "$pic_object" ||
  45494. + test -z "$non_pic_object" ||
  45495. + test "$pic_object" = none &&
  45496. + test "$non_pic_object" = none; then
  45497. + func_fatal_error "cannot find name of object for \`$arg'"
  45498. + fi
  45499. +
  45500. + # Extract subdirectory from the argument.
  45501. + func_dirname "$arg" "/" ""
  45502. + xdir="$func_dirname_result"
  45503. +
  45504. + if test "$pic_object" != none; then
  45505. + # Prepend the subdirectory the object is found in.
  45506. + pic_object="$xdir$pic_object"
  45507. +
  45508. + if test "$prev" = dlfiles; then
  45509. + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  45510. + dlfiles="$dlfiles $pic_object"
  45511. + prev=
  45512. + continue
  45513. + else
  45514. + # If libtool objects are unsupported, then we need to preload.
  45515. + prev=dlprefiles
  45516. + fi
  45517. + fi
  45518. +
  45519. + # CHECK ME: I think I busted this. -Ossama
  45520. + if test "$prev" = dlprefiles; then
  45521. + # Preload the old-style object.
  45522. + dlprefiles="$dlprefiles $pic_object"
  45523. + prev=
  45524. + fi
  45525. +
  45526. + # A PIC object.
  45527. + func_append libobjs " $pic_object"
  45528. + arg="$pic_object"
  45529. + fi
  45530. +
  45531. + # Non-PIC object.
  45532. + if test "$non_pic_object" != none; then
  45533. + # Prepend the subdirectory the object is found in.
  45534. + non_pic_object="$xdir$non_pic_object"
  45535. +
  45536. + # A standard non-PIC object
  45537. + func_append non_pic_objects " $non_pic_object"
  45538. + if test -z "$pic_object" || test "$pic_object" = none ; then
  45539. + arg="$non_pic_object"
  45540. + fi
  45541. + else
  45542. + # If the PIC object exists, use it instead.
  45543. + # $xdir was prepended to $pic_object above.
  45544. + non_pic_object="$pic_object"
  45545. + func_append non_pic_objects " $non_pic_object"
  45546. + fi
  45547. + else
  45548. + # Only an error if not doing a dry-run.
  45549. + if $opt_dry_run; then
  45550. + # Extract subdirectory from the argument.
  45551. + func_dirname "$arg" "/" ""
  45552. + xdir="$func_dirname_result"
  45553. +
  45554. + func_lo2o "$arg"
  45555. + pic_object=$xdir$objdir/$func_lo2o_result
  45556. + non_pic_object=$xdir$func_lo2o_result
  45557. + func_append libobjs " $pic_object"
  45558. + func_append non_pic_objects " $non_pic_object"
  45559. + else
  45560. + func_fatal_error "\`$arg' is not a valid libtool object"
  45561. + fi
  45562. + fi
  45563. + done
  45564. + else
  45565. + func_fatal_error "link input file \`$arg' does not exist"
  45566. + fi
  45567. + arg=$save_arg
  45568. + prev=
  45569. + continue
  45570. + ;;
  45571. + precious_regex)
  45572. + precious_files_regex="$arg"
  45573. + prev=
  45574. + continue
  45575. + ;;
  45576. + release)
  45577. + release="-$arg"
  45578. + prev=
  45579. + continue
  45580. + ;;
  45581. + rpath | xrpath)
  45582. + # We need an absolute path.
  45583. + case $arg in
  45584. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  45585. + *)
  45586. + func_fatal_error "only absolute run-paths are allowed"
  45587. + ;;
  45588. + esac
  45589. + if test "$prev" = rpath; then
  45590. + case "$rpath " in
  45591. + *" $arg "*) ;;
  45592. + *) rpath="$rpath $arg" ;;
  45593. + esac
  45594. + else
  45595. + case "$xrpath " in
  45596. + *" $arg "*) ;;
  45597. + *) xrpath="$xrpath $arg" ;;
  45598. + esac
  45599. + fi
  45600. + prev=
  45601. + continue
  45602. + ;;
  45603. + shrext)
  45604. + shrext_cmds="$arg"
  45605. + prev=
  45606. + continue
  45607. + ;;
  45608. + weak)
  45609. + weak_libs="$weak_libs $arg"
  45610. + prev=
  45611. + continue
  45612. + ;;
  45613. + xcclinker)
  45614. + linker_flags="$linker_flags $qarg"
  45615. + compiler_flags="$compiler_flags $qarg"
  45616. + prev=
  45617. + func_append compile_command " $qarg"
  45618. + func_append finalize_command " $qarg"
  45619. + continue
  45620. + ;;
  45621. + xcompiler)
  45622. + compiler_flags="$compiler_flags $qarg"
  45623. + prev=
  45624. + func_append compile_command " $qarg"
  45625. + func_append finalize_command " $qarg"
  45626. + continue
  45627. + ;;
  45628. + xlinker)
  45629. + linker_flags="$linker_flags $qarg"
  45630. + compiler_flags="$compiler_flags $wl$qarg"
  45631. + prev=
  45632. + func_append compile_command " $wl$qarg"
  45633. + func_append finalize_command " $wl$qarg"
  45634. + continue
  45635. + ;;
  45636. + *)
  45637. + eval "$prev=\"\$arg\""
  45638. + prev=
  45639. + continue
  45640. + ;;
  45641. + esac
  45642. + fi # test -n "$prev"
  45643. +
  45644. + prevarg="$arg"
  45645. +
  45646. + case $arg in
  45647. + -all-static)
  45648. + if test -n "$link_static_flag"; then
  45649. + # See comment for -static flag below, for more details.
  45650. + func_append compile_command " $link_static_flag"
  45651. + func_append finalize_command " $link_static_flag"
  45652. + fi
  45653. + continue
  45654. + ;;
  45655. +
  45656. + -allow-undefined)
  45657. + # FIXME: remove this flag sometime in the future.
  45658. + func_fatal_error "\`-allow-undefined' must not be used because it is the default"
  45659. + ;;
  45660. +
  45661. + -avoid-version)
  45662. + avoid_version=yes
  45663. + continue
  45664. + ;;
  45665. +
  45666. + -dlopen)
  45667. + prev=dlfiles
  45668. + continue
  45669. + ;;
  45670. +
  45671. + -dlpreopen)
  45672. + prev=dlprefiles
  45673. + continue
  45674. + ;;
  45675. +
  45676. + -export-dynamic)
  45677. + export_dynamic=yes
  45678. + continue
  45679. + ;;
  45680. +
  45681. + -export-symbols | -export-symbols-regex)
  45682. + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
  45683. + func_fatal_error "more than one -exported-symbols argument is not allowed"
  45684. + fi
  45685. + if test "X$arg" = "X-export-symbols"; then
  45686. + prev=expsyms
  45687. + else
  45688. + prev=expsyms_regex
  45689. + fi
  45690. + continue
  45691. + ;;
  45692. +
  45693. + -framework)
  45694. + prev=framework
  45695. + continue
  45696. + ;;
  45697. +
  45698. + -inst-prefix-dir)
  45699. + prev=inst_prefix
  45700. + continue
  45701. + ;;
  45702. +
  45703. + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
  45704. + # so, if we see these flags be careful not to treat them like -L
  45705. + -L[A-Z][A-Z]*:*)
  45706. + case $with_gcc/$host in
  45707. + no/*-*-irix* | /*-*-irix*)
  45708. + func_append compile_command " $arg"
  45709. + func_append finalize_command " $arg"
  45710. + ;;
  45711. + esac
  45712. + continue
  45713. + ;;
  45714. +
  45715. + -L*)
  45716. + func_stripname '-L' '' "$arg"
  45717. + dir=$func_stripname_result
  45718. + if test -z "$dir"; then
  45719. + if test "$#" -gt 0; then
  45720. + func_fatal_error "require no space between \`-L' and \`$1'"
  45721. + else
  45722. + func_fatal_error "need path for \`-L' option"
  45723. + fi
  45724. + fi
  45725. + # We need an absolute path.
  45726. + case $dir in
  45727. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  45728. + *)
  45729. + absdir=`cd "$dir" && pwd`
  45730. + test -z "$absdir" && \
  45731. + func_fatal_error "cannot determine absolute directory name of \`$dir'"
  45732. + dir="$absdir"
  45733. + ;;
  45734. + esac
  45735. + case "$deplibs " in
  45736. + *" -L$dir "*) ;;
  45737. + *)
  45738. + deplibs="$deplibs -L$dir"
  45739. + lib_search_path="$lib_search_path $dir"
  45740. + ;;
  45741. + esac
  45742. + case $host in
  45743. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  45744. + testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
  45745. + case :$dllsearchpath: in
  45746. + *":$dir:"*) ;;
  45747. + ::) dllsearchpath=$dir;;
  45748. + *) dllsearchpath="$dllsearchpath:$dir";;
  45749. + esac
  45750. + case :$dllsearchpath: in
  45751. + *":$testbindir:"*) ;;
  45752. + ::) dllsearchpath=$testbindir;;
  45753. + *) dllsearchpath="$dllsearchpath:$testbindir";;
  45754. + esac
  45755. + ;;
  45756. + esac
  45757. + continue
  45758. + ;;
  45759. +
  45760. + -l*)
  45761. + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  45762. + case $host in
  45763. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
  45764. + # These systems don't actually have a C or math library (as such)
  45765. + continue
  45766. + ;;
  45767. + *-*-os2*)
  45768. + # These systems don't actually have a C library (as such)
  45769. + test "X$arg" = "X-lc" && continue
  45770. + ;;
  45771. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  45772. + # Do not include libc due to us having libc/libc_r.
  45773. + test "X$arg" = "X-lc" && continue
  45774. + ;;
  45775. + *-*-rhapsody* | *-*-darwin1.[012])
  45776. + # Rhapsody C and math libraries are in the System framework
  45777. + deplibs="$deplibs System.ltframework"
  45778. + continue
  45779. + ;;
  45780. + *-*-sco3.2v5* | *-*-sco5v6*)
  45781. + # Causes problems with __ctype
  45782. + test "X$arg" = "X-lc" && continue
  45783. + ;;
  45784. + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  45785. + # Compiler inserts libc in the correct place for threads to work
  45786. + test "X$arg" = "X-lc" && continue
  45787. + ;;
  45788. + esac
  45789. + elif test "X$arg" = "X-lc_r"; then
  45790. + case $host in
  45791. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  45792. + # Do not include libc_r directly, use -pthread flag.
  45793. + continue
  45794. + ;;
  45795. + esac
  45796. + fi
  45797. + deplibs="$deplibs $arg"
  45798. + continue
  45799. + ;;
  45800. +
  45801. + -module)
  45802. + module=yes
  45803. + continue
  45804. + ;;
  45805. +
  45806. + # Tru64 UNIX uses -model [arg] to determine the layout of C++
  45807. + # classes, name mangling, and exception handling.
  45808. + # Darwin uses the -arch flag to determine output architecture.
  45809. + -model|-arch|-isysroot)
  45810. + compiler_flags="$compiler_flags $arg"
  45811. + func_append compile_command " $arg"
  45812. + func_append finalize_command " $arg"
  45813. + prev=xcompiler
  45814. + continue
  45815. + ;;
  45816. +
  45817. + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  45818. + compiler_flags="$compiler_flags $arg"
  45819. + func_append compile_command " $arg"
  45820. + func_append finalize_command " $arg"
  45821. + case "$new_inherited_linker_flags " in
  45822. + *" $arg "*) ;;
  45823. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
  45824. + esac
  45825. + continue
  45826. + ;;
  45827. +
  45828. + -multi_module)
  45829. + single_module="${wl}-multi_module"
  45830. + continue
  45831. + ;;
  45832. +
  45833. + -no-fast-install)
  45834. + fast_install=no
  45835. + continue
  45836. + ;;
  45837. +
  45838. + -no-install)
  45839. + case $host in
  45840. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
  45841. + # The PATH hackery in wrapper scripts is required on Windows
  45842. + # and Darwin in order for the loader to find any dlls it needs.
  45843. + func_warning "\`-no-install' is ignored for $host"
  45844. + func_warning "assuming \`-no-fast-install' instead"
  45845. + fast_install=no
  45846. + ;;
  45847. + *) no_install=yes ;;
  45848. + esac
  45849. + continue
  45850. + ;;
  45851. +
  45852. + -no-undefined)
  45853. + allow_undefined=no
  45854. + continue
  45855. + ;;
  45856. +
  45857. + -objectlist)
  45858. + prev=objectlist
  45859. + continue
  45860. + ;;
  45861. +
  45862. + -o) prev=output ;;
  45863. +
  45864. + -precious-files-regex)
  45865. + prev=precious_regex
  45866. + continue
  45867. + ;;
  45868. +
  45869. + -release)
  45870. + prev=release
  45871. + continue
  45872. + ;;
  45873. +
  45874. + -rpath)
  45875. + prev=rpath
  45876. + continue
  45877. + ;;
  45878. +
  45879. + -R)
  45880. + prev=xrpath
  45881. + continue
  45882. + ;;
  45883. +
  45884. + -R*)
  45885. + func_stripname '-R' '' "$arg"
  45886. + dir=$func_stripname_result
  45887. + # We need an absolute path.
  45888. + case $dir in
  45889. + [\\/]* | [A-Za-z]:[\\/]*) ;;
  45890. + *)
  45891. + func_fatal_error "only absolute run-paths are allowed"
  45892. + ;;
  45893. + esac
  45894. + case "$xrpath " in
  45895. + *" $dir "*) ;;
  45896. + *) xrpath="$xrpath $dir" ;;
  45897. + esac
  45898. + continue
  45899. + ;;
  45900. +
  45901. + -shared)
  45902. + # The effects of -shared are defined in a previous loop.
  45903. + continue
  45904. + ;;
  45905. +
  45906. + -shrext)
  45907. + prev=shrext
  45908. + continue
  45909. + ;;
  45910. +
  45911. + -static | -static-libtool-libs)
  45912. + # The effects of -static are defined in a previous loop.
  45913. + # We used to do the same as -all-static on platforms that
  45914. + # didn't have a PIC flag, but the assumption that the effects
  45915. + # would be equivalent was wrong. It would break on at least
  45916. + # Digital Unix and AIX.
  45917. + continue
  45918. + ;;
  45919. +
  45920. + -thread-safe)
  45921. + thread_safe=yes
  45922. + continue
  45923. + ;;
  45924. +
  45925. + -version-info)
  45926. + prev=vinfo
  45927. + continue
  45928. + ;;
  45929. +
  45930. + -version-number)
  45931. + prev=vinfo
  45932. + vinfo_number=yes
  45933. + continue
  45934. + ;;
  45935. +
  45936. + -weak)
  45937. + prev=weak
  45938. + continue
  45939. + ;;
  45940. +
  45941. + -Wc,*)
  45942. + func_stripname '-Wc,' '' "$arg"
  45943. + args=$func_stripname_result
  45944. + arg=
  45945. + save_ifs="$IFS"; IFS=','
  45946. + for flag in $args; do
  45947. + IFS="$save_ifs"
  45948. + func_quote_for_eval "$flag"
  45949. + arg="$arg $wl$func_quote_for_eval_result"
  45950. + compiler_flags="$compiler_flags $func_quote_for_eval_result"
  45951. + done
  45952. + IFS="$save_ifs"
  45953. + func_stripname ' ' '' "$arg"
  45954. + arg=$func_stripname_result
  45955. + ;;
  45956. +
  45957. + -Wl,*)
  45958. + func_stripname '-Wl,' '' "$arg"
  45959. + args=$func_stripname_result
  45960. + arg=
  45961. + save_ifs="$IFS"; IFS=','
  45962. + for flag in $args; do
  45963. + IFS="$save_ifs"
  45964. + func_quote_for_eval "$flag"
  45965. + arg="$arg $wl$func_quote_for_eval_result"
  45966. + compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
  45967. + linker_flags="$linker_flags $func_quote_for_eval_result"
  45968. + done
  45969. + IFS="$save_ifs"
  45970. + func_stripname ' ' '' "$arg"
  45971. + arg=$func_stripname_result
  45972. + ;;
  45973. +
  45974. + -Xcompiler)
  45975. + prev=xcompiler
  45976. + continue
  45977. + ;;
  45978. +
  45979. + -Xlinker)
  45980. + prev=xlinker
  45981. + continue
  45982. + ;;
  45983. +
  45984. + -XCClinker)
  45985. + prev=xcclinker
  45986. + continue
  45987. + ;;
  45988. +
  45989. + # -msg_* for osf cc
  45990. + -msg_*)
  45991. + func_quote_for_eval "$arg"
  45992. + arg="$func_quote_for_eval_result"
  45993. + ;;
  45994. +
  45995. + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
  45996. + # -r[0-9][0-9]* specifies the processor on the SGI compiler
  45997. + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
  45998. + # +DA*, +DD* enable 64-bit mode on the HP compiler
  45999. + # -q* pass through compiler args for the IBM compiler
  46000. + # -m*, -t[45]*, -txscale* pass through architecture-specific
  46001. + # compiler args for GCC
  46002. + # -F/path gives path to uninstalled frameworks, gcc on darwin
  46003. + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
  46004. + # @file GCC response files
  46005. + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
  46006. + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
  46007. + func_quote_for_eval "$arg"
  46008. + arg="$func_quote_for_eval_result"
  46009. + func_append compile_command " $arg"
  46010. + func_append finalize_command " $arg"
  46011. + compiler_flags="$compiler_flags $arg"
  46012. + continue
  46013. + ;;
  46014. +
  46015. + # Some other compiler flag.
  46016. + -* | +*)
  46017. + func_quote_for_eval "$arg"
  46018. + arg="$func_quote_for_eval_result"
  46019. + ;;
  46020. +
  46021. + *.$objext)
  46022. + # A standard object.
  46023. + objs="$objs $arg"
  46024. + ;;
  46025. +
  46026. + *.lo)
  46027. + # A libtool-controlled object.
  46028. +
  46029. + # Check to see that this really is a libtool object.
  46030. + if func_lalib_unsafe_p "$arg"; then
  46031. + pic_object=
  46032. + non_pic_object=
  46033. +
  46034. + # Read the .lo file
  46035. + func_source "$arg"
  46036. +
  46037. + if test -z "$pic_object" ||
  46038. + test -z "$non_pic_object" ||
  46039. + test "$pic_object" = none &&
  46040. + test "$non_pic_object" = none; then
  46041. + func_fatal_error "cannot find name of object for \`$arg'"
  46042. + fi
  46043. +
  46044. + # Extract subdirectory from the argument.
  46045. + func_dirname "$arg" "/" ""
  46046. + xdir="$func_dirname_result"
  46047. +
  46048. + if test "$pic_object" != none; then
  46049. + # Prepend the subdirectory the object is found in.
  46050. + pic_object="$xdir$pic_object"
  46051. +
  46052. + if test "$prev" = dlfiles; then
  46053. + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  46054. + dlfiles="$dlfiles $pic_object"
  46055. + prev=
  46056. + continue
  46057. + else
  46058. + # If libtool objects are unsupported, then we need to preload.
  46059. + prev=dlprefiles
  46060. + fi
  46061. + fi
  46062. +
  46063. + # CHECK ME: I think I busted this. -Ossama
  46064. + if test "$prev" = dlprefiles; then
  46065. + # Preload the old-style object.
  46066. + dlprefiles="$dlprefiles $pic_object"
  46067. + prev=
  46068. + fi
  46069. +
  46070. + # A PIC object.
  46071. + func_append libobjs " $pic_object"
  46072. + arg="$pic_object"
  46073. + fi
  46074. +
  46075. + # Non-PIC object.
  46076. + if test "$non_pic_object" != none; then
  46077. + # Prepend the subdirectory the object is found in.
  46078. + non_pic_object="$xdir$non_pic_object"
  46079. +
  46080. + # A standard non-PIC object
  46081. + func_append non_pic_objects " $non_pic_object"
  46082. + if test -z "$pic_object" || test "$pic_object" = none ; then
  46083. + arg="$non_pic_object"
  46084. + fi
  46085. + else
  46086. + # If the PIC object exists, use it instead.
  46087. + # $xdir was prepended to $pic_object above.
  46088. + non_pic_object="$pic_object"
  46089. + func_append non_pic_objects " $non_pic_object"
  46090. + fi
  46091. + else
  46092. + # Only an error if not doing a dry-run.
  46093. + if $opt_dry_run; then
  46094. + # Extract subdirectory from the argument.
  46095. + func_dirname "$arg" "/" ""
  46096. + xdir="$func_dirname_result"
  46097. +
  46098. + func_lo2o "$arg"
  46099. + pic_object=$xdir$objdir/$func_lo2o_result
  46100. + non_pic_object=$xdir$func_lo2o_result
  46101. + func_append libobjs " $pic_object"
  46102. + func_append non_pic_objects " $non_pic_object"
  46103. + else
  46104. + func_fatal_error "\`$arg' is not a valid libtool object"
  46105. + fi
  46106. + fi
  46107. + ;;
  46108. +
  46109. + *.$libext)
  46110. + # An archive.
  46111. + deplibs="$deplibs $arg"
  46112. + old_deplibs="$old_deplibs $arg"
  46113. + continue
  46114. + ;;
  46115. +
  46116. + *.la)
  46117. + # A libtool-controlled library.
  46118. +
  46119. + if test "$prev" = dlfiles; then
  46120. + # This library was specified with -dlopen.
  46121. + dlfiles="$dlfiles $arg"
  46122. + prev=
  46123. + elif test "$prev" = dlprefiles; then
  46124. + # The library was specified with -dlpreopen.
  46125. + dlprefiles="$dlprefiles $arg"
  46126. + prev=
  46127. + else
  46128. + deplibs="$deplibs $arg"
  46129. + fi
  46130. + continue
  46131. + ;;
  46132. +
  46133. + # Some other compiler argument.
  46134. + *)
  46135. + # Unknown arguments in both finalize_command and compile_command need
  46136. + # to be aesthetically quoted because they are evaled later.
  46137. + func_quote_for_eval "$arg"
  46138. + arg="$func_quote_for_eval_result"
  46139. + ;;
  46140. + esac # arg
  46141. +
  46142. + # Now actually substitute the argument into the commands.
  46143. + if test -n "$arg"; then
  46144. + func_append compile_command " $arg"
  46145. + func_append finalize_command " $arg"
  46146. + fi
  46147. + done # argument parsing loop
  46148. +
  46149. + test -n "$prev" && \
  46150. + func_fatal_help "the \`$prevarg' option requires an argument"
  46151. +
  46152. + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
  46153. + eval arg=\"$export_dynamic_flag_spec\"
  46154. + func_append compile_command " $arg"
  46155. + func_append finalize_command " $arg"
  46156. + fi
  46157. +
  46158. + oldlibs=
  46159. + # calculate the name of the file, without its directory
  46160. + func_basename "$output"
  46161. + outputname="$func_basename_result"
  46162. + libobjs_save="$libobjs"
  46163. +
  46164. + if test -n "$shlibpath_var"; then
  46165. + # get the directories listed in $shlibpath_var
  46166. + eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  46167. + else
  46168. + shlib_search_path=
  46169. + fi
  46170. + eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
  46171. + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
  46172. +
  46173. + func_dirname "$output" "/" ""
  46174. + output_objdir="$func_dirname_result$objdir"
  46175. + # Create the object directory.
  46176. + func_mkdir_p "$output_objdir"
  46177. +
  46178. + # Determine the type of output
  46179. + case $output in
  46180. + "")
  46181. + func_fatal_help "you must specify an output file"
  46182. + ;;
  46183. + *.$libext) linkmode=oldlib ;;
  46184. + *.lo | *.$objext) linkmode=obj ;;
  46185. + *.la) linkmode=lib ;;
  46186. + *) linkmode=prog ;; # Anything else should be a program.
  46187. + esac
  46188. +
  46189. + specialdeplibs=
  46190. +
  46191. + libs=
  46192. + # Find all interdependent deplibs by searching for libraries
  46193. + # that are linked more than once (e.g. -la -lb -la)
  46194. + for deplib in $deplibs; do
  46195. + if $opt_duplicate_deps ; then
  46196. + case "$libs " in
  46197. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  46198. + esac
  46199. + fi
  46200. + libs="$libs $deplib"
  46201. + done
  46202. +
  46203. + if test "$linkmode" = lib; then
  46204. + libs="$predeps $libs $compiler_lib_search_path $postdeps"
  46205. +
  46206. + # Compute libraries that are listed more than once in $predeps
  46207. + # $postdeps and mark them as special (i.e., whose duplicates are
  46208. + # not to be eliminated).
  46209. + pre_post_deps=
  46210. + if $opt_duplicate_compiler_generated_deps; then
  46211. + for pre_post_dep in $predeps $postdeps; do
  46212. + case "$pre_post_deps " in
  46213. + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
  46214. + esac
  46215. + pre_post_deps="$pre_post_deps $pre_post_dep"
  46216. + done
  46217. + fi
  46218. + pre_post_deps=
  46219. + fi
  46220. +
  46221. + deplibs=
  46222. + newdependency_libs=
  46223. + newlib_search_path=
  46224. + need_relink=no # whether we're linking any uninstalled libtool libraries
  46225. + notinst_deplibs= # not-installed libtool libraries
  46226. + notinst_path= # paths that contain not-installed libtool libraries
  46227. +
  46228. + case $linkmode in
  46229. + lib)
  46230. + passes="conv dlpreopen link"
  46231. + for file in $dlfiles $dlprefiles; do
  46232. + case $file in
  46233. + *.la) ;;
  46234. + *)
  46235. + func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
  46236. + ;;
  46237. + esac
  46238. + done
  46239. + ;;
  46240. + prog)
  46241. + compile_deplibs=
  46242. + finalize_deplibs=
  46243. + alldeplibs=no
  46244. + newdlfiles=
  46245. + newdlprefiles=
  46246. + passes="conv scan dlopen dlpreopen link"
  46247. + ;;
  46248. + *) passes="conv"
  46249. + ;;
  46250. + esac
  46251. +
  46252. + for pass in $passes; do
  46253. + # The preopen pass in lib mode reverses $deplibs; put it back here
  46254. + # so that -L comes before libs that need it for instance...
  46255. + if test "$linkmode,$pass" = "lib,link"; then
  46256. + ## FIXME: Find the place where the list is rebuilt in the wrong
  46257. + ## order, and fix it there properly
  46258. + tmp_deplibs=
  46259. + for deplib in $deplibs; do
  46260. + tmp_deplibs="$deplib $tmp_deplibs"
  46261. + done
  46262. + deplibs="$tmp_deplibs"
  46263. + fi
  46264. +
  46265. + if test "$linkmode,$pass" = "lib,link" ||
  46266. + test "$linkmode,$pass" = "prog,scan"; then
  46267. + libs="$deplibs"
  46268. + deplibs=
  46269. + fi
  46270. + if test "$linkmode" = prog; then
  46271. + case $pass in
  46272. + dlopen) libs="$dlfiles" ;;
  46273. + dlpreopen) libs="$dlprefiles" ;;
  46274. + link)
  46275. + libs="$deplibs %DEPLIBS%"
  46276. + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
  46277. + ;;
  46278. + esac
  46279. + fi
  46280. + if test "$linkmode,$pass" = "lib,dlpreopen"; then
  46281. + # Collect and forward deplibs of preopened libtool libs
  46282. + for lib in $dlprefiles; do
  46283. + # Ignore non-libtool-libs
  46284. + dependency_libs=
  46285. + case $lib in
  46286. + *.la) func_source "$lib" ;;
  46287. + esac
  46288. +
  46289. + # Collect preopened libtool deplibs, except any this library
  46290. + # has declared as weak libs
  46291. + for deplib in $dependency_libs; do
  46292. + deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
  46293. + case " $weak_libs " in
  46294. + *" $deplib_base "*) ;;
  46295. + *) deplibs="$deplibs $deplib" ;;
  46296. + esac
  46297. + done
  46298. + done
  46299. + libs="$dlprefiles"
  46300. + fi
  46301. + if test "$pass" = dlopen; then
  46302. + # Collect dlpreopened libraries
  46303. + save_deplibs="$deplibs"
  46304. + deplibs=
  46305. + fi
  46306. +
  46307. + for deplib in $libs; do
  46308. + lib=
  46309. + found=no
  46310. + case $deplib in
  46311. + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  46312. + if test "$linkmode,$pass" = "prog,link"; then
  46313. + compile_deplibs="$deplib $compile_deplibs"
  46314. + finalize_deplibs="$deplib $finalize_deplibs"
  46315. + else
  46316. + compiler_flags="$compiler_flags $deplib"
  46317. + if test "$linkmode" = lib ; then
  46318. + case "$new_inherited_linker_flags " in
  46319. + *" $deplib "*) ;;
  46320. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  46321. + esac
  46322. + fi
  46323. + fi
  46324. + continue
  46325. + ;;
  46326. + -l*)
  46327. + if test "$linkmode" != lib && test "$linkmode" != prog; then
  46328. + func_warning "\`-l' is ignored for archives/objects"
  46329. + continue
  46330. + fi
  46331. + func_stripname '-l' '' "$deplib"
  46332. + name=$func_stripname_result
  46333. + if test "$linkmode" = lib; then
  46334. + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
  46335. + else
  46336. + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
  46337. + fi
  46338. + for searchdir in $searchdirs; do
  46339. + for search_ext in .la $std_shrext .so .a; do
  46340. + # Search the libtool library
  46341. + lib="$searchdir/lib${name}${search_ext}"
  46342. + if test -f "$lib"; then
  46343. + if test "$search_ext" = ".la"; then
  46344. + found=yes
  46345. + else
  46346. + found=no
  46347. + fi
  46348. + break 2
  46349. + fi
  46350. + done
  46351. + done
  46352. + if test "$found" != yes; then
  46353. + # deplib doesn't seem to be a libtool library
  46354. + if test "$linkmode,$pass" = "prog,link"; then
  46355. + compile_deplibs="$deplib $compile_deplibs"
  46356. + finalize_deplibs="$deplib $finalize_deplibs"
  46357. + else
  46358. + deplibs="$deplib $deplibs"
  46359. + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  46360. + fi
  46361. + continue
  46362. + else # deplib is a libtool library
  46363. + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
  46364. + # We need to do some special things here, and not later.
  46365. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  46366. + case " $predeps $postdeps " in
  46367. + *" $deplib "*)
  46368. + if func_lalib_p "$lib"; then
  46369. + library_names=
  46370. + old_library=
  46371. + func_source "$lib"
  46372. + for l in $old_library $library_names; do
  46373. + ll="$l"
  46374. + done
  46375. + if test "X$ll" = "X$old_library" ; then # only static version available
  46376. + found=no
  46377. + func_dirname "$lib" "" "."
  46378. + ladir="$func_dirname_result"
  46379. + lib=$ladir/$old_library
  46380. + if test "$linkmode,$pass" = "prog,link"; then
  46381. + compile_deplibs="$deplib $compile_deplibs"
  46382. + finalize_deplibs="$deplib $finalize_deplibs"
  46383. + else
  46384. + deplibs="$deplib $deplibs"
  46385. + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
  46386. + fi
  46387. + continue
  46388. + fi
  46389. + fi
  46390. + ;;
  46391. + *) ;;
  46392. + esac
  46393. + fi
  46394. + fi
  46395. + ;; # -l
  46396. + *.ltframework)
  46397. + if test "$linkmode,$pass" = "prog,link"; then
  46398. + compile_deplibs="$deplib $compile_deplibs"
  46399. + finalize_deplibs="$deplib $finalize_deplibs"
  46400. + else
  46401. + deplibs="$deplib $deplibs"
  46402. + if test "$linkmode" = lib ; then
  46403. + case "$new_inherited_linker_flags " in
  46404. + *" $deplib "*) ;;
  46405. + * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  46406. + esac
  46407. + fi
  46408. + fi
  46409. + continue
  46410. + ;;
  46411. + -L*)
  46412. + case $linkmode in
  46413. + lib)
  46414. + deplibs="$deplib $deplibs"
  46415. + test "$pass" = conv && continue
  46416. + newdependency_libs="$deplib $newdependency_libs"
  46417. + func_stripname '-L' '' "$deplib"
  46418. + newlib_search_path="$newlib_search_path $func_stripname_result"
  46419. + ;;
  46420. + prog)
  46421. + if test "$pass" = conv; then
  46422. + deplibs="$deplib $deplibs"
  46423. + continue
  46424. + fi
  46425. + if test "$pass" = scan; then
  46426. + deplibs="$deplib $deplibs"
  46427. + else
  46428. + compile_deplibs="$deplib $compile_deplibs"
  46429. + finalize_deplibs="$deplib $finalize_deplibs"
  46430. + fi
  46431. + func_stripname '-L' '' "$deplib"
  46432. + newlib_search_path="$newlib_search_path $func_stripname_result"
  46433. + ;;
  46434. + *)
  46435. + func_warning "\`-L' is ignored for archives/objects"
  46436. + ;;
  46437. + esac # linkmode
  46438. + continue
  46439. + ;; # -L
  46440. + -R*)
  46441. + if test "$pass" = link; then
  46442. + func_stripname '-R' '' "$deplib"
  46443. + dir=$func_stripname_result
  46444. + # Make sure the xrpath contains only unique directories.
  46445. + case "$xrpath " in
  46446. + *" $dir "*) ;;
  46447. + *) xrpath="$xrpath $dir" ;;
  46448. + esac
  46449. + fi
  46450. + deplibs="$deplib $deplibs"
  46451. + continue
  46452. + ;;
  46453. + *.la) lib="$deplib" ;;
  46454. + *.$libext)
  46455. + if test "$pass" = conv; then
  46456. + deplibs="$deplib $deplibs"
  46457. + continue
  46458. + fi
  46459. + case $linkmode in
  46460. + lib)
  46461. + # Linking convenience modules into shared libraries is allowed,
  46462. + # but linking other static libraries is non-portable.
  46463. + case " $dlpreconveniencelibs " in
  46464. + *" $deplib "*) ;;
  46465. + *)
  46466. + valid_a_lib=no
  46467. + case $deplibs_check_method in
  46468. + match_pattern*)
  46469. + set dummy $deplibs_check_method; shift
  46470. + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  46471. + if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
  46472. + | $EGREP "$match_pattern_regex" > /dev/null; then
  46473. + valid_a_lib=yes
  46474. + fi
  46475. + ;;
  46476. + pass_all)
  46477. + valid_a_lib=yes
  46478. + ;;
  46479. + esac
  46480. + if test "$valid_a_lib" != yes; then
  46481. + $ECHO
  46482. + $ECHO "*** Warning: Trying to link with static lib archive $deplib."
  46483. + $ECHO "*** I have the capability to make that library automatically link in when"
  46484. + $ECHO "*** you link to this library. But I can only do this if you have a"
  46485. + $ECHO "*** shared version of the library, which you do not appear to have"
  46486. + $ECHO "*** because the file extensions .$libext of this argument makes me believe"
  46487. + $ECHO "*** that it is just a static archive that I should not use here."
  46488. + else
  46489. + $ECHO
  46490. + $ECHO "*** Warning: Linking the shared library $output against the"
  46491. + $ECHO "*** static library $deplib is not portable!"
  46492. + deplibs="$deplib $deplibs"
  46493. + fi
  46494. + ;;
  46495. + esac
  46496. + continue
  46497. + ;;
  46498. + prog)
  46499. + if test "$pass" != link; then
  46500. + deplibs="$deplib $deplibs"
  46501. + else
  46502. + compile_deplibs="$deplib $compile_deplibs"
  46503. + finalize_deplibs="$deplib $finalize_deplibs"
  46504. + fi
  46505. + continue
  46506. + ;;
  46507. + esac # linkmode
  46508. + ;; # *.$libext
  46509. + *.lo | *.$objext)
  46510. + if test "$pass" = conv; then
  46511. + deplibs="$deplib $deplibs"
  46512. + elif test "$linkmode" = prog; then
  46513. + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  46514. + # If there is no dlopen support or we're linking statically,
  46515. + # we need to preload.
  46516. + newdlprefiles="$newdlprefiles $deplib"
  46517. + compile_deplibs="$deplib $compile_deplibs"
  46518. + finalize_deplibs="$deplib $finalize_deplibs"
  46519. + else
  46520. + newdlfiles="$newdlfiles $deplib"
  46521. + fi
  46522. + fi
  46523. + continue
  46524. + ;;
  46525. + %DEPLIBS%)
  46526. + alldeplibs=yes
  46527. + continue
  46528. + ;;
  46529. + esac # case $deplib
  46530. +
  46531. + if test "$found" = yes || test -f "$lib"; then :
  46532. + else
  46533. + func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'"
  46534. + fi
  46535. +
  46536. + # Check to see that this really is a libtool archive.
  46537. + func_lalib_unsafe_p "$lib" \
  46538. + || func_fatal_error "\`$lib' is not a valid libtool archive"
  46539. +
  46540. + func_dirname "$lib" "" "."
  46541. + ladir="$func_dirname_result"
  46542. +
  46543. + dlname=
  46544. + dlopen=
  46545. + dlpreopen=
  46546. + libdir=
  46547. + library_names=
  46548. + old_library=
  46549. + inherited_linker_flags=
  46550. + # If the library was installed with an old release of libtool,
  46551. + # it will not redefine variables installed, or shouldnotlink
  46552. + installed=yes
  46553. + shouldnotlink=no
  46554. + avoidtemprpath=
  46555. +
  46556. +
  46557. + # Read the .la file
  46558. + func_source "$lib"
  46559. +
  46560. + # Convert "-framework foo" to "foo.ltframework"
  46561. + if test -n "$inherited_linker_flags"; then
  46562. + tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
  46563. + for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
  46564. + case " $new_inherited_linker_flags " in
  46565. + *" $tmp_inherited_linker_flag "*) ;;
  46566. + *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
  46567. + esac
  46568. + done
  46569. + fi
  46570. + dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  46571. + if test "$linkmode,$pass" = "lib,link" ||
  46572. + test "$linkmode,$pass" = "prog,scan" ||
  46573. + { test "$linkmode" != prog && test "$linkmode" != lib; }; then
  46574. + test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
  46575. + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
  46576. + fi
  46577. +
  46578. + if test "$pass" = conv; then
  46579. + # Only check for convenience libraries
  46580. + deplibs="$lib $deplibs"
  46581. + if test -z "$libdir"; then
  46582. + if test -z "$old_library"; then
  46583. + func_fatal_error "cannot find name of link library for \`$lib'"
  46584. + fi
  46585. + # It is a libtool convenience library, so add in its objects.
  46586. + convenience="$convenience $ladir/$objdir/$old_library"
  46587. + old_convenience="$old_convenience $ladir/$objdir/$old_library"
  46588. + tmp_libs=
  46589. + for deplib in $dependency_libs; do
  46590. + deplibs="$deplib $deplibs"
  46591. + if $opt_duplicate_deps ; then
  46592. + case "$tmp_libs " in
  46593. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  46594. + esac
  46595. + fi
  46596. + tmp_libs="$tmp_libs $deplib"
  46597. + done
  46598. + elif test "$linkmode" != prog && test "$linkmode" != lib; then
  46599. + func_fatal_error "\`$lib' is not a convenience library"
  46600. + fi
  46601. + continue
  46602. + fi # $pass = conv
  46603. +
  46604. +
  46605. + # Get the name of the library we link against.
  46606. + linklib=
  46607. + for l in $old_library $library_names; do
  46608. + linklib="$l"
  46609. + done
  46610. + if test -z "$linklib"; then
  46611. + func_fatal_error "cannot find name of link library for \`$lib'"
  46612. + fi
  46613. +
  46614. + # This library was specified with -dlopen.
  46615. + if test "$pass" = dlopen; then
  46616. + if test -z "$libdir"; then
  46617. + func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
  46618. + fi
  46619. + if test -z "$dlname" ||
  46620. + test "$dlopen_support" != yes ||
  46621. + test "$build_libtool_libs" = no; then
  46622. + # If there is no dlname, no dlopen support or we're linking
  46623. + # statically, we need to preload. We also need to preload any
  46624. + # dependent libraries so libltdl's deplib preloader doesn't
  46625. + # bomb out in the load deplibs phase.
  46626. + dlprefiles="$dlprefiles $lib $dependency_libs"
  46627. + else
  46628. + newdlfiles="$newdlfiles $lib"
  46629. + fi
  46630. + continue
  46631. + fi # $pass = dlopen
  46632. +
  46633. + # We need an absolute path.
  46634. + case $ladir in
  46635. + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
  46636. + *)
  46637. + abs_ladir=`cd "$ladir" && pwd`
  46638. + if test -z "$abs_ladir"; then
  46639. + func_warning "cannot determine absolute directory name of \`$ladir'"
  46640. + func_warning "passing it literally to the linker, although it might fail"
  46641. + abs_ladir="$ladir"
  46642. + fi
  46643. + ;;
  46644. + esac
  46645. + func_basename "$lib"
  46646. + laname="$func_basename_result"
  46647. +
  46648. + # Find the relevant object directory and library name.
  46649. + if test "X$installed" = Xyes; then
  46650. + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  46651. + func_warning "library \`$lib' was moved."
  46652. + dir="$ladir"
  46653. + absdir="$abs_ladir"
  46654. + libdir="$abs_ladir"
  46655. + else
  46656. + dir="$libdir"
  46657. + absdir="$libdir"
  46658. + fi
  46659. + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
  46660. + else
  46661. + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
  46662. + dir="$ladir"
  46663. + absdir="$abs_ladir"
  46664. + # Remove this search path later
  46665. + notinst_path="$notinst_path $abs_ladir"
  46666. + else
  46667. + dir="$ladir/$objdir"
  46668. + absdir="$abs_ladir/$objdir"
  46669. + # Remove this search path later
  46670. + notinst_path="$notinst_path $abs_ladir"
  46671. + fi
  46672. + fi # $installed = yes
  46673. + func_stripname 'lib' '.la' "$laname"
  46674. + name=$func_stripname_result
  46675. +
  46676. + # This library was specified with -dlpreopen.
  46677. + if test "$pass" = dlpreopen; then
  46678. + if test -z "$libdir" && test "$linkmode" = prog; then
  46679. + func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
  46680. + fi
  46681. + # Prefer using a static library (so that no silly _DYNAMIC symbols
  46682. + # are required to link).
  46683. + if test -n "$old_library"; then
  46684. + newdlprefiles="$newdlprefiles $dir/$old_library"
  46685. + # Keep a list of preopened convenience libraries to check
  46686. + # that they are being used correctly in the link pass.
  46687. + test -z "$libdir" && \
  46688. + dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
  46689. + # Otherwise, use the dlname, so that lt_dlopen finds it.
  46690. + elif test -n "$dlname"; then
  46691. + newdlprefiles="$newdlprefiles $dir/$dlname"
  46692. + else
  46693. + newdlprefiles="$newdlprefiles $dir/$linklib"
  46694. + fi
  46695. + fi # $pass = dlpreopen
  46696. +
  46697. + if test -z "$libdir"; then
  46698. + # Link the convenience library
  46699. + if test "$linkmode" = lib; then
  46700. + deplibs="$dir/$old_library $deplibs"
  46701. + elif test "$linkmode,$pass" = "prog,link"; then
  46702. + compile_deplibs="$dir/$old_library $compile_deplibs"
  46703. + finalize_deplibs="$dir/$old_library $finalize_deplibs"
  46704. + else
  46705. + deplibs="$lib $deplibs" # used for prog,scan pass
  46706. + fi
  46707. + continue
  46708. + fi
  46709. +
  46710. +
  46711. + if test "$linkmode" = prog && test "$pass" != link; then
  46712. + newlib_search_path="$newlib_search_path $ladir"
  46713. + deplibs="$lib $deplibs"
  46714. +
  46715. + linkalldeplibs=no
  46716. + if test "$link_all_deplibs" != no || test -z "$library_names" ||
  46717. + test "$build_libtool_libs" = no; then
  46718. + linkalldeplibs=yes
  46719. + fi
  46720. +
  46721. + tmp_libs=
  46722. + for deplib in $dependency_libs; do
  46723. + case $deplib in
  46724. + -L*) func_stripname '-L' '' "$deplib"
  46725. + newlib_search_path="$newlib_search_path $func_stripname_result"
  46726. + ;;
  46727. + esac
  46728. + # Need to link against all dependency_libs?
  46729. + if test "$linkalldeplibs" = yes; then
  46730. + deplibs="$deplib $deplibs"
  46731. + else
  46732. + # Need to hardcode shared library paths
  46733. + # or/and link against static libraries
  46734. + newdependency_libs="$deplib $newdependency_libs"
  46735. + fi
  46736. + if $opt_duplicate_deps ; then
  46737. + case "$tmp_libs " in
  46738. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  46739. + esac
  46740. + fi
  46741. + tmp_libs="$tmp_libs $deplib"
  46742. + done # for deplib
  46743. + continue
  46744. + fi # $linkmode = prog...
  46745. +
  46746. + if test "$linkmode,$pass" = "prog,link"; then
  46747. + if test -n "$library_names" &&
  46748. + { { test "$prefer_static_libs" = no ||
  46749. + test "$prefer_static_libs,$installed" = "built,yes"; } ||
  46750. + test -z "$old_library"; }; then
  46751. + # We need to hardcode the library path
  46752. + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
  46753. + # Make sure the rpath contains only unique directories.
  46754. + case "$temp_rpath:" in
  46755. + *"$absdir:"*) ;;
  46756. + *) temp_rpath="$temp_rpath$absdir:" ;;
  46757. + esac
  46758. + fi
  46759. +
  46760. + # Hardcode the library path.
  46761. + # Skip directories that are in the system default run-time
  46762. + # search path.
  46763. + case " $sys_lib_dlsearch_path " in
  46764. + *" $absdir "*) ;;
  46765. + *)
  46766. + case "$compile_rpath " in
  46767. + *" $absdir "*) ;;
  46768. + *) compile_rpath="$compile_rpath $absdir"
  46769. + esac
  46770. + ;;
  46771. + esac
  46772. + case " $sys_lib_dlsearch_path " in
  46773. + *" $libdir "*) ;;
  46774. + *)
  46775. + case "$finalize_rpath " in
  46776. + *" $libdir "*) ;;
  46777. + *) finalize_rpath="$finalize_rpath $libdir"
  46778. + esac
  46779. + ;;
  46780. + esac
  46781. + fi # $linkmode,$pass = prog,link...
  46782. +
  46783. + if test "$alldeplibs" = yes &&
  46784. + { test "$deplibs_check_method" = pass_all ||
  46785. + { test "$build_libtool_libs" = yes &&
  46786. + test -n "$library_names"; }; }; then
  46787. + # We only need to search for static libraries
  46788. + continue
  46789. + fi
  46790. + fi
  46791. +
  46792. + link_static=no # Whether the deplib will be linked statically
  46793. + use_static_libs=$prefer_static_libs
  46794. + if test "$use_static_libs" = built && test "$installed" = yes; then
  46795. + use_static_libs=no
  46796. + fi
  46797. + if test -n "$library_names" &&
  46798. + { test "$use_static_libs" = no || test -z "$old_library"; }; then
  46799. + case $host in
  46800. + *cygwin* | *mingw* | *cegcc*)
  46801. + # No point in relinking DLLs because paths are not encoded
  46802. + notinst_deplibs="$notinst_deplibs $lib"
  46803. + need_relink=no
  46804. + ;;
  46805. + *)
  46806. + if test "$installed" = no; then
  46807. + notinst_deplibs="$notinst_deplibs $lib"
  46808. + need_relink=yes
  46809. + fi
  46810. + ;;
  46811. + esac
  46812. + # This is a shared library
  46813. +
  46814. + # Warn about portability, can't link against -module's on some
  46815. + # systems (darwin). Don't bleat about dlopened modules though!
  46816. + dlopenmodule=""
  46817. + for dlpremoduletest in $dlprefiles; do
  46818. + if test "X$dlpremoduletest" = "X$lib"; then
  46819. + dlopenmodule="$dlpremoduletest"
  46820. + break
  46821. + fi
  46822. + done
  46823. + if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
  46824. + $ECHO
  46825. + if test "$linkmode" = prog; then
  46826. + $ECHO "*** Warning: Linking the executable $output against the loadable module"
  46827. + else
  46828. + $ECHO "*** Warning: Linking the shared library $output against the loadable module"
  46829. + fi
  46830. + $ECHO "*** $linklib is not portable!"
  46831. + fi
  46832. + if test "$linkmode" = lib &&
  46833. + test "$hardcode_into_libs" = yes; then
  46834. + # Hardcode the library path.
  46835. + # Skip directories that are in the system default run-time
  46836. + # search path.
  46837. + case " $sys_lib_dlsearch_path " in
  46838. + *" $absdir "*) ;;
  46839. + *)
  46840. + case "$compile_rpath " in
  46841. + *" $absdir "*) ;;
  46842. + *) compile_rpath="$compile_rpath $absdir"
  46843. + esac
  46844. + ;;
  46845. + esac
  46846. + case " $sys_lib_dlsearch_path " in
  46847. + *" $libdir "*) ;;
  46848. + *)
  46849. + case "$finalize_rpath " in
  46850. + *" $libdir "*) ;;
  46851. + *) finalize_rpath="$finalize_rpath $libdir"
  46852. + esac
  46853. + ;;
  46854. + esac
  46855. + fi
  46856. +
  46857. + if test -n "$old_archive_from_expsyms_cmds"; then
  46858. + # figure out the soname
  46859. + set dummy $library_names
  46860. + shift
  46861. + realname="$1"
  46862. + shift
  46863. + libname=`eval "\\$ECHO \"$libname_spec\""`
  46864. + # use dlname if we got it. it's perfectly good, no?
  46865. + if test -n "$dlname"; then
  46866. + soname="$dlname"
  46867. + elif test -n "$soname_spec"; then
  46868. + # bleh windows
  46869. + case $host in
  46870. + *cygwin* | mingw* | *cegcc*)
  46871. + func_arith $current - $age
  46872. + major=$func_arith_result
  46873. + versuffix="-$major"
  46874. + ;;
  46875. + esac
  46876. + eval soname=\"$soname_spec\"
  46877. + else
  46878. + soname="$realname"
  46879. + fi
  46880. +
  46881. + # Make a new name for the extract_expsyms_cmds to use
  46882. + soroot="$soname"
  46883. + func_basename "$soroot"
  46884. + soname="$func_basename_result"
  46885. + func_stripname 'lib' '.dll' "$soname"
  46886. + newlib=libimp-$func_stripname_result.a
  46887. +
  46888. + # If the library has no export list, then create one now
  46889. + if test -f "$output_objdir/$soname-def"; then :
  46890. + else
  46891. + func_verbose "extracting exported symbol list from \`$soname'"
  46892. + func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
  46893. + fi
  46894. +
  46895. + # Create $newlib
  46896. + if test -f "$output_objdir/$newlib"; then :; else
  46897. + func_verbose "generating import library for \`$soname'"
  46898. + func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
  46899. + fi
  46900. + # make sure the library variables are pointing to the new library
  46901. + dir=$output_objdir
  46902. + linklib=$newlib
  46903. + fi # test -n "$old_archive_from_expsyms_cmds"
  46904. +
  46905. + if test "$linkmode" = prog || test "$mode" != relink; then
  46906. + add_shlibpath=
  46907. + add_dir=
  46908. + add=
  46909. + lib_linked=yes
  46910. + case $hardcode_action in
  46911. + immediate | unsupported)
  46912. + if test "$hardcode_direct" = no; then
  46913. + add="$dir/$linklib"
  46914. + case $host in
  46915. + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
  46916. + *-*-sysv4*uw2*) add_dir="-L$dir" ;;
  46917. + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
  46918. + *-*-unixware7*) add_dir="-L$dir" ;;
  46919. + *-*-darwin* )
  46920. + # if the lib is a (non-dlopened) module then we can not
  46921. + # link against it, someone is ignoring the earlier warnings
  46922. + if /usr/bin/file -L $add 2> /dev/null |
  46923. + $GREP ": [^:]* bundle" >/dev/null ; then
  46924. + if test "X$dlopenmodule" != "X$lib"; then
  46925. + $ECHO "*** Warning: lib $linklib is a module, not a shared library"
  46926. + if test -z "$old_library" ; then
  46927. + $ECHO
  46928. + $ECHO "*** And there doesn't seem to be a static archive available"
  46929. + $ECHO "*** The link will probably fail, sorry"
  46930. + else
  46931. + add="$dir/$old_library"
  46932. + fi
  46933. + elif test -n "$old_library"; then
  46934. + add="$dir/$old_library"
  46935. + fi
  46936. + fi
  46937. + esac
  46938. + elif test "$hardcode_minus_L" = no; then
  46939. + case $host in
  46940. + *-*-sunos*) add_shlibpath="$dir" ;;
  46941. + esac
  46942. + add_dir="-L$dir"
  46943. + add="-l$name"
  46944. + elif test "$hardcode_shlibpath_var" = no; then
  46945. + add_shlibpath="$dir"
  46946. + add="-l$name"
  46947. + else
  46948. + lib_linked=no
  46949. + fi
  46950. + ;;
  46951. + relink)
  46952. + if test "$hardcode_direct" = yes &&
  46953. + test "$hardcode_direct_absolute" = no; then
  46954. + add="$dir/$linklib"
  46955. + elif test "$hardcode_minus_L" = yes; then
  46956. + add_dir="-L$dir"
  46957. + # Try looking first in the location we're being installed to.
  46958. + if test -n "$inst_prefix_dir"; then
  46959. + case $libdir in
  46960. + [\\/]*)
  46961. + add_dir="$add_dir -L$inst_prefix_dir$libdir"
  46962. + ;;
  46963. + esac
  46964. + fi
  46965. + add="-l$name"
  46966. + elif test "$hardcode_shlibpath_var" = yes; then
  46967. + add_shlibpath="$dir"
  46968. + add="-l$name"
  46969. + else
  46970. + lib_linked=no
  46971. + fi
  46972. + ;;
  46973. + *) lib_linked=no ;;
  46974. + esac
  46975. +
  46976. + if test "$lib_linked" != yes; then
  46977. + func_fatal_configuration "unsupported hardcode properties"
  46978. + fi
  46979. +
  46980. + if test -n "$add_shlibpath"; then
  46981. + case :$compile_shlibpath: in
  46982. + *":$add_shlibpath:"*) ;;
  46983. + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
  46984. + esac
  46985. + fi
  46986. + if test "$linkmode" = prog; then
  46987. + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
  46988. + test -n "$add" && compile_deplibs="$add $compile_deplibs"
  46989. + else
  46990. + test -n "$add_dir" && deplibs="$add_dir $deplibs"
  46991. + test -n "$add" && deplibs="$add $deplibs"
  46992. + if test "$hardcode_direct" != yes &&
  46993. + test "$hardcode_minus_L" != yes &&
  46994. + test "$hardcode_shlibpath_var" = yes; then
  46995. + case :$finalize_shlibpath: in
  46996. + *":$libdir:"*) ;;
  46997. + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  46998. + esac
  46999. + fi
  47000. + fi
  47001. + fi
  47002. +
  47003. + if test "$linkmode" = prog || test "$mode" = relink; then
  47004. + add_shlibpath=
  47005. + add_dir=
  47006. + add=
  47007. + # Finalize command for both is simple: just hardcode it.
  47008. + if test "$hardcode_direct" = yes &&
  47009. + test "$hardcode_direct_absolute" = no; then
  47010. + add="$libdir/$linklib"
  47011. + elif test "$hardcode_minus_L" = yes; then
  47012. + add_dir="-L$libdir"
  47013. + add="-l$name"
  47014. + elif test "$hardcode_shlibpath_var" = yes; then
  47015. + case :$finalize_shlibpath: in
  47016. + *":$libdir:"*) ;;
  47017. + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  47018. + esac
  47019. + add="-l$name"
  47020. + elif test "$hardcode_automatic" = yes; then
  47021. + if test -n "$inst_prefix_dir" &&
  47022. + test -f "$inst_prefix_dir$libdir/$linklib" ; then
  47023. + add="$inst_prefix_dir$libdir/$linklib"
  47024. + else
  47025. + add="$libdir/$linklib"
  47026. + fi
  47027. + else
  47028. + # We cannot seem to hardcode it, guess we'll fake it.
  47029. + add_dir="-L$libdir"
  47030. + # Try looking first in the location we're being installed to.
  47031. + if test -n "$inst_prefix_dir"; then
  47032. + case $libdir in
  47033. + [\\/]*)
  47034. + add_dir="$add_dir -L$inst_prefix_dir$libdir"
  47035. + ;;
  47036. + esac
  47037. + fi
  47038. + add="-l$name"
  47039. + fi
  47040. +
  47041. + if test "$linkmode" = prog; then
  47042. + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
  47043. + test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
  47044. + else
  47045. + test -n "$add_dir" && deplibs="$add_dir $deplibs"
  47046. + test -n "$add" && deplibs="$add $deplibs"
  47047. + fi
  47048. + fi
  47049. + elif test "$linkmode" = prog; then
  47050. + # Here we assume that one of hardcode_direct or hardcode_minus_L
  47051. + # is not unsupported. This is valid on all known static and
  47052. + # shared platforms.
  47053. + if test "$hardcode_direct" != unsupported; then
  47054. + test -n "$old_library" && linklib="$old_library"
  47055. + compile_deplibs="$dir/$linklib $compile_deplibs"
  47056. + finalize_deplibs="$dir/$linklib $finalize_deplibs"
  47057. + else
  47058. + compile_deplibs="-l$name -L$dir $compile_deplibs"
  47059. + finalize_deplibs="-l$name -L$dir $finalize_deplibs"
  47060. + fi
  47061. + elif test "$build_libtool_libs" = yes; then
  47062. + # Not a shared library
  47063. + if test "$deplibs_check_method" != pass_all; then
  47064. + # We're trying link a shared library against a static one
  47065. + # but the system doesn't support it.
  47066. +
  47067. + # Just print a warning and add the library to dependency_libs so
  47068. + # that the program can be linked against the static library.
  47069. + $ECHO
  47070. + $ECHO "*** Warning: This system can not link to static lib archive $lib."
  47071. + $ECHO "*** I have the capability to make that library automatically link in when"
  47072. + $ECHO "*** you link to this library. But I can only do this if you have a"
  47073. + $ECHO "*** shared version of the library, which you do not appear to have."
  47074. + if test "$module" = yes; then
  47075. + $ECHO "*** But as you try to build a module library, libtool will still create "
  47076. + $ECHO "*** a static module, that should work as long as the dlopening application"
  47077. + $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
  47078. + if test -z "$global_symbol_pipe"; then
  47079. + $ECHO
  47080. + $ECHO "*** However, this would only work if libtool was able to extract symbol"
  47081. + $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  47082. + $ECHO "*** not find such a program. So, this module is probably useless."
  47083. + $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  47084. + fi
  47085. + if test "$build_old_libs" = no; then
  47086. + build_libtool_libs=module
  47087. + build_old_libs=yes
  47088. + else
  47089. + build_libtool_libs=no
  47090. + fi
  47091. + fi
  47092. + else
  47093. + deplibs="$dir/$old_library $deplibs"
  47094. + link_static=yes
  47095. + fi
  47096. + fi # link shared/static library?
  47097. +
  47098. + if test "$linkmode" = lib; then
  47099. + if test -n "$dependency_libs" &&
  47100. + { test "$hardcode_into_libs" != yes ||
  47101. + test "$build_old_libs" = yes ||
  47102. + test "$link_static" = yes; }; then
  47103. + # Extract -R from dependency_libs
  47104. + temp_deplibs=
  47105. + for libdir in $dependency_libs; do
  47106. + case $libdir in
  47107. + -R*) func_stripname '-R' '' "$libdir"
  47108. + temp_xrpath=$func_stripname_result
  47109. + case " $xrpath " in
  47110. + *" $temp_xrpath "*) ;;
  47111. + *) xrpath="$xrpath $temp_xrpath";;
  47112. + esac;;
  47113. + *) temp_deplibs="$temp_deplibs $libdir";;
  47114. + esac
  47115. + done
  47116. + dependency_libs="$temp_deplibs"
  47117. + fi
  47118. +
  47119. + newlib_search_path="$newlib_search_path $absdir"
  47120. + # Link against this library
  47121. + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  47122. + # ... and its dependency_libs
  47123. + tmp_libs=
  47124. + for deplib in $dependency_libs; do
  47125. + newdependency_libs="$deplib $newdependency_libs"
  47126. + if $opt_duplicate_deps ; then
  47127. + case "$tmp_libs " in
  47128. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  47129. + esac
  47130. + fi
  47131. + tmp_libs="$tmp_libs $deplib"
  47132. + done
  47133. +
  47134. + if test "$link_all_deplibs" != no; then
  47135. + # Add the search paths of all dependency libraries
  47136. + for deplib in $dependency_libs; do
  47137. + path=
  47138. + case $deplib in
  47139. + -L*) path="$deplib" ;;
  47140. + *.la)
  47141. + func_dirname "$deplib" "" "."
  47142. + dir="$func_dirname_result"
  47143. + # We need an absolute path.
  47144. + case $dir in
  47145. + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
  47146. + *)
  47147. + absdir=`cd "$dir" && pwd`
  47148. + if test -z "$absdir"; then
  47149. + func_warning "cannot determine absolute directory name of \`$dir'"
  47150. + absdir="$dir"
  47151. + fi
  47152. + ;;
  47153. + esac
  47154. + if $GREP "^installed=no" $deplib > /dev/null; then
  47155. + case $host in
  47156. + *-*-darwin*)
  47157. + depdepl=
  47158. + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
  47159. + if test -n "$deplibrary_names" ; then
  47160. + for tmp in $deplibrary_names ; do
  47161. + depdepl=$tmp
  47162. + done
  47163. + if test -f "$absdir/$objdir/$depdepl" ; then
  47164. + depdepl="$absdir/$objdir/$depdepl"
  47165. + darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  47166. + if test -z "$darwin_install_name"; then
  47167. + darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  47168. + fi
  47169. + compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
  47170. + linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
  47171. + path=
  47172. + fi
  47173. + fi
  47174. + ;;
  47175. + *)
  47176. + path="-L$absdir/$objdir"
  47177. + ;;
  47178. + esac
  47179. + else
  47180. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  47181. + test -z "$libdir" && \
  47182. + func_fatal_error "\`$deplib' is not a valid libtool archive"
  47183. + test "$absdir" != "$libdir" && \
  47184. + func_warning "\`$deplib' seems to be moved"
  47185. +
  47186. + path="-L$absdir"
  47187. + fi
  47188. + ;;
  47189. + esac
  47190. + case " $deplibs " in
  47191. + *" $path "*) ;;
  47192. + *) deplibs="$path $deplibs" ;;
  47193. + esac
  47194. + done
  47195. + fi # link_all_deplibs != no
  47196. + fi # linkmode = lib
  47197. + done # for deplib in $libs
  47198. + if test "$pass" = link; then
  47199. + if test "$linkmode" = "prog"; then
  47200. + compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
  47201. + finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
  47202. + else
  47203. + compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  47204. + fi
  47205. + fi
  47206. + dependency_libs="$newdependency_libs"
  47207. + if test "$pass" = dlpreopen; then
  47208. + # Link the dlpreopened libraries before other libraries
  47209. + for deplib in $save_deplibs; do
  47210. + deplibs="$deplib $deplibs"
  47211. + done
  47212. + fi
  47213. + if test "$pass" != dlopen; then
  47214. + if test "$pass" != conv; then
  47215. + # Make sure lib_search_path contains only unique directories.
  47216. + lib_search_path=
  47217. + for dir in $newlib_search_path; do
  47218. + case "$lib_search_path " in
  47219. + *" $dir "*) ;;
  47220. + *) lib_search_path="$lib_search_path $dir" ;;
  47221. + esac
  47222. + done
  47223. + newlib_search_path=
  47224. + fi
  47225. +
  47226. + if test "$linkmode,$pass" != "prog,link"; then
  47227. + vars="deplibs"
  47228. + else
  47229. + vars="compile_deplibs finalize_deplibs"
  47230. + fi
  47231. + for var in $vars dependency_libs; do
  47232. + # Add libraries to $var in reverse order
  47233. + eval tmp_libs=\"\$$var\"
  47234. + new_libs=
  47235. + for deplib in $tmp_libs; do
  47236. + # FIXME: Pedantically, this is the right thing to do, so
  47237. + # that some nasty dependency loop isn't accidentally
  47238. + # broken:
  47239. + #new_libs="$deplib $new_libs"
  47240. + # Pragmatically, this seems to cause very few problems in
  47241. + # practice:
  47242. + case $deplib in
  47243. + -L*) new_libs="$deplib $new_libs" ;;
  47244. + -R*) ;;
  47245. + *)
  47246. + # And here is the reason: when a library appears more
  47247. + # than once as an explicit dependence of a library, or
  47248. + # is implicitly linked in more than once by the
  47249. + # compiler, it is considered special, and multiple
  47250. + # occurrences thereof are not removed. Compare this
  47251. + # with having the same library being listed as a
  47252. + # dependency of multiple other libraries: in this case,
  47253. + # we know (pedantically, we assume) the library does not
  47254. + # need to be listed more than once, so we keep only the
  47255. + # last copy. This is not always right, but it is rare
  47256. + # enough that we require users that really mean to play
  47257. + # such unportable linking tricks to link the library
  47258. + # using -Wl,-lname, so that libtool does not consider it
  47259. + # for duplicate removal.
  47260. + case " $specialdeplibs " in
  47261. + *" $deplib "*) new_libs="$deplib $new_libs" ;;
  47262. + *)
  47263. + case " $new_libs " in
  47264. + *" $deplib "*) ;;
  47265. + *) new_libs="$deplib $new_libs" ;;
  47266. + esac
  47267. + ;;
  47268. + esac
  47269. + ;;
  47270. + esac
  47271. + done
  47272. + tmp_libs=
  47273. + for deplib in $new_libs; do
  47274. + case $deplib in
  47275. + -L*)
  47276. + case " $tmp_libs " in
  47277. + *" $deplib "*) ;;
  47278. + *) tmp_libs="$tmp_libs $deplib" ;;
  47279. + esac
  47280. + ;;
  47281. + *) tmp_libs="$tmp_libs $deplib" ;;
  47282. + esac
  47283. + done
  47284. + eval $var=\"$tmp_libs\"
  47285. + done # for var
  47286. + fi
  47287. + # Last step: remove runtime libs from dependency_libs
  47288. + # (they stay in deplibs)
  47289. + tmp_libs=
  47290. + for i in $dependency_libs ; do
  47291. + case " $predeps $postdeps $compiler_lib_search_path " in
  47292. + *" $i "*)
  47293. + i=""
  47294. + ;;
  47295. + esac
  47296. + if test -n "$i" ; then
  47297. + tmp_libs="$tmp_libs $i"
  47298. + fi
  47299. + done
  47300. + dependency_libs=$tmp_libs
  47301. + done # for pass
  47302. + if test "$linkmode" = prog; then
  47303. + dlfiles="$newdlfiles"
  47304. + fi
  47305. + if test "$linkmode" = prog || test "$linkmode" = lib; then
  47306. + dlprefiles="$newdlprefiles"
  47307. + fi
  47308. +
  47309. + case $linkmode in
  47310. + oldlib)
  47311. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  47312. + func_warning "\`-dlopen' is ignored for archives"
  47313. + fi
  47314. +
  47315. + case " $deplibs" in
  47316. + *\ -l* | *\ -L*)
  47317. + func_warning "\`-l' and \`-L' are ignored for archives" ;;
  47318. + esac
  47319. +
  47320. + test -n "$rpath" && \
  47321. + func_warning "\`-rpath' is ignored for archives"
  47322. +
  47323. + test -n "$xrpath" && \
  47324. + func_warning "\`-R' is ignored for archives"
  47325. +
  47326. + test -n "$vinfo" && \
  47327. + func_warning "\`-version-info/-version-number' is ignored for archives"
  47328. +
  47329. + test -n "$release" && \
  47330. + func_warning "\`-release' is ignored for archives"
  47331. +
  47332. + test -n "$export_symbols$export_symbols_regex" && \
  47333. + func_warning "\`-export-symbols' is ignored for archives"
  47334. +
  47335. + # Now set the variables for building old libraries.
  47336. + build_libtool_libs=no
  47337. + oldlibs="$output"
  47338. + objs="$objs$old_deplibs"
  47339. + ;;
  47340. +
  47341. + lib)
  47342. + # Make sure we only generate libraries of the form `libNAME.la'.
  47343. + case $outputname in
  47344. + lib*)
  47345. + func_stripname 'lib' '.la' "$outputname"
  47346. + name=$func_stripname_result
  47347. + eval shared_ext=\"$shrext_cmds\"
  47348. + eval libname=\"$libname_spec\"
  47349. + ;;
  47350. + *)
  47351. + test "$module" = no && \
  47352. + func_fatal_help "libtool library \`$output' must begin with \`lib'"
  47353. +
  47354. + if test "$need_lib_prefix" != no; then
  47355. + # Add the "lib" prefix for modules if required
  47356. + func_stripname '' '.la' "$outputname"
  47357. + name=$func_stripname_result
  47358. + eval shared_ext=\"$shrext_cmds\"
  47359. + eval libname=\"$libname_spec\"
  47360. + else
  47361. + func_stripname '' '.la' "$outputname"
  47362. + libname=$func_stripname_result
  47363. + fi
  47364. + ;;
  47365. + esac
  47366. +
  47367. + if test -n "$objs"; then
  47368. + if test "$deplibs_check_method" != pass_all; then
  47369. + func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
  47370. + else
  47371. + $ECHO
  47372. + $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
  47373. + $ECHO "*** objects $objs is not portable!"
  47374. + libobjs="$libobjs $objs"
  47375. + fi
  47376. + fi
  47377. +
  47378. + test "$dlself" != no && \
  47379. + func_warning "\`-dlopen self' is ignored for libtool libraries"
  47380. +
  47381. + set dummy $rpath
  47382. + shift
  47383. + test "$#" -gt 1 && \
  47384. + func_warning "ignoring multiple \`-rpath's for a libtool library"
  47385. +
  47386. + install_libdir="$1"
  47387. +
  47388. + oldlibs=
  47389. + if test -z "$rpath"; then
  47390. + if test "$build_libtool_libs" = yes; then
  47391. + # Building a libtool convenience library.
  47392. + # Some compilers have problems with a `.al' extension so
  47393. + # convenience libraries should have the same extension an
  47394. + # archive normally would.
  47395. + oldlibs="$output_objdir/$libname.$libext $oldlibs"
  47396. + build_libtool_libs=convenience
  47397. + build_old_libs=yes
  47398. + fi
  47399. +
  47400. + test -n "$vinfo" && \
  47401. + func_warning "\`-version-info/-version-number' is ignored for convenience libraries"
  47402. +
  47403. + test -n "$release" && \
  47404. + func_warning "\`-release' is ignored for convenience libraries"
  47405. + else
  47406. +
  47407. + # Parse the version information argument.
  47408. + save_ifs="$IFS"; IFS=':'
  47409. + set dummy $vinfo 0 0 0
  47410. + shift
  47411. + IFS="$save_ifs"
  47412. +
  47413. + test -n "$7" && \
  47414. + func_fatal_help "too many parameters to \`-version-info'"
  47415. +
  47416. + # convert absolute version numbers to libtool ages
  47417. + # this retains compatibility with .la files and attempts
  47418. + # to make the code below a bit more comprehensible
  47419. +
  47420. + case $vinfo_number in
  47421. + yes)
  47422. + number_major="$1"
  47423. + number_minor="$2"
  47424. + number_revision="$3"
  47425. + #
  47426. + # There are really only two kinds -- those that
  47427. + # use the current revision as the major version
  47428. + # and those that subtract age and use age as
  47429. + # a minor version. But, then there is irix
  47430. + # which has an extra 1 added just for fun
  47431. + #
  47432. + case $version_type in
  47433. + darwin|linux|osf|windows|none)
  47434. + func_arith $number_major + $number_minor
  47435. + current=$func_arith_result
  47436. + age="$number_minor"
  47437. + revision="$number_revision"
  47438. + ;;
  47439. + freebsd-aout|freebsd-elf|sunos)
  47440. + current="$number_major"
  47441. + revision="$number_minor"
  47442. + age="0"
  47443. + ;;
  47444. + irix|nonstopux)
  47445. + func_arith $number_major + $number_minor
  47446. + current=$func_arith_result
  47447. + age="$number_minor"
  47448. + revision="$number_minor"
  47449. + lt_irix_increment=no
  47450. + ;;
  47451. + *)
  47452. + func_fatal_configuration "$modename: unknown library version type \`$version_type'"
  47453. + ;;
  47454. + esac
  47455. + ;;
  47456. + no)
  47457. + current="$1"
  47458. + revision="$2"
  47459. + age="$3"
  47460. + ;;
  47461. + esac
  47462. +
  47463. + # Check that each of the things are valid numbers.
  47464. + case $current in
  47465. + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  47466. + *)
  47467. + func_error "CURRENT \`$current' must be a nonnegative integer"
  47468. + func_fatal_error "\`$vinfo' is not valid version information"
  47469. + ;;
  47470. + esac
  47471. +
  47472. + case $revision in
  47473. + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  47474. + *)
  47475. + func_error "REVISION \`$revision' must be a nonnegative integer"
  47476. + func_fatal_error "\`$vinfo' is not valid version information"
  47477. + ;;
  47478. + esac
  47479. +
  47480. + case $age in
  47481. + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
  47482. + *)
  47483. + func_error "AGE \`$age' must be a nonnegative integer"
  47484. + func_fatal_error "\`$vinfo' is not valid version information"
  47485. + ;;
  47486. + esac
  47487. +
  47488. + if test "$age" -gt "$current"; then
  47489. + func_error "AGE \`$age' is greater than the current interface number \`$current'"
  47490. + func_fatal_error "\`$vinfo' is not valid version information"
  47491. + fi
  47492. +
  47493. + # Calculate the version variables.
  47494. + major=
  47495. + versuffix=
  47496. + verstring=
  47497. + case $version_type in
  47498. + none) ;;
  47499. +
  47500. + darwin)
  47501. + # Like Linux, but with the current version available in
  47502. + # verstring for coding it into the library header
  47503. + func_arith $current - $age
  47504. + major=.$func_arith_result
  47505. + versuffix="$major.$age.$revision"
  47506. + # Darwin ld doesn't like 0 for these options...
  47507. + func_arith $current + 1
  47508. + minor_current=$func_arith_result
  47509. + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
  47510. + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
  47511. + ;;
  47512. +
  47513. + freebsd-aout)
  47514. + major=".$current"
  47515. + versuffix=".$current.$revision";
  47516. + ;;
  47517. +
  47518. + freebsd-elf)
  47519. + major=".$current"
  47520. + versuffix=".$current"
  47521. + ;;
  47522. +
  47523. + irix | nonstopux)
  47524. + if test "X$lt_irix_increment" = "Xno"; then
  47525. + func_arith $current - $age
  47526. + else
  47527. + func_arith $current - $age + 1
  47528. + fi
  47529. + major=$func_arith_result
  47530. +
  47531. + case $version_type in
  47532. + nonstopux) verstring_prefix=nonstopux ;;
  47533. + *) verstring_prefix=sgi ;;
  47534. + esac
  47535. + verstring="$verstring_prefix$major.$revision"
  47536. +
  47537. + # Add in all the interfaces that we are compatible with.
  47538. + loop=$revision
  47539. + while test "$loop" -ne 0; do
  47540. + func_arith $revision - $loop
  47541. + iface=$func_arith_result
  47542. + func_arith $loop - 1
  47543. + loop=$func_arith_result
  47544. + verstring="$verstring_prefix$major.$iface:$verstring"
  47545. + done
  47546. +
  47547. + # Before this point, $major must not contain `.'.
  47548. + major=.$major
  47549. + versuffix="$major.$revision"
  47550. + ;;
  47551. +
  47552. + linux)
  47553. + func_arith $current - $age
  47554. + major=.$func_arith_result
  47555. + versuffix="$major.$age.$revision"
  47556. + ;;
  47557. +
  47558. + osf)
  47559. + func_arith $current - $age
  47560. + major=.$func_arith_result
  47561. + versuffix=".$current.$age.$revision"
  47562. + verstring="$current.$age.$revision"
  47563. +
  47564. + # Add in all the interfaces that we are compatible with.
  47565. + loop=$age
  47566. + while test "$loop" -ne 0; do
  47567. + func_arith $current - $loop
  47568. + iface=$func_arith_result
  47569. + func_arith $loop - 1
  47570. + loop=$func_arith_result
  47571. + verstring="$verstring:${iface}.0"
  47572. + done
  47573. +
  47574. + # Make executables depend on our current version.
  47575. + verstring="$verstring:${current}.0"
  47576. + ;;
  47577. +
  47578. + qnx)
  47579. + major=".$current"
  47580. + versuffix=".$current"
  47581. + ;;
  47582. +
  47583. + sunos)
  47584. + major=".$current"
  47585. + versuffix=".$current.$revision"
  47586. + ;;
  47587. +
  47588. + windows)
  47589. + # Use '-' rather than '.', since we only want one
  47590. + # extension on DOS 8.3 filesystems.
  47591. + func_arith $current - $age
  47592. + major=$func_arith_result
  47593. + versuffix="-$major"
  47594. + ;;
  47595. +
  47596. + *)
  47597. + func_fatal_configuration "unknown library version type \`$version_type'"
  47598. + ;;
  47599. + esac
  47600. +
  47601. + # Clear the version info if we defaulted, and they specified a release.
  47602. + if test -z "$vinfo" && test -n "$release"; then
  47603. + major=
  47604. + case $version_type in
  47605. + darwin)
  47606. + # we can't check for "0.0" in archive_cmds due to quoting
  47607. + # problems, so we reset it completely
  47608. + verstring=
  47609. + ;;
  47610. + *)
  47611. + verstring="0.0"
  47612. + ;;
  47613. + esac
  47614. + if test "$need_version" = no; then
  47615. + versuffix=
  47616. + else
  47617. + versuffix=".0.0"
  47618. + fi
  47619. + fi
  47620. +
  47621. + # Remove version info from name if versioning should be avoided
  47622. + if test "$avoid_version" = yes && test "$need_version" = no; then
  47623. + major=
  47624. + versuffix=
  47625. + verstring=""
  47626. + fi
  47627. +
  47628. + # Check to see if the archive will have undefined symbols.
  47629. + if test "$allow_undefined" = yes; then
  47630. + if test "$allow_undefined_flag" = unsupported; then
  47631. + func_warning "undefined symbols not allowed in $host shared libraries"
  47632. + build_libtool_libs=no
  47633. + build_old_libs=yes
  47634. + fi
  47635. + else
  47636. + # Don't allow undefined symbols.
  47637. + allow_undefined_flag="$no_undefined_flag"
  47638. + fi
  47639. +
  47640. + fi
  47641. +
  47642. + func_generate_dlsyms "$libname" "$libname" "yes"
  47643. + libobjs="$libobjs $symfileobj"
  47644. + test "X$libobjs" = "X " && libobjs=
  47645. +
  47646. + if test "$mode" != relink; then
  47647. + # Remove our outputs, but don't remove object files since they
  47648. + # may have been created when compiling PIC objects.
  47649. + removelist=
  47650. + tempremovelist=`$ECHO "$output_objdir/*"`
  47651. + for p in $tempremovelist; do
  47652. + case $p in
  47653. + *.$objext | *.gcno)
  47654. + ;;
  47655. + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
  47656. + if test "X$precious_files_regex" != "X"; then
  47657. + if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
  47658. + then
  47659. + continue
  47660. + fi
  47661. + fi
  47662. + removelist="$removelist $p"
  47663. + ;;
  47664. + *) ;;
  47665. + esac
  47666. + done
  47667. + test -n "$removelist" && \
  47668. + func_show_eval "${RM}r \$removelist"
  47669. + fi
  47670. +
  47671. + # Now set the variables for building old libraries.
  47672. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
  47673. + oldlibs="$oldlibs $output_objdir/$libname.$libext"
  47674. +
  47675. + # Transform .lo files to .o files.
  47676. + oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
  47677. + fi
  47678. +
  47679. + # Eliminate all temporary directories.
  47680. + #for path in $notinst_path; do
  47681. + # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
  47682. + # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
  47683. + # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
  47684. + #done
  47685. +
  47686. + if test -n "$xrpath"; then
  47687. + # If the user specified any rpath flags, then add them.
  47688. + temp_xrpath=
  47689. + for libdir in $xrpath; do
  47690. + temp_xrpath="$temp_xrpath -R$libdir"
  47691. + case "$finalize_rpath " in
  47692. + *" $libdir "*) ;;
  47693. + *) finalize_rpath="$finalize_rpath $libdir" ;;
  47694. + esac
  47695. + done
  47696. + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
  47697. + dependency_libs="$temp_xrpath $dependency_libs"
  47698. + fi
  47699. + fi
  47700. +
  47701. + # Make sure dlfiles contains only unique files that won't be dlpreopened
  47702. + old_dlfiles="$dlfiles"
  47703. + dlfiles=
  47704. + for lib in $old_dlfiles; do
  47705. + case " $dlprefiles $dlfiles " in
  47706. + *" $lib "*) ;;
  47707. + *) dlfiles="$dlfiles $lib" ;;
  47708. + esac
  47709. + done
  47710. +
  47711. + # Make sure dlprefiles contains only unique files
  47712. + old_dlprefiles="$dlprefiles"
  47713. + dlprefiles=
  47714. + for lib in $old_dlprefiles; do
  47715. + case "$dlprefiles " in
  47716. + *" $lib "*) ;;
  47717. + *) dlprefiles="$dlprefiles $lib" ;;
  47718. + esac
  47719. + done
  47720. +
  47721. + if test "$build_libtool_libs" = yes; then
  47722. + if test -n "$rpath"; then
  47723. + case $host in
  47724. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
  47725. + # these systems don't actually have a c library (as such)!
  47726. + ;;
  47727. + *-*-rhapsody* | *-*-darwin1.[012])
  47728. + # Rhapsody C library is in the System framework
  47729. + deplibs="$deplibs System.ltframework"
  47730. + ;;
  47731. + *-*-netbsd*)
  47732. + # Don't link with libc until the a.out ld.so is fixed.
  47733. + ;;
  47734. + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
  47735. + # Do not include libc due to us having libc/libc_r.
  47736. + ;;
  47737. + *-*-sco3.2v5* | *-*-sco5v6*)
  47738. + # Causes problems with __ctype
  47739. + ;;
  47740. + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
  47741. + # Compiler inserts libc in the correct place for threads to work
  47742. + ;;
  47743. + *)
  47744. + # Add libc to deplibs on all other systems if necessary.
  47745. + if test "$build_libtool_need_lc" = "yes"; then
  47746. + deplibs="$deplibs -lc"
  47747. + fi
  47748. + ;;
  47749. + esac
  47750. + fi
  47751. +
  47752. + # Transform deplibs into only deplibs that can be linked in shared.
  47753. + name_save=$name
  47754. + libname_save=$libname
  47755. + release_save=$release
  47756. + versuffix_save=$versuffix
  47757. + major_save=$major
  47758. + # I'm not sure if I'm treating the release correctly. I think
  47759. + # release should show up in the -l (ie -lgmp5) so we don't want to
  47760. + # add it in twice. Is that correct?
  47761. + release=""
  47762. + versuffix=""
  47763. + major=""
  47764. + newdeplibs=
  47765. + droppeddeps=no
  47766. + case $deplibs_check_method in
  47767. + pass_all)
  47768. + # Don't check for shared/static. Everything works.
  47769. + # This might be a little naive. We might want to check
  47770. + # whether the library exists or not. But this is on
  47771. + # osf3 & osf4 and I'm not really sure... Just
  47772. + # implementing what was already the behavior.
  47773. + newdeplibs=$deplibs
  47774. + ;;
  47775. + test_compile)
  47776. + # This code stresses the "libraries are programs" paradigm to its
  47777. + # limits. Maybe even breaks it. We compile a program, linking it
  47778. + # against the deplibs as a proxy for the library. Then we can check
  47779. + # whether they linked in statically or dynamically with ldd.
  47780. + $opt_dry_run || $RM conftest.c
  47781. + cat > conftest.c <<EOF
  47782. + int main() { return 0; }
  47783. +EOF
  47784. + $opt_dry_run || $RM conftest
  47785. + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
  47786. + ldd_output=`ldd conftest`
  47787. + for i in $deplibs; do
  47788. + case $i in
  47789. + -l*)
  47790. + func_stripname -l '' "$i"
  47791. + name=$func_stripname_result
  47792. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  47793. + case " $predeps $postdeps " in
  47794. + *" $i "*)
  47795. + newdeplibs="$newdeplibs $i"
  47796. + i=""
  47797. + ;;
  47798. + esac
  47799. + fi
  47800. + if test -n "$i" ; then
  47801. + libname=`eval "\\$ECHO \"$libname_spec\""`
  47802. + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
  47803. + set dummy $deplib_matches; shift
  47804. + deplib_match=$1
  47805. + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  47806. + newdeplibs="$newdeplibs $i"
  47807. + else
  47808. + droppeddeps=yes
  47809. + $ECHO
  47810. + $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  47811. + $ECHO "*** I have the capability to make that library automatically link in when"
  47812. + $ECHO "*** you link to this library. But I can only do this if you have a"
  47813. + $ECHO "*** shared version of the library, which I believe you do not have"
  47814. + $ECHO "*** because a test_compile did reveal that the linker did not use it for"
  47815. + $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
  47816. + fi
  47817. + fi
  47818. + ;;
  47819. + *)
  47820. + newdeplibs="$newdeplibs $i"
  47821. + ;;
  47822. + esac
  47823. + done
  47824. + else
  47825. + # Error occurred in the first compile. Let's try to salvage
  47826. + # the situation: Compile a separate program for each library.
  47827. + for i in $deplibs; do
  47828. + case $i in
  47829. + -l*)
  47830. + func_stripname -l '' "$i"
  47831. + name=$func_stripname_result
  47832. + $opt_dry_run || $RM conftest
  47833. + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
  47834. + ldd_output=`ldd conftest`
  47835. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  47836. + case " $predeps $postdeps " in
  47837. + *" $i "*)
  47838. + newdeplibs="$newdeplibs $i"
  47839. + i=""
  47840. + ;;
  47841. + esac
  47842. + fi
  47843. + if test -n "$i" ; then
  47844. + libname=`eval "\\$ECHO \"$libname_spec\""`
  47845. + deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
  47846. + set dummy $deplib_matches; shift
  47847. + deplib_match=$1
  47848. + if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  47849. + newdeplibs="$newdeplibs $i"
  47850. + else
  47851. + droppeddeps=yes
  47852. + $ECHO
  47853. + $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  47854. + $ECHO "*** I have the capability to make that library automatically link in when"
  47855. + $ECHO "*** you link to this library. But I can only do this if you have a"
  47856. + $ECHO "*** shared version of the library, which you do not appear to have"
  47857. + $ECHO "*** because a test_compile did reveal that the linker did not use this one"
  47858. + $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
  47859. + fi
  47860. + fi
  47861. + else
  47862. + droppeddeps=yes
  47863. + $ECHO
  47864. + $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
  47865. + $ECHO "*** make it link in! You will probably need to install it or some"
  47866. + $ECHO "*** library that it depends on before this library will be fully"
  47867. + $ECHO "*** functional. Installing it before continuing would be even better."
  47868. + fi
  47869. + ;;
  47870. + *)
  47871. + newdeplibs="$newdeplibs $i"
  47872. + ;;
  47873. + esac
  47874. + done
  47875. + fi
  47876. + ;;
  47877. + file_magic*)
  47878. + set dummy $deplibs_check_method; shift
  47879. + file_magic_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  47880. + for a_deplib in $deplibs; do
  47881. + case $a_deplib in
  47882. + -l*)
  47883. + func_stripname -l '' "$a_deplib"
  47884. + name=$func_stripname_result
  47885. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  47886. + case " $predeps $postdeps " in
  47887. + *" $a_deplib "*)
  47888. + newdeplibs="$newdeplibs $a_deplib"
  47889. + a_deplib=""
  47890. + ;;
  47891. + esac
  47892. + fi
  47893. + if test -n "$a_deplib" ; then
  47894. + libname=`eval "\\$ECHO \"$libname_spec\""`
  47895. + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  47896. + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  47897. + for potent_lib in $potential_libs; do
  47898. + # Follow soft links.
  47899. + if ls -lLd "$potent_lib" 2>/dev/null |
  47900. + $GREP " -> " >/dev/null; then
  47901. + continue
  47902. + fi
  47903. + # The statement above tries to avoid entering an
  47904. + # endless loop below, in case of cyclic links.
  47905. + # We might still enter an endless loop, since a link
  47906. + # loop can be closed while we follow links,
  47907. + # but so what?
  47908. + potlib="$potent_lib"
  47909. + while test -h "$potlib" 2>/dev/null; do
  47910. + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
  47911. + case $potliblink in
  47912. + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
  47913. + *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
  47914. + esac
  47915. + done
  47916. + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
  47917. + $SED -e 10q |
  47918. + $EGREP "$file_magic_regex" > /dev/null; then
  47919. + newdeplibs="$newdeplibs $a_deplib"
  47920. + a_deplib=""
  47921. + break 2
  47922. + fi
  47923. + done
  47924. + done
  47925. + fi
  47926. + if test -n "$a_deplib" ; then
  47927. + droppeddeps=yes
  47928. + $ECHO
  47929. + $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  47930. + $ECHO "*** I have the capability to make that library automatically link in when"
  47931. + $ECHO "*** you link to this library. But I can only do this if you have a"
  47932. + $ECHO "*** shared version of the library, which you do not appear to have"
  47933. + $ECHO "*** because I did check the linker path looking for a file starting"
  47934. + if test -z "$potlib" ; then
  47935. + $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
  47936. + else
  47937. + $ECHO "*** with $libname and none of the candidates passed a file format test"
  47938. + $ECHO "*** using a file magic. Last file checked: $potlib"
  47939. + fi
  47940. + fi
  47941. + ;;
  47942. + *)
  47943. + # Add a -L argument.
  47944. + newdeplibs="$newdeplibs $a_deplib"
  47945. + ;;
  47946. + esac
  47947. + done # Gone through all deplibs.
  47948. + ;;
  47949. + match_pattern*)
  47950. + set dummy $deplibs_check_method; shift
  47951. + match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  47952. + for a_deplib in $deplibs; do
  47953. + case $a_deplib in
  47954. + -l*)
  47955. + func_stripname -l '' "$a_deplib"
  47956. + name=$func_stripname_result
  47957. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  47958. + case " $predeps $postdeps " in
  47959. + *" $a_deplib "*)
  47960. + newdeplibs="$newdeplibs $a_deplib"
  47961. + a_deplib=""
  47962. + ;;
  47963. + esac
  47964. + fi
  47965. + if test -n "$a_deplib" ; then
  47966. + libname=`eval "\\$ECHO \"$libname_spec\""`
  47967. + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  47968. + potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  47969. + for potent_lib in $potential_libs; do
  47970. + potlib="$potent_lib" # see symlink-check above in file_magic test
  47971. + if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
  47972. + $EGREP "$match_pattern_regex" > /dev/null; then
  47973. + newdeplibs="$newdeplibs $a_deplib"
  47974. + a_deplib=""
  47975. + break 2
  47976. + fi
  47977. + done
  47978. + done
  47979. + fi
  47980. + if test -n "$a_deplib" ; then
  47981. + droppeddeps=yes
  47982. + $ECHO
  47983. + $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  47984. + $ECHO "*** I have the capability to make that library automatically link in when"
  47985. + $ECHO "*** you link to this library. But I can only do this if you have a"
  47986. + $ECHO "*** shared version of the library, which you do not appear to have"
  47987. + $ECHO "*** because I did check the linker path looking for a file starting"
  47988. + if test -z "$potlib" ; then
  47989. + $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
  47990. + else
  47991. + $ECHO "*** with $libname and none of the candidates passed a file format test"
  47992. + $ECHO "*** using a regex pattern. Last file checked: $potlib"
  47993. + fi
  47994. + fi
  47995. + ;;
  47996. + *)
  47997. + # Add a -L argument.
  47998. + newdeplibs="$newdeplibs $a_deplib"
  47999. + ;;
  48000. + esac
  48001. + done # Gone through all deplibs.
  48002. + ;;
  48003. + none | unknown | *)
  48004. + newdeplibs=""
  48005. + tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
  48006. + -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
  48007. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  48008. + for i in $predeps $postdeps ; do
  48009. + # can't use Xsed below, because $i might contain '/'
  48010. + tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
  48011. + done
  48012. + fi
  48013. + if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' |
  48014. + $GREP . >/dev/null; then
  48015. + $ECHO
  48016. + if test "X$deplibs_check_method" = "Xnone"; then
  48017. + $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
  48018. + else
  48019. + $ECHO "*** Warning: inter-library dependencies are not known to be supported."
  48020. + fi
  48021. + $ECHO "*** All declared inter-library dependencies are being dropped."
  48022. + droppeddeps=yes
  48023. + fi
  48024. + ;;
  48025. + esac
  48026. + versuffix=$versuffix_save
  48027. + major=$major_save
  48028. + release=$release_save
  48029. + libname=$libname_save
  48030. + name=$name_save
  48031. +
  48032. + case $host in
  48033. + *-*-rhapsody* | *-*-darwin1.[012])
  48034. + # On Rhapsody replace the C library with the System framework
  48035. + newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  48036. + ;;
  48037. + esac
  48038. +
  48039. + if test "$droppeddeps" = yes; then
  48040. + if test "$module" = yes; then
  48041. + $ECHO
  48042. + $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
  48043. + $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
  48044. + $ECHO "*** a static module, that should work as long as the dlopening"
  48045. + $ECHO "*** application is linked with the -dlopen flag."
  48046. + if test -z "$global_symbol_pipe"; then
  48047. + $ECHO
  48048. + $ECHO "*** However, this would only work if libtool was able to extract symbol"
  48049. + $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  48050. + $ECHO "*** not find such a program. So, this module is probably useless."
  48051. + $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  48052. + fi
  48053. + if test "$build_old_libs" = no; then
  48054. + oldlibs="$output_objdir/$libname.$libext"
  48055. + build_libtool_libs=module
  48056. + build_old_libs=yes
  48057. + else
  48058. + build_libtool_libs=no
  48059. + fi
  48060. + else
  48061. + $ECHO "*** The inter-library dependencies that have been dropped here will be"
  48062. + $ECHO "*** automatically added whenever a program is linked with this library"
  48063. + $ECHO "*** or is declared to -dlopen it."
  48064. +
  48065. + if test "$allow_undefined" = no; then
  48066. + $ECHO
  48067. + $ECHO "*** Since this library must not contain undefined symbols,"
  48068. + $ECHO "*** because either the platform does not support them or"
  48069. + $ECHO "*** it was explicitly requested with -no-undefined,"
  48070. + $ECHO "*** libtool will only create a static version of it."
  48071. + if test "$build_old_libs" = no; then
  48072. + oldlibs="$output_objdir/$libname.$libext"
  48073. + build_libtool_libs=module
  48074. + build_old_libs=yes
  48075. + else
  48076. + build_libtool_libs=no
  48077. + fi
  48078. + fi
  48079. + fi
  48080. + fi
  48081. + # Done checking deplibs!
  48082. + deplibs=$newdeplibs
  48083. + fi
  48084. + # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  48085. + case $host in
  48086. + *-*-darwin*)
  48087. + newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  48088. + new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  48089. + deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  48090. + ;;
  48091. + esac
  48092. +
  48093. + # move library search paths that coincide with paths to not yet
  48094. + # installed libraries to the beginning of the library search list
  48095. + new_libs=
  48096. + for path in $notinst_path; do
  48097. + case " $new_libs " in
  48098. + *" -L$path/$objdir "*) ;;
  48099. + *)
  48100. + case " $deplibs " in
  48101. + *" -L$path/$objdir "*)
  48102. + new_libs="$new_libs -L$path/$objdir" ;;
  48103. + esac
  48104. + ;;
  48105. + esac
  48106. + done
  48107. + for deplib in $deplibs; do
  48108. + case $deplib in
  48109. + -L*)
  48110. + case " $new_libs " in
  48111. + *" $deplib "*) ;;
  48112. + *) new_libs="$new_libs $deplib" ;;
  48113. + esac
  48114. + ;;
  48115. + *) new_libs="$new_libs $deplib" ;;
  48116. + esac
  48117. + done
  48118. + deplibs="$new_libs"
  48119. +
  48120. + # All the library-specific variables (install_libdir is set above).
  48121. + library_names=
  48122. + old_library=
  48123. + dlname=
  48124. +
  48125. + # Test again, we may have decided not to build it any more
  48126. + if test "$build_libtool_libs" = yes; then
  48127. + if test "$hardcode_into_libs" = yes; then
  48128. + # Hardcode the library paths
  48129. + hardcode_libdirs=
  48130. + dep_rpath=
  48131. + rpath="$finalize_rpath"
  48132. + test "$mode" != relink && rpath="$compile_rpath$rpath"
  48133. + for libdir in $rpath; do
  48134. + if test -n "$hardcode_libdir_flag_spec"; then
  48135. + if test -n "$hardcode_libdir_separator"; then
  48136. + if test -z "$hardcode_libdirs"; then
  48137. + hardcode_libdirs="$libdir"
  48138. + else
  48139. + # Just accumulate the unique libdirs.
  48140. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  48141. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  48142. + ;;
  48143. + *)
  48144. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  48145. + ;;
  48146. + esac
  48147. + fi
  48148. + else
  48149. + eval flag=\"$hardcode_libdir_flag_spec\"
  48150. + dep_rpath="$dep_rpath $flag"
  48151. + fi
  48152. + elif test -n "$runpath_var"; then
  48153. + case "$perm_rpath " in
  48154. + *" $libdir "*) ;;
  48155. + *) perm_rpath="$perm_rpath $libdir" ;;
  48156. + esac
  48157. + fi
  48158. + done
  48159. + # Substitute the hardcoded libdirs into the rpath.
  48160. + if test -n "$hardcode_libdir_separator" &&
  48161. + test -n "$hardcode_libdirs"; then
  48162. + libdir="$hardcode_libdirs"
  48163. + if test -n "$hardcode_libdir_flag_spec_ld"; then
  48164. + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
  48165. + else
  48166. + eval dep_rpath=\"$hardcode_libdir_flag_spec\"
  48167. + fi
  48168. + fi
  48169. + if test -n "$runpath_var" && test -n "$perm_rpath"; then
  48170. + # We should set the runpath_var.
  48171. + rpath=
  48172. + for dir in $perm_rpath; do
  48173. + rpath="$rpath$dir:"
  48174. + done
  48175. + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
  48176. + fi
  48177. + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
  48178. + fi
  48179. +
  48180. + shlibpath="$finalize_shlibpath"
  48181. + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  48182. + if test -n "$shlibpath"; then
  48183. + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
  48184. + fi
  48185. +
  48186. + # Get the real and link names of the library.
  48187. + eval shared_ext=\"$shrext_cmds\"
  48188. + eval library_names=\"$library_names_spec\"
  48189. + set dummy $library_names
  48190. + shift
  48191. + realname="$1"
  48192. + shift
  48193. +
  48194. + if test -n "$soname_spec"; then
  48195. + eval soname=\"$soname_spec\"
  48196. + else
  48197. + soname="$realname"
  48198. + fi
  48199. + if test -z "$dlname"; then
  48200. + dlname=$soname
  48201. + fi
  48202. +
  48203. + lib="$output_objdir/$realname"
  48204. + linknames=
  48205. + for link
  48206. + do
  48207. + linknames="$linknames $link"
  48208. + done
  48209. +
  48210. + # Use standard objects if they are pic
  48211. + test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  48212. + test "X$libobjs" = "X " && libobjs=
  48213. +
  48214. + delfiles=
  48215. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  48216. + $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
  48217. + export_symbols="$output_objdir/$libname.uexp"
  48218. + delfiles="$delfiles $export_symbols"
  48219. + fi
  48220. +
  48221. + orig_export_symbols=
  48222. + case $host_os in
  48223. + cygwin* | mingw* | cegcc*)
  48224. + if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
  48225. + # exporting using user supplied symfile
  48226. + if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
  48227. + # and it's NOT already a .def file. Must figure out
  48228. + # which of the given symbols are data symbols and tag
  48229. + # them as such. So, trigger use of export_symbols_cmds.
  48230. + # export_symbols gets reassigned inside the "prepare
  48231. + # the list of exported symbols" if statement, so the
  48232. + # include_expsyms logic still works.
  48233. + orig_export_symbols="$export_symbols"
  48234. + export_symbols=
  48235. + always_export_symbols=yes
  48236. + fi
  48237. + fi
  48238. + ;;
  48239. + esac
  48240. +
  48241. + # Prepare the list of exported symbols
  48242. + if test -z "$export_symbols"; then
  48243. + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
  48244. + func_verbose "generating symbol list for \`$libname.la'"
  48245. + export_symbols="$output_objdir/$libname.exp"
  48246. + $opt_dry_run || $RM $export_symbols
  48247. + cmds=$export_symbols_cmds
  48248. + save_ifs="$IFS"; IFS='~'
  48249. + for cmd in $cmds; do
  48250. + IFS="$save_ifs"
  48251. + eval cmd=\"$cmd\"
  48252. + func_len " $cmd"
  48253. + len=$func_len_result
  48254. + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  48255. + func_show_eval "$cmd" 'exit $?'
  48256. + skipped_export=false
  48257. + else
  48258. + # The command line is too long to execute in one step.
  48259. + func_verbose "using reloadable object file for export list..."
  48260. + skipped_export=:
  48261. + # Break out early, otherwise skipped_export may be
  48262. + # set to false by a later but shorter cmd.
  48263. + break
  48264. + fi
  48265. + done
  48266. + IFS="$save_ifs"
  48267. + if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then
  48268. + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  48269. + func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
  48270. + fi
  48271. + fi
  48272. + fi
  48273. +
  48274. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  48275. + tmp_export_symbols="$export_symbols"
  48276. + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  48277. + $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  48278. + fi
  48279. +
  48280. + if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
  48281. + # The given exports_symbols file has to be filtered, so filter it.
  48282. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
  48283. + # FIXME: $output_objdir/$libname.filter potentially contains lots of
  48284. + # 's' commands which not all seds can handle. GNU sed should be fine
  48285. + # though. Also, the filter scales superlinearly with the number of
  48286. + # global variables. join(1) would be nice here, but unfortunately
  48287. + # isn't a blessed tool.
  48288. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  48289. + delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  48290. + export_symbols=$output_objdir/$libname.def
  48291. + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  48292. + fi
  48293. +
  48294. + tmp_deplibs=
  48295. + for test_deplib in $deplibs; do
  48296. + case " $convenience " in
  48297. + *" $test_deplib "*) ;;
  48298. + *)
  48299. + tmp_deplibs="$tmp_deplibs $test_deplib"
  48300. + ;;
  48301. + esac
  48302. + done
  48303. + deplibs="$tmp_deplibs"
  48304. +
  48305. + if test -n "$convenience"; then
  48306. + if test -n "$whole_archive_flag_spec" &&
  48307. + test "$compiler_needs_object" = yes &&
  48308. + test -z "$libobjs"; then
  48309. + # extract the archives, so we have objects to list.
  48310. + # TODO: could optimize this to just extract one archive.
  48311. + whole_archive_flag_spec=
  48312. + fi
  48313. + if test -n "$whole_archive_flag_spec"; then
  48314. + save_libobjs=$libobjs
  48315. + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  48316. + test "X$libobjs" = "X " && libobjs=
  48317. + else
  48318. + gentop="$output_objdir/${outputname}x"
  48319. + generated="$generated $gentop"
  48320. +
  48321. + func_extract_archives $gentop $convenience
  48322. + libobjs="$libobjs $func_extract_archives_result"
  48323. + test "X$libobjs" = "X " && libobjs=
  48324. + fi
  48325. + fi
  48326. +
  48327. + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
  48328. + eval flag=\"$thread_safe_flag_spec\"
  48329. + linker_flags="$linker_flags $flag"
  48330. + fi
  48331. +
  48332. + # Make a backup of the uninstalled library when relinking
  48333. + if test "$mode" = relink; then
  48334. + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
  48335. + fi
  48336. +
  48337. + # Do each of the archive commands.
  48338. + if test "$module" = yes && test -n "$module_cmds" ; then
  48339. + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  48340. + eval test_cmds=\"$module_expsym_cmds\"
  48341. + cmds=$module_expsym_cmds
  48342. + else
  48343. + eval test_cmds=\"$module_cmds\"
  48344. + cmds=$module_cmds
  48345. + fi
  48346. + else
  48347. + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  48348. + eval test_cmds=\"$archive_expsym_cmds\"
  48349. + cmds=$archive_expsym_cmds
  48350. + else
  48351. + eval test_cmds=\"$archive_cmds\"
  48352. + cmds=$archive_cmds
  48353. + fi
  48354. + fi
  48355. +
  48356. + if test "X$skipped_export" != "X:" &&
  48357. + func_len " $test_cmds" &&
  48358. + len=$func_len_result &&
  48359. + test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  48360. + :
  48361. + else
  48362. + # The command line is too long to link in one step, link piecewise
  48363. + # or, if using GNU ld and skipped_export is not :, use a linker
  48364. + # script.
  48365. +
  48366. + # Save the value of $output and $libobjs because we want to
  48367. + # use them later. If we have whole_archive_flag_spec, we
  48368. + # want to use save_libobjs as it was before
  48369. + # whole_archive_flag_spec was expanded, because we can't
  48370. + # assume the linker understands whole_archive_flag_spec.
  48371. + # This may have to be revisited, in case too many
  48372. + # convenience libraries get linked in and end up exceeding
  48373. + # the spec.
  48374. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
  48375. + save_libobjs=$libobjs
  48376. + fi
  48377. + save_output=$output
  48378. + output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
  48379. +
  48380. + # Clear the reloadable object creation command queue and
  48381. + # initialize k to one.
  48382. + test_cmds=
  48383. + concat_cmds=
  48384. + objlist=
  48385. + last_robj=
  48386. + k=1
  48387. +
  48388. + if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
  48389. + output=${output_objdir}/${output_la}.lnkscript
  48390. + func_verbose "creating GNU ld script: $output"
  48391. + $ECHO 'INPUT (' > $output
  48392. + for obj in $save_libobjs
  48393. + do
  48394. + $ECHO "$obj" >> $output
  48395. + done
  48396. + $ECHO ')' >> $output
  48397. + delfiles="$delfiles $output"
  48398. + elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
  48399. + output=${output_objdir}/${output_la}.lnk
  48400. + func_verbose "creating linker input file list: $output"
  48401. + : > $output
  48402. + set x $save_libobjs
  48403. + shift
  48404. + firstobj=
  48405. + if test "$compiler_needs_object" = yes; then
  48406. + firstobj="$1 "
  48407. + shift
  48408. + fi
  48409. + for obj
  48410. + do
  48411. + $ECHO "$obj" >> $output
  48412. + done
  48413. + delfiles="$delfiles $output"
  48414. + output=$firstobj\"$file_list_spec$output\"
  48415. + else
  48416. + if test -n "$save_libobjs"; then
  48417. + func_verbose "creating reloadable object files..."
  48418. + output=$output_objdir/$output_la-${k}.$objext
  48419. + eval test_cmds=\"$reload_cmds\"
  48420. + func_len " $test_cmds"
  48421. + len0=$func_len_result
  48422. + len=$len0
  48423. +
  48424. + # Loop over the list of objects to be linked.
  48425. + for obj in $save_libobjs
  48426. + do
  48427. + func_len " $obj"
  48428. + func_arith $len + $func_len_result
  48429. + len=$func_arith_result
  48430. + if test "X$objlist" = X ||
  48431. + test "$len" -lt "$max_cmd_len"; then
  48432. + func_append objlist " $obj"
  48433. + else
  48434. + # The command $test_cmds is almost too long, add a
  48435. + # command to the queue.
  48436. + if test "$k" -eq 1 ; then
  48437. + # The first file doesn't have a previous command to add.
  48438. + eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
  48439. + else
  48440. + # All subsequent reloadable object files will link in
  48441. + # the last one created.
  48442. + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
  48443. + fi
  48444. + last_robj=$output_objdir/$output_la-${k}.$objext
  48445. + func_arith $k + 1
  48446. + k=$func_arith_result
  48447. + output=$output_objdir/$output_la-${k}.$objext
  48448. + objlist=$obj
  48449. + func_len " $last_robj"
  48450. + func_arith $len0 + $func_len_result
  48451. + len=$func_arith_result
  48452. + fi
  48453. + done
  48454. + # Handle the remaining objects by creating one last
  48455. + # reloadable object file. All subsequent reloadable object
  48456. + # files will link in the last one created.
  48457. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  48458. + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
  48459. + if test -n "$last_robj"; then
  48460. + eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
  48461. + fi
  48462. + delfiles="$delfiles $output"
  48463. +
  48464. + else
  48465. + output=
  48466. + fi
  48467. +
  48468. + if ${skipped_export-false}; then
  48469. + func_verbose "generating symbol list for \`$libname.la'"
  48470. + export_symbols="$output_objdir/$libname.exp"
  48471. + $opt_dry_run || $RM $export_symbols
  48472. + libobjs=$output
  48473. + # Append the command to create the export file.
  48474. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  48475. + eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
  48476. + if test -n "$last_robj"; then
  48477. + eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
  48478. + fi
  48479. + fi
  48480. +
  48481. + test -n "$save_libobjs" &&
  48482. + func_verbose "creating a temporary reloadable object file: $output"
  48483. +
  48484. + # Loop through the commands generated above and execute them.
  48485. + save_ifs="$IFS"; IFS='~'
  48486. + for cmd in $concat_cmds; do
  48487. + IFS="$save_ifs"
  48488. + $opt_silent || {
  48489. + func_quote_for_expand "$cmd"
  48490. + eval "func_echo $func_quote_for_expand_result"
  48491. + }
  48492. + $opt_dry_run || eval "$cmd" || {
  48493. + lt_exit=$?
  48494. +
  48495. + # Restore the uninstalled library and exit
  48496. + if test "$mode" = relink; then
  48497. + ( cd "$output_objdir" && \
  48498. + $RM "${realname}T" && \
  48499. + $MV "${realname}U" "$realname" )
  48500. + fi
  48501. +
  48502. + exit $lt_exit
  48503. + }
  48504. + done
  48505. + IFS="$save_ifs"
  48506. +
  48507. + if test -n "$export_symbols_regex" && ${skipped_export-false}; then
  48508. + func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
  48509. + func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
  48510. + fi
  48511. + fi
  48512. +
  48513. + if ${skipped_export-false}; then
  48514. + if test -n "$export_symbols" && test -n "$include_expsyms"; then
  48515. + tmp_export_symbols="$export_symbols"
  48516. + test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  48517. + $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  48518. + fi
  48519. +
  48520. + if test -n "$orig_export_symbols"; then
  48521. + # The given exports_symbols file has to be filtered, so filter it.
  48522. + func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
  48523. + # FIXME: $output_objdir/$libname.filter potentially contains lots of
  48524. + # 's' commands which not all seds can handle. GNU sed should be fine
  48525. + # though. Also, the filter scales superlinearly with the number of
  48526. + # global variables. join(1) would be nice here, but unfortunately
  48527. + # isn't a blessed tool.
  48528. + $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  48529. + delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  48530. + export_symbols=$output_objdir/$libname.def
  48531. + $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  48532. + fi
  48533. + fi
  48534. +
  48535. + libobjs=$output
  48536. + # Restore the value of output.
  48537. + output=$save_output
  48538. +
  48539. + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
  48540. + eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
  48541. + test "X$libobjs" = "X " && libobjs=
  48542. + fi
  48543. + # Expand the library linking commands again to reset the
  48544. + # value of $libobjs for piecewise linking.
  48545. +
  48546. + # Do each of the archive commands.
  48547. + if test "$module" = yes && test -n "$module_cmds" ; then
  48548. + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
  48549. + cmds=$module_expsym_cmds
  48550. + else
  48551. + cmds=$module_cmds
  48552. + fi
  48553. + else
  48554. + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
  48555. + cmds=$archive_expsym_cmds
  48556. + else
  48557. + cmds=$archive_cmds
  48558. + fi
  48559. + fi
  48560. + fi
  48561. +
  48562. + if test -n "$delfiles"; then
  48563. + # Append the command to remove temporary files to $cmds.
  48564. + eval cmds=\"\$cmds~\$RM $delfiles\"
  48565. + fi
  48566. +
  48567. + # Add any objects from preloaded convenience libraries
  48568. + if test -n "$dlprefiles"; then
  48569. + gentop="$output_objdir/${outputname}x"
  48570. + generated="$generated $gentop"
  48571. +
  48572. + func_extract_archives $gentop $dlprefiles
  48573. + libobjs="$libobjs $func_extract_archives_result"
  48574. + test "X$libobjs" = "X " && libobjs=
  48575. + fi
  48576. +
  48577. + save_ifs="$IFS"; IFS='~'
  48578. + for cmd in $cmds; do
  48579. + IFS="$save_ifs"
  48580. + eval cmd=\"$cmd\"
  48581. + $opt_silent || {
  48582. + func_quote_for_expand "$cmd"
  48583. + eval "func_echo $func_quote_for_expand_result"
  48584. + }
  48585. + $opt_dry_run || eval "$cmd" || {
  48586. + lt_exit=$?
  48587. +
  48588. + # Restore the uninstalled library and exit
  48589. + if test "$mode" = relink; then
  48590. + ( cd "$output_objdir" && \
  48591. + $RM "${realname}T" && \
  48592. + $MV "${realname}U" "$realname" )
  48593. + fi
  48594. +
  48595. + exit $lt_exit
  48596. + }
  48597. + done
  48598. + IFS="$save_ifs"
  48599. +
  48600. + # Restore the uninstalled library and exit
  48601. + if test "$mode" = relink; then
  48602. + $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
  48603. +
  48604. + if test -n "$convenience"; then
  48605. + if test -z "$whole_archive_flag_spec"; then
  48606. + func_show_eval '${RM}r "$gentop"'
  48607. + fi
  48608. + fi
  48609. +
  48610. + exit $EXIT_SUCCESS
  48611. + fi
  48612. +
  48613. + # Create links to the real library.
  48614. + for linkname in $linknames; do
  48615. + if test "$realname" != "$linkname"; then
  48616. + func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?'
  48617. + fi
  48618. + done
  48619. +
  48620. + # If -module or -export-dynamic was specified, set the dlname.
  48621. + if test "$module" = yes || test "$export_dynamic" = yes; then
  48622. + # On all known operating systems, these are identical.
  48623. + dlname="$soname"
  48624. + fi
  48625. + fi
  48626. + ;;
  48627. +
  48628. + obj)
  48629. + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
  48630. + func_warning "\`-dlopen' is ignored for objects"
  48631. + fi
  48632. +
  48633. + case " $deplibs" in
  48634. + *\ -l* | *\ -L*)
  48635. + func_warning "\`-l' and \`-L' are ignored for objects" ;;
  48636. + esac
  48637. +
  48638. + test -n "$rpath" && \
  48639. + func_warning "\`-rpath' is ignored for objects"
  48640. +
  48641. + test -n "$xrpath" && \
  48642. + func_warning "\`-R' is ignored for objects"
  48643. +
  48644. + test -n "$vinfo" && \
  48645. + func_warning "\`-version-info' is ignored for objects"
  48646. +
  48647. + test -n "$release" && \
  48648. + func_warning "\`-release' is ignored for objects"
  48649. +
  48650. + case $output in
  48651. + *.lo)
  48652. + test -n "$objs$old_deplibs" && \
  48653. + func_fatal_error "cannot build library object \`$output' from non-libtool objects"
  48654. +
  48655. + libobj=$output
  48656. + func_lo2o "$libobj"
  48657. + obj=$func_lo2o_result
  48658. + ;;
  48659. + *)
  48660. + libobj=
  48661. + obj="$output"
  48662. + ;;
  48663. + esac
  48664. +
  48665. + # Delete the old objects.
  48666. + $opt_dry_run || $RM $obj $libobj
  48667. +
  48668. + # Objects from convenience libraries. This assumes
  48669. + # single-version convenience libraries. Whenever we create
  48670. + # different ones for PIC/non-PIC, this we'll have to duplicate
  48671. + # the extraction.
  48672. + reload_conv_objs=
  48673. + gentop=
  48674. + # reload_cmds runs $LD directly, so let us get rid of
  48675. + # -Wl from whole_archive_flag_spec and hope we can get by with
  48676. + # turning comma into space..
  48677. + wl=
  48678. +
  48679. + if test -n "$convenience"; then
  48680. + if test -n "$whole_archive_flag_spec"; then
  48681. + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
  48682. + reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
  48683. + else
  48684. + gentop="$output_objdir/${obj}x"
  48685. + generated="$generated $gentop"
  48686. +
  48687. + func_extract_archives $gentop $convenience
  48688. + reload_conv_objs="$reload_objs $func_extract_archives_result"
  48689. + fi
  48690. + fi
  48691. +
  48692. + # Create the old-style object.
  48693. + reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
  48694. +
  48695. + output="$obj"
  48696. + func_execute_cmds "$reload_cmds" 'exit $?'
  48697. +
  48698. + # Exit if we aren't doing a library object file.
  48699. + if test -z "$libobj"; then
  48700. + if test -n "$gentop"; then
  48701. + func_show_eval '${RM}r "$gentop"'
  48702. + fi
  48703. +
  48704. + exit $EXIT_SUCCESS
  48705. + fi
  48706. +
  48707. + if test "$build_libtool_libs" != yes; then
  48708. + if test -n "$gentop"; then
  48709. + func_show_eval '${RM}r "$gentop"'
  48710. + fi
  48711. +
  48712. + # Create an invalid libtool object if no PIC, so that we don't
  48713. + # accidentally link it into a program.
  48714. + # $show "echo timestamp > $libobj"
  48715. + # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
  48716. + exit $EXIT_SUCCESS
  48717. + fi
  48718. +
  48719. + if test -n "$pic_flag" || test "$pic_mode" != default; then
  48720. + # Only do commands if we really have different PIC objects.
  48721. + reload_objs="$libobjs $reload_conv_objs"
  48722. + output="$libobj"
  48723. + func_execute_cmds "$reload_cmds" 'exit $?'
  48724. + fi
  48725. +
  48726. + if test -n "$gentop"; then
  48727. + func_show_eval '${RM}r "$gentop"'
  48728. + fi
  48729. +
  48730. + exit $EXIT_SUCCESS
  48731. + ;;
  48732. +
  48733. + prog)
  48734. + case $host in
  48735. + *cygwin*) func_stripname '' '.exe' "$output"
  48736. + output=$func_stripname_result.exe;;
  48737. + esac
  48738. + test -n "$vinfo" && \
  48739. + func_warning "\`-version-info' is ignored for programs"
  48740. +
  48741. + test -n "$release" && \
  48742. + func_warning "\`-release' is ignored for programs"
  48743. +
  48744. + test "$preload" = yes \
  48745. + && test "$dlopen_support" = unknown \
  48746. + && test "$dlopen_self" = unknown \
  48747. + && test "$dlopen_self_static" = unknown && \
  48748. + func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support."
  48749. +
  48750. + case $host in
  48751. + *-*-rhapsody* | *-*-darwin1.[012])
  48752. + # On Rhapsody replace the C library is the System framework
  48753. + compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  48754. + finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  48755. + ;;
  48756. + esac
  48757. +
  48758. + case $host in
  48759. + *-*-darwin*)
  48760. + # Don't allow lazy linking, it breaks C++ global constructors
  48761. + # But is supposedly fixed on 10.4 or later (yay!).
  48762. + if test "$tagname" = CXX ; then
  48763. + case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
  48764. + 10.[0123])
  48765. + compile_command="$compile_command ${wl}-bind_at_load"
  48766. + finalize_command="$finalize_command ${wl}-bind_at_load"
  48767. + ;;
  48768. + esac
  48769. + fi
  48770. + # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  48771. + compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  48772. + finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  48773. + ;;
  48774. + esac
  48775. +
  48776. +
  48777. + # move library search paths that coincide with paths to not yet
  48778. + # installed libraries to the beginning of the library search list
  48779. + new_libs=
  48780. + for path in $notinst_path; do
  48781. + case " $new_libs " in
  48782. + *" -L$path/$objdir "*) ;;
  48783. + *)
  48784. + case " $compile_deplibs " in
  48785. + *" -L$path/$objdir "*)
  48786. + new_libs="$new_libs -L$path/$objdir" ;;
  48787. + esac
  48788. + ;;
  48789. + esac
  48790. + done
  48791. + for deplib in $compile_deplibs; do
  48792. + case $deplib in
  48793. + -L*)
  48794. + case " $new_libs " in
  48795. + *" $deplib "*) ;;
  48796. + *) new_libs="$new_libs $deplib" ;;
  48797. + esac
  48798. + ;;
  48799. + *) new_libs="$new_libs $deplib" ;;
  48800. + esac
  48801. + done
  48802. + compile_deplibs="$new_libs"
  48803. +
  48804. +
  48805. + compile_command="$compile_command $compile_deplibs"
  48806. + finalize_command="$finalize_command $finalize_deplibs"
  48807. +
  48808. + if test -n "$rpath$xrpath"; then
  48809. + # If the user specified any rpath flags, then add them.
  48810. + for libdir in $rpath $xrpath; do
  48811. + # This is the magic to use -rpath.
  48812. + case "$finalize_rpath " in
  48813. + *" $libdir "*) ;;
  48814. + *) finalize_rpath="$finalize_rpath $libdir" ;;
  48815. + esac
  48816. + done
  48817. + fi
  48818. +
  48819. + # Now hardcode the library paths
  48820. + rpath=
  48821. + hardcode_libdirs=
  48822. + for libdir in $compile_rpath $finalize_rpath; do
  48823. + if test -n "$hardcode_libdir_flag_spec"; then
  48824. + if test -n "$hardcode_libdir_separator"; then
  48825. + if test -z "$hardcode_libdirs"; then
  48826. + hardcode_libdirs="$libdir"
  48827. + else
  48828. + # Just accumulate the unique libdirs.
  48829. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  48830. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  48831. + ;;
  48832. + *)
  48833. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  48834. + ;;
  48835. + esac
  48836. + fi
  48837. + else
  48838. + eval flag=\"$hardcode_libdir_flag_spec\"
  48839. + rpath="$rpath $flag"
  48840. + fi
  48841. + elif test -n "$runpath_var"; then
  48842. + case "$perm_rpath " in
  48843. + *" $libdir "*) ;;
  48844. + *) perm_rpath="$perm_rpath $libdir" ;;
  48845. + esac
  48846. + fi
  48847. + case $host in
  48848. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  48849. + testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
  48850. + case :$dllsearchpath: in
  48851. + *":$libdir:"*) ;;
  48852. + ::) dllsearchpath=$libdir;;
  48853. + *) dllsearchpath="$dllsearchpath:$libdir";;
  48854. + esac
  48855. + case :$dllsearchpath: in
  48856. + *":$testbindir:"*) ;;
  48857. + ::) dllsearchpath=$testbindir;;
  48858. + *) dllsearchpath="$dllsearchpath:$testbindir";;
  48859. + esac
  48860. + ;;
  48861. + esac
  48862. + done
  48863. + # Substitute the hardcoded libdirs into the rpath.
  48864. + if test -n "$hardcode_libdir_separator" &&
  48865. + test -n "$hardcode_libdirs"; then
  48866. + libdir="$hardcode_libdirs"
  48867. + eval rpath=\" $hardcode_libdir_flag_spec\"
  48868. + fi
  48869. + compile_rpath="$rpath"
  48870. +
  48871. + rpath=
  48872. + hardcode_libdirs=
  48873. + for libdir in $finalize_rpath; do
  48874. + if test -n "$hardcode_libdir_flag_spec"; then
  48875. + if test -n "$hardcode_libdir_separator"; then
  48876. + if test -z "$hardcode_libdirs"; then
  48877. + hardcode_libdirs="$libdir"
  48878. + else
  48879. + # Just accumulate the unique libdirs.
  48880. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
  48881. + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  48882. + ;;
  48883. + *)
  48884. + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  48885. + ;;
  48886. + esac
  48887. + fi
  48888. + else
  48889. + eval flag=\"$hardcode_libdir_flag_spec\"
  48890. + rpath="$rpath $flag"
  48891. + fi
  48892. + elif test -n "$runpath_var"; then
  48893. + case "$finalize_perm_rpath " in
  48894. + *" $libdir "*) ;;
  48895. + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
  48896. + esac
  48897. + fi
  48898. + done
  48899. + # Substitute the hardcoded libdirs into the rpath.
  48900. + if test -n "$hardcode_libdir_separator" &&
  48901. + test -n "$hardcode_libdirs"; then
  48902. + libdir="$hardcode_libdirs"
  48903. + eval rpath=\" $hardcode_libdir_flag_spec\"
  48904. + fi
  48905. + finalize_rpath="$rpath"
  48906. +
  48907. + if test -n "$libobjs" && test "$build_old_libs" = yes; then
  48908. + # Transform all the library objects into standard objects.
  48909. + compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  48910. + finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  48911. + fi
  48912. +
  48913. + func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
  48914. +
  48915. + # template prelinking step
  48916. + if test -n "$prelink_cmds"; then
  48917. + func_execute_cmds "$prelink_cmds" 'exit $?'
  48918. + fi
  48919. +
  48920. + wrappers_required=yes
  48921. + case $host in
  48922. + *cygwin* | *mingw* )
  48923. + if test "$build_libtool_libs" != yes; then
  48924. + wrappers_required=no
  48925. + fi
  48926. + ;;
  48927. + *cegcc)
  48928. + # Disable wrappers for cegcc, we are cross compiling anyway.
  48929. + wrappers_required=no
  48930. + ;;
  48931. + *)
  48932. + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
  48933. + wrappers_required=no
  48934. + fi
  48935. + ;;
  48936. + esac
  48937. + if test "$wrappers_required" = no; then
  48938. + # Replace the output file specification.
  48939. + compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  48940. + link_command="$compile_command$compile_rpath"
  48941. +
  48942. + # We have no uninstalled library dependencies, so finalize right now.
  48943. + exit_status=0
  48944. + func_show_eval "$link_command" 'exit_status=$?'
  48945. +
  48946. + # Delete the generated files.
  48947. + if test -f "$output_objdir/${outputname}S.${objext}"; then
  48948. + func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
  48949. + fi
  48950. +
  48951. + exit $exit_status
  48952. + fi
  48953. +
  48954. + if test -n "$compile_shlibpath$finalize_shlibpath"; then
  48955. + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
  48956. + fi
  48957. + if test -n "$finalize_shlibpath"; then
  48958. + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
  48959. + fi
  48960. +
  48961. + compile_var=
  48962. + finalize_var=
  48963. + if test -n "$runpath_var"; then
  48964. + if test -n "$perm_rpath"; then
  48965. + # We should set the runpath_var.
  48966. + rpath=
  48967. + for dir in $perm_rpath; do
  48968. + rpath="$rpath$dir:"
  48969. + done
  48970. + compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
  48971. + fi
  48972. + if test -n "$finalize_perm_rpath"; then
  48973. + # We should set the runpath_var.
  48974. + rpath=
  48975. + for dir in $finalize_perm_rpath; do
  48976. + rpath="$rpath$dir:"
  48977. + done
  48978. + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
  48979. + fi
  48980. + fi
  48981. +
  48982. + if test "$no_install" = yes; then
  48983. + # We don't need to create a wrapper script.
  48984. + link_command="$compile_var$compile_command$compile_rpath"
  48985. + # Replace the output file specification.
  48986. + link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  48987. + # Delete the old output file.
  48988. + $opt_dry_run || $RM $output
  48989. + # Link the executable and exit
  48990. + func_show_eval "$link_command" 'exit $?'
  48991. + exit $EXIT_SUCCESS
  48992. + fi
  48993. +
  48994. + if test "$hardcode_action" = relink; then
  48995. + # Fast installation is not supported
  48996. + link_command="$compile_var$compile_command$compile_rpath"
  48997. + relink_command="$finalize_var$finalize_command$finalize_rpath"
  48998. +
  48999. + func_warning "this platform does not like uninstalled shared libraries"
  49000. + func_warning "\`$output' will be relinked during installation"
  49001. + else
  49002. + if test "$fast_install" != no; then
  49003. + link_command="$finalize_var$compile_command$finalize_rpath"
  49004. + if test "$fast_install" = yes; then
  49005. + relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
  49006. + else
  49007. + # fast_install is set to needless
  49008. + relink_command=
  49009. + fi
  49010. + else
  49011. + link_command="$compile_var$compile_command$compile_rpath"
  49012. + relink_command="$finalize_var$finalize_command$finalize_rpath"
  49013. + fi
  49014. + fi
  49015. +
  49016. + # Replace the output file specification.
  49017. + link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  49018. +
  49019. + # Delete the old output files.
  49020. + $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
  49021. +
  49022. + func_show_eval "$link_command" 'exit $?'
  49023. +
  49024. + # Now create the wrapper script.
  49025. + func_verbose "creating $output"
  49026. +
  49027. + # Quote the relink command for shipping.
  49028. + if test -n "$relink_command"; then
  49029. + # Preserve any variables that may affect compiler behavior
  49030. + for var in $variables_saved_for_relink; do
  49031. + if eval test -z \"\${$var+set}\"; then
  49032. + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
  49033. + elif eval var_value=\$$var; test -z "$var_value"; then
  49034. + relink_command="$var=; export $var; $relink_command"
  49035. + else
  49036. + func_quote_for_eval "$var_value"
  49037. + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
  49038. + fi
  49039. + done
  49040. + relink_command="(cd `pwd`; $relink_command)"
  49041. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  49042. + fi
  49043. +
  49044. + # Quote $ECHO for shipping.
  49045. + if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
  49046. + case $progpath in
  49047. + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
  49048. + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
  49049. + esac
  49050. + qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
  49051. + else
  49052. + qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
  49053. + fi
  49054. +
  49055. + # Only actually do things if not in dry run mode.
  49056. + $opt_dry_run || {
  49057. + # win32 will think the script is a binary if it has
  49058. + # a .exe suffix, so we strip it off here.
  49059. + case $output in
  49060. + *.exe) func_stripname '' '.exe' "$output"
  49061. + output=$func_stripname_result ;;
  49062. + esac
  49063. + # test for cygwin because mv fails w/o .exe extensions
  49064. + case $host in
  49065. + *cygwin*)
  49066. + exeext=.exe
  49067. + func_stripname '' '.exe' "$outputname"
  49068. + outputname=$func_stripname_result ;;
  49069. + *) exeext= ;;
  49070. + esac
  49071. + case $host in
  49072. + *cygwin* | *mingw* )
  49073. + func_dirname_and_basename "$output" "" "."
  49074. + output_name=$func_basename_result
  49075. + output_path=$func_dirname_result
  49076. + cwrappersource="$output_path/$objdir/lt-$output_name.c"
  49077. + cwrapper="$output_path/$output_name.exe"
  49078. + $RM $cwrappersource $cwrapper
  49079. + trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
  49080. +
  49081. + func_emit_cwrapperexe_src > $cwrappersource
  49082. +
  49083. + # The wrapper executable is built using the $host compiler,
  49084. + # because it contains $host paths and files. If cross-
  49085. + # compiling, it, like the target executable, must be
  49086. + # executed on the $host or under an emulation environment.
  49087. + $opt_dry_run || {
  49088. + $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
  49089. + $STRIP $cwrapper
  49090. + }
  49091. +
  49092. + # Now, create the wrapper script for func_source use:
  49093. + func_ltwrapper_scriptname $cwrapper
  49094. + $RM $func_ltwrapper_scriptname_result
  49095. + trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15
  49096. + $opt_dry_run || {
  49097. + # note: this script will not be executed, so do not chmod.
  49098. + if test "x$build" = "x$host" ; then
  49099. + $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
  49100. + else
  49101. + func_emit_wrapper no > $func_ltwrapper_scriptname_result
  49102. + fi
  49103. + }
  49104. + ;;
  49105. + * )
  49106. + $RM $output
  49107. + trap "$RM $output; exit $EXIT_FAILURE" 1 2 15
  49108. +
  49109. + func_emit_wrapper no > $output
  49110. + chmod +x $output
  49111. + ;;
  49112. + esac
  49113. + }
  49114. + exit $EXIT_SUCCESS
  49115. + ;;
  49116. + esac
  49117. +
  49118. + # See if we need to build an old-fashioned archive.
  49119. + for oldlib in $oldlibs; do
  49120. +
  49121. + if test "$build_libtool_libs" = convenience; then
  49122. + oldobjs="$libobjs_save $symfileobj"
  49123. + addlibs="$convenience"
  49124. + build_libtool_libs=no
  49125. + else
  49126. + if test "$build_libtool_libs" = module; then
  49127. + oldobjs="$libobjs_save"
  49128. + build_libtool_libs=no
  49129. + else
  49130. + oldobjs="$old_deplibs $non_pic_objects"
  49131. + if test "$preload" = yes && test -f "$symfileobj"; then
  49132. + oldobjs="$oldobjs $symfileobj"
  49133. + fi
  49134. + fi
  49135. + addlibs="$old_convenience"
  49136. + fi
  49137. +
  49138. + if test -n "$addlibs"; then
  49139. + gentop="$output_objdir/${outputname}x"
  49140. + generated="$generated $gentop"
  49141. +
  49142. + func_extract_archives $gentop $addlibs
  49143. + oldobjs="$oldobjs $func_extract_archives_result"
  49144. + fi
  49145. +
  49146. + # Do each command in the archive commands.
  49147. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
  49148. + cmds=$old_archive_from_new_cmds
  49149. + else
  49150. +
  49151. + # Add any objects from preloaded convenience libraries
  49152. + if test -n "$dlprefiles"; then
  49153. + gentop="$output_objdir/${outputname}x"
  49154. + generated="$generated $gentop"
  49155. +
  49156. + func_extract_archives $gentop $dlprefiles
  49157. + oldobjs="$oldobjs $func_extract_archives_result"
  49158. + fi
  49159. +
  49160. + # POSIX demands no paths to be encoded in archives. We have
  49161. + # to avoid creating archives with duplicate basenames if we
  49162. + # might have to extract them afterwards, e.g., when creating a
  49163. + # static archive out of a convenience library, or when linking
  49164. + # the entirety of a libtool archive into another (currently
  49165. + # not supported by libtool).
  49166. + if (for obj in $oldobjs
  49167. + do
  49168. + func_basename "$obj"
  49169. + $ECHO "$func_basename_result"
  49170. + done | sort | sort -uc >/dev/null 2>&1); then
  49171. + :
  49172. + else
  49173. + $ECHO "copying selected object files to avoid basename conflicts..."
  49174. + gentop="$output_objdir/${outputname}x"
  49175. + generated="$generated $gentop"
  49176. + func_mkdir_p "$gentop"
  49177. + save_oldobjs=$oldobjs
  49178. + oldobjs=
  49179. + counter=1
  49180. + for obj in $save_oldobjs
  49181. + do
  49182. + func_basename "$obj"
  49183. + objbase="$func_basename_result"
  49184. + case " $oldobjs " in
  49185. + " ") oldobjs=$obj ;;
  49186. + *[\ /]"$objbase "*)
  49187. + while :; do
  49188. + # Make sure we don't pick an alternate name that also
  49189. + # overlaps.
  49190. + newobj=lt$counter-$objbase
  49191. + func_arith $counter + 1
  49192. + counter=$func_arith_result
  49193. + case " $oldobjs " in
  49194. + *[\ /]"$newobj "*) ;;
  49195. + *) if test ! -f "$gentop/$newobj"; then break; fi ;;
  49196. + esac
  49197. + done
  49198. + func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
  49199. + oldobjs="$oldobjs $gentop/$newobj"
  49200. + ;;
  49201. + *) oldobjs="$oldobjs $obj" ;;
  49202. + esac
  49203. + done
  49204. + fi
  49205. + eval cmds=\"$old_archive_cmds\"
  49206. +
  49207. + func_len " $cmds"
  49208. + len=$func_len_result
  49209. + if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  49210. + cmds=$old_archive_cmds
  49211. + else
  49212. + # the command line is too long to link in one step, link in parts
  49213. + func_verbose "using piecewise archive linking..."
  49214. + save_RANLIB=$RANLIB
  49215. + RANLIB=:
  49216. + objlist=
  49217. + concat_cmds=
  49218. + save_oldobjs=$oldobjs
  49219. + oldobjs=
  49220. + # Is there a better way of finding the last object in the list?
  49221. + for obj in $save_oldobjs
  49222. + do
  49223. + last_oldobj=$obj
  49224. + done
  49225. + eval test_cmds=\"$old_archive_cmds\"
  49226. + func_len " $test_cmds"
  49227. + len0=$func_len_result
  49228. + len=$len0
  49229. + for obj in $save_oldobjs
  49230. + do
  49231. + func_len " $obj"
  49232. + func_arith $len + $func_len_result
  49233. + len=$func_arith_result
  49234. + func_append objlist " $obj"
  49235. + if test "$len" -lt "$max_cmd_len"; then
  49236. + :
  49237. + else
  49238. + # the above command should be used before it gets too long
  49239. + oldobjs=$objlist
  49240. + if test "$obj" = "$last_oldobj" ; then
  49241. + RANLIB=$save_RANLIB
  49242. + fi
  49243. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  49244. + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
  49245. + objlist=
  49246. + len=$len0
  49247. + fi
  49248. + done
  49249. + RANLIB=$save_RANLIB
  49250. + oldobjs=$objlist
  49251. + if test "X$oldobjs" = "X" ; then
  49252. + eval cmds=\"\$concat_cmds\"
  49253. + else
  49254. + eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
  49255. + fi
  49256. + fi
  49257. + fi
  49258. + func_execute_cmds "$cmds" 'exit $?'
  49259. + done
  49260. +
  49261. + test -n "$generated" && \
  49262. + func_show_eval "${RM}r$generated"
  49263. +
  49264. + # Now create the libtool archive.
  49265. + case $output in
  49266. + *.la)
  49267. + old_library=
  49268. + test "$build_old_libs" = yes && old_library="$libname.$libext"
  49269. + func_verbose "creating $output"
  49270. +
  49271. + # Preserve any variables that may affect compiler behavior
  49272. + for var in $variables_saved_for_relink; do
  49273. + if eval test -z \"\${$var+set}\"; then
  49274. + relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command"
  49275. + elif eval var_value=\$$var; test -z "$var_value"; then
  49276. + relink_command="$var=; export $var; $relink_command"
  49277. + else
  49278. + func_quote_for_eval "$var_value"
  49279. + relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
  49280. + fi
  49281. + done
  49282. + # Quote the link command for shipping.
  49283. + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  49284. + relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  49285. + if test "$hardcode_automatic" = yes ; then
  49286. + relink_command=
  49287. + fi
  49288. +
  49289. + # Only create the output if not a dry run.
  49290. + $opt_dry_run || {
  49291. + for installed in no yes; do
  49292. + if test "$installed" = yes; then
  49293. + if test -z "$install_libdir"; then
  49294. + break
  49295. + fi
  49296. + output="$output_objdir/$outputname"i
  49297. + # Replace all uninstalled libtool libraries with the installed ones
  49298. + newdependency_libs=
  49299. + for deplib in $dependency_libs; do
  49300. + case $deplib in
  49301. + *.la)
  49302. + func_basename "$deplib"
  49303. + name="$func_basename_result"
  49304. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  49305. + test -z "$libdir" && \
  49306. + func_fatal_error "\`$deplib' is not a valid libtool archive"
  49307. + newdependency_libs="$newdependency_libs $libdir/$name"
  49308. + ;;
  49309. + *) newdependency_libs="$newdependency_libs $deplib" ;;
  49310. + esac
  49311. + done
  49312. + dependency_libs="$newdependency_libs"
  49313. + newdlfiles=
  49314. +
  49315. + for lib in $dlfiles; do
  49316. + case $lib in
  49317. + *.la)
  49318. + func_basename "$lib"
  49319. + name="$func_basename_result"
  49320. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  49321. + test -z "$libdir" && \
  49322. + func_fatal_error "\`$lib' is not a valid libtool archive"
  49323. + newdlfiles="$newdlfiles $libdir/$name"
  49324. + ;;
  49325. + *) newdlfiles="$newdlfiles $lib" ;;
  49326. + esac
  49327. + done
  49328. + dlfiles="$newdlfiles"
  49329. + newdlprefiles=
  49330. + for lib in $dlprefiles; do
  49331. + case $lib in
  49332. + *.la)
  49333. + # Only pass preopened files to the pseudo-archive (for
  49334. + # eventual linking with the app. that links it) if we
  49335. + # didn't already link the preopened objects directly into
  49336. + # the library:
  49337. + func_basename "$lib"
  49338. + name="$func_basename_result"
  49339. + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  49340. + test -z "$libdir" && \
  49341. + func_fatal_error "\`$lib' is not a valid libtool archive"
  49342. + newdlprefiles="$newdlprefiles $libdir/$name"
  49343. + ;;
  49344. + esac
  49345. + done
  49346. + dlprefiles="$newdlprefiles"
  49347. + else
  49348. + newdlfiles=
  49349. + for lib in $dlfiles; do
  49350. + case $lib in
  49351. + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  49352. + *) abs=`pwd`"/$lib" ;;
  49353. + esac
  49354. + newdlfiles="$newdlfiles $abs"
  49355. + done
  49356. + dlfiles="$newdlfiles"
  49357. + newdlprefiles=
  49358. + for lib in $dlprefiles; do
  49359. + case $lib in
  49360. + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  49361. + *) abs=`pwd`"/$lib" ;;
  49362. + esac
  49363. + newdlprefiles="$newdlprefiles $abs"
  49364. + done
  49365. + dlprefiles="$newdlprefiles"
  49366. + fi
  49367. + $RM $output
  49368. + # place dlname in correct position for cygwin
  49369. + tdlname=$dlname
  49370. + case $host,$output,$installed,$module,$dlname in
  49371. + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  49372. + esac
  49373. + $ECHO > $output "\
  49374. +# $outputname - a libtool library file
  49375. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  49376. +#
  49377. +# Please DO NOT delete this file!
  49378. +# It is necessary for linking the library.
  49379. +
  49380. +# The name that we can dlopen(3).
  49381. +dlname='$tdlname'
  49382. +
  49383. +# Names of this library.
  49384. +library_names='$library_names'
  49385. +
  49386. +# The name of the static archive.
  49387. +old_library='$old_library'
  49388. +
  49389. +# Linker flags that can not go in dependency_libs.
  49390. +inherited_linker_flags='$new_inherited_linker_flags'
  49391. +
  49392. +# Libraries that this one depends upon.
  49393. +dependency_libs='$dependency_libs'
  49394. +
  49395. +# Names of additional weak libraries provided by this library
  49396. +weak_library_names='$weak_libs'
  49397. +
  49398. +# Version information for $libname.
  49399. +current=$current
  49400. +age=$age
  49401. +revision=$revision
  49402. +
  49403. +# Is this an already installed library?
  49404. +installed=$installed
  49405. +
  49406. +# Should we warn about portability when linking against -modules?
  49407. +shouldnotlink=$module
  49408. +
  49409. +# Files to dlopen/dlpreopen
  49410. +dlopen='$dlfiles'
  49411. +dlpreopen='$dlprefiles'
  49412. +
  49413. +# Directory that this library needs to be installed in:
  49414. +libdir='$install_libdir'"
  49415. + if test "$installed" = no && test "$need_relink" = yes; then
  49416. + $ECHO >> $output "\
  49417. +relink_command=\"$relink_command\""
  49418. + fi
  49419. + done
  49420. + }
  49421. +
  49422. + # Do a symbolic link so that the libtool archive can be found in
  49423. + # LD_LIBRARY_PATH before the program is installed.
  49424. + func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?'
  49425. + ;;
  49426. + esac
  49427. + exit $EXIT_SUCCESS
  49428. +}
  49429. +
  49430. +{ test "$mode" = link || test "$mode" = relink; } &&
  49431. + func_mode_link ${1+"$@"}
  49432. +
  49433. +
  49434. +# func_mode_uninstall arg...
  49435. +func_mode_uninstall ()
  49436. +{
  49437. + $opt_debug
  49438. + RM="$nonopt"
  49439. + files=
  49440. + rmforce=
  49441. + exit_status=0
  49442. +
  49443. + # This variable tells wrapper scripts just to set variables rather
  49444. + # than running their programs.
  49445. + libtool_install_magic="$magic"
  49446. +
  49447. + for arg
  49448. + do
  49449. + case $arg in
  49450. + -f) RM="$RM $arg"; rmforce=yes ;;
  49451. + -*) RM="$RM $arg" ;;
  49452. + *) files="$files $arg" ;;
  49453. + esac
  49454. + done
  49455. +
  49456. + test -z "$RM" && \
  49457. + func_fatal_help "you must specify an RM program"
  49458. +
  49459. + rmdirs=
  49460. +
  49461. + origobjdir="$objdir"
  49462. + for file in $files; do
  49463. + func_dirname "$file" "" "."
  49464. + dir="$func_dirname_result"
  49465. + if test "X$dir" = X.; then
  49466. + objdir="$origobjdir"
  49467. + else
  49468. + objdir="$dir/$origobjdir"
  49469. + fi
  49470. + func_basename "$file"
  49471. + name="$func_basename_result"
  49472. + test "$mode" = uninstall && objdir="$dir"
  49473. +
  49474. + # Remember objdir for removal later, being careful to avoid duplicates
  49475. + if test "$mode" = clean; then
  49476. + case " $rmdirs " in
  49477. + *" $objdir "*) ;;
  49478. + *) rmdirs="$rmdirs $objdir" ;;
  49479. + esac
  49480. + fi
  49481. +
  49482. + # Don't error if the file doesn't exist and rm -f was used.
  49483. + if { test -L "$file"; } >/dev/null 2>&1 ||
  49484. + { test -h "$file"; } >/dev/null 2>&1 ||
  49485. + test -f "$file"; then
  49486. + :
  49487. + elif test -d "$file"; then
  49488. + exit_status=1
  49489. + continue
  49490. + elif test "$rmforce" = yes; then
  49491. + continue
  49492. + fi
  49493. +
  49494. + rmfiles="$file"
  49495. +
  49496. + case $name in
  49497. + *.la)
  49498. + # Possibly a libtool archive, so verify it.
  49499. + if func_lalib_p "$file"; then
  49500. + func_source $dir/$name
  49501. +
  49502. + # Delete the libtool libraries and symlinks.
  49503. + for n in $library_names; do
  49504. + rmfiles="$rmfiles $objdir/$n"
  49505. + done
  49506. + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
  49507. +
  49508. + case "$mode" in
  49509. + clean)
  49510. + case " $library_names " in
  49511. + # " " in the beginning catches empty $dlname
  49512. + *" $dlname "*) ;;
  49513. + *) rmfiles="$rmfiles $objdir/$dlname" ;;
  49514. + esac
  49515. + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
  49516. + ;;
  49517. + uninstall)
  49518. + if test -n "$library_names"; then
  49519. + # Do each command in the postuninstall commands.
  49520. + func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
  49521. + fi
  49522. +
  49523. + if test -n "$old_library"; then
  49524. + # Do each command in the old_postuninstall commands.
  49525. + func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
  49526. + fi
  49527. + # FIXME: should reinstall the best remaining shared library.
  49528. + ;;
  49529. + esac
  49530. + fi
  49531. + ;;
  49532. +
  49533. + *.lo)
  49534. + # Possibly a libtool object, so verify it.
  49535. + if func_lalib_p "$file"; then
  49536. +
  49537. + # Read the .lo file
  49538. + func_source $dir/$name
  49539. +
  49540. + # Add PIC object to the list of files to remove.
  49541. + if test -n "$pic_object" &&
  49542. + test "$pic_object" != none; then
  49543. + rmfiles="$rmfiles $dir/$pic_object"
  49544. + fi
  49545. +
  49546. + # Add non-PIC object to the list of files to remove.
  49547. + if test -n "$non_pic_object" &&
  49548. + test "$non_pic_object" != none; then
  49549. + rmfiles="$rmfiles $dir/$non_pic_object"
  49550. + fi
  49551. + fi
  49552. + ;;
  49553. +
  49554. + *)
  49555. + if test "$mode" = clean ; then
  49556. + noexename=$name
  49557. + case $file in
  49558. + *.exe)
  49559. + func_stripname '' '.exe' "$file"
  49560. + file=$func_stripname_result
  49561. + func_stripname '' '.exe' "$name"
  49562. + noexename=$func_stripname_result
  49563. + # $file with .exe has already been added to rmfiles,
  49564. + # add $file without .exe
  49565. + rmfiles="$rmfiles $file"
  49566. + ;;
  49567. + esac
  49568. + # Do a test to see if this is a libtool program.
  49569. + if func_ltwrapper_p "$file"; then
  49570. + if func_ltwrapper_executable_p "$file"; then
  49571. + func_ltwrapper_scriptname "$file"
  49572. + relink_command=
  49573. + func_source $func_ltwrapper_scriptname_result
  49574. + rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
  49575. + else
  49576. + relink_command=
  49577. + func_source $dir/$noexename
  49578. + fi
  49579. +
  49580. + # note $name still contains .exe if it was in $file originally
  49581. + # as does the version of $file that was added into $rmfiles
  49582. + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
  49583. + if test "$fast_install" = yes && test -n "$relink_command"; then
  49584. + rmfiles="$rmfiles $objdir/lt-$name"
  49585. + fi
  49586. + if test "X$noexename" != "X$name" ; then
  49587. + rmfiles="$rmfiles $objdir/lt-${noexename}.c"
  49588. + fi
  49589. + fi
  49590. + fi
  49591. + ;;
  49592. + esac
  49593. + func_show_eval "$RM $rmfiles" 'exit_status=1'
  49594. + done
  49595. + objdir="$origobjdir"
  49596. +
  49597. + # Try to remove the ${objdir}s in the directories where we deleted files
  49598. + for dir in $rmdirs; do
  49599. + if test -d "$dir"; then
  49600. + func_show_eval "rmdir $dir >/dev/null 2>&1"
  49601. + fi
  49602. + done
  49603. +
  49604. + exit $exit_status
  49605. +}
  49606. +
  49607. +{ test "$mode" = uninstall || test "$mode" = clean; } &&
  49608. + func_mode_uninstall ${1+"$@"}
  49609. +
  49610. +test -z "$mode" && {
  49611. + help="$generic_help"
  49612. + func_fatal_help "you must specify a MODE"
  49613. +}
  49614. +
  49615. +test -z "$exec_cmd" && \
  49616. + func_fatal_help "invalid operation mode \`$mode'"
  49617. +
  49618. +if test -n "$exec_cmd"; then
  49619. + eval exec "$exec_cmd"
  49620. + exit $EXIT_FAILURE
  49621. +fi
  49622. +
  49623. +exit $exit_status
  49624. +
  49625. +
  49626. +# The TAGs below are defined such that we never get into a situation
  49627. +# in which we disable both kinds of libraries. Given conflicting
  49628. +# choices, we go for a static library, that is the most portable,
  49629. +# since we can't tell whether shared libraries were disabled because
  49630. +# the user asked for that or because the platform doesn't support
  49631. +# them. This is particularly important on AIX, because we don't
  49632. +# support having both static and shared libraries enabled at the same
  49633. +# time on that platform, so we default to a shared-only configuration.
  49634. +# If a disable-shared tag is given, we'll fallback to a static-only
  49635. +# configuration. But we'll never go from static-only to shared-only.
  49636. +
  49637. +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
  49638. +build_libtool_libs=no
  49639. +build_old_libs=yes
  49640. +# ### END LIBTOOL TAG CONFIG: disable-shared
  49641. +
  49642. +# ### BEGIN LIBTOOL TAG CONFIG: disable-static
  49643. +build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
  49644. +# ### END LIBTOOL TAG CONFIG: disable-static
  49645. +
  49646. +# Local Variables:
  49647. +# mode:shell-script
  49648. +# sh-indentation:2
  49649. +# End:
  49650. +# vi:sw=2
  49651. +
  49652. +
  49653. +# ### BEGIN LIBTOOL TAG CONFIG: CXX
  49654. +
  49655. +# The linker used to build libraries.
  49656. +LD="/usr/bin/ld"
  49657. +
  49658. +# Commands used to build an old-style archive.
  49659. +old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
  49660. +
  49661. +# A language specific compiler.
  49662. +CC="g++"
  49663. +
  49664. +# Is the compiler the GNU compiler?
  49665. +with_gcc=yes
  49666. +
  49667. +# Compiler flag to turn off builtin functions.
  49668. +no_builtin_flag=" -fno-builtin"
  49669. +
  49670. +# How to pass a linker flag through the compiler.
  49671. +wl="-Wl,"
  49672. +
  49673. +# Additional compiler flags for building library objects.
  49674. +pic_flag=" -fPIC -DPIC"
  49675. +
  49676. +# Compiler flag to prevent dynamic linking.
  49677. +link_static_flag="-static"
  49678. +
  49679. +# Does compiler simultaneously support -c and -o options?
  49680. +compiler_c_o="yes"
  49681. +
  49682. +# Whether or not to add -lc for building shared libraries.
  49683. +build_libtool_need_lc=no
  49684. +
  49685. +# Whether or not to disallow shared libs when runtime libs are static.
  49686. +allow_libtool_libs_with_static_runtimes=no
  49687. +
  49688. +# Compiler flag to allow reflexive dlopens.
  49689. +export_dynamic_flag_spec="\${wl}--export-dynamic"
  49690. +
  49691. +# Compiler flag to generate shared objects directly from archives.
  49692. +whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"
  49693. +
  49694. +# Whether the compiler copes with passing no objects directly.
  49695. +compiler_needs_object="no"
  49696. +
  49697. +# Create an old-style archive from a shared archive.
  49698. +old_archive_from_new_cmds=""
  49699. +
  49700. +# Create a temporary old-style archive to link instead of a shared archive.
  49701. +old_archive_from_expsyms_cmds=""
  49702. +
  49703. +# Commands used to build a shared archive.
  49704. +archive_cmds="\$CC -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
  49705. +archive_expsym_cmds="\$CC -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-retain-symbols-file \$wl\$export_symbols -o \$lib"
  49706. +
  49707. +# Commands used to build a loadable module if different from building
  49708. +# a shared archive.
  49709. +module_cmds=""
  49710. +module_expsym_cmds=""
  49711. +
  49712. +# Whether we are building with GNU ld or not.
  49713. +with_gnu_ld="yes"
  49714. +
  49715. +# Flag that allows shared libraries with undefined symbols to be built.
  49716. +allow_undefined_flag=""
  49717. +
  49718. +# Flag that enforces no undefined symbols.
  49719. +no_undefined_flag=""
  49720. +
  49721. +# Flag to hardcode $libdir into a binary during linking.
  49722. +# This must work even if $libdir does not exist
  49723. +hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
  49724. +
  49725. +# If ld is used when linking, flag to hardcode $libdir into a binary
  49726. +# during linking. This must work even if $libdir does not exist.
  49727. +hardcode_libdir_flag_spec_ld=""
  49728. +
  49729. +# Whether we need a single "-rpath" flag with a separated argument.
  49730. +hardcode_libdir_separator=""
  49731. +
  49732. +# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  49733. +# DIR into the resulting binary.
  49734. +hardcode_direct=no
  49735. +
  49736. +# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  49737. +# DIR into the resulting binary and the resulting library dependency is
  49738. +# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
  49739. +# library is relocated.
  49740. +hardcode_direct_absolute=no
  49741. +
  49742. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  49743. +# into the resulting binary.
  49744. +hardcode_minus_L=no
  49745. +
  49746. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  49747. +# into the resulting binary.
  49748. +hardcode_shlibpath_var=unsupported
  49749. +
  49750. +# Set to "yes" if building a shared library automatically hardcodes DIR
  49751. +# into the library and all subsequent libraries and executables linked
  49752. +# against it.
  49753. +hardcode_automatic=no
  49754. +
  49755. +# Set to yes if linker adds runtime paths of dependent libraries
  49756. +# to runtime path list.
  49757. +inherit_rpath=no
  49758. +
  49759. +# Whether libtool must link a program against all its dependency libraries.
  49760. +link_all_deplibs=no
  49761. +
  49762. +# Fix the shell variable $srcfile for the compiler.
  49763. +fix_srcfile_path=""
  49764. +
  49765. +# Set to "yes" if exported symbols are required.
  49766. +always_export_symbols=no
  49767. +
  49768. +# The commands to list exported symbols.
  49769. +export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"
  49770. +
  49771. +# Symbols that should not be listed in the preloaded symbols.
  49772. +exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"
  49773. +
  49774. +# Symbols that must always be exported.
  49775. +include_expsyms=""
  49776. +
  49777. +# Commands necessary for linking programs (against libraries) with templates.
  49778. +prelink_cmds=""
  49779. +
  49780. +# Specify filename containing input files.
  49781. +file_list_spec=""
  49782. +
  49783. +# How to hardcode a shared library path into an executable.
  49784. +hardcode_action=immediate
  49785. +
  49786. +# The directories searched by this compiler when creating a shared library.
  49787. +compiler_lib_search_dirs="/usr/lib/gcc/i486-linux-gnu/4.4.3 /usr/lib/gcc/i486-linux-gnu/4.4.3 /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib /lib/../lib /usr/lib/../lib /usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. /usr/lib/i486-linux-gnu"
  49788. +
  49789. +# Dependencies to place before and after the objects being linked to
  49790. +# create a shared library.
  49791. +predep_objects="/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o"
  49792. +postdep_objects="/usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o"
  49793. +predeps=""
  49794. +postdeps="-lstdc++ -lm -lgcc_s -lc -lgcc_s"
  49795. +
  49796. +# The library search path used internally by the compiler when linking
  49797. +# a shared library.
  49798. +compiler_lib_search_path="-L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. -L/usr/lib/i486-linux-gnu"
  49799. +
  49800. +# ### END LIBTOOL TAG CONFIG: CXX
  49801. diff -Nur gpsd-2.39.orig/ltmain.sh gpsd-2.39/ltmain.sh
  49802. --- gpsd-2.39.orig/ltmain.sh 2009-03-13 17:35:50.000000000 +0100
  49803. +++ gpsd-2.39/ltmain.sh 2010-02-18 21:41:54.160856956 +0100
  49804. @@ -1,6 +1,6 @@
  49805. # Generated from ltmain.m4sh.
  49806. -# ltmain.sh (GNU libtool) 2.2.4
  49807. +# ltmain.sh (GNU libtool) 2.2.6b
  49808. # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  49809. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
  49810. @@ -65,7 +65,7 @@
  49811. # compiler: $LTCC
  49812. # compiler flags: $LTCFLAGS
  49813. # linker: $LD (gnu? $with_gnu_ld)
  49814. -# $progname: (GNU libtool) 2.2.4 Debian-2.2.4-0ubuntu4
  49815. +# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
  49816. # automake: $automake_version
  49817. # autoconf: $autoconf_version
  49818. #
  49819. @@ -73,9 +73,9 @@
  49820. PROGRAM=ltmain.sh
  49821. PACKAGE=libtool
  49822. -VERSION="2.2.4 Debian-2.2.4-0ubuntu4"
  49823. +VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
  49824. TIMESTAMP=""
  49825. -package_revision=1.2976
  49826. +package_revision=1.3017
  49827. # Be Bourne compatible
  49828. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  49829. @@ -805,7 +805,7 @@
  49830. case $host in
  49831. - *cygwin* | *mingw* | *pw32*)
  49832. + *cygwin* | *mingw* | *pw32* | *cegcc*)
  49833. # don't eliminate duplications in $postdeps and $predeps
  49834. opt_duplicate_compiler_generated_deps=:
  49835. ;;
  49836. @@ -893,8 +893,9 @@
  49837. # determined imposters.
  49838. func_lalib_p ()
  49839. {
  49840. - $SED -e 4q "$1" 2>/dev/null \
  49841. - | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
  49842. + test -f "$1" &&
  49843. + $SED -e 4q "$1" 2>/dev/null \
  49844. + | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
  49845. }
  49846. # func_lalib_unsafe_p file
  49847. @@ -907,7 +908,7 @@
  49848. func_lalib_unsafe_p ()
  49849. {
  49850. lalib_p=no
  49851. - if test -r "$1" && exec 5<&0 <"$1"; then
  49852. + if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
  49853. for lalib_p_l in 1 2 3 4
  49854. do
  49855. read lalib_p_line
  49856. @@ -1275,7 +1276,7 @@
  49857. # On Cygwin there's no "real" PIC flag so we must build both object types
  49858. case $host_os in
  49859. - cygwin* | mingw* | pw32* | os2*)
  49860. + cygwin* | mingw* | pw32* | os2* | cegcc*)
  49861. pic_mode=default
  49862. ;;
  49863. esac
  49864. @@ -2046,7 +2047,7 @@
  49865. 'exit $?'
  49866. tstripme="$stripme"
  49867. case $host_os in
  49868. - cygwin* | mingw* | pw32*)
  49869. + cygwin* | mingw* | pw32* | cegcc*)
  49870. case $realname in
  49871. *.dll.a)
  49872. tstripme=""
  49873. @@ -2152,7 +2153,7 @@
  49874. # Do a test to see if this is really a libtool program.
  49875. case $host in
  49876. - *cygwin*|*mingw*)
  49877. + *cygwin* | *mingw*)
  49878. if func_ltwrapper_executable_p "$file"; then
  49879. func_ltwrapper_scriptname "$file"
  49880. wrapper=$func_ltwrapper_scriptname_result
  49881. @@ -2358,7 +2359,7 @@
  49882. $RM $export_symbols
  49883. eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
  49884. case $host in
  49885. - *cygwin* | *mingw* )
  49886. + *cygwin* | *mingw* | *cegcc* )
  49887. eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  49888. eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
  49889. ;;
  49890. @@ -2370,7 +2371,7 @@
  49891. eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
  49892. eval '$MV "$nlist"T "$nlist"'
  49893. case $host in
  49894. - *cygwin | *mingw* )
  49895. + *cygwin | *mingw* | *cegcc* )
  49896. eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  49897. eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
  49898. ;;
  49899. @@ -2426,7 +2427,7 @@
  49900. } lt_dlsymlist;
  49901. "
  49902. case $host in
  49903. - *cygwin* | *mingw* )
  49904. + *cygwin* | *mingw* | *cegcc* )
  49905. $ECHO >> "$output_objdir/$my_dlsyms" "\
  49906. /* DATA imports from DLLs on WIN32 con't be const, because
  49907. runtime relocations are performed -- see ld's documentation
  49908. @@ -2512,7 +2513,7 @@
  49909. # Transform the symbol file into the correct name.
  49910. symfileobj="$output_objdir/${my_outputname}S.$objext"
  49911. case $host in
  49912. - *cygwin* | *mingw* )
  49913. + *cygwin* | *mingw* | *cegcc* )
  49914. if test -f "$output_objdir/$my_outputname.def"; then
  49915. compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  49916. finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  49917. @@ -2691,25 +2692,16 @@
  49918. -# func_emit_wrapper arg
  49919. +# func_emit_wrapper_part1 [arg=no]
  49920. #
  49921. -# emit a libtool wrapper script on stdout
  49922. -# don't directly open a file because we may want to
  49923. -# incorporate the script contents within a cygwin/mingw
  49924. -# wrapper executable. Must ONLY be called from within
  49925. -# func_mode_link because it depends on a number of variable
  49926. -# set therein.
  49927. -#
  49928. -# arg is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  49929. -# variable will take. If 'yes', then the emitted script
  49930. -# will assume that the directory in which it is stored is
  49931. -# the '.lib' directory. This is a cygwin/mingw-specific
  49932. -# behavior.
  49933. -func_emit_wrapper ()
  49934. +# Emit the first part of a libtool wrapper script on stdout.
  49935. +# For more information, see the description associated with
  49936. +# func_emit_wrapper(), below.
  49937. +func_emit_wrapper_part1 ()
  49938. {
  49939. - func_emit_wrapper_arg1=no
  49940. + func_emit_wrapper_part1_arg1=no
  49941. if test -n "$1" ; then
  49942. - func_emit_wrapper_arg1=$1
  49943. + func_emit_wrapper_part1_arg1=$1
  49944. fi
  49945. $ECHO "\
  49946. @@ -2794,10 +2786,27 @@
  49947. file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  49948. file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  49949. done
  49950. +"
  49951. +}
  49952. +# end: func_emit_wrapper_part1
  49953. +
  49954. +# func_emit_wrapper_part2 [arg=no]
  49955. +#
  49956. +# Emit the second part of a libtool wrapper script on stdout.
  49957. +# For more information, see the description associated with
  49958. +# func_emit_wrapper(), below.
  49959. +func_emit_wrapper_part2 ()
  49960. +{
  49961. + func_emit_wrapper_part2_arg1=no
  49962. + if test -n "$1" ; then
  49963. + func_emit_wrapper_part2_arg1=$1
  49964. + fi
  49965. +
  49966. + $ECHO "\
  49967. # Usually 'no', except on cygwin/mingw when embedded into
  49968. # the cwrapper.
  49969. - WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
  49970. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
  49971. if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
  49972. # special case for '.'
  49973. if test \"\$thisdir\" = \".\"; then
  49974. @@ -2888,7 +2897,7 @@
  49975. "
  49976. case $host in
  49977. # Backslashes separate directories on plain windows
  49978. - *-*-mingw | *-*-os2*)
  49979. + *-*-mingw | *-*-os2* | *-cegcc*)
  49980. $ECHO "\
  49981. exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  49982. "
  49983. @@ -2914,7 +2923,207 @@
  49984. fi\
  49985. "
  49986. }
  49987. -# end: func_emit_wrapper
  49988. +# end: func_emit_wrapper_part2
  49989. +
  49990. +
  49991. +# func_emit_wrapper [arg=no]
  49992. +#
  49993. +# Emit a libtool wrapper script on stdout.
  49994. +# Don't directly open a file because we may want to
  49995. +# incorporate the script contents within a cygwin/mingw
  49996. +# wrapper executable. Must ONLY be called from within
  49997. +# func_mode_link because it depends on a number of variables
  49998. +# set therein.
  49999. +#
  50000. +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  50001. +# variable will take. If 'yes', then the emitted script
  50002. +# will assume that the directory in which it is stored is
  50003. +# the $objdir directory. This is a cygwin/mingw-specific
  50004. +# behavior.
  50005. +func_emit_wrapper ()
  50006. +{
  50007. + func_emit_wrapper_arg1=no
  50008. + if test -n "$1" ; then
  50009. + func_emit_wrapper_arg1=$1
  50010. + fi
  50011. +
  50012. + # split this up so that func_emit_cwrapperexe_src
  50013. + # can call each part independently.
  50014. + func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
  50015. + func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
  50016. +}
  50017. +
  50018. +
  50019. +# func_to_host_path arg
  50020. +#
  50021. +# Convert paths to host format when used with build tools.
  50022. +# Intended for use with "native" mingw (where libtool itself
  50023. +# is running under the msys shell), or in the following cross-
  50024. +# build environments:
  50025. +# $build $host
  50026. +# mingw (msys) mingw [e.g. native]
  50027. +# cygwin mingw
  50028. +# *nix + wine mingw
  50029. +# where wine is equipped with the `winepath' executable.
  50030. +# In the native mingw case, the (msys) shell automatically
  50031. +# converts paths for any non-msys applications it launches,
  50032. +# but that facility isn't available from inside the cwrapper.
  50033. +# Similar accommodations are necessary for $host mingw and
  50034. +# $build cygwin. Calling this function does no harm for other
  50035. +# $host/$build combinations not listed above.
  50036. +#
  50037. +# ARG is the path (on $build) that should be converted to
  50038. +# the proper representation for $host. The result is stored
  50039. +# in $func_to_host_path_result.
  50040. +func_to_host_path ()
  50041. +{
  50042. + func_to_host_path_result="$1"
  50043. + if test -n "$1" ; then
  50044. + case $host in
  50045. + *mingw* )
  50046. + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  50047. + case $build in
  50048. + *mingw* ) # actually, msys
  50049. + # awkward: cmd appends spaces to result
  50050. + lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  50051. + func_to_host_path_tmp1=`( cmd //c echo "$1" |\
  50052. + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  50053. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  50054. + $SED -e "$lt_sed_naive_backslashify"`
  50055. + ;;
  50056. + *cygwin* )
  50057. + func_to_host_path_tmp1=`cygpath -w "$1"`
  50058. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  50059. + $SED -e "$lt_sed_naive_backslashify"`
  50060. + ;;
  50061. + * )
  50062. + # Unfortunately, winepath does not exit with a non-zero
  50063. + # error code, so we are forced to check the contents of
  50064. + # stdout. On the other hand, if the command is not
  50065. + # found, the shell will set an exit code of 127 and print
  50066. + # *an error message* to stdout. So we must check for both
  50067. + # error code of zero AND non-empty stdout, which explains
  50068. + # the odd construction:
  50069. + func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
  50070. + if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
  50071. + func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  50072. + $SED -e "$lt_sed_naive_backslashify"`
  50073. + else
  50074. + # Allow warning below.
  50075. + func_to_host_path_result=""
  50076. + fi
  50077. + ;;
  50078. + esac
  50079. + if test -z "$func_to_host_path_result" ; then
  50080. + func_error "Could not determine host path corresponding to"
  50081. + func_error " '$1'"
  50082. + func_error "Continuing, but uninstalled executables may not work."
  50083. + # Fallback:
  50084. + func_to_host_path_result="$1"
  50085. + fi
  50086. + ;;
  50087. + esac
  50088. + fi
  50089. +}
  50090. +# end: func_to_host_path
  50091. +
  50092. +# func_to_host_pathlist arg
  50093. +#
  50094. +# Convert pathlists to host format when used with build tools.
  50095. +# See func_to_host_path(), above. This function supports the
  50096. +# following $build/$host combinations (but does no harm for
  50097. +# combinations not listed here):
  50098. +# $build $host
  50099. +# mingw (msys) mingw [e.g. native]
  50100. +# cygwin mingw
  50101. +# *nix + wine mingw
  50102. +#
  50103. +# Path separators are also converted from $build format to
  50104. +# $host format. If ARG begins or ends with a path separator
  50105. +# character, it is preserved (but converted to $host format)
  50106. +# on output.
  50107. +#
  50108. +# ARG is a pathlist (on $build) that should be converted to
  50109. +# the proper representation on $host. The result is stored
  50110. +# in $func_to_host_pathlist_result.
  50111. +func_to_host_pathlist ()
  50112. +{
  50113. + func_to_host_pathlist_result="$1"
  50114. + if test -n "$1" ; then
  50115. + case $host in
  50116. + *mingw* )
  50117. + lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  50118. + # Remove leading and trailing path separator characters from
  50119. + # ARG. msys behavior is inconsistent here, cygpath turns them
  50120. + # into '.;' and ';.', and winepath ignores them completely.
  50121. + func_to_host_pathlist_tmp2="$1"
  50122. + # Once set for this call, this variable should not be
  50123. + # reassigned. It is used in tha fallback case.
  50124. + func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
  50125. + $SED -e 's|^:*||' -e 's|:*$||'`
  50126. + case $build in
  50127. + *mingw* ) # Actually, msys.
  50128. + # Awkward: cmd appends spaces to result.
  50129. + lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  50130. + func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
  50131. + $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  50132. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  50133. + $SED -e "$lt_sed_naive_backslashify"`
  50134. + ;;
  50135. + *cygwin* )
  50136. + func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
  50137. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  50138. + $SED -e "$lt_sed_naive_backslashify"`
  50139. + ;;
  50140. + * )
  50141. + # unfortunately, winepath doesn't convert pathlists
  50142. + func_to_host_pathlist_result=""
  50143. + func_to_host_pathlist_oldIFS=$IFS
  50144. + IFS=:
  50145. + for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
  50146. + IFS=$func_to_host_pathlist_oldIFS
  50147. + if test -n "$func_to_host_pathlist_f" ; then
  50148. + func_to_host_path "$func_to_host_pathlist_f"
  50149. + if test -n "$func_to_host_path_result" ; then
  50150. + if test -z "$func_to_host_pathlist_result" ; then
  50151. + func_to_host_pathlist_result="$func_to_host_path_result"
  50152. + else
  50153. + func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
  50154. + fi
  50155. + fi
  50156. + fi
  50157. + IFS=:
  50158. + done
  50159. + IFS=$func_to_host_pathlist_oldIFS
  50160. + ;;
  50161. + esac
  50162. + if test -z "$func_to_host_pathlist_result" ; then
  50163. + func_error "Could not determine the host path(s) corresponding to"
  50164. + func_error " '$1'"
  50165. + func_error "Continuing, but uninstalled executables may not work."
  50166. + # Fallback. This may break if $1 contains DOS-style drive
  50167. + # specifications. The fix is not to complicate the expression
  50168. + # below, but for the user to provide a working wine installation
  50169. + # with winepath so that path translation in the cross-to-mingw
  50170. + # case works properly.
  50171. + lt_replace_pathsep_nix_to_dos="s|:|;|g"
  50172. + func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
  50173. + $SED -e "$lt_replace_pathsep_nix_to_dos"`
  50174. + fi
  50175. + # Now, add the leading and trailing path separators back
  50176. + case "$1" in
  50177. + :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
  50178. + ;;
  50179. + esac
  50180. + case "$1" in
  50181. + *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
  50182. + ;;
  50183. + esac
  50184. + ;;
  50185. + esac
  50186. + fi
  50187. +}
  50188. +# end: func_to_host_pathlist
  50189. # func_emit_cwrapperexe_src
  50190. # emit the source code for a wrapper executable on stdout
  50191. @@ -2951,6 +3160,12 @@
  50192. # include <stdint.h>
  50193. # ifdef __CYGWIN__
  50194. # include <io.h>
  50195. +# define HAVE_SETENV
  50196. +# ifdef __STRICT_ANSI__
  50197. +char *realpath (const char *, char *);
  50198. +int putenv (char *);
  50199. +int setenv (const char *, const char *, int);
  50200. +# endif
  50201. # endif
  50202. #endif
  50203. #include <malloc.h>
  50204. @@ -3057,29 +3272,105 @@
  50205. int check_executable (const char *path);
  50206. char *strendzap (char *str, const char *pat);
  50207. void lt_fatal (const char *message, ...);
  50208. +void lt_setenv (const char *name, const char *value);
  50209. +char *lt_extend_str (const char *orig_value, const char *add, int to_end);
  50210. +void lt_opt_process_env_set (const char *arg);
  50211. +void lt_opt_process_env_prepend (const char *arg);
  50212. +void lt_opt_process_env_append (const char *arg);
  50213. +int lt_split_name_value (const char *arg, char** name, char** value);
  50214. +void lt_update_exe_path (const char *name, const char *value);
  50215. +void lt_update_lib_path (const char *name, const char *value);
  50216. -static const char *script_text =
  50217. +static const char *script_text_part1 =
  50218. EOF
  50219. - func_emit_wrapper yes |
  50220. + func_emit_wrapper_part1 yes |
  50221. + $SED -e 's/\([\\"]\)/\\\1/g' \
  50222. + -e 's/^/ "/' -e 's/$/\\n"/'
  50223. + echo ";"
  50224. + cat <<EOF
  50225. +
  50226. +static const char *script_text_part2 =
  50227. +EOF
  50228. + func_emit_wrapper_part2 yes |
  50229. $SED -e 's/\([\\"]\)/\\\1/g' \
  50230. -e 's/^/ "/' -e 's/$/\\n"/'
  50231. echo ";"
  50232. cat <<EOF
  50233. const char * MAGIC_EXE = "$magic_exe";
  50234. +const char * LIB_PATH_VARNAME = "$shlibpath_var";
  50235. +EOF
  50236. +
  50237. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
  50238. + func_to_host_pathlist "$temp_rpath"
  50239. + cat <<EOF
  50240. +const char * LIB_PATH_VALUE = "$func_to_host_pathlist_result";
  50241. +EOF
  50242. + else
  50243. + cat <<"EOF"
  50244. +const char * LIB_PATH_VALUE = "";
  50245. +EOF
  50246. + fi
  50247. +
  50248. + if test -n "$dllsearchpath"; then
  50249. + func_to_host_pathlist "$dllsearchpath:"
  50250. + cat <<EOF
  50251. +const char * EXE_PATH_VARNAME = "PATH";
  50252. +const char * EXE_PATH_VALUE = "$func_to_host_pathlist_result";
  50253. +EOF
  50254. + else
  50255. + cat <<"EOF"
  50256. +const char * EXE_PATH_VARNAME = "";
  50257. +const char * EXE_PATH_VALUE = "";
  50258. +EOF
  50259. + fi
  50260. +
  50261. + if test "$fast_install" = yes; then
  50262. + cat <<EOF
  50263. +const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
  50264. +EOF
  50265. + else
  50266. + cat <<EOF
  50267. +const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
  50268. +EOF
  50269. + fi
  50270. +
  50271. +
  50272. + cat <<"EOF"
  50273. +
  50274. +#define LTWRAPPER_OPTION_PREFIX "--lt-"
  50275. +#define LTWRAPPER_OPTION_PREFIX_LENGTH 5
  50276. +
  50277. +static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
  50278. +static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
  50279. +
  50280. +static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
  50281. +
  50282. +static const size_t env_set_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
  50283. +static const char *env_set_opt = LTWRAPPER_OPTION_PREFIX "env-set";
  50284. + /* argument is putenv-style "foo=bar", value of foo is set to bar */
  50285. +
  50286. +static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
  50287. +static const char *env_prepend_opt = LTWRAPPER_OPTION_PREFIX "env-prepend";
  50288. + /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
  50289. +
  50290. +static const size_t env_append_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
  50291. +static const char *env_append_opt = LTWRAPPER_OPTION_PREFIX "env-append";
  50292. + /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
  50293. int
  50294. main (int argc, char *argv[])
  50295. {
  50296. char **newargz;
  50297. + int newargc;
  50298. char *tmp_pathspec;
  50299. char *actual_cwrapper_path;
  50300. - char *shwrapper_name;
  50301. + char *actual_cwrapper_name;
  50302. + char *target_name;
  50303. + char *lt_argv_zero;
  50304. intptr_t rval = 127;
  50305. - FILE *shwrapper;
  50306. - const char *dumpscript_opt = "--lt-dump-script";
  50307. int i;
  50308. program_name = (char *) xstrdup (base_name (argv[0]));
  50309. @@ -3099,38 +3390,14 @@
  50310. ;;
  50311. esac
  50312. - cat <<EOF
  50313. - printf ("%s", script_text);
  50314. + cat <<"EOF"
  50315. + printf ("%s", script_text_part1);
  50316. + printf ("%s", script_text_part2);
  50317. return 0;
  50318. }
  50319. }
  50320. - newargz = XMALLOC (char *, argc + 2);
  50321. -EOF
  50322. -
  50323. - if test -n "$TARGETSHELL" ; then
  50324. - # no path translation at all
  50325. - lt_newargv0=$TARGETSHELL
  50326. - else
  50327. - case "$host" in
  50328. - *mingw* )
  50329. - # awkward: cmd appends spaces to result
  50330. - lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  50331. - lt_newargv0=`( cmd //c echo $SHELL | $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo $SHELL`
  50332. - case $lt_newargv0 in
  50333. - *.exe | *.EXE) ;;
  50334. - *) lt_newargv0=$lt_newargv0.exe ;;
  50335. - esac
  50336. - ;;
  50337. - * ) lt_newargv0=$SHELL ;;
  50338. - esac
  50339. - fi
  50340. -
  50341. - cat <<EOF
  50342. - newargz[0] = (char *) xstrdup ("$lt_newargv0");
  50343. -EOF
  50344. -
  50345. - cat <<"EOF"
  50346. + newargz = XMALLOC (char *, argc + 1);
  50347. tmp_pathspec = find_executable (argv[0]);
  50348. if (tmp_pathspec == NULL)
  50349. lt_fatal ("Couldn't find %s", argv[0]);
  50350. @@ -3142,39 +3409,60 @@
  50351. actual_cwrapper_path));
  50352. XFREE (tmp_pathspec);
  50353. - shwrapper_name = (char *) xstrdup (base_name (actual_cwrapper_path));
  50354. - strendzap (actual_cwrapper_path, shwrapper_name);
  50355. + actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
  50356. + strendzap (actual_cwrapper_path, actual_cwrapper_name);
  50357. +
  50358. + /* wrapper name transforms */
  50359. + strendzap (actual_cwrapper_name, ".exe");
  50360. + tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
  50361. + XFREE (actual_cwrapper_name);
  50362. + actual_cwrapper_name = tmp_pathspec;
  50363. + tmp_pathspec = 0;
  50364. - /* shwrapper_name transforms */
  50365. - strendzap (shwrapper_name, ".exe");
  50366. - tmp_pathspec = XMALLOC (char, (strlen (shwrapper_name) +
  50367. - strlen ("_ltshwrapperTMP") + 1));
  50368. - strcpy (tmp_pathspec, shwrapper_name);
  50369. - strcat (tmp_pathspec, "_ltshwrapperTMP");
  50370. - XFREE (shwrapper_name);
  50371. - shwrapper_name = tmp_pathspec;
  50372. + /* target_name transforms -- use actual target program name; might have lt- prefix */
  50373. + target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
  50374. + strendzap (target_name, ".exe");
  50375. + tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
  50376. + XFREE (target_name);
  50377. + target_name = tmp_pathspec;
  50378. tmp_pathspec = 0;
  50379. - LTWRAPPER_DEBUGPRINTF (("(main) libtool shell wrapper name: %s\n",
  50380. - shwrapper_name));
  50381. +
  50382. + LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
  50383. + target_name));
  50384. EOF
  50385. cat <<EOF
  50386. - newargz[1] =
  50387. + newargz[0] =
  50388. XMALLOC (char, (strlen (actual_cwrapper_path) +
  50389. - strlen ("$objdir") + 1 + strlen (shwrapper_name) + 1));
  50390. - strcpy (newargz[1], actual_cwrapper_path);
  50391. - strcat (newargz[1], "$objdir");
  50392. - strcat (newargz[1], "/");
  50393. - strcat (newargz[1], shwrapper_name);
  50394. + strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
  50395. + strcpy (newargz[0], actual_cwrapper_path);
  50396. + strcat (newargz[0], "$objdir");
  50397. + strcat (newargz[0], "/");
  50398. EOF
  50399. + cat <<"EOF"
  50400. + /* stop here, and copy so we don't have to do this twice */
  50401. + tmp_pathspec = xstrdup (newargz[0]);
  50402. +
  50403. + /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
  50404. + strcat (newargz[0], actual_cwrapper_name);
  50405. +
  50406. + /* DO want the lt- prefix here if it exists, so use target_name */
  50407. + lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
  50408. + XFREE (tmp_pathspec);
  50409. + tmp_pathspec = NULL;
  50410. +EOF
  50411. case $host_os in
  50412. mingw*)
  50413. cat <<"EOF"
  50414. {
  50415. char* p;
  50416. - while ((p = strchr (newargz[1], '\\')) != NULL)
  50417. + while ((p = strchr (newargz[0], '\\')) != NULL)
  50418. + {
  50419. + *p = '/';
  50420. + }
  50421. + while ((p = strchr (lt_argv_zero, '\\')) != NULL)
  50422. {
  50423. *p = '/';
  50424. }
  50425. @@ -3184,55 +3472,114 @@
  50426. esac
  50427. cat <<"EOF"
  50428. - XFREE (shwrapper_name);
  50429. + XFREE (target_name);
  50430. XFREE (actual_cwrapper_path);
  50431. + XFREE (actual_cwrapper_name);
  50432. - /* always write in binary mode */
  50433. - if ((shwrapper = fopen (newargz[1], FOPEN_WB)) == 0)
  50434. - {
  50435. - lt_fatal ("Could not open %s for writing", newargz[1]);
  50436. - }
  50437. - fprintf (shwrapper, "%s", script_text);
  50438. - fclose (shwrapper);
  50439. -
  50440. - make_executable (newargz[1]);
  50441. + lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
  50442. + lt_setenv ("DUALCASE", "1"); /* for MSK sh */
  50443. + lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
  50444. + lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
  50445. + newargc=0;
  50446. for (i = 1; i < argc; i++)
  50447. - newargz[i + 1] = xstrdup (argv[i]);
  50448. - newargz[argc + 1] = NULL;
  50449. + {
  50450. + if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
  50451. + {
  50452. + if (argv[i][env_set_opt_len] == '=')
  50453. + {
  50454. + const char *p = argv[i] + env_set_opt_len + 1;
  50455. + lt_opt_process_env_set (p);
  50456. + }
  50457. + else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
  50458. + {
  50459. + lt_opt_process_env_set (argv[++i]); /* don't copy */
  50460. + }
  50461. + else
  50462. + lt_fatal ("%s missing required argument", env_set_opt);
  50463. + continue;
  50464. + }
  50465. + if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
  50466. + {
  50467. + if (argv[i][env_prepend_opt_len] == '=')
  50468. + {
  50469. + const char *p = argv[i] + env_prepend_opt_len + 1;
  50470. + lt_opt_process_env_prepend (p);
  50471. + }
  50472. + else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
  50473. + {
  50474. + lt_opt_process_env_prepend (argv[++i]); /* don't copy */
  50475. + }
  50476. + else
  50477. + lt_fatal ("%s missing required argument", env_prepend_opt);
  50478. + continue;
  50479. + }
  50480. + if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
  50481. + {
  50482. + if (argv[i][env_append_opt_len] == '=')
  50483. + {
  50484. + const char *p = argv[i] + env_append_opt_len + 1;
  50485. + lt_opt_process_env_append (p);
  50486. + }
  50487. + else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
  50488. + {
  50489. + lt_opt_process_env_append (argv[++i]); /* don't copy */
  50490. + }
  50491. + else
  50492. + lt_fatal ("%s missing required argument", env_append_opt);
  50493. + continue;
  50494. + }
  50495. + if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
  50496. + {
  50497. + /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
  50498. + namespace, but it is not one of the ones we know about and
  50499. + have already dealt with, above (inluding dump-script), then
  50500. + report an error. Otherwise, targets might begin to believe
  50501. + they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
  50502. + namespace. The first time any user complains about this, we'll
  50503. + need to make LTWRAPPER_OPTION_PREFIX a configure-time option
  50504. + or a configure.ac-settable value.
  50505. + */
  50506. + lt_fatal ("Unrecognized option in %s namespace: '%s'",
  50507. + ltwrapper_option_prefix, argv[i]);
  50508. + }
  50509. + /* otherwise ... */
  50510. + newargz[++newargc] = xstrdup (argv[i]);
  50511. + }
  50512. + newargz[++newargc] = NULL;
  50513. - for (i = 0; i < argc + 1; i++)
  50514. + LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
  50515. + for (i = 0; i < newargc; i++)
  50516. {
  50517. - LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, newargz[i]));
  50518. + LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
  50519. }
  50520. EOF
  50521. case $host_os in
  50522. mingw*)
  50523. - cat <<EOF
  50524. + cat <<"EOF"
  50525. /* execv doesn't actually work on mingw as expected on unix */
  50526. - rval = _spawnv (_P_WAIT, "$lt_newargv0", (const char * const *) newargz);
  50527. + rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
  50528. if (rval == -1)
  50529. {
  50530. /* failed to start process */
  50531. - LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"$lt_newargv0\": errno = %d\n", errno));
  50532. + LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
  50533. return 127;
  50534. }
  50535. return rval;
  50536. -}
  50537. EOF
  50538. ;;
  50539. *)
  50540. - cat <<EOF
  50541. - execv ("$lt_newargv0", newargz);
  50542. + cat <<"EOF"
  50543. + execv (lt_argv_zero, newargz);
  50544. return rval; /* =127, but avoids unused variable warning */
  50545. -}
  50546. EOF
  50547. ;;
  50548. esac
  50549. cat <<"EOF"
  50550. +}
  50551. void *
  50552. xmalloc (size_t num)
  50553. @@ -3506,6 +3853,177 @@
  50554. lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
  50555. va_end (ap);
  50556. }
  50557. +
  50558. +void
  50559. +lt_setenv (const char *name, const char *value)
  50560. +{
  50561. + LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
  50562. + (name ? name : "<NULL>"),
  50563. + (value ? value : "<NULL>")));
  50564. + {
  50565. +#ifdef HAVE_SETENV
  50566. + /* always make a copy, for consistency with !HAVE_SETENV */
  50567. + char *str = xstrdup (value);
  50568. + setenv (name, str, 1);
  50569. +#else
  50570. + int len = strlen (name) + 1 + strlen (value) + 1;
  50571. + char *str = XMALLOC (char, len);
  50572. + sprintf (str, "%s=%s", name, value);
  50573. + if (putenv (str) != EXIT_SUCCESS)
  50574. + {
  50575. + XFREE (str);
  50576. + }
  50577. +#endif
  50578. + }
  50579. +}
  50580. +
  50581. +char *
  50582. +lt_extend_str (const char *orig_value, const char *add, int to_end)
  50583. +{
  50584. + char *new_value;
  50585. + if (orig_value && *orig_value)
  50586. + {
  50587. + int orig_value_len = strlen (orig_value);
  50588. + int add_len = strlen (add);
  50589. + new_value = XMALLOC (char, add_len + orig_value_len + 1);
  50590. + if (to_end)
  50591. + {
  50592. + strcpy (new_value, orig_value);
  50593. + strcpy (new_value + orig_value_len, add);
  50594. + }
  50595. + else
  50596. + {
  50597. + strcpy (new_value, add);
  50598. + strcpy (new_value + add_len, orig_value);
  50599. + }
  50600. + }
  50601. + else
  50602. + {
  50603. + new_value = xstrdup (add);
  50604. + }
  50605. + return new_value;
  50606. +}
  50607. +
  50608. +int
  50609. +lt_split_name_value (const char *arg, char** name, char** value)
  50610. +{
  50611. + const char *p;
  50612. + int len;
  50613. + if (!arg || !*arg)
  50614. + return 1;
  50615. +
  50616. + p = strchr (arg, (int)'=');
  50617. +
  50618. + if (!p)
  50619. + return 1;
  50620. +
  50621. + *value = xstrdup (++p);
  50622. +
  50623. + len = strlen (arg) - strlen (*value);
  50624. + *name = XMALLOC (char, len);
  50625. + strncpy (*name, arg, len-1);
  50626. + (*name)[len - 1] = '\0';
  50627. +
  50628. + return 0;
  50629. +}
  50630. +
  50631. +void
  50632. +lt_opt_process_env_set (const char *arg)
  50633. +{
  50634. + char *name = NULL;
  50635. + char *value = NULL;
  50636. +
  50637. + if (lt_split_name_value (arg, &name, &value) != 0)
  50638. + {
  50639. + XFREE (name);
  50640. + XFREE (value);
  50641. + lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
  50642. + }
  50643. +
  50644. + lt_setenv (name, value);
  50645. + XFREE (name);
  50646. + XFREE (value);
  50647. +}
  50648. +
  50649. +void
  50650. +lt_opt_process_env_prepend (const char *arg)
  50651. +{
  50652. + char *name = NULL;
  50653. + char *value = NULL;
  50654. + char *new_value = NULL;
  50655. +
  50656. + if (lt_split_name_value (arg, &name, &value) != 0)
  50657. + {
  50658. + XFREE (name);
  50659. + XFREE (value);
  50660. + lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
  50661. + }
  50662. +
  50663. + new_value = lt_extend_str (getenv (name), value, 0);
  50664. + lt_setenv (name, new_value);
  50665. + XFREE (new_value);
  50666. + XFREE (name);
  50667. + XFREE (value);
  50668. +}
  50669. +
  50670. +void
  50671. +lt_opt_process_env_append (const char *arg)
  50672. +{
  50673. + char *name = NULL;
  50674. + char *value = NULL;
  50675. + char *new_value = NULL;
  50676. +
  50677. + if (lt_split_name_value (arg, &name, &value) != 0)
  50678. + {
  50679. + XFREE (name);
  50680. + XFREE (value);
  50681. + lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
  50682. + }
  50683. +
  50684. + new_value = lt_extend_str (getenv (name), value, 1);
  50685. + lt_setenv (name, new_value);
  50686. + XFREE (new_value);
  50687. + XFREE (name);
  50688. + XFREE (value);
  50689. +}
  50690. +
  50691. +void
  50692. +lt_update_exe_path (const char *name, const char *value)
  50693. +{
  50694. + LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
  50695. + (name ? name : "<NULL>"),
  50696. + (value ? value : "<NULL>")));
  50697. +
  50698. + if (name && *name && value && *value)
  50699. + {
  50700. + char *new_value = lt_extend_str (getenv (name), value, 0);
  50701. + /* some systems can't cope with a ':'-terminated path #' */
  50702. + int len = strlen (new_value);
  50703. + while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
  50704. + {
  50705. + new_value[len-1] = '\0';
  50706. + }
  50707. + lt_setenv (name, new_value);
  50708. + XFREE (new_value);
  50709. + }
  50710. +}
  50711. +
  50712. +void
  50713. +lt_update_lib_path (const char *name, const char *value)
  50714. +{
  50715. + LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
  50716. + (name ? name : "<NULL>"),
  50717. + (value ? value : "<NULL>")));
  50718. +
  50719. + if (name && *name && value && *value)
  50720. + {
  50721. + char *new_value = lt_extend_str (getenv (name), value, 0);
  50722. + lt_setenv (name, new_value);
  50723. + XFREE (new_value);
  50724. + }
  50725. +}
  50726. +
  50727. +
  50728. EOF
  50729. }
  50730. # end: func_emit_cwrapperexe_src
  50731. @@ -3515,7 +4033,7 @@
  50732. {
  50733. $opt_debug
  50734. case $host in
  50735. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  50736. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  50737. # It is impossible to link a dll without this setting, and
  50738. # we shouldn't force the makefile maintainer to figure out
  50739. # which system we are compiling for in order to pass an extra
  50740. @@ -3959,6 +4477,13 @@
  50741. -L*)
  50742. func_stripname '-L' '' "$arg"
  50743. dir=$func_stripname_result
  50744. + if test -z "$dir"; then
  50745. + if test "$#" -gt 0; then
  50746. + func_fatal_error "require no space between \`-L' and \`$1'"
  50747. + else
  50748. + func_fatal_error "need path for \`-L' option"
  50749. + fi
  50750. + fi
  50751. # We need an absolute path.
  50752. case $dir in
  50753. [\\/]* | [A-Za-z]:[\\/]*) ;;
  50754. @@ -3977,14 +4502,16 @@
  50755. ;;
  50756. esac
  50757. case $host in
  50758. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  50759. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  50760. testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
  50761. case :$dllsearchpath: in
  50762. *":$dir:"*) ;;
  50763. + ::) dllsearchpath=$dir;;
  50764. *) dllsearchpath="$dllsearchpath:$dir";;
  50765. esac
  50766. case :$dllsearchpath: in
  50767. *":$testbindir:"*) ;;
  50768. + ::) dllsearchpath=$testbindir;;
  50769. *) dllsearchpath="$dllsearchpath:$testbindir";;
  50770. esac
  50771. ;;
  50772. @@ -3995,7 +4522,7 @@
  50773. -l*)
  50774. if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  50775. case $host in
  50776. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
  50777. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
  50778. # These systems don't actually have a C or math library (as such)
  50779. continue
  50780. ;;
  50781. @@ -4072,7 +4599,7 @@
  50782. -no-install)
  50783. case $host in
  50784. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*)
  50785. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
  50786. # The PATH hackery in wrapper scripts is required on Windows
  50787. # and Darwin in order for the loader to find any dlls it needs.
  50788. func_warning "\`-no-install' is ignored for $host"
  50789. @@ -4820,19 +5347,19 @@
  50790. # It is a libtool convenience library, so add in its objects.
  50791. convenience="$convenience $ladir/$objdir/$old_library"
  50792. old_convenience="$old_convenience $ladir/$objdir/$old_library"
  50793. + tmp_libs=
  50794. + for deplib in $dependency_libs; do
  50795. + deplibs="$deplib $deplibs"
  50796. + if $opt_duplicate_deps ; then
  50797. + case "$tmp_libs " in
  50798. + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  50799. + esac
  50800. + fi
  50801. + tmp_libs="$tmp_libs $deplib"
  50802. + done
  50803. elif test "$linkmode" != prog && test "$linkmode" != lib; then
  50804. func_fatal_error "\`$lib' is not a convenience library"
  50805. fi
  50806. - tmp_libs=
  50807. - for deplib in $dependency_libs; do
  50808. - deplibs="$deplib $deplibs"
  50809. - if $opt_duplicate_deps ; then
  50810. - case "$tmp_libs " in
  50811. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  50812. - esac
  50813. - fi
  50814. - tmp_libs="$tmp_libs $deplib"
  50815. - done
  50816. continue
  50817. fi # $pass = conv
  50818. @@ -5032,7 +5559,7 @@
  50819. if test -n "$library_names" &&
  50820. { test "$use_static_libs" = no || test -z "$old_library"; }; then
  50821. case $host in
  50822. - *cygwin* | *mingw*)
  50823. + *cygwin* | *mingw* | *cegcc*)
  50824. # No point in relinking DLLs because paths are not encoded
  50825. notinst_deplibs="$notinst_deplibs $lib"
  50826. need_relink=no
  50827. @@ -5102,7 +5629,7 @@
  50828. elif test -n "$soname_spec"; then
  50829. # bleh windows
  50830. case $host in
  50831. - *cygwin* | mingw*)
  50832. + *cygwin* | mingw* | *cegcc*)
  50833. func_arith $current - $age
  50834. major=$func_arith_result
  50835. versuffix="-$major"
  50836. @@ -5369,6 +5896,7 @@
  50837. if test "$link_all_deplibs" != no; then
  50838. # Add the search paths of all dependency libraries
  50839. for deplib in $dependency_libs; do
  50840. + path=
  50841. case $deplib in
  50842. -L*) path="$deplib" ;;
  50843. *.la)
  50844. @@ -5884,7 +6412,7 @@
  50845. tempremovelist=`$ECHO "$output_objdir/*"`
  50846. for p in $tempremovelist; do
  50847. case $p in
  50848. - *.$objext)
  50849. + *.$objext | *.gcno)
  50850. ;;
  50851. $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
  50852. if test "X$precious_files_regex" != "X"; then
  50853. @@ -5955,7 +6483,7 @@
  50854. if test "$build_libtool_libs" = yes; then
  50855. if test -n "$rpath"; then
  50856. case $host in
  50857. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
  50858. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
  50859. # these systems don't actually have a c library (as such)!
  50860. ;;
  50861. *-*-rhapsody* | *-*-darwin1.[012])
  50862. @@ -6454,7 +6982,7 @@
  50863. orig_export_symbols=
  50864. case $host_os in
  50865. - cygwin* | mingw*)
  50866. + cygwin* | mingw* | cegcc*)
  50867. if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
  50868. # exporting using user supplied symfile
  50869. if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
  50870. @@ -7079,14 +7607,16 @@
  50871. esac
  50872. fi
  50873. case $host in
  50874. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
  50875. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  50876. testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
  50877. case :$dllsearchpath: in
  50878. *":$libdir:"*) ;;
  50879. + ::) dllsearchpath=$libdir;;
  50880. *) dllsearchpath="$dllsearchpath:$libdir";;
  50881. esac
  50882. case :$dllsearchpath: in
  50883. *":$testbindir:"*) ;;
  50884. + ::) dllsearchpath=$testbindir;;
  50885. *) dllsearchpath="$dllsearchpath:$testbindir";;
  50886. esac
  50887. ;;
  50888. @@ -7156,6 +7686,10 @@
  50889. wrappers_required=no
  50890. fi
  50891. ;;
  50892. + *cegcc)
  50893. + # Disable wrappers for cegcc, we are cross compiling anyway.
  50894. + wrappers_required=no
  50895. + ;;
  50896. *)
  50897. if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
  50898. wrappers_required=no
  50899. @@ -7308,11 +7842,10 @@
  50900. func_emit_cwrapperexe_src > $cwrappersource
  50901. - # we should really use a build-platform specific compiler
  50902. - # here, but OTOH, the wrappers (shell script and this C one)
  50903. - # are only useful if you want to execute the "real" binary.
  50904. - # Since the "real" binary is built for $host, then this
  50905. - # wrapper might as well be built for $host, too.
  50906. + # The wrapper executable is built using the $host compiler,
  50907. + # because it contains $host paths and files. If cross-
  50908. + # compiling, it, like the target executable, must be
  50909. + # executed on the $host or under an emulation environment.
  50910. $opt_dry_run || {
  50911. $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
  50912. $STRIP $cwrapper
  50913. @@ -7597,7 +8130,7 @@
  50914. # place dlname in correct position for cygwin
  50915. tdlname=$dlname
  50916. case $host,$output,$installed,$module,$dlname in
  50917. - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  50918. + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  50919. esac
  50920. $ECHO > $output "\
  50921. # $outputname - a libtool library file
  50922. diff -Nur gpsd-2.39.orig/Makefile gpsd-2.39/Makefile
  50923. --- gpsd-2.39.orig/Makefile 1970-01-01 01:00:00.000000000 +0100
  50924. +++ gpsd-2.39/Makefile 2010-02-18 21:44:18.928853386 +0100
  50925. @@ -0,0 +1,1848 @@
  50926. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  50927. +# Makefile. Generated from Makefile.in by configure.
  50928. +
  50929. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  50930. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  50931. +# Inc.
  50932. +# This Makefile.in is free software; the Free Software Foundation
  50933. +# gives unlimited permission to copy and/or distribute it,
  50934. +# with or without modifications, as long as this notice is preserved.
  50935. +
  50936. +# This program is distributed in the hope that it will be useful,
  50937. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  50938. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  50939. +# PARTICULAR PURPOSE.
  50940. +
  50941. +
  50942. +
  50943. +# Automake description for gpsd
  50944. +# $Id: Makefile.am 5494 2009-03-18 15:16:41Z esr $
  50945. +
  50946. +#SUBDIRS = contrib
  50947. +
  50948. +
  50949. +
  50950. +
  50951. +
  50952. +pkgdatadir = $(datadir)/gpsd
  50953. +pkgincludedir = $(includedir)/gpsd
  50954. +pkglibdir = $(libdir)/gpsd
  50955. +pkglibexecdir = $(libexecdir)/gpsd
  50956. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  50957. +install_sh_DATA = $(install_sh) -c -m 644
  50958. +install_sh_PROGRAM = $(install_sh) -c
  50959. +install_sh_SCRIPT = $(install_sh) -c
  50960. +INSTALL_HEADER = $(INSTALL_DATA)
  50961. +transform = $(program_transform_name)
  50962. +NORMAL_INSTALL = :
  50963. +PRE_INSTALL = :
  50964. +POST_INSTALL = :
  50965. +NORMAL_UNINSTALL = :
  50966. +PRE_UNINSTALL = :
  50967. +POST_UNINSTALL = :
  50968. +build_triplet = i686-pc-linux-gnu
  50969. +host_triplet = i686-pc-linux-gnu
  50970. +bin_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \
  50971. + $(am__EXEEXT_4) gpsctl$(EXEEXT) gpspipe$(EXEEXT) \
  50972. + gpsflash$(EXEEXT) gpxlogger$(EXEEXT) lcdgps$(EXEEXT)
  50973. +sbin_PROGRAMS = gpsd$(EXEEXT)
  50974. +check_PROGRAMS = test_bits$(EXEEXT) test_gpsmm$(EXEEXT) \
  50975. + test_packet$(EXEEXT) test_mkgmtime$(EXEEXT) \
  50976. + test_geoid$(EXEEXT)
  50977. +subdir = .
  50978. +DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \
  50979. + $(noinst_HEADERS) $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  50980. + $(srcdir)/gpsd_config.h.in $(srcdir)/libgps.pc.in \
  50981. + $(srcdir)/libgpsd.pc.in $(top_srcdir)/configure \
  50982. + $(top_srcdir)/packaging/gpsd.spec.in AUTHORS COPYING ChangeLog \
  50983. + INSTALL NEWS TODO config.guess config.sub depcomp install-sh \
  50984. + ltmain.sh missing py-compile
  50985. +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  50986. +am__aclocal_m4_deps = $(top_srcdir)/configure.ac
  50987. +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  50988. + $(ACLOCAL_M4)
  50989. +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  50990. + configure.lineno config.status.lineno
  50991. +mkinstalldirs = $(install_sh) -d
  50992. +CONFIG_HEADER = gpsd_config.h
  50993. +CONFIG_CLEAN_FILES = packaging/gpsd.spec libgps.pc libgpsd.pc
  50994. +CONFIG_CLEAN_VPATH_FILES =
  50995. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  50996. +am__vpath_adj = case $$p in \
  50997. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  50998. + *) f=$$p;; \
  50999. + esac;
  51000. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  51001. +am__install_max = 40
  51002. +am__nobase_strip_setup = \
  51003. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  51004. +am__nobase_strip = \
  51005. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  51006. +am__nobase_list = $(am__nobase_strip_setup); \
  51007. + for p in $$list; do echo "$$p $$p"; done | \
  51008. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  51009. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  51010. + if (++n[$$2] == $(am__install_max)) \
  51011. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  51012. + END { for (dir in files) print dir, files[dir] }'
  51013. +am__base_list = \
  51014. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  51015. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  51016. +am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
  51017. + "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" \
  51018. + "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" \
  51019. + "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfigdir)" \
  51020. + "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"
  51021. +LTLIBRARIES = $(lib_LTLIBRARIES)
  51022. +am__DEPENDENCIES_1 =
  51023. +libgps_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  51024. + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  51025. + $(am__DEPENDENCIES_1)
  51026. +am__objects_1 = bits.lo bsd-base64.lo crc24q.lo dgnss.lo dgpsip.lo \
  51027. + gpsd_report.lo gpsutils.lo geoid.lo hex.lo isgps.lo libgps.lo \
  51028. + gpsdclient.lo libgpsd_core.lo netlib.lo ntpshm.lo ntrip.lo \
  51029. + packet.lo serial.lo srecord.lo strl.lo subframe.lo drivers.lo \
  51030. + driver_aivdm.lo driver_evermore.lo driver_garmin.lo \
  51031. + driver_garmin_txt.lo driver_italk.lo driver_navcom.lo \
  51032. + driver_nmea.lo driver_rtcm2.lo driver_rtcm3.lo driver_sirf.lo \
  51033. + driver_superstar2.lo driver_tsip.lo driver_ubx.lo \
  51034. + driver_zodiac.lo
  51035. +am__objects_2 =
  51036. +am_libgps_la_OBJECTS = $(am__objects_1) $(am__objects_2) libgpsmm.lo
  51037. +nodist_libgps_la_OBJECTS =
  51038. +libgps_la_OBJECTS = $(am_libgps_la_OBJECTS) \
  51039. + $(nodist_libgps_la_OBJECTS)
  51040. +libgps_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
  51041. + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
  51042. + $(CXXFLAGS) $(libgps_la_LDFLAGS) $(LDFLAGS) -o $@
  51043. +#am__EXEEXT_1 = xgps$(EXEEXT)
  51044. +#am__EXEEXT_2 = xgpsspeed$(EXEEXT)
  51045. +am__EXEEXT_3 = gpsdecode$(EXEEXT)
  51046. +am__EXEEXT_4 = cgps$(EXEEXT) gpsmon$(EXEEXT)
  51047. +PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS)
  51048. +am_cgps_OBJECTS = cgps.$(OBJEXT)
  51049. +cgps_OBJECTS = $(am_cgps_OBJECTS)
  51050. +cgps_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  51051. + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  51052. + $(am__DEPENDENCIES_1) libgps.la $(am__DEPENDENCIES_1)
  51053. +am_gpsctl_OBJECTS = gpsctl.$(OBJEXT)
  51054. +gpsctl_OBJECTS = $(am_gpsctl_OBJECTS)
  51055. +gpsctl_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la \
  51056. + $(am__DEPENDENCIES_1)
  51057. +am__objects_3 = gpsd_dbus.$(OBJEXT) gpsd.$(OBJEXT)
  51058. +am_gpsd_OBJECTS = $(am__objects_3)
  51059. +gpsd_OBJECTS = $(am_gpsd_OBJECTS)
  51060. +gpsd_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  51061. + libgps.la $(am__DEPENDENCIES_1)
  51062. +am_gpsdecode_OBJECTS = gpsdecode.$(OBJEXT)
  51063. +gpsdecode_OBJECTS = $(am_gpsdecode_OBJECTS)
  51064. +gpsdecode_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la \
  51065. + $(am__DEPENDENCIES_1)
  51066. +am_gpsflash_OBJECTS = gpsflash.$(OBJEXT) sirfflash.$(OBJEXT)
  51067. +gpsflash_OBJECTS = $(am_gpsflash_OBJECTS)
  51068. +gpsflash_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la
  51069. +am_gpsmon_OBJECTS = gpsmon.$(OBJEXT) monitor_nmea.$(OBJEXT) \
  51070. + monitor_sirf.$(OBJEXT) monitor_italk.$(OBJEXT) \
  51071. + monitor_ubx.$(OBJEXT) monitor_superstar2.$(OBJEXT)
  51072. +gpsmon_OBJECTS = $(am_gpsmon_OBJECTS)
  51073. +gpsmon_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  51074. + libgps.la $(am__DEPENDENCIES_1)
  51075. +am_gpspipe_OBJECTS = gpspipe.$(OBJEXT)
  51076. +gpspipe_OBJECTS = $(am_gpspipe_OBJECTS)
  51077. +gpspipe_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  51078. + libgps.la
  51079. +am_gpxlogger_OBJECTS = gpxlogger.$(OBJEXT)
  51080. +gpxlogger_OBJECTS = $(am_gpxlogger_OBJECTS)
  51081. +gpxlogger_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la
  51082. +am_lcdgps_OBJECTS = lcdgps.$(OBJEXT)
  51083. +lcdgps_OBJECTS = $(am_lcdgps_OBJECTS)
  51084. +lcdgps_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la
  51085. +am_test_bits_OBJECTS = test_bits.$(OBJEXT)
  51086. +test_bits_OBJECTS = $(am_test_bits_OBJECTS)
  51087. +test_bits_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la
  51088. +am_test_geoid_OBJECTS = test_geoid.$(OBJEXT)
  51089. +test_geoid_OBJECTS = $(am_test_geoid_OBJECTS)
  51090. +test_geoid_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la
  51091. +am_test_gpsmm_OBJECTS = test_gpsmm.$(OBJEXT)
  51092. +test_gpsmm_OBJECTS = $(am_test_gpsmm_OBJECTS)
  51093. +test_gpsmm_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la
  51094. +am_test_mkgmtime_OBJECTS = test_mkgmtime.$(OBJEXT)
  51095. +test_mkgmtime_OBJECTS = $(am_test_mkgmtime_OBJECTS)
  51096. +test_mkgmtime_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la
  51097. +am_test_packet_OBJECTS = test_packet.$(OBJEXT)
  51098. +test_packet_OBJECTS = $(am_test_packet_OBJECTS)
  51099. +test_packet_DEPENDENCIES = $(am__DEPENDENCIES_1) libgps.la
  51100. +am_xgps_OBJECTS = xgps.$(OBJEXT)
  51101. +xgps_OBJECTS = $(am_xgps_OBJECTS)
  51102. +xgps_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  51103. + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  51104. + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  51105. + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) libgps.la \
  51106. + $(am__DEPENDENCIES_1)
  51107. +am__objects_4 = xgpsspeed.$(OBJEXT) Tachometer.$(OBJEXT)
  51108. +am_xgpsspeed_OBJECTS = $(am__objects_4)
  51109. +xgpsspeed_OBJECTS = $(am_xgpsspeed_OBJECTS)
  51110. +xgpsspeed_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  51111. + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  51112. + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  51113. + $(am__DEPENDENCIES_1) libgps.la $(am__DEPENDENCIES_1)
  51114. +DEFAULT_INCLUDES = -I.
  51115. +depcomp = $(SHELL) $(top_srcdir)/depcomp
  51116. +am__depfiles_maybe = depfiles
  51117. +am__mv = mv -f
  51118. +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  51119. + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  51120. +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  51121. + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  51122. + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  51123. +CCLD = $(CC)
  51124. +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  51125. + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  51126. + $(LDFLAGS) -o $@
  51127. +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  51128. + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  51129. +LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  51130. + --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  51131. + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  51132. +CXXLD = $(CXX)
  51133. +CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  51134. + --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
  51135. + $(LDFLAGS) -o $@
  51136. +SOURCES = $(libgps_la_SOURCES) $(nodist_libgps_la_SOURCES) \
  51137. + $(cgps_SOURCES) $(gpsctl_SOURCES) $(gpsd_SOURCES) \
  51138. + $(gpsdecode_SOURCES) $(gpsflash_SOURCES) $(gpsmon_SOURCES) \
  51139. + $(gpspipe_SOURCES) $(gpxlogger_SOURCES) $(lcdgps_SOURCES) \
  51140. + $(test_bits_SOURCES) $(test_geoid_SOURCES) \
  51141. + $(test_gpsmm_SOURCES) $(test_mkgmtime_SOURCES) \
  51142. + $(test_packet_SOURCES) $(xgps_SOURCES) $(xgpsspeed_SOURCES)
  51143. +DIST_SOURCES = $(libgps_la_SOURCES) $(cgps_SOURCES) $(gpsctl_SOURCES) \
  51144. + $(gpsd_SOURCES) $(gpsdecode_SOURCES) $(gpsflash_SOURCES) \
  51145. + $(gpsmon_SOURCES) $(gpspipe_SOURCES) $(gpxlogger_SOURCES) \
  51146. + $(lcdgps_SOURCES) $(test_bits_SOURCES) $(test_geoid_SOURCES) \
  51147. + $(test_gpsmm_SOURCES) $(test_mkgmtime_SOURCES) \
  51148. + $(test_packet_SOURCES) $(xgps_SOURCES) $(xgpsspeed_SOURCES)
  51149. +man1dir = $(mandir)/man1
  51150. +man3dir = $(mandir)/man3
  51151. +man5dir = $(mandir)/man5
  51152. +man8dir = $(mandir)/man8
  51153. +NROFF = nroff
  51154. +MANS = $(man_MANS)
  51155. +DATA = $(pkgconfig_DATA)
  51156. +HEADERS = $(include_HEADERS) $(nodist_include_HEADERS) \
  51157. + $(noinst_HEADERS)
  51158. +ETAGS = etags
  51159. +CTAGS = ctags
  51160. +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  51161. +distdir = $(PACKAGE)-$(VERSION)
  51162. +top_distdir = $(distdir)
  51163. +am__remove_distdir = \
  51164. + { test ! -d "$(distdir)" \
  51165. + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  51166. + && rm -fr "$(distdir)"; }; }
  51167. +DIST_ARCHIVES = $(distdir).tar.gz
  51168. +GZIP_ENV = --best
  51169. +distuninstallcheck_listfiles = find . -type f -print
  51170. +distcleancheck_listfiles = find . -type f -print
  51171. +ACLOCAL = ${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run aclocal-1.11
  51172. +ALLOCA =
  51173. +AMTAR = ${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run tar
  51174. +AR = ar
  51175. +AUTOCONF = ${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run autoconf
  51176. +AUTOHEADER = ${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run autoheader
  51177. +AUTOMAKE = ${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run automake-1.11
  51178. +AWK = gawk
  51179. +CC = gcc
  51180. +CCDEPMODE = depmode=gcc3
  51181. +CFLAGS = -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE
  51182. +CPP = gcc -E
  51183. +CPPFLAGS =
  51184. +CXX = g++
  51185. +CXXCPP = g++ -E
  51186. +CXXDEPMODE = depmode=gcc3
  51187. +CXXFLAGS = -g -O2
  51188. +CYGPATH_W = echo
  51189. +DBUS_CFLAGS =
  51190. +DBUS_GLIB_CFLAGS =
  51191. +DBUS_GLIB_LIBS =
  51192. +DBUS_LIBS =
  51193. +DEFS = -DHAVE_CONFIG_H
  51194. +DEPDIR = .deps
  51195. +DSYMUTIL =
  51196. +DUMPBIN =
  51197. +ECHO_C =
  51198. +ECHO_N = -n
  51199. +ECHO_T =
  51200. +EGREP = /bin/grep -E
  51201. +EXEEXT =
  51202. +FGREP = /bin/grep -F
  51203. +GREP = /bin/grep
  51204. +INSTALL = /usr/bin/install -c
  51205. +INSTALL_DATA = ${INSTALL} -m 644
  51206. +INSTALL_PROGRAM = ${INSTALL}
  51207. +INSTALL_SCRIPT = ${INSTALL}
  51208. +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
  51209. +LD = /usr/bin/ld
  51210. +LDFLAGS =
  51211. +LIBC = -lc
  51212. +LIBM = -lm
  51213. +LIBNSL = -lnsl
  51214. +LIBOBJS =
  51215. +LIBPTHREAD = -lpthread
  51216. +LIBS =
  51217. +LIBSOCKET =
  51218. +LIBTOOL = $(SHELL) $(top_builddir)/libtool
  51219. +LIPO =
  51220. +LN_S = ln -s
  51221. +LTLIBOBJS =
  51222. +MAKEINFO = ${SHELL} /home/wbx/openadk/gpsd-2.39/missing --run makeinfo
  51223. +MANFLAGS = --nonet
  51224. +MANGENERATOR = xsltproc
  51225. +MANTARGET = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
  51226. +MKDIR_P = /bin/mkdir -p
  51227. +NCURSES_LIBS = -lncurses
  51228. +NM = /usr/bin/nm -B
  51229. +NMEDIT =
  51230. +OBJDUMP = objdump
  51231. +OBJEXT = o
  51232. +OTOOL =
  51233. +OTOOL64 =
  51234. +PACKAGE = gpsd
  51235. +PACKAGE_BUGREPORT =
  51236. +PACKAGE_NAME =
  51237. +PACKAGE_STRING =
  51238. +PACKAGE_TARNAME =
  51239. +PACKAGE_URL =
  51240. +PACKAGE_VERSION =
  51241. +PATH_SEPARATOR = :
  51242. +RANLIB = ranlib
  51243. +SED = /bin/sed
  51244. +SET_MAKE =
  51245. +SHELL = /bin/bash
  51246. +STRIP = strip
  51247. +VERSION = 2.39
  51248. +WITH_XMLTO =
  51249. +WITH_XSLTPROC = yes
  51250. +X11_LIBS =
  51251. +XAW_LIBS =
  51252. +XEXT_LIBS = -lXext
  51253. +XMKMF =
  51254. +XM_LIBS =
  51255. +XPM_LIBS =
  51256. +XP_LIBS =
  51257. +XT_LIBS = -lXt
  51258. +X_CFLAGS =
  51259. +X_EXTRA_LIBS =
  51260. +X_LIBS =
  51261. +X_PRE_LIBS = -lSM -lICE
  51262. +abs_builddir = /home/wbx/openadk/gpsd-2.39
  51263. +abs_srcdir = /home/wbx/openadk/gpsd-2.39
  51264. +abs_top_builddir = /home/wbx/openadk/gpsd-2.39
  51265. +abs_top_srcdir = /home/wbx/openadk/gpsd-2.39
  51266. +ac_ct_CC = gcc
  51267. +ac_ct_CXX = g++
  51268. +ac_ct_DUMPBIN =
  51269. +am__include = include
  51270. +am__leading_dot = .
  51271. +am__quote =
  51272. +am__tar = ${AMTAR} chof - "$$tardir"
  51273. +am__untar = ${AMTAR} xf -
  51274. +bindir = ${exec_prefix}/bin
  51275. +build = i686-pc-linux-gnu
  51276. +build_alias =
  51277. +build_cpu = i686
  51278. +build_os = linux-gnu
  51279. +build_vendor = pc
  51280. +builddir = .
  51281. +datadir = ${datarootdir}
  51282. +datarootdir = ${prefix}/share
  51283. +docdir = ${datarootdir}/doc/${PACKAGE}
  51284. +dvidir = ${docdir}
  51285. +exec_prefix = ${prefix}
  51286. +host = i686-pc-linux-gnu
  51287. +host_alias =
  51288. +host_cpu = i686
  51289. +host_os = linux-gnu
  51290. +host_vendor = pc
  51291. +htmldir = ${docdir}
  51292. +includedir = ${prefix}/include
  51293. +infodir = ${datarootdir}/info
  51294. +install_sh = ${SHELL} /home/wbx/openadk/gpsd-2.39/install-sh
  51295. +libdir = ${exec_prefix}/lib
  51296. +libexecdir = ${exec_prefix}/libexec
  51297. +localedir = ${datarootdir}/locale
  51298. +localstatedir = ${prefix}/var
  51299. +lt_ECHO = echo
  51300. +mandir = ${datarootdir}/man
  51301. +mkdir_p = /bin/mkdir -p
  51302. +oldincludedir = /usr/include
  51303. +pdfdir = ${docdir}
  51304. +prefix = /usr/local
  51305. +program_transform_name = s,x,x,
  51306. +psdir = ${docdir}
  51307. +sbindir = ${exec_prefix}/sbin
  51308. +sharedstatedir = ${prefix}/com
  51309. +srcdir = .
  51310. +sysconfdir = ${prefix}/etc
  51311. +target_alias =
  51312. +top_build_prefix =
  51313. +top_builddir = .
  51314. +top_srcdir = .
  51315. +XMLTO = xmlto
  51316. +
  51317. +#
  51318. +# Conditionally add programs depending on libraries that may or may not be present.
  51319. +#
  51320. +CURSESPROGS = cgps gpsmon
  51321. +#MOTIF_PROGS = xgps
  51322. +#XAW_PROGS = xgpsspeed
  51323. +#INCLUDES = $(DBUS_CFLAGS) $(DBUS_GLIB_CFLAGS) -DDBUS_API_SUBJECT_TO_CHANGE=1
  51324. +RTCM104PROGS = gpsdecode
  51325. +RTCM104PAGES = gpsdecode.1
  51326. +
  51327. +#
  51328. +# Build xgps
  51329. +#
  51330. +xgps_SOURCES = xgps.c
  51331. +xgps_LDADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(XM_LIBS) $(XT_LIBS) $(X_LIBS) $(X_PRE_LIBS) libgps.la -lm $(LIBPTHREAD)
  51332. +
  51333. +#
  51334. +# Build xgpsspeed
  51335. +#
  51336. +xgpsspeed_c_sources = \
  51337. + xgpsspeed.c \
  51338. + Tachometer.c \
  51339. + TachometerP.h \
  51340. + Tachometer.h
  51341. +
  51342. +xgpsspeed_SOURCES = \
  51343. + $(xgpsspeed_c_sources) \
  51344. + xgpsspeed.icon
  51345. +
  51346. +xgpsspeed_LDADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(XAW_LIBS) $(X_LIBS) $(X_PRE_LIBS) libgps.la -lm $(LIBPTHREAD)
  51347. +
  51348. +#
  51349. +# Build cgps
  51350. +#
  51351. +cgps_SOURCES = cgps.c
  51352. +cgps_LDADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(NCURSES_LIBS) libgps.la -lm $(LIBPTHREAD)
  51353. +
  51354. +#
  51355. +# Build gpxlogger
  51356. +#
  51357. +gpxlogger_SOURCES = gpxlogger.c
  51358. +gpxlogger_LDADD = $(DBUS_GLIB_LIBS) libgps.la -lm
  51359. +
  51360. +#
  51361. +# Build gpsd
  51362. +#
  51363. +gpsd_c_sources = gpsd_dbus.c gpsd.c
  51364. +gpsd_SOURCES = $(gpsd_c_sources) gpsd_dbus.h
  51365. +gpsd_LDADD = $(DBUS_LIBS) $(LIBM) libgps.la -lm $(LIBPTHREAD)
  51366. +
  51367. +#
  51368. +# Build gpsctl
  51369. +#
  51370. +gpsctl_SOURCES = gpsctl.c
  51371. +gpsctl_LDADD = $(LIBM) libgps.la -lm $(LIBPTHREAD)
  51372. +
  51373. +#
  51374. +# Build gpspipe
  51375. +#
  51376. +gpspipe_SOURCES = gpspipe.c
  51377. +gpspipe_LDADD = $(DBUS_LIBS) $(LIBM) libgps.la -lm
  51378. +
  51379. +#
  51380. +# Build lcdgps
  51381. +#
  51382. +lcdgps_SOURCES = lcdgps.c
  51383. +lcdgps_LDADD = $(LIBM) libgps.la -lm
  51384. +
  51385. +#
  51386. +# Build gpsmon
  51387. +#
  51388. +gpsmon_SOURCES = gpsmon.c monitor_nmea.c monitor_sirf.c \
  51389. + monitor_italk.c monitor_ubx.c monitor_superstar2.c
  51390. +
  51391. +gpsmon_LDADD = $(LIBM) $(NCURSES_LIBS) libgps.la -lm $(LIBPTHREAD)
  51392. +
  51393. +#
  51394. +# Build gpsdecode
  51395. +#
  51396. +gpsdecode_SOURCES = gpsdecode.c
  51397. +gpsdecode_LDADD = $(LIBM) libgps.la -lm $(LIBPTHREAD)
  51398. +
  51399. +#
  51400. +# Build gpsflash
  51401. +#
  51402. +gpsflash_SOURCES = gpsflash.c gpsflash.h sirfflash.c
  51403. +gpsflash_LDADD = $(LIBM) libgps.la -lm
  51404. +
  51405. +#
  51406. +# Build shared libraries
  51407. +#
  51408. +libgps_la_LDFLAGS = -version-number 18:0:0
  51409. +lib_LTLIBRARIES = libgps.la
  51410. +libgpsd_c_sources = \
  51411. + bits.c \
  51412. + bsd-base64.c \
  51413. + crc24q.c \
  51414. + dgnss.c \
  51415. + dgpsip.c \
  51416. + gpsd_report.c \
  51417. + gpsutils.c \
  51418. + geoid.c \
  51419. + hex.c \
  51420. + isgps.c \
  51421. + libgps.c \
  51422. + gpsdclient.c \
  51423. + libgpsd_core.c \
  51424. + netlib.c \
  51425. + ntpshm.c \
  51426. + ntrip.c \
  51427. + packet.c \
  51428. + serial.c \
  51429. + srecord.c \
  51430. + strl.c \
  51431. + subframe.c \
  51432. + drivers.c \
  51433. + driver_aivdm.c \
  51434. + driver_evermore.c \
  51435. + driver_garmin.c \
  51436. + driver_garmin_txt.c \
  51437. + driver_italk.c \
  51438. + driver_navcom.c \
  51439. + driver_nmea.c \
  51440. + driver_rtcm2.c \
  51441. + driver_rtcm3.c \
  51442. + driver_sirf.c \
  51443. + driver_superstar2.c \
  51444. + driver_tsip.c \
  51445. + driver_ubx.c \
  51446. + driver_zodiac.c
  51447. +
  51448. +libgpsd_h_sources = \
  51449. + bsd-base64.h \
  51450. + timebase.h \
  51451. + bits.h \
  51452. + crc24q.h
  51453. +
  51454. +BUILT_SOURCES = packet_names.h gpsd.h
  51455. +libgps_la_SOURCES = $(libgpsd_c_sources) $(libgpsd_h_sources) \
  51456. + driver_rtcm2.h libgpsmm.cpp packet_states.h
  51457. +
  51458. +nodist_libgps_la_SOURCES = packet_names.h
  51459. +libgps_la_LIBADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(LIBPTHREAD)
  51460. +
  51461. +#
  51462. +# Build test_gpsmm
  51463. +#
  51464. +test_gpsmm_SOURCES = test_gpsmm.cpp
  51465. +test_gpsmm_LDADD = $(LIBC) libgps.la -lm
  51466. +
  51467. +#
  51468. +# Build test_bits tester
  51469. +#
  51470. +test_bits_SOURCES = test_bits.c
  51471. +test_bits_LDADD = $(LIBC) libgps.la
  51472. +
  51473. +#
  51474. +# Build packets tester
  51475. +#
  51476. +test_packet_SOURCES = test_packet.c
  51477. +test_packet_LDADD = $(LIBC) libgps.la -lm
  51478. +
  51479. +#
  51480. +# Build geoid model tester
  51481. +#
  51482. +test_geoid_SOURCES = test_geoid.c
  51483. +test_geoid_LDADD = $(LIBC) libgps.la -lm
  51484. +
  51485. +#
  51486. +# Build time functions tester
  51487. +#
  51488. +test_mkgmtime_SOURCES = test_mkgmtime.c
  51489. +test_mkgmtime_LDADD = $(LIBC) libgps.la -lm
  51490. +
  51491. +#
  51492. +# Create Manpages
  51493. +#
  51494. +BUILT_MANPAGES = \
  51495. + gpsd.8 \
  51496. + gps.1 \
  51497. + xgps.1 \
  51498. + xgpsspeed.1 \
  51499. + cgps.1 \
  51500. + cgpxlogger.1 \
  51501. + libgps.3 \
  51502. + libgpsmm.3 \
  51503. + libgpsd.3 \
  51504. + gpsmon.1 \
  51505. + $(RTCM104PAGES) \
  51506. + $(PYTHONPAGES) \
  51507. + gpsctl.1 \
  51508. + gpspipe.1 \
  51509. + gpsflash.1 \
  51510. + rtcm-104.5 \
  51511. + srec.5
  51512. +
  51513. +man_MANS = \
  51514. + $(BUILT_MANPAGES)
  51515. +
  51516. +noinst_HEADERS = driver_italk.h driver_rtcm2.h driver_superstar2.h \
  51517. + driver_ubx.h gpsmon.h gpsdclient.h
  51518. +
  51519. +nodist_include_HEADERS = gpsd.h
  51520. +include_HEADERS = gps.h libgpsmm.h
  51521. +EXTRA_DIST = \
  51522. + autogen.sh \
  51523. + README \
  51524. + INSTALL \
  51525. + COPYING \
  51526. + TODO \
  51527. + NEWS \
  51528. + AUTHORS \
  51529. + dgpsip-servers \
  51530. + test_float.c \
  51531. + gpsd.php \
  51532. + gpsd.xml \
  51533. + gpsd.h-head \
  51534. + gpsd.h-tail \
  51535. + gps.xml \
  51536. + libgpsd.xml \
  51537. + libgps.xml \
  51538. + libgpsmm.xml \
  51539. + gpsprof.xml \
  51540. + gpsfake.xml \
  51541. + gpsctl.xml \
  51542. + gpsmon.xml \
  51543. + gpspipe.xml \
  51544. + gpsdecode.xml \
  51545. + rtcm-104.xml \
  51546. + srec.xml \
  51547. + gpsflash.xml \
  51548. + $(man_MANS) \
  51549. + xgps.ad \
  51550. + xgpsspeed.ad \
  51551. + gpsd.rules \
  51552. + gpsd.hotplug \
  51553. + gpsd.usermap \
  51554. + valgrind-audit \
  51555. + valgrind-suppressions \
  51556. + gpspacket.c \
  51557. + gpslib.c \
  51558. + driver_proto.c \
  51559. + monitor_proto.c \
  51560. + logextract \
  51561. + striplog \
  51562. + setup.py \
  51563. + packet_states.h \
  51564. + libgps.pc.in \
  51565. + libgpsd.pc.in \
  51566. + gpscap.ini \
  51567. + contrib/* \
  51568. + packaging/*
  51569. +
  51570. +CLEANFILES = $(BUILT_SOURCES) test_float *.core $(PYEXTENSIONS) $(BUILT_MANPAGES)
  51571. +pkgconfig_DATA = libgps.pc libgpsd.pc
  51572. +pkgconfigdir = $(libdir)/pkgconfig
  51573. +
  51574. +# Report splint warnings
  51575. +SPLINTOPTS = -I/usr/include/dbus-1.0/ +quiet
  51576. +
  51577. +#
  51578. +# This is how to tag a release for the SVN repository.
  51579. +# It requires developer access verified via ssh.
  51580. +#
  51581. +REPO = https://svn.berlios.de/svnroot/repos/gpsd
  51582. +all: $(BUILT_SOURCES) gpsd_config.h
  51583. + $(MAKE) $(AM_MAKEFLAGS) all-am
  51584. +
  51585. +.SUFFIXES:
  51586. +.SUFFIXES: .1 .3 .5 .8 .c .cpp .lo .o .obj .xml
  51587. +am--refresh:
  51588. + @:
  51589. +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
  51590. + @for dep in $?; do \
  51591. + case '$(am__configure_deps)' in \
  51592. + *$$dep*) \
  51593. + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
  51594. + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
  51595. + && exit 0; \
  51596. + exit 1;; \
  51597. + esac; \
  51598. + done; \
  51599. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
  51600. + $(am__cd) $(top_srcdir) && \
  51601. + $(AUTOMAKE) --gnu Makefile
  51602. +.PRECIOUS: Makefile
  51603. +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  51604. + @case '$?' in \
  51605. + *config.status*) \
  51606. + echo ' $(SHELL) ./config.status'; \
  51607. + $(SHELL) ./config.status;; \
  51608. + *) \
  51609. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  51610. + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  51611. + esac;
  51612. +
  51613. +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  51614. + $(SHELL) ./config.status --recheck
  51615. +
  51616. +$(top_srcdir)/configure: $(am__configure_deps)
  51617. + $(am__cd) $(srcdir) && $(AUTOCONF)
  51618. +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
  51619. + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  51620. +$(am__aclocal_m4_deps):
  51621. +
  51622. +gpsd_config.h: stamp-h1
  51623. + @if test ! -f $@; then \
  51624. + rm -f stamp-h1; \
  51625. + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
  51626. + else :; fi
  51627. +
  51628. +stamp-h1: $(srcdir)/gpsd_config.h.in $(top_builddir)/config.status
  51629. + @rm -f stamp-h1
  51630. + cd $(top_builddir) && $(SHELL) ./config.status gpsd_config.h
  51631. +$(srcdir)/gpsd_config.h.in: $(am__configure_deps)
  51632. + ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
  51633. + rm -f stamp-h1
  51634. + touch $@
  51635. +
  51636. +distclean-hdr:
  51637. + -rm -f gpsd_config.h stamp-h1
  51638. +packaging/gpsd.spec: $(top_builddir)/config.status $(top_srcdir)/packaging/gpsd.spec.in
  51639. + cd $(top_builddir) && $(SHELL) ./config.status $@
  51640. +libgps.pc: $(top_builddir)/config.status $(srcdir)/libgps.pc.in
  51641. + cd $(top_builddir) && $(SHELL) ./config.status $@
  51642. +libgpsd.pc: $(top_builddir)/config.status $(srcdir)/libgpsd.pc.in
  51643. + cd $(top_builddir) && $(SHELL) ./config.status $@
  51644. +install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  51645. + @$(NORMAL_INSTALL)
  51646. + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
  51647. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  51648. + list2=; for p in $$list; do \
  51649. + if test -f $$p; then \
  51650. + list2="$$list2 $$p"; \
  51651. + else :; fi; \
  51652. + done; \
  51653. + test -z "$$list2" || { \
  51654. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
  51655. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
  51656. + }
  51657. +
  51658. +uninstall-libLTLIBRARIES:
  51659. + @$(NORMAL_UNINSTALL)
  51660. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  51661. + for p in $$list; do \
  51662. + $(am__strip_dir) \
  51663. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
  51664. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
  51665. + done
  51666. +
  51667. +clean-libLTLIBRARIES:
  51668. + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
  51669. + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  51670. + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  51671. + test "$$dir" != "$$p" || dir=.; \
  51672. + echo "rm -f \"$${dir}/so_locations\""; \
  51673. + rm -f "$${dir}/so_locations"; \
  51674. + done
  51675. +libgps.la: $(libgps_la_OBJECTS) $(libgps_la_DEPENDENCIES)
  51676. + $(libgps_la_LINK) -rpath $(libdir) $(libgps_la_OBJECTS) $(libgps_la_LIBADD) $(LIBS)
  51677. +install-binPROGRAMS: $(bin_PROGRAMS)
  51678. + @$(NORMAL_INSTALL)
  51679. + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  51680. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  51681. + for p in $$list; do echo "$$p $$p"; done | \
  51682. + sed 's/$(EXEEXT)$$//' | \
  51683. + while read p p1; do if test -f $$p || test -f $$p1; \
  51684. + then echo "$$p"; echo "$$p"; else :; fi; \
  51685. + done | \
  51686. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  51687. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  51688. + sed 'N;N;N;s,\n, ,g' | \
  51689. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  51690. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  51691. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  51692. + else { print "f", $$3 "/" $$4, $$1; } } \
  51693. + END { for (d in files) print "f", d, files[d] }' | \
  51694. + while read type dir files; do \
  51695. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  51696. + test -z "$$files" || { \
  51697. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  51698. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  51699. + } \
  51700. + ; done
  51701. +
  51702. +uninstall-binPROGRAMS:
  51703. + @$(NORMAL_UNINSTALL)
  51704. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  51705. + files=`for p in $$list; do echo "$$p"; done | \
  51706. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  51707. + -e 's/$$/$(EXEEXT)/' `; \
  51708. + test -n "$$list" || exit 0; \
  51709. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  51710. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  51711. +
  51712. +clean-binPROGRAMS:
  51713. + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
  51714. + echo " rm -f" $$list; \
  51715. + rm -f $$list || exit $$?; \
  51716. + test -n "$(EXEEXT)" || exit 0; \
  51717. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  51718. + echo " rm -f" $$list; \
  51719. + rm -f $$list
  51720. +
  51721. +clean-checkPROGRAMS:
  51722. + @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
  51723. + echo " rm -f" $$list; \
  51724. + rm -f $$list || exit $$?; \
  51725. + test -n "$(EXEEXT)" || exit 0; \
  51726. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  51727. + echo " rm -f" $$list; \
  51728. + rm -f $$list
  51729. +install-sbinPROGRAMS: $(sbin_PROGRAMS)
  51730. + @$(NORMAL_INSTALL)
  51731. + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
  51732. + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
  51733. + for p in $$list; do echo "$$p $$p"; done | \
  51734. + sed 's/$(EXEEXT)$$//' | \
  51735. + while read p p1; do if test -f $$p || test -f $$p1; \
  51736. + then echo "$$p"; echo "$$p"; else :; fi; \
  51737. + done | \
  51738. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  51739. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  51740. + sed 'N;N;N;s,\n, ,g' | \
  51741. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  51742. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  51743. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  51744. + else { print "f", $$3 "/" $$4, $$1; } } \
  51745. + END { for (d in files) print "f", d, files[d] }' | \
  51746. + while read type dir files; do \
  51747. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  51748. + test -z "$$files" || { \
  51749. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
  51750. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
  51751. + } \
  51752. + ; done
  51753. +
  51754. +uninstall-sbinPROGRAMS:
  51755. + @$(NORMAL_UNINSTALL)
  51756. + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
  51757. + files=`for p in $$list; do echo "$$p"; done | \
  51758. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  51759. + -e 's/$$/$(EXEEXT)/' `; \
  51760. + test -n "$$list" || exit 0; \
  51761. + echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
  51762. + cd "$(DESTDIR)$(sbindir)" && rm -f $$files
  51763. +
  51764. +clean-sbinPROGRAMS:
  51765. + @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \
  51766. + echo " rm -f" $$list; \
  51767. + rm -f $$list || exit $$?; \
  51768. + test -n "$(EXEEXT)" || exit 0; \
  51769. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  51770. + echo " rm -f" $$list; \
  51771. + rm -f $$list
  51772. +cgps$(EXEEXT): $(cgps_OBJECTS) $(cgps_DEPENDENCIES)
  51773. + @rm -f cgps$(EXEEXT)
  51774. + $(LINK) $(cgps_OBJECTS) $(cgps_LDADD) $(LIBS)
  51775. +gpsctl$(EXEEXT): $(gpsctl_OBJECTS) $(gpsctl_DEPENDENCIES)
  51776. + @rm -f gpsctl$(EXEEXT)
  51777. + $(LINK) $(gpsctl_OBJECTS) $(gpsctl_LDADD) $(LIBS)
  51778. +gpsd$(EXEEXT): $(gpsd_OBJECTS) $(gpsd_DEPENDENCIES)
  51779. + @rm -f gpsd$(EXEEXT)
  51780. + $(LINK) $(gpsd_OBJECTS) $(gpsd_LDADD) $(LIBS)
  51781. +gpsdecode$(EXEEXT): $(gpsdecode_OBJECTS) $(gpsdecode_DEPENDENCIES)
  51782. + @rm -f gpsdecode$(EXEEXT)
  51783. + $(LINK) $(gpsdecode_OBJECTS) $(gpsdecode_LDADD) $(LIBS)
  51784. +gpsflash$(EXEEXT): $(gpsflash_OBJECTS) $(gpsflash_DEPENDENCIES)
  51785. + @rm -f gpsflash$(EXEEXT)
  51786. + $(LINK) $(gpsflash_OBJECTS) $(gpsflash_LDADD) $(LIBS)
  51787. +gpsmon$(EXEEXT): $(gpsmon_OBJECTS) $(gpsmon_DEPENDENCIES)
  51788. + @rm -f gpsmon$(EXEEXT)
  51789. + $(LINK) $(gpsmon_OBJECTS) $(gpsmon_LDADD) $(LIBS)
  51790. +gpspipe$(EXEEXT): $(gpspipe_OBJECTS) $(gpspipe_DEPENDENCIES)
  51791. + @rm -f gpspipe$(EXEEXT)
  51792. + $(LINK) $(gpspipe_OBJECTS) $(gpspipe_LDADD) $(LIBS)
  51793. +gpxlogger$(EXEEXT): $(gpxlogger_OBJECTS) $(gpxlogger_DEPENDENCIES)
  51794. + @rm -f gpxlogger$(EXEEXT)
  51795. + $(LINK) $(gpxlogger_OBJECTS) $(gpxlogger_LDADD) $(LIBS)
  51796. +lcdgps$(EXEEXT): $(lcdgps_OBJECTS) $(lcdgps_DEPENDENCIES)
  51797. + @rm -f lcdgps$(EXEEXT)
  51798. + $(LINK) $(lcdgps_OBJECTS) $(lcdgps_LDADD) $(LIBS)
  51799. +test_bits$(EXEEXT): $(test_bits_OBJECTS) $(test_bits_DEPENDENCIES)
  51800. + @rm -f test_bits$(EXEEXT)
  51801. + $(LINK) $(test_bits_OBJECTS) $(test_bits_LDADD) $(LIBS)
  51802. +test_geoid$(EXEEXT): $(test_geoid_OBJECTS) $(test_geoid_DEPENDENCIES)
  51803. + @rm -f test_geoid$(EXEEXT)
  51804. + $(LINK) $(test_geoid_OBJECTS) $(test_geoid_LDADD) $(LIBS)
  51805. +test_gpsmm$(EXEEXT): $(test_gpsmm_OBJECTS) $(test_gpsmm_DEPENDENCIES)
  51806. + @rm -f test_gpsmm$(EXEEXT)
  51807. + $(CXXLINK) $(test_gpsmm_OBJECTS) $(test_gpsmm_LDADD) $(LIBS)
  51808. +test_mkgmtime$(EXEEXT): $(test_mkgmtime_OBJECTS) $(test_mkgmtime_DEPENDENCIES)
  51809. + @rm -f test_mkgmtime$(EXEEXT)
  51810. + $(LINK) $(test_mkgmtime_OBJECTS) $(test_mkgmtime_LDADD) $(LIBS)
  51811. +test_packet$(EXEEXT): $(test_packet_OBJECTS) $(test_packet_DEPENDENCIES)
  51812. + @rm -f test_packet$(EXEEXT)
  51813. + $(LINK) $(test_packet_OBJECTS) $(test_packet_LDADD) $(LIBS)
  51814. +xgps$(EXEEXT): $(xgps_OBJECTS) $(xgps_DEPENDENCIES)
  51815. + @rm -f xgps$(EXEEXT)
  51816. + $(LINK) $(xgps_OBJECTS) $(xgps_LDADD) $(LIBS)
  51817. +xgpsspeed$(EXEEXT): $(xgpsspeed_OBJECTS) $(xgpsspeed_DEPENDENCIES)
  51818. + @rm -f xgpsspeed$(EXEEXT)
  51819. + $(LINK) $(xgpsspeed_OBJECTS) $(xgpsspeed_LDADD) $(LIBS)
  51820. +
  51821. +mostlyclean-compile:
  51822. + -rm -f *.$(OBJEXT)
  51823. +
  51824. +distclean-compile:
  51825. + -rm -f *.tab.c
  51826. +
  51827. +include ./$(DEPDIR)/Tachometer.Po
  51828. +include ./$(DEPDIR)/bits.Plo
  51829. +include ./$(DEPDIR)/bsd-base64.Plo
  51830. +include ./$(DEPDIR)/cgps.Po
  51831. +include ./$(DEPDIR)/crc24q.Plo
  51832. +include ./$(DEPDIR)/dgnss.Plo
  51833. +include ./$(DEPDIR)/dgpsip.Plo
  51834. +include ./$(DEPDIR)/driver_aivdm.Plo
  51835. +include ./$(DEPDIR)/driver_evermore.Plo
  51836. +include ./$(DEPDIR)/driver_garmin.Plo
  51837. +include ./$(DEPDIR)/driver_garmin_txt.Plo
  51838. +include ./$(DEPDIR)/driver_italk.Plo
  51839. +include ./$(DEPDIR)/driver_navcom.Plo
  51840. +include ./$(DEPDIR)/driver_nmea.Plo
  51841. +include ./$(DEPDIR)/driver_rtcm2.Plo
  51842. +include ./$(DEPDIR)/driver_rtcm3.Plo
  51843. +include ./$(DEPDIR)/driver_sirf.Plo
  51844. +include ./$(DEPDIR)/driver_superstar2.Plo
  51845. +include ./$(DEPDIR)/driver_tsip.Plo
  51846. +include ./$(DEPDIR)/driver_ubx.Plo
  51847. +include ./$(DEPDIR)/driver_zodiac.Plo
  51848. +include ./$(DEPDIR)/drivers.Plo
  51849. +include ./$(DEPDIR)/geoid.Plo
  51850. +include ./$(DEPDIR)/gpsctl.Po
  51851. +include ./$(DEPDIR)/gpsd.Po
  51852. +include ./$(DEPDIR)/gpsd_dbus.Po
  51853. +include ./$(DEPDIR)/gpsd_report.Plo
  51854. +include ./$(DEPDIR)/gpsdclient.Plo
  51855. +include ./$(DEPDIR)/gpsdecode.Po
  51856. +include ./$(DEPDIR)/gpsflash.Po
  51857. +include ./$(DEPDIR)/gpsmon.Po
  51858. +include ./$(DEPDIR)/gpspipe.Po
  51859. +include ./$(DEPDIR)/gpsutils.Plo
  51860. +include ./$(DEPDIR)/gpxlogger.Po
  51861. +include ./$(DEPDIR)/hex.Plo
  51862. +include ./$(DEPDIR)/isgps.Plo
  51863. +include ./$(DEPDIR)/lcdgps.Po
  51864. +include ./$(DEPDIR)/libgps.Plo
  51865. +include ./$(DEPDIR)/libgpsd_core.Plo
  51866. +include ./$(DEPDIR)/libgpsmm.Plo
  51867. +include ./$(DEPDIR)/monitor_italk.Po
  51868. +include ./$(DEPDIR)/monitor_nmea.Po
  51869. +include ./$(DEPDIR)/monitor_sirf.Po
  51870. +include ./$(DEPDIR)/monitor_superstar2.Po
  51871. +include ./$(DEPDIR)/monitor_ubx.Po
  51872. +include ./$(DEPDIR)/netlib.Plo
  51873. +include ./$(DEPDIR)/ntpshm.Plo
  51874. +include ./$(DEPDIR)/ntrip.Plo
  51875. +include ./$(DEPDIR)/packet.Plo
  51876. +include ./$(DEPDIR)/serial.Plo
  51877. +include ./$(DEPDIR)/sirfflash.Po
  51878. +include ./$(DEPDIR)/srecord.Plo
  51879. +include ./$(DEPDIR)/strl.Plo
  51880. +include ./$(DEPDIR)/subframe.Plo
  51881. +include ./$(DEPDIR)/test_bits.Po
  51882. +include ./$(DEPDIR)/test_geoid.Po
  51883. +include ./$(DEPDIR)/test_gpsmm.Po
  51884. +include ./$(DEPDIR)/test_mkgmtime.Po
  51885. +include ./$(DEPDIR)/test_packet.Po
  51886. +include ./$(DEPDIR)/xgps.Po
  51887. +include ./$(DEPDIR)/xgpsspeed.Po
  51888. +
  51889. +.c.o:
  51890. + $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  51891. + $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  51892. +# source='$<' object='$@' libtool=no \
  51893. +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
  51894. +# $(COMPILE) -c $<
  51895. +
  51896. +.c.obj:
  51897. + $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  51898. + $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  51899. +# source='$<' object='$@' libtool=no \
  51900. +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
  51901. +# $(COMPILE) -c `$(CYGPATH_W) '$<'`
  51902. +
  51903. +.c.lo:
  51904. + $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  51905. + $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  51906. +# source='$<' object='$@' libtool=yes \
  51907. +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
  51908. +# $(LTCOMPILE) -c -o $@ $<
  51909. +
  51910. +.cpp.o:
  51911. + $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  51912. + $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  51913. +# source='$<' object='$@' libtool=no \
  51914. +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
  51915. +# $(CXXCOMPILE) -c -o $@ $<
  51916. +
  51917. +.cpp.obj:
  51918. + $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  51919. + $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  51920. +# source='$<' object='$@' libtool=no \
  51921. +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
  51922. +# $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  51923. +
  51924. +.cpp.lo:
  51925. + $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  51926. + $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  51927. +# source='$<' object='$@' libtool=yes \
  51928. +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
  51929. +# $(LTCXXCOMPILE) -c -o $@ $<
  51930. +
  51931. +mostlyclean-libtool:
  51932. + -rm -f *.lo
  51933. +
  51934. +clean-libtool:
  51935. + -rm -rf .libs _libs
  51936. +
  51937. +distclean-libtool:
  51938. + -rm -f libtool config.lt
  51939. +install-man1: $(man_MANS)
  51940. + @$(NORMAL_INSTALL)
  51941. + test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
  51942. + @list=''; test -n "$(man1dir)" || exit 0; \
  51943. + { for i in $$list; do echo "$$i"; done; \
  51944. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  51945. + sed -n '/\.1[a-z]*$$/p'; \
  51946. + } | while read p; do \
  51947. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  51948. + echo "$$d$$p"; echo "$$p"; \
  51949. + done | \
  51950. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  51951. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  51952. + sed 'N;N;s,\n, ,g' | { \
  51953. + list=; while read file base inst; do \
  51954. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  51955. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
  51956. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
  51957. + fi; \
  51958. + done; \
  51959. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  51960. + while read files; do \
  51961. + test -z "$$files" || { \
  51962. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
  51963. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
  51964. + done; }
  51965. +
  51966. +uninstall-man1:
  51967. + @$(NORMAL_UNINSTALL)
  51968. + @list=''; test -n "$(man1dir)" || exit 0; \
  51969. + files=`{ for i in $$list; do echo "$$i"; done; \
  51970. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  51971. + sed -n '/\.1[a-z]*$$/p'; \
  51972. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  51973. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  51974. + test -z "$$files" || { \
  51975. + echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
  51976. + cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
  51977. +install-man3: $(man_MANS)
  51978. + @$(NORMAL_INSTALL)
  51979. + test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)"
  51980. + @list=''; test -n "$(man3dir)" || exit 0; \
  51981. + { for i in $$list; do echo "$$i"; done; \
  51982. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  51983. + sed -n '/\.3[a-z]*$$/p'; \
  51984. + } | while read p; do \
  51985. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  51986. + echo "$$d$$p"; echo "$$p"; \
  51987. + done | \
  51988. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
  51989. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  51990. + sed 'N;N;s,\n, ,g' | { \
  51991. + list=; while read file base inst; do \
  51992. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  51993. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
  51994. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
  51995. + fi; \
  51996. + done; \
  51997. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  51998. + while read files; do \
  51999. + test -z "$$files" || { \
  52000. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
  52001. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
  52002. + done; }
  52003. +
  52004. +uninstall-man3:
  52005. + @$(NORMAL_UNINSTALL)
  52006. + @list=''; test -n "$(man3dir)" || exit 0; \
  52007. + files=`{ for i in $$list; do echo "$$i"; done; \
  52008. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  52009. + sed -n '/\.3[a-z]*$$/p'; \
  52010. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
  52011. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  52012. + test -z "$$files" || { \
  52013. + echo " ( cd '$(DESTDIR)$(man3dir)' && rm -f" $$files ")"; \
  52014. + cd "$(DESTDIR)$(man3dir)" && rm -f $$files; }
  52015. +install-man5: $(man_MANS)
  52016. + @$(NORMAL_INSTALL)
  52017. + test -z "$(man5dir)" || $(MKDIR_P) "$(DESTDIR)$(man5dir)"
  52018. + @list=''; test -n "$(man5dir)" || exit 0; \
  52019. + { for i in $$list; do echo "$$i"; done; \
  52020. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  52021. + sed -n '/\.5[a-z]*$$/p'; \
  52022. + } | while read p; do \
  52023. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  52024. + echo "$$d$$p"; echo "$$p"; \
  52025. + done | \
  52026. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
  52027. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  52028. + sed 'N;N;s,\n, ,g' | { \
  52029. + list=; while read file base inst; do \
  52030. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  52031. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
  52032. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \
  52033. + fi; \
  52034. + done; \
  52035. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  52036. + while read files; do \
  52037. + test -z "$$files" || { \
  52038. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \
  52039. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \
  52040. + done; }
  52041. +
  52042. +uninstall-man5:
  52043. + @$(NORMAL_UNINSTALL)
  52044. + @list=''; test -n "$(man5dir)" || exit 0; \
  52045. + files=`{ for i in $$list; do echo "$$i"; done; \
  52046. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  52047. + sed -n '/\.5[a-z]*$$/p'; \
  52048. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
  52049. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  52050. + test -z "$$files" || { \
  52051. + echo " ( cd '$(DESTDIR)$(man5dir)' && rm -f" $$files ")"; \
  52052. + cd "$(DESTDIR)$(man5dir)" && rm -f $$files; }
  52053. +install-man8: $(man_MANS)
  52054. + @$(NORMAL_INSTALL)
  52055. + test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
  52056. + @list=''; test -n "$(man8dir)" || exit 0; \
  52057. + { for i in $$list; do echo "$$i"; done; \
  52058. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  52059. + sed -n '/\.8[a-z]*$$/p'; \
  52060. + } | while read p; do \
  52061. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  52062. + echo "$$d$$p"; echo "$$p"; \
  52063. + done | \
  52064. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  52065. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  52066. + sed 'N;N;s,\n, ,g' | { \
  52067. + list=; while read file base inst; do \
  52068. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  52069. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  52070. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
  52071. + fi; \
  52072. + done; \
  52073. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  52074. + while read files; do \
  52075. + test -z "$$files" || { \
  52076. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
  52077. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
  52078. + done; }
  52079. +
  52080. +uninstall-man8:
  52081. + @$(NORMAL_UNINSTALL)
  52082. + @list=''; test -n "$(man8dir)" || exit 0; \
  52083. + files=`{ for i in $$list; do echo "$$i"; done; \
  52084. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  52085. + sed -n '/\.8[a-z]*$$/p'; \
  52086. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  52087. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  52088. + test -z "$$files" || { \
  52089. + echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
  52090. + cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
  52091. +install-pkgconfigDATA: $(pkgconfig_DATA)
  52092. + @$(NORMAL_INSTALL)
  52093. + test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
  52094. + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  52095. + for p in $$list; do \
  52096. + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  52097. + echo "$$d$$p"; \
  52098. + done | $(am__base_list) | \
  52099. + while read files; do \
  52100. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
  52101. + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
  52102. + done
  52103. +
  52104. +uninstall-pkgconfigDATA:
  52105. + @$(NORMAL_UNINSTALL)
  52106. + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  52107. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  52108. + test -n "$$files" || exit 0; \
  52109. + echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
  52110. + cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
  52111. +install-includeHEADERS: $(include_HEADERS)
  52112. + @$(NORMAL_INSTALL)
  52113. + test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
  52114. + @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  52115. + for p in $$list; do \
  52116. + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  52117. + echo "$$d$$p"; \
  52118. + done | $(am__base_list) | \
  52119. + while read files; do \
  52120. + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
  52121. + $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
  52122. + done
  52123. +
  52124. +uninstall-includeHEADERS:
  52125. + @$(NORMAL_UNINSTALL)
  52126. + @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  52127. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  52128. + test -n "$$files" || exit 0; \
  52129. + echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
  52130. + cd "$(DESTDIR)$(includedir)" && rm -f $$files
  52131. +install-nodist_includeHEADERS: $(nodist_include_HEADERS)
  52132. + @$(NORMAL_INSTALL)
  52133. + test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
  52134. + @list='$(nodist_include_HEADERS)'; test -n "$(includedir)" || list=; \
  52135. + for p in $$list; do \
  52136. + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  52137. + echo "$$d$$p"; \
  52138. + done | $(am__base_list) | \
  52139. + while read files; do \
  52140. + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
  52141. + $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
  52142. + done
  52143. +
  52144. +uninstall-nodist_includeHEADERS:
  52145. + @$(NORMAL_UNINSTALL)
  52146. + @list='$(nodist_include_HEADERS)'; test -n "$(includedir)" || list=; \
  52147. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  52148. + test -n "$$files" || exit 0; \
  52149. + echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
  52150. + cd "$(DESTDIR)$(includedir)" && rm -f $$files
  52151. +
  52152. +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  52153. + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  52154. + unique=`for i in $$list; do \
  52155. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  52156. + done | \
  52157. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  52158. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  52159. + mkid -fID $$unique
  52160. +tags: TAGS
  52161. +
  52162. +TAGS: $(HEADERS) $(SOURCES) gpsd_config.h.in $(TAGS_DEPENDENCIES) \
  52163. + $(TAGS_FILES) $(LISP)
  52164. + set x; \
  52165. + here=`pwd`; \
  52166. + list='$(SOURCES) $(HEADERS) gpsd_config.h.in $(LISP) $(TAGS_FILES)'; \
  52167. + unique=`for i in $$list; do \
  52168. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  52169. + done | \
  52170. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  52171. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  52172. + shift; \
  52173. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  52174. + test -n "$$unique" || unique=$$empty_fix; \
  52175. + if test $$# -gt 0; then \
  52176. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  52177. + "$$@" $$unique; \
  52178. + else \
  52179. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  52180. + $$unique; \
  52181. + fi; \
  52182. + fi
  52183. +ctags: CTAGS
  52184. +CTAGS: $(HEADERS) $(SOURCES) gpsd_config.h.in $(TAGS_DEPENDENCIES) \
  52185. + $(TAGS_FILES) $(LISP)
  52186. + list='$(SOURCES) $(HEADERS) gpsd_config.h.in $(LISP) $(TAGS_FILES)'; \
  52187. + unique=`for i in $$list; do \
  52188. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  52189. + done | \
  52190. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  52191. + END { if (nonempty) { for (i in files) print i; }; }'`; \
  52192. + test -z "$(CTAGS_ARGS)$$unique" \
  52193. + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  52194. + $$unique
  52195. +
  52196. +GTAGS:
  52197. + here=`$(am__cd) $(top_builddir) && pwd` \
  52198. + && $(am__cd) $(top_srcdir) \
  52199. + && gtags -i $(GTAGS_ARGS) "$$here"
  52200. +
  52201. +distclean-tags:
  52202. + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  52203. +
  52204. +distdir: $(DISTFILES)
  52205. + @list='$(MANS)'; if test -n "$$list"; then \
  52206. + list=`for p in $$list; do \
  52207. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  52208. + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  52209. + if test -n "$$list" && \
  52210. + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  52211. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  52212. + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  52213. + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  52214. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  52215. + exit 1; \
  52216. + else :; fi; \
  52217. + else :; fi
  52218. + $(am__remove_distdir)
  52219. + test -d "$(distdir)" || mkdir "$(distdir)"
  52220. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  52221. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  52222. + list='$(DISTFILES)'; \
  52223. + dist_files=`for file in $$list; do echo $$file; done | \
  52224. + sed -e "s|^$$srcdirstrip/||;t" \
  52225. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  52226. + case $$dist_files in \
  52227. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  52228. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  52229. + sort -u` ;; \
  52230. + esac; \
  52231. + for file in $$dist_files; do \
  52232. + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  52233. + if test -d $$d/$$file; then \
  52234. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  52235. + if test -d "$(distdir)/$$file"; then \
  52236. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  52237. + fi; \
  52238. + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  52239. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  52240. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  52241. + fi; \
  52242. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  52243. + else \
  52244. + test -f "$(distdir)/$$file" \
  52245. + || cp -p $$d/$$file "$(distdir)/$$file" \
  52246. + || exit 1; \
  52247. + fi; \
  52248. + done
  52249. + -test -n "$(am__skip_mode_fix)" \
  52250. + || find "$(distdir)" -type d ! -perm -755 \
  52251. + -exec chmod u+rwx,go+rx {} \; -o \
  52252. + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  52253. + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  52254. + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  52255. + || chmod -R a+r "$(distdir)"
  52256. +dist-gzip: distdir
  52257. + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  52258. + $(am__remove_distdir)
  52259. +
  52260. +dist-bzip2: distdir
  52261. + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
  52262. + $(am__remove_distdir)
  52263. +
  52264. +dist-lzma: distdir
  52265. + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  52266. + $(am__remove_distdir)
  52267. +
  52268. +dist-xz: distdir
  52269. + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  52270. + $(am__remove_distdir)
  52271. +
  52272. +dist-tarZ: distdir
  52273. + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  52274. + $(am__remove_distdir)
  52275. +
  52276. +dist-shar: distdir
  52277. + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
  52278. + $(am__remove_distdir)
  52279. +
  52280. +dist-zip: distdir
  52281. + -rm -f $(distdir).zip
  52282. + zip -rq $(distdir).zip $(distdir)
  52283. + $(am__remove_distdir)
  52284. +
  52285. +dist dist-all: distdir
  52286. + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  52287. + $(am__remove_distdir)
  52288. +
  52289. +# This target untars the dist file and tries a VPATH configuration. Then
  52290. +# it guarantees that the distribution is self-contained by making another
  52291. +# tarfile.
  52292. +distcheck: dist
  52293. + case '$(DIST_ARCHIVES)' in \
  52294. + *.tar.gz*) \
  52295. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  52296. + *.tar.bz2*) \
  52297. + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  52298. + *.tar.lzma*) \
  52299. + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  52300. + *.tar.xz*) \
  52301. + xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  52302. + *.tar.Z*) \
  52303. + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  52304. + *.shar.gz*) \
  52305. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  52306. + *.zip*) \
  52307. + unzip $(distdir).zip ;;\
  52308. + esac
  52309. + chmod -R a-w $(distdir); chmod a+w $(distdir)
  52310. + mkdir $(distdir)/_build
  52311. + mkdir $(distdir)/_inst
  52312. + chmod a-w $(distdir)
  52313. + test -d $(distdir)/_build || exit 0; \
  52314. + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  52315. + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  52316. + && am__cwd=`pwd` \
  52317. + && $(am__cd) $(distdir)/_build \
  52318. + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  52319. + $(DISTCHECK_CONFIGURE_FLAGS) \
  52320. + && $(MAKE) $(AM_MAKEFLAGS) \
  52321. + && $(MAKE) $(AM_MAKEFLAGS) dvi \
  52322. + && $(MAKE) $(AM_MAKEFLAGS) check \
  52323. + && $(MAKE) $(AM_MAKEFLAGS) install \
  52324. + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
  52325. + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
  52326. + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
  52327. + distuninstallcheck \
  52328. + && chmod -R a-w "$$dc_install_base" \
  52329. + && ({ \
  52330. + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
  52331. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
  52332. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
  52333. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
  52334. + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
  52335. + } || { rm -rf "$$dc_destdir"; exit 1; }) \
  52336. + && rm -rf "$$dc_destdir" \
  52337. + && $(MAKE) $(AM_MAKEFLAGS) dist \
  52338. + && rm -rf $(DIST_ARCHIVES) \
  52339. + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  52340. + && cd "$$am__cwd" \
  52341. + || exit 1
  52342. + $(am__remove_distdir)
  52343. + @(echo "$(distdir) archives ready for distribution: "; \
  52344. + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  52345. + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  52346. +distuninstallcheck:
  52347. + @$(am__cd) '$(distuninstallcheck_dir)' \
  52348. + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  52349. + || { echo "ERROR: files left after uninstall:" ; \
  52350. + if test -n "$(DESTDIR)"; then \
  52351. + echo " (check DESTDIR support)"; \
  52352. + fi ; \
  52353. + $(distuninstallcheck_listfiles) ; \
  52354. + exit 1; } >&2
  52355. +distcleancheck: distclean
  52356. + @if test '$(srcdir)' = . ; then \
  52357. + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
  52358. + exit 1 ; \
  52359. + fi
  52360. + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
  52361. + || { echo "ERROR: files left in build directory after distclean:" ; \
  52362. + $(distcleancheck_listfiles) ; \
  52363. + exit 1; } >&2
  52364. +check-am: all-am
  52365. + $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
  52366. +check: $(BUILT_SOURCES)
  52367. + $(MAKE) $(AM_MAKEFLAGS) check-am
  52368. +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(DATA) $(HEADERS) \
  52369. + gpsd_config.h
  52370. +install-binPROGRAMS: install-libLTLIBRARIES
  52371. +
  52372. +installdirs:
  52373. + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"; do \
  52374. + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  52375. + done
  52376. +install: $(BUILT_SOURCES)
  52377. + $(MAKE) $(AM_MAKEFLAGS) install-am
  52378. +install-exec: install-exec-am
  52379. +install-data: install-data-am
  52380. +uninstall: uninstall-am
  52381. +
  52382. +install-am: all-am
  52383. + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  52384. +
  52385. +installcheck: installcheck-am
  52386. +install-strip:
  52387. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  52388. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  52389. + `test -z '$(STRIP)' || \
  52390. + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  52391. +mostlyclean-generic:
  52392. +
  52393. +clean-generic:
  52394. + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  52395. +
  52396. +distclean-generic:
  52397. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  52398. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  52399. +
  52400. +maintainer-clean-generic:
  52401. + @echo "This command is intended for maintainers to use"
  52402. + @echo "it deletes files that may require special tools to rebuild."
  52403. + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
  52404. +clean: clean-am
  52405. +
  52406. +clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
  52407. + clean-libLTLIBRARIES clean-libtool clean-sbinPROGRAMS \
  52408. + mostlyclean-am
  52409. +
  52410. +distclean: distclean-am
  52411. + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  52412. + -rm -rf ./$(DEPDIR)
  52413. + -rm -f Makefile
  52414. +distclean-am: clean-am distclean-compile distclean-generic \
  52415. + distclean-hdr distclean-libtool distclean-tags
  52416. +
  52417. +dvi: dvi-am
  52418. +
  52419. +dvi-am:
  52420. +
  52421. +html: html-am
  52422. +
  52423. +html-am:
  52424. +
  52425. +info: info-am
  52426. +
  52427. +info-am:
  52428. +
  52429. +install-data-am: install-includeHEADERS install-man \
  52430. + install-nodist_includeHEADERS install-pkgconfigDATA
  52431. +
  52432. +install-dvi: install-dvi-am
  52433. +
  52434. +install-dvi-am:
  52435. +
  52436. +install-exec-am: install-binPROGRAMS install-libLTLIBRARIES \
  52437. + install-sbinPROGRAMS
  52438. +
  52439. +install-html: install-html-am
  52440. +
  52441. +install-html-am:
  52442. +
  52443. +install-info: install-info-am
  52444. +
  52445. +install-info-am:
  52446. +
  52447. +install-man: install-man1 install-man3 install-man5 install-man8
  52448. +
  52449. +install-pdf: install-pdf-am
  52450. +
  52451. +install-pdf-am:
  52452. +
  52453. +install-ps: install-ps-am
  52454. +
  52455. +install-ps-am:
  52456. +
  52457. +installcheck-am:
  52458. +
  52459. +maintainer-clean: maintainer-clean-am
  52460. + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  52461. + -rm -rf $(top_srcdir)/autom4te.cache
  52462. + -rm -rf ./$(DEPDIR)
  52463. + -rm -f Makefile
  52464. +maintainer-clean-am: distclean-am maintainer-clean-generic
  52465. +
  52466. +mostlyclean: mostlyclean-am
  52467. +
  52468. +mostlyclean-am: mostlyclean-compile mostlyclean-generic \
  52469. + mostlyclean-libtool
  52470. +
  52471. +pdf: pdf-am
  52472. +
  52473. +pdf-am:
  52474. +
  52475. +ps: ps-am
  52476. +
  52477. +ps-am:
  52478. +
  52479. +uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
  52480. + uninstall-libLTLIBRARIES uninstall-man \
  52481. + uninstall-nodist_includeHEADERS uninstall-pkgconfigDATA \
  52482. + uninstall-sbinPROGRAMS
  52483. +
  52484. +uninstall-man: uninstall-man1 uninstall-man3 uninstall-man5 \
  52485. + uninstall-man8
  52486. +
  52487. +.MAKE: all check check-am install install-am install-strip
  52488. +
  52489. +.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
  52490. + clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
  52491. + clean-libLTLIBRARIES clean-libtool clean-sbinPROGRAMS ctags \
  52492. + dist dist-all dist-bzip2 dist-gzip dist-lzma dist-shar \
  52493. + dist-tarZ dist-xz dist-zip distcheck distclean \
  52494. + distclean-compile distclean-generic distclean-hdr \
  52495. + distclean-libtool distclean-tags distcleancheck distdir \
  52496. + distuninstallcheck dvi dvi-am html html-am info info-am \
  52497. + install install-am install-binPROGRAMS install-data \
  52498. + install-data-am install-dvi install-dvi-am install-exec \
  52499. + install-exec-am install-html install-html-am \
  52500. + install-includeHEADERS install-info install-info-am \
  52501. + install-libLTLIBRARIES install-man install-man1 install-man3 \
  52502. + install-man5 install-man8 install-nodist_includeHEADERS \
  52503. + install-pdf install-pdf-am install-pkgconfigDATA install-ps \
  52504. + install-ps-am install-sbinPROGRAMS install-strip installcheck \
  52505. + installcheck-am installdirs maintainer-clean \
  52506. + maintainer-clean-generic mostlyclean mostlyclean-compile \
  52507. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  52508. + tags uninstall uninstall-am uninstall-binPROGRAMS \
  52509. + uninstall-includeHEADERS uninstall-libLTLIBRARIES \
  52510. + uninstall-man uninstall-man1 uninstall-man3 uninstall-man5 \
  52511. + uninstall-man8 uninstall-nodist_includeHEADERS \
  52512. + uninstall-pkgconfigDATA uninstall-sbinPROGRAMS
  52513. +
  52514. +
  52515. +packet_names.h: packet_states.h
  52516. + sed -e '/^ *\([A-Z][A-Z0-9_]*\),/s// "\1",/' -e '/_states/s//_names/' < `test -f 'packet_states.h' || echo '$(srcdir)/'`packet_states.h > packet_names.h
  52517. +
  52518. +gpsd.h: gpsd.h-head gpsd.h-tail gpsd_config.h
  52519. + cat $(srcdir)/gpsd.h-head >gpsd.h
  52520. + grep VERSION gpsd_config.h >>gpsd.h
  52521. + grep ENABLE gpsd_config.h >>gpsd.h
  52522. + cat $(srcdir)/gpsd.h-tail >>gpsd.h
  52523. +
  52524. +.xml.1:
  52525. + $(MANGENERATOR) $(MANFLAGS) $(MANTARGET) $<
  52526. +
  52527. +.xml.3:
  52528. + $(MANGENERATOR) $(MANFLAGS) $(MANTARGET) $<
  52529. +
  52530. +.xml.5:
  52531. + $(MANGENERATOR) $(MANFLAGS) $(MANTARGET) $<
  52532. +
  52533. +.xml.8:
  52534. + $(MANGENERATOR) $(MANFLAGS) $(MANTARGET) $<
  52535. +
  52536. +gpsd.8: gpsd.xml
  52537. +
  52538. +gps.1 xgps.1 xgpsspeed.1 cgps.1 cgpxlogger.1: gps.xml
  52539. +
  52540. +libgps.3: libgps.xml
  52541. +
  52542. +libgpsmm.3: libgpsmm.xml
  52543. +
  52544. +libgpsd.3: libgpsd.xml
  52545. +
  52546. +gpsctl.1: gpsctl.xml
  52547. +
  52548. +gpscat.1: gpsctl.xml
  52549. +
  52550. +gpsprof.1: gpsprof.xml
  52551. +
  52552. +gpsfake.1: gpsfake.xml
  52553. +
  52554. +gpsmon.1: gpsmon.xml
  52555. +
  52556. +gpspipe.1: gpspipe.xml
  52557. +
  52558. +gpsdecode.1: gpsdecode.xml
  52559. +
  52560. +rtcm-104.5: rtcm-104.xml
  52561. +
  52562. +srec.5: srec.xml
  52563. +
  52564. +gpsflash.1: gpsflash.xml
  52565. +
  52566. +# These are not distributed
  52567. +libgps: libgps.c .libs/libgps.a
  52568. + $(CC) $(CFLAGS) -o libgps -lm -DTESTMAIN $(LIBPTHREAD) -g libgps.c .libs/libgps.a
  52569. +splint: gpsd.h packet_names.h
  52570. + @echo "Running splint on daemon and libraries..."
  52571. + -splint $(SPLINTOPTS) -exportlocal -redef $(gpsd_c_sources) $(libgpsd_c_sources)
  52572. + @echo "Running splint on xgps..."
  52573. + -splint $(SPLINTOPTS) -exportlocal $(xgps_SOURCES)
  52574. + @echo "Running splint on cgps..."
  52575. + -splint $(SPLINTOPTS) -exportlocal $(cgps_SOURCES)
  52576. + @echo "Running splint on xgpsspeed..."
  52577. + -splint $(SPLINTOPTS) -exportlocal $(xgpsspeed_c_sources)
  52578. + @echo "Running splint on gpsctl..."
  52579. + -splint $(SPLINTOPTS) $(gpsctl_SOURCES)
  52580. + @echo "Running splint on gpsmon..."
  52581. + -splint $(SPLINTOPTS) -exportlocal $(gpsmon_SOURCES)
  52582. + @echo "Running splint on gpspipe..."
  52583. + -splint $(SPLINTOPTS) $(gpspipe_SOURCES)
  52584. + @echo "Running splint on gpsdecode..."
  52585. + -splint $(SPLINTOPTS) -exportlocal gpsdecode.c
  52586. + @echo "Running splint on gpsflash..."
  52587. + -splint $(SPLINTOPTS) $(gpsflash_SOURCES)
  52588. + @echo "Running splint on test_bits test harness..."
  52589. + -splint $(SPLINTOPTS) $(test_bits_SOURCES)
  52590. + @echo "Running splint on test_packet test harness..."
  52591. + -splint $(SPLINTOPTS) $(test_packet_SOURCES)
  52592. + @echo "Running splint on test_geoid test harness..."
  52593. + -splint $(SPLINTOPTS) $(test_geoid_SOURCES)
  52594. +
  52595. +# Bogon-checking the Python tools
  52596. +pychecker:
  52597. + for f in gps.py gpsfake.py leapsecond.py; do pychecker $$f; done
  52598. +
  52599. +version:
  52600. + @echo $(VERSION)
  52601. +
  52602. +#
  52603. +# Regression tests begin here
  52604. +#
  52605. +# Note that the *-makeregress targets re-create the *.log.chk source
  52606. +# files from the *.log source files.
  52607. +#
  52608. +# These require gcc4; use of the math coprocessor's on-board trig functions
  52609. +# apparently increases the accuracy of computation in a way that affects
  52610. +# the low-order digits of the track field in the O response.
  52611. +
  52612. +# Regression-test the daemon
  52613. +gps-regress: gpsd
  52614. + $(srcdir)/regress-driver -t $(srcdir)/test/stable/*.log
  52615. +
  52616. +# Test that super-raw mode works. Compare each logfile against itself
  52617. +# dumped through the daemon running in R=2 mode. (This test is not
  52618. +# included in the normal regressions.)
  52619. +raw-regress:
  52620. + $(srcdir)/regress-driver -r $(srcdir)/test/stable/*.log
  52621. +
  52622. +# Build the regression tests for the daemon.
  52623. +gps-makeregress: gpsd
  52624. + $(srcdir)/regress-driver -b $(srcdir)/test/stable/*.log
  52625. +
  52626. +# To build an individual test for a load named foo.log, put it in
  52627. +# test/stable and do this:
  52628. +# regress-driver -b test/stable/foo.log
  52629. +
  52630. +# Regression-test the RTCM decoder.
  52631. +rtcm-regress: gpsdecode
  52632. + @echo "Testing RTCM decoding..."
  52633. + @mkdir -p test
  52634. + @for f in $(srcdir)/test/*.rtcm2; do \
  52635. + echo "Testing $${f}..."; \
  52636. + $(srcdir)/gpsdecode <$${f} >test/test.chk; \
  52637. + diff -ub $${f}.chk test/test.chk; \
  52638. + done; \
  52639. + rm test/test.chk
  52640. +
  52641. +# Rebuild the RTCM regression tests.
  52642. +rtcm-makeregress: gpsdecode
  52643. + @for f in $(srcdir)/test/*.rtcm2; do \
  52644. + $(srcdir)/gpsdecode < $${f} > $${f}.chk; \
  52645. + done
  52646. +
  52647. +# Regression-test the AIVDM decoder.
  52648. +aivdm-regress: gpsdecode
  52649. + @echo "Testing AIVDM decoding..."
  52650. + @mkdir -p test
  52651. + @for f in $(srcdir)/test/*.aivdm; do \
  52652. + echo "Testing $${f}..."; \
  52653. + $(srcdir)/gpsdecode <$${f} >test/test.chk; \
  52654. + diff -ub $${f}.chk test/test.chk; \
  52655. + done; \
  52656. + rm test/test.chk
  52657. +
  52658. +# Rebuild the AIVDM regression tests.
  52659. +aivdm-makeregress: gpsdecode
  52660. + @for f in $(srcdir)/test/*.aivdm; do \
  52661. + $(srcdir)/gpsdecode < $${f} > $${f}.chk; \
  52662. + done
  52663. +
  52664. +# Regression-test the packet getter.
  52665. +packet-regress: test_packet
  52666. + @echo "Testing detection of invalid packets..."
  52667. + @$(srcdir)/test_packet | diff -u $(srcdir)/test/packet.test.chk -
  52668. +
  52669. +# Rebuild the packet-getter regression test
  52670. +packet-makeregress: test_packet
  52671. + @mkdir -p test
  52672. + $(srcdir)/test_packet >test/packet.test.chk
  52673. +
  52674. +# Regression-test the geoid tester.
  52675. +geoid-regress: test_geoid
  52676. + @echo "Testing the geoid model..."
  52677. + @$(srcdir)/test_geoid 37.371192 122.014965 | diff -u $(srcdir)/test/geoid.test.chk -
  52678. +
  52679. +# Rebuild the packet-getter regression test
  52680. +geoid-makeregress: test_geoid
  52681. + @mkdir -p test
  52682. + $(srcdir)/test_geoid 37.371192 122.014965 >test/geoid.test.chk
  52683. +
  52684. +# Test RTCM encoding using passthrough mode.
  52685. +undump-regress: gpsdecode
  52686. + @echo "Testing RTCM encoding..."
  52687. + @mkdir -p test
  52688. + @$(srcdir)/gpsdecode -p < $(srcdir)/test/undump.sample > test/undump.test
  52689. + @diff -u $(srcdir)/test/undump.sample test/undump.test
  52690. + @rm test/undump.test
  52691. +
  52692. +# Regression-test the calendar functions
  52693. +time-regress: test_mkgmtime
  52694. + ./test_mkgmtime
  52695. +
  52696. +# Regression test the unpacking code in libgps
  52697. +unpack-regress: libgps
  52698. + @echo "Testing the clent sentence unpacker..."
  52699. + @$(srcdir)/libgps -u >test/test.chk
  52700. + @diff -u test/unpack.chk test/test.chk
  52701. +
  52702. +# Build the regressiuin test for the sentence unpacker
  52703. +unpack-makeregress: libgps
  52704. + @echo "Rebuilding the clent sentence-unpacker test..."
  52705. + @$(srcdir)/libgps -u >test/unpack.chk
  52706. +
  52707. +# Do all normal regression tests
  52708. +testregress: gps-regress rtcm-regress aivdm-regress packet-regress undump-regress time-regress unpack-regress
  52709. + @echo "Regressions complete."
  52710. +
  52711. +# We would like "${MAKE} check" to run the regression tests. automake
  52712. +# appears to have support for running programs, but not make targets.
  52713. +# Perhaps the tests should be moved into scripts, but then it's not
  52714. +# clear how to deal with $(srcdir).
  52715. +# TESTS=testregress
  52716. +
  52717. +# Productions for setting up and performing udev tests.
  52718. +#
  52719. +# Requires root. Do "udev-install", then "tail -f /var/run/syslog" in
  52720. +# another window, then run 'make udev-test', then plug and unplug the
  52721. +# GPS ad libitum. All is well when you get fix reports each time a GPS
  52722. +# is plugged in.
  52723. +
  52724. +udev-install:
  52725. + cp $(srcdir)/gpsd.rules /etc/udev/
  52726. + ln -sf /etc/udev/gpsd.rules /etc/udev/rules.d/025_gpsd.rules
  52727. + cp $(srcdir)/gpsd.hotplug /lib/udev/
  52728. + cp $(srcdir)/gpsd.hotplug.wrapper /lib/udev/
  52729. + chmod a+x /lib/udev/gpsd.hotplug /lib/udev/gpsd.hotplug.wrapper
  52730. +
  52731. +udev-uninstall:
  52732. + rm -f /etc/udev/{gpsd.rules,gpsd.hotplug,gpsd.hotplug.wrapper}
  52733. + rm -f /etc/udev/rules.d/025_gpsd.rules
  52734. +
  52735. +udev-test:
  52736. + $(srcdir)/gpsd -N -F /var/run/gpsd.sock -D 4
  52737. +
  52738. +#
  52739. +# Productions for testing unstable drivers.
  52740. +#
  52741. +
  52742. +unstable-regress: gpsd
  52743. + ./regress-driver -t $(srcdir)/test/unstable/*.log
  52744. +
  52745. +unstable-makeregress: gpsd
  52746. + ./regress-driver -b $(srcdir)/test/unstable/*.log
  52747. +
  52748. +# Release machinery begins here
  52749. +#
  52750. +
  52751. +# Make RPM from the specfile in packaging
  52752. +dist-rpm: distdir
  52753. + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  52754. + rpmbuild -ta $(distdir).tar.gz
  52755. + $(am__remove_distdir)
  52756. +
  52757. +# This is how to ship a release to Berlios incomoing.
  52758. +# It requires developer access verified via ssh.
  52759. +#
  52760. +upload-ftp: dist
  52761. + shasum gpsd-$(VERSION).tar.gz >gpsd.sum
  52762. + lftp -c "open ftp://ftp.berlios.de/incoming; mput gpsd-$(VERSION).tar.gz gpsd.sum"
  52763. +svn-tag:
  52764. + svn copy $(REPO)/trunk $(REPO)/tags/release-$(VERSION) \
  52765. + -m "Tagged for external release $(VERSION)"
  52766. +#
  52767. +# Ship a release, providing all regression tests pass.
  52768. +#
  52769. +ship: testregress dist upload-ftp svn-tag
  52770. +
  52771. +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  52772. +# Otherwise a system limit (for SysV at least) may be exceeded.
  52773. +.NOEXPORT:
  52774. diff -Nur gpsd-2.39.orig/Makefile.am gpsd-2.39/Makefile.am
  52775. --- gpsd-2.39.orig/Makefile.am 2009-03-18 16:16:37.000000000 +0100
  52776. +++ gpsd-2.39/Makefile.am 2010-02-18 21:38:27.332855044 +0100
  52777. @@ -30,12 +30,6 @@
  52778. bin_PROGRAMS = $(MOTIF_PROGS) $(XAW_PROGS) $(RTCM104PROGS) $(CURSESPROGS) gpsctl gpspipe gpsflash gpxlogger lcdgps
  52779. sbin_PROGRAMS = gpsd
  52780. check_PROGRAMS = test_bits test_gpsmm test_packet test_mkgmtime test_geoid
  52781. -if HAVE_PYTHON
  52782. -dist_bin_SCRIPTS = gpsprof gpsfake gpscat
  52783. -python_PYTHON = gps.py gpsfake.py gpscap.py
  52784. -nodist_python_PYTHON = gpspacket.so gpslib.so
  52785. -PYTHONPAGES = gpsprof.1 gpsfake.1 gpscat.1
  52786. -endif
  52787. #
  52788. # Build xgps
  52789. @@ -179,22 +173,6 @@
  52790. libgps_la_LIBADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(LIBPTHREAD)
  52791. #
  52792. -# Build Python binding
  52793. -#
  52794. -# install may require --root depending on what you're doing.
  52795. -# python setup.py install --root=$DESTIR --prefix=$PREFIX
  52796. -if HAVE_PYTHON
  52797. -PYEXTENSIONS = gpspacket.so gpslib.so
  52798. -noinst_SCRIPTS = gpspacket.so gpslib.so setup.py
  52799. -
  52800. -gpspacket.so gpslib.so: gpspacket.c gpslib.c libgps.la
  52801. - (pwd="`pwd`"; cd $(srcdir) && $(PYTHON) setup.py build_ext --build-lib "$$pwd" --build-temp "$$pwd/build" --include-dirs "$$pwd")
  52802. -endif
  52803. -# Clean up after Python
  52804. -clean-local:
  52805. - rm -rf build
  52806. -
  52807. -#
  52808. # Build test_gpsmm
  52809. #
  52810. test_gpsmm_SOURCES = test_gpsmm.cpp
  52811. diff -Nur gpsd-2.39.orig/Makefile.in gpsd-2.39/Makefile.in
  52812. --- gpsd-2.39.orig/Makefile.in 2009-03-18 22:10:30.000000000 +0100
  52813. +++ gpsd-2.39/Makefile.in 2010-02-18 21:42:05.952856164 +0100
  52814. @@ -1,8 +1,9 @@
  52815. -# Makefile.in generated by automake 1.10.1 from Makefile.am.
  52816. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  52817. # @configure_input@
  52818. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  52819. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  52820. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  52821. +# Inc.
  52822. # This Makefile.in is free software; the Free Software Foundation
  52823. # gives unlimited permission to copy and/or distribute it,
  52824. # with or without modifications, as long as this notice is preserved.
  52825. @@ -22,11 +23,11 @@
  52826. -
  52827. VPATH = @srcdir@
  52828. pkgdatadir = $(datadir)/@PACKAGE@
  52829. -pkglibdir = $(libdir)/@PACKAGE@
  52830. pkgincludedir = $(includedir)/@PACKAGE@
  52831. +pkglibdir = $(libdir)/@PACKAGE@
  52832. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  52833. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  52834. install_sh_DATA = $(install_sh) -c -m 644
  52835. install_sh_PROGRAM = $(install_sh) -c
  52836. @@ -49,14 +50,13 @@
  52837. test_packet$(EXEEXT) test_mkgmtime$(EXEEXT) \
  52838. test_geoid$(EXEEXT)
  52839. subdir = .
  52840. -DIST_COMMON = README $(am__configure_deps) \
  52841. - $(am__dist_bin_SCRIPTS_DIST) $(am__python_PYTHON_DIST) \
  52842. - $(include_HEADERS) $(noinst_HEADERS) $(srcdir)/Makefile.am \
  52843. - $(srcdir)/Makefile.in $(srcdir)/gpsd_config.h.in \
  52844. - $(srcdir)/libgps.pc.in $(srcdir)/libgpsd.pc.in \
  52845. - $(top_srcdir)/configure $(top_srcdir)/packaging/gpsd.spec.in \
  52846. - AUTHORS COPYING INSTALL NEWS TODO config.guess config.sub \
  52847. - depcomp install-sh ltmain.sh missing py-compile
  52848. +DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \
  52849. + $(noinst_HEADERS) $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  52850. + $(srcdir)/gpsd_config.h.in $(srcdir)/libgps.pc.in \
  52851. + $(srcdir)/libgpsd.pc.in $(top_srcdir)/configure \
  52852. + $(top_srcdir)/packaging/gpsd.spec.in AUTHORS COPYING ChangeLog \
  52853. + INSTALL NEWS TODO config.guess config.sub depcomp install-sh \
  52854. + ltmain.sh missing py-compile
  52855. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  52856. am__aclocal_m4_deps = $(top_srcdir)/configure.ac
  52857. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  52858. @@ -66,20 +66,33 @@
  52859. mkinstalldirs = $(install_sh) -d
  52860. CONFIG_HEADER = gpsd_config.h
  52861. CONFIG_CLEAN_FILES = packaging/gpsd.spec libgps.pc libgpsd.pc
  52862. +CONFIG_CLEAN_VPATH_FILES =
  52863. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  52864. am__vpath_adj = case $$p in \
  52865. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  52866. *) f=$$p;; \
  52867. esac;
  52868. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  52869. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  52870. +am__install_max = 40
  52871. +am__nobase_strip_setup = \
  52872. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  52873. +am__nobase_strip = \
  52874. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  52875. +am__nobase_list = $(am__nobase_strip_setup); \
  52876. + for p in $$list; do echo "$$p $$p"; done | \
  52877. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  52878. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  52879. + if (++n[$$2] == $(am__install_max)) \
  52880. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  52881. + END { for (dir in files) print dir, files[dir] }'
  52882. +am__base_list = \
  52883. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  52884. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  52885. am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
  52886. - "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" \
  52887. - "$(DESTDIR)$(pythondir)" "$(DESTDIR)$(pythondir)" \
  52888. - "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" \
  52889. - "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" \
  52890. - "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" \
  52891. - "$(DESTDIR)$(includedir)"
  52892. -libLTLIBRARIES_INSTALL = $(INSTALL)
  52893. + "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" \
  52894. + "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" \
  52895. + "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfigdir)" \
  52896. + "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"
  52897. LTLIBRARIES = $(lib_LTLIBRARIES)
  52898. am__DEPENDENCIES_1 =
  52899. libgps_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  52900. @@ -106,8 +119,6 @@
  52901. @HAVE_XAW_TRUE@am__EXEEXT_2 = xgpsspeed$(EXEEXT)
  52902. @HAVE_RTCM104V2_TRUE@am__EXEEXT_3 = gpsdecode$(EXEEXT)
  52903. @HAVE_NCURSES_TRUE@am__EXEEXT_4 = cgps$(EXEEXT) gpsmon$(EXEEXT)
  52904. -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  52905. -sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  52906. PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS)
  52907. am_cgps_OBJECTS = cgps.$(OBJEXT)
  52908. cgps_OBJECTS = $(am_cgps_OBJECTS)
  52909. @@ -175,12 +186,10 @@
  52910. $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  52911. $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  52912. $(am__DEPENDENCIES_1) libgps.la $(am__DEPENDENCIES_1)
  52913. -am__dist_bin_SCRIPTS_DIST = gpsprof gpsfake gpscat
  52914. -dist_binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
  52915. -SCRIPTS = $(dist_bin_SCRIPTS) $(noinst_SCRIPTS)
  52916. DEFAULT_INCLUDES = -I.@am__isrc@
  52917. depcomp = $(SHELL) $(top_srcdir)/depcomp
  52918. am__depfiles_maybe = depfiles
  52919. +am__mv = mv -f
  52920. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  52921. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  52922. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  52923. @@ -212,20 +221,13 @@
  52924. $(lcdgps_SOURCES) $(test_bits_SOURCES) $(test_geoid_SOURCES) \
  52925. $(test_gpsmm_SOURCES) $(test_mkgmtime_SOURCES) \
  52926. $(test_packet_SOURCES) $(xgps_SOURCES) $(xgpsspeed_SOURCES)
  52927. -nodist_pythonPYTHON_INSTALL = $(INSTALL_DATA)
  52928. -am__python_PYTHON_DIST = gps.py gpsfake.py gpscap.py
  52929. -pythonPYTHON_INSTALL = $(INSTALL_DATA)
  52930. -py_compile = $(top_srcdir)/py-compile
  52931. man1dir = $(mandir)/man1
  52932. man3dir = $(mandir)/man3
  52933. man5dir = $(mandir)/man5
  52934. man8dir = $(mandir)/man8
  52935. NROFF = nroff
  52936. MANS = $(man_MANS)
  52937. -pkgconfigDATA_INSTALL = $(INSTALL_DATA)
  52938. DATA = $(pkgconfig_DATA)
  52939. -includeHEADERS_INSTALL = $(INSTALL_HEADER)
  52940. -nodist_includeHEADERS_INSTALL = $(INSTALL_HEADER)
  52941. HEADERS = $(include_HEADERS) $(nodist_include_HEADERS) \
  52942. $(noinst_HEADERS)
  52943. ETAGS = etags
  52944. @@ -234,9 +236,9 @@
  52945. distdir = $(PACKAGE)-$(VERSION)
  52946. top_distdir = $(distdir)
  52947. am__remove_distdir = \
  52948. - { test ! -d $(distdir) \
  52949. - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
  52950. - && rm -fr $(distdir); }; }
  52951. + { test ! -d "$(distdir)" \
  52952. + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  52953. + && rm -fr "$(distdir)"; }; }
  52954. DIST_ARCHIVES = $(distdir).tar.gz
  52955. GZIP_ENV = --best
  52956. distuninstallcheck_listfiles = find . -type f -print
  52957. @@ -300,6 +302,7 @@
  52958. NCURSES_LIBS = @NCURSES_LIBS@
  52959. NM = @NM@
  52960. NMEDIT = @NMEDIT@
  52961. +OBJDUMP = @OBJDUMP@
  52962. OBJEXT = @OBJEXT@
  52963. OTOOL = @OTOOL@
  52964. OTOOL64 = @OTOOL64@
  52965. @@ -308,15 +311,9 @@
  52966. PACKAGE_NAME = @PACKAGE_NAME@
  52967. PACKAGE_STRING = @PACKAGE_STRING@
  52968. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  52969. +PACKAGE_URL = @PACKAGE_URL@
  52970. PACKAGE_VERSION = @PACKAGE_VERSION@
  52971. PATH_SEPARATOR = @PATH_SEPARATOR@
  52972. -PYTHON = @PYTHON@
  52973. -PYTHON_CFLAGS = @PYTHON_CFLAGS@
  52974. -PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
  52975. -PYTHON_LIBS = @PYTHON_LIBS@
  52976. -PYTHON_PLATFORM = @PYTHON_PLATFORM@
  52977. -PYTHON_PREFIX = @PYTHON_PREFIX@
  52978. -PYTHON_VERSION = @PYTHON_VERSION@
  52979. RANLIB = @RANLIB@
  52980. SED = @SED@
  52981. SET_MAKE = @SET_MAKE@
  52982. @@ -379,18 +376,15 @@
  52983. mkdir_p = @mkdir_p@
  52984. oldincludedir = @oldincludedir@
  52985. pdfdir = @pdfdir@
  52986. -pkgpyexecdir = @pkgpyexecdir@
  52987. -pkgpythondir = @pkgpythondir@
  52988. prefix = @prefix@
  52989. program_transform_name = @program_transform_name@
  52990. psdir = @psdir@
  52991. -pyexecdir = @pyexecdir@
  52992. -pythondir = @pythondir@
  52993. sbindir = @sbindir@
  52994. sharedstatedir = @sharedstatedir@
  52995. srcdir = @srcdir@
  52996. sysconfdir = @sysconfdir@
  52997. target_alias = @target_alias@
  52998. +top_build_prefix = @top_build_prefix@
  52999. top_builddir = @top_builddir@
  53000. top_srcdir = @top_srcdir@
  53001. XMLTO = xmlto
  53002. @@ -404,10 +398,6 @@
  53003. @HAVE_DBUS_TRUE@INCLUDES = $(DBUS_CFLAGS) $(DBUS_GLIB_CFLAGS) -DDBUS_API_SUBJECT_TO_CHANGE=1
  53004. @HAVE_RTCM104V2_TRUE@RTCM104PROGS = gpsdecode
  53005. @HAVE_RTCM104V2_TRUE@RTCM104PAGES = gpsdecode.1
  53006. -@HAVE_PYTHON_TRUE@dist_bin_SCRIPTS = gpsprof gpsfake gpscat
  53007. -@HAVE_PYTHON_TRUE@python_PYTHON = gps.py gpsfake.py gpscap.py
  53008. -@HAVE_PYTHON_TRUE@nodist_python_PYTHON = gpspacket.so gpslib.so
  53009. -@HAVE_PYTHON_TRUE@PYTHONPAGES = gpsprof.1 gpsfake.1 gpscat.1
  53010. #
  53011. # Build xgps
  53012. @@ -544,14 +534,6 @@
  53013. libgps_la_LIBADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(LIBPTHREAD)
  53014. #
  53015. -# Build Python binding
  53016. -#
  53017. -# install may require --root depending on what you're doing.
  53018. -# python setup.py install --root=$DESTIR --prefix=$PREFIX
  53019. -@HAVE_PYTHON_TRUE@PYEXTENSIONS = gpspacket.so gpslib.so
  53020. -@HAVE_PYTHON_TRUE@noinst_SCRIPTS = gpspacket.so gpslib.so setup.py
  53021. -
  53022. -#
  53023. # Build test_gpsmm
  53024. #
  53025. test_gpsmm_SOURCES = test_gpsmm.cpp
  53026. @@ -683,15 +665,15 @@
  53027. @for dep in $?; do \
  53028. case '$(am__configure_deps)' in \
  53029. *$$dep*) \
  53030. - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
  53031. - cd $(srcdir) && $(AUTOMAKE) --foreign \
  53032. + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
  53033. + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
  53034. && exit 0; \
  53035. exit 1;; \
  53036. esac; \
  53037. done; \
  53038. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  53039. - cd $(top_srcdir) && \
  53040. - $(AUTOMAKE) --foreign Makefile
  53041. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
  53042. + $(am__cd) $(top_srcdir) && \
  53043. + $(AUTOMAKE) --gnu Makefile
  53044. .PRECIOUS: Makefile
  53045. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  53046. @case '$?' in \
  53047. @@ -707,9 +689,10 @@
  53048. $(SHELL) ./config.status --recheck
  53049. $(top_srcdir)/configure: $(am__configure_deps)
  53050. - cd $(srcdir) && $(AUTOCONF)
  53051. + $(am__cd) $(srcdir) && $(AUTOCONF)
  53052. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  53053. - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  53054. + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  53055. +$(am__aclocal_m4_deps):
  53056. gpsd_config.h: stamp-h1
  53057. @if test ! -f $@; then \
  53058. @@ -721,7 +704,7 @@
  53059. @rm -f stamp-h1
  53060. cd $(top_builddir) && $(SHELL) ./config.status gpsd_config.h
  53061. $(srcdir)/gpsd_config.h.in: $(am__configure_deps)
  53062. - cd $(top_srcdir) && $(AUTOHEADER)
  53063. + ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
  53064. rm -f stamp-h1
  53065. touch $@
  53066. @@ -736,20 +719,24 @@
  53067. install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  53068. @$(NORMAL_INSTALL)
  53069. test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
  53070. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  53071. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  53072. + list2=; for p in $$list; do \
  53073. if test -f $$p; then \
  53074. - f=$(am__strip_dir) \
  53075. - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
  53076. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
  53077. + list2="$$list2 $$p"; \
  53078. else :; fi; \
  53079. - done
  53080. + done; \
  53081. + test -z "$$list2" || { \
  53082. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
  53083. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
  53084. + }
  53085. uninstall-libLTLIBRARIES:
  53086. @$(NORMAL_UNINSTALL)
  53087. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  53088. - p=$(am__strip_dir) \
  53089. - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
  53090. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
  53091. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  53092. + for p in $$list; do \
  53093. + $(am__strip_dir) \
  53094. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
  53095. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
  53096. done
  53097. clean-libLTLIBRARIES:
  53098. @@ -765,66 +752,98 @@
  53099. install-binPROGRAMS: $(bin_PROGRAMS)
  53100. @$(NORMAL_INSTALL)
  53101. test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  53102. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  53103. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  53104. - if test -f $$p \
  53105. - || test -f $$p1 \
  53106. - ; then \
  53107. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  53108. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  53109. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  53110. - else :; fi; \
  53111. - done
  53112. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  53113. + for p in $$list; do echo "$$p $$p"; done | \
  53114. + sed 's/$(EXEEXT)$$//' | \
  53115. + while read p p1; do if test -f $$p || test -f $$p1; \
  53116. + then echo "$$p"; echo "$$p"; else :; fi; \
  53117. + done | \
  53118. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  53119. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  53120. + sed 'N;N;N;s,\n, ,g' | \
  53121. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  53122. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  53123. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  53124. + else { print "f", $$3 "/" $$4, $$1; } } \
  53125. + END { for (d in files) print "f", d, files[d] }' | \
  53126. + while read type dir files; do \
  53127. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  53128. + test -z "$$files" || { \
  53129. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  53130. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  53131. + } \
  53132. + ; done
  53133. uninstall-binPROGRAMS:
  53134. @$(NORMAL_UNINSTALL)
  53135. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  53136. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  53137. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  53138. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  53139. - done
  53140. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  53141. + files=`for p in $$list; do echo "$$p"; done | \
  53142. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  53143. + -e 's/$$/$(EXEEXT)/' `; \
  53144. + test -n "$$list" || exit 0; \
  53145. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  53146. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  53147. clean-binPROGRAMS:
  53148. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  53149. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  53150. - echo " rm -f $$p $$f"; \
  53151. - rm -f $$p $$f ; \
  53152. - done
  53153. + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
  53154. + echo " rm -f" $$list; \
  53155. + rm -f $$list || exit $$?; \
  53156. + test -n "$(EXEEXT)" || exit 0; \
  53157. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  53158. + echo " rm -f" $$list; \
  53159. + rm -f $$list
  53160. clean-checkPROGRAMS:
  53161. - @list='$(check_PROGRAMS)'; for p in $$list; do \
  53162. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  53163. - echo " rm -f $$p $$f"; \
  53164. - rm -f $$p $$f ; \
  53165. - done
  53166. + @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
  53167. + echo " rm -f" $$list; \
  53168. + rm -f $$list || exit $$?; \
  53169. + test -n "$(EXEEXT)" || exit 0; \
  53170. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  53171. + echo " rm -f" $$list; \
  53172. + rm -f $$list
  53173. install-sbinPROGRAMS: $(sbin_PROGRAMS)
  53174. @$(NORMAL_INSTALL)
  53175. test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
  53176. - @list='$(sbin_PROGRAMS)'; for p in $$list; do \
  53177. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  53178. - if test -f $$p \
  53179. - || test -f $$p1 \
  53180. - ; then \
  53181. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  53182. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
  53183. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
  53184. - else :; fi; \
  53185. - done
  53186. + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
  53187. + for p in $$list; do echo "$$p $$p"; done | \
  53188. + sed 's/$(EXEEXT)$$//' | \
  53189. + while read p p1; do if test -f $$p || test -f $$p1; \
  53190. + then echo "$$p"; echo "$$p"; else :; fi; \
  53191. + done | \
  53192. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  53193. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  53194. + sed 'N;N;N;s,\n, ,g' | \
  53195. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  53196. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  53197. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  53198. + else { print "f", $$3 "/" $$4, $$1; } } \
  53199. + END { for (d in files) print "f", d, files[d] }' | \
  53200. + while read type dir files; do \
  53201. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  53202. + test -z "$$files" || { \
  53203. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
  53204. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
  53205. + } \
  53206. + ; done
  53207. uninstall-sbinPROGRAMS:
  53208. @$(NORMAL_UNINSTALL)
  53209. - @list='$(sbin_PROGRAMS)'; for p in $$list; do \
  53210. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  53211. - echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
  53212. - rm -f "$(DESTDIR)$(sbindir)/$$f"; \
  53213. - done
  53214. + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
  53215. + files=`for p in $$list; do echo "$$p"; done | \
  53216. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  53217. + -e 's/$$/$(EXEEXT)/' `; \
  53218. + test -n "$$list" || exit 0; \
  53219. + echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
  53220. + cd "$(DESTDIR)$(sbindir)" && rm -f $$files
  53221. clean-sbinPROGRAMS:
  53222. - @list='$(sbin_PROGRAMS)'; for p in $$list; do \
  53223. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  53224. - echo " rm -f $$p $$f"; \
  53225. - rm -f $$p $$f ; \
  53226. - done
  53227. + @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \
  53228. + echo " rm -f" $$list; \
  53229. + rm -f $$list || exit $$?; \
  53230. + test -n "$(EXEEXT)" || exit 0; \
  53231. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  53232. + echo " rm -f" $$list; \
  53233. + rm -f $$list
  53234. cgps$(EXEEXT): $(cgps_OBJECTS) $(cgps_DEPENDENCIES)
  53235. @rm -f cgps$(EXEEXT)
  53236. $(LINK) $(cgps_OBJECTS) $(cgps_LDADD) $(LIBS)
  53237. @@ -873,25 +892,6 @@
  53238. xgpsspeed$(EXEEXT): $(xgpsspeed_OBJECTS) $(xgpsspeed_DEPENDENCIES)
  53239. @rm -f xgpsspeed$(EXEEXT)
  53240. $(LINK) $(xgpsspeed_OBJECTS) $(xgpsspeed_LDADD) $(LIBS)
  53241. -install-dist_binSCRIPTS: $(dist_bin_SCRIPTS)
  53242. - @$(NORMAL_INSTALL)
  53243. - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  53244. - @list='$(dist_bin_SCRIPTS)'; for p in $$list; do \
  53245. - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  53246. - if test -f $$d$$p; then \
  53247. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  53248. - echo " $(dist_binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  53249. - $(dist_binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
  53250. - else :; fi; \
  53251. - done
  53252. -
  53253. -uninstall-dist_binSCRIPTS:
  53254. - @$(NORMAL_UNINSTALL)
  53255. - @list='$(dist_bin_SCRIPTS)'; for p in $$list; do \
  53256. - f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  53257. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  53258. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  53259. - done
  53260. mostlyclean-compile:
  53261. -rm -f *.$(OBJEXT)
  53262. @@ -963,42 +963,42 @@
  53263. .c.o:
  53264. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  53265. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  53266. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  53267. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  53268. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  53269. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  53270. .c.obj:
  53271. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  53272. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  53273. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  53274. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  53275. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  53276. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  53277. .c.lo:
  53278. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  53279. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  53280. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  53281. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  53282. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  53283. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  53284. .cpp.o:
  53285. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  53286. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  53287. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  53288. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  53289. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  53290. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
  53291. .cpp.obj:
  53292. @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  53293. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  53294. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  53295. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  53296. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  53297. @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  53298. .cpp.lo:
  53299. @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  53300. -@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  53301. +@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  53302. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  53303. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  53304. @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
  53305. @@ -1010,308 +1010,233 @@
  53306. -rm -rf .libs _libs
  53307. distclean-libtool:
  53308. - -rm -f libtool
  53309. -install-nodist_pythonPYTHON: $(nodist_python_PYTHON)
  53310. + -rm -f libtool config.lt
  53311. +install-man1: $(man_MANS)
  53312. @$(NORMAL_INSTALL)
  53313. - test -z "$(pythondir)" || $(MKDIR_P) "$(DESTDIR)$(pythondir)"
  53314. - @list='$(nodist_python_PYTHON)'; dlist=''; for p in $$list; do\
  53315. - if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
  53316. - if test -f $$b$$p; then \
  53317. - f=$(am__strip_dir) \
  53318. - dlist="$$dlist $$f"; \
  53319. - echo " $(nodist_pythonPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(pythondir)/$$f'"; \
  53320. - $(nodist_pythonPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(pythondir)/$$f"; \
  53321. - else :; fi; \
  53322. - done; \
  53323. - if test -n "$$dlist"; then \
  53324. - if test -z "$(DESTDIR)"; then \
  53325. - PYTHON=$(PYTHON) $(py_compile) --basedir "$(pythondir)" $$dlist; \
  53326. - else \
  53327. - PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pythondir)" $$dlist; \
  53328. + test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
  53329. + @list=''; test -n "$(man1dir)" || exit 0; \
  53330. + { for i in $$list; do echo "$$i"; done; \
  53331. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  53332. + sed -n '/\.1[a-z]*$$/p'; \
  53333. + } | while read p; do \
  53334. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  53335. + echo "$$d$$p"; echo "$$p"; \
  53336. + done | \
  53337. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  53338. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  53339. + sed 'N;N;s,\n, ,g' | { \
  53340. + list=; while read file base inst; do \
  53341. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  53342. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
  53343. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
  53344. fi; \
  53345. - else :; fi
  53346. -
  53347. -uninstall-nodist_pythonPYTHON:
  53348. - @$(NORMAL_UNINSTALL)
  53349. - @list='$(nodist_python_PYTHON)'; dlist=''; for p in $$list; do\
  53350. - f=$(am__strip_dir) \
  53351. - rm -f "$(DESTDIR)$(pythondir)/$$f"; \
  53352. - rm -f "$(DESTDIR)$(pythondir)/$${f}c"; \
  53353. - rm -f "$(DESTDIR)$(pythondir)/$${f}o"; \
  53354. - done
  53355. -install-pythonPYTHON: $(python_PYTHON)
  53356. - @$(NORMAL_INSTALL)
  53357. - test -z "$(pythondir)" || $(MKDIR_P) "$(DESTDIR)$(pythondir)"
  53358. - @list='$(python_PYTHON)'; dlist=''; for p in $$list; do\
  53359. - if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
  53360. - if test -f $$b$$p; then \
  53361. - f=$(am__strip_dir) \
  53362. - dlist="$$dlist $$f"; \
  53363. - echo " $(pythonPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(pythondir)/$$f'"; \
  53364. - $(pythonPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(pythondir)/$$f"; \
  53365. - else :; fi; \
  53366. done; \
  53367. - if test -n "$$dlist"; then \
  53368. - if test -z "$(DESTDIR)"; then \
  53369. - PYTHON=$(PYTHON) $(py_compile) --basedir "$(pythondir)" $$dlist; \
  53370. - else \
  53371. - PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pythondir)" $$dlist; \
  53372. - fi; \
  53373. - else :; fi
  53374. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  53375. + while read files; do \
  53376. + test -z "$$files" || { \
  53377. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
  53378. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
  53379. + done; }
  53380. -uninstall-pythonPYTHON:
  53381. - @$(NORMAL_UNINSTALL)
  53382. - @list='$(python_PYTHON)'; dlist=''; for p in $$list; do\
  53383. - f=$(am__strip_dir) \
  53384. - rm -f "$(DESTDIR)$(pythondir)/$$f"; \
  53385. - rm -f "$(DESTDIR)$(pythondir)/$${f}c"; \
  53386. - rm -f "$(DESTDIR)$(pythondir)/$${f}o"; \
  53387. - done
  53388. -install-man1: $(man1_MANS) $(man_MANS)
  53389. - @$(NORMAL_INSTALL)
  53390. - test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
  53391. - @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
  53392. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  53393. - for i in $$l2; do \
  53394. - case "$$i" in \
  53395. - *.1*) list="$$list $$i" ;; \
  53396. - esac; \
  53397. - done; \
  53398. - for i in $$list; do \
  53399. - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  53400. - else file=$$i; fi; \
  53401. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  53402. - case "$$ext" in \
  53403. - 1*) ;; \
  53404. - *) ext='1' ;; \
  53405. - esac; \
  53406. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  53407. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  53408. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  53409. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
  53410. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
  53411. - done
  53412. uninstall-man1:
  53413. @$(NORMAL_UNINSTALL)
  53414. - @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
  53415. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  53416. - for i in $$l2; do \
  53417. - case "$$i" in \
  53418. - *.1*) list="$$list $$i" ;; \
  53419. - esac; \
  53420. - done; \
  53421. - for i in $$list; do \
  53422. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  53423. - case "$$ext" in \
  53424. - 1*) ;; \
  53425. - *) ext='1' ;; \
  53426. - esac; \
  53427. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  53428. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  53429. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  53430. - echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
  53431. - rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
  53432. - done
  53433. -install-man3: $(man3_MANS) $(man_MANS)
  53434. + @list=''; test -n "$(man1dir)" || exit 0; \
  53435. + files=`{ for i in $$list; do echo "$$i"; done; \
  53436. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  53437. + sed -n '/\.1[a-z]*$$/p'; \
  53438. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  53439. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  53440. + test -z "$$files" || { \
  53441. + echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
  53442. + cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
  53443. +install-man3: $(man_MANS)
  53444. @$(NORMAL_INSTALL)
  53445. test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)"
  53446. - @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
  53447. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  53448. - for i in $$l2; do \
  53449. - case "$$i" in \
  53450. - *.3*) list="$$list $$i" ;; \
  53451. - esac; \
  53452. + @list=''; test -n "$(man3dir)" || exit 0; \
  53453. + { for i in $$list; do echo "$$i"; done; \
  53454. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  53455. + sed -n '/\.3[a-z]*$$/p'; \
  53456. + } | while read p; do \
  53457. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  53458. + echo "$$d$$p"; echo "$$p"; \
  53459. + done | \
  53460. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
  53461. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  53462. + sed 'N;N;s,\n, ,g' | { \
  53463. + list=; while read file base inst; do \
  53464. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  53465. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
  53466. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
  53467. + fi; \
  53468. done; \
  53469. - for i in $$list; do \
  53470. - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  53471. - else file=$$i; fi; \
  53472. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  53473. - case "$$ext" in \
  53474. - 3*) ;; \
  53475. - *) ext='3' ;; \
  53476. - esac; \
  53477. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  53478. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  53479. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  53480. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
  53481. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \
  53482. - done
  53483. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  53484. + while read files; do \
  53485. + test -z "$$files" || { \
  53486. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
  53487. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
  53488. + done; }
  53489. +
  53490. uninstall-man3:
  53491. @$(NORMAL_UNINSTALL)
  53492. - @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
  53493. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  53494. - for i in $$l2; do \
  53495. - case "$$i" in \
  53496. - *.3*) list="$$list $$i" ;; \
  53497. - esac; \
  53498. - done; \
  53499. - for i in $$list; do \
  53500. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  53501. - case "$$ext" in \
  53502. - 3*) ;; \
  53503. - *) ext='3' ;; \
  53504. - esac; \
  53505. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  53506. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  53507. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  53508. - echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \
  53509. - rm -f "$(DESTDIR)$(man3dir)/$$inst"; \
  53510. - done
  53511. -install-man5: $(man5_MANS) $(man_MANS)
  53512. + @list=''; test -n "$(man3dir)" || exit 0; \
  53513. + files=`{ for i in $$list; do echo "$$i"; done; \
  53514. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  53515. + sed -n '/\.3[a-z]*$$/p'; \
  53516. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
  53517. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  53518. + test -z "$$files" || { \
  53519. + echo " ( cd '$(DESTDIR)$(man3dir)' && rm -f" $$files ")"; \
  53520. + cd "$(DESTDIR)$(man3dir)" && rm -f $$files; }
  53521. +install-man5: $(man_MANS)
  53522. @$(NORMAL_INSTALL)
  53523. test -z "$(man5dir)" || $(MKDIR_P) "$(DESTDIR)$(man5dir)"
  53524. - @list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
  53525. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  53526. - for i in $$l2; do \
  53527. - case "$$i" in \
  53528. - *.5*) list="$$list $$i" ;; \
  53529. - esac; \
  53530. + @list=''; test -n "$(man5dir)" || exit 0; \
  53531. + { for i in $$list; do echo "$$i"; done; \
  53532. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  53533. + sed -n '/\.5[a-z]*$$/p'; \
  53534. + } | while read p; do \
  53535. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  53536. + echo "$$d$$p"; echo "$$p"; \
  53537. + done | \
  53538. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
  53539. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  53540. + sed 'N;N;s,\n, ,g' | { \
  53541. + list=; while read file base inst; do \
  53542. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  53543. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
  53544. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \
  53545. + fi; \
  53546. done; \
  53547. - for i in $$list; do \
  53548. - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  53549. - else file=$$i; fi; \
  53550. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  53551. - case "$$ext" in \
  53552. - 5*) ;; \
  53553. - *) ext='5' ;; \
  53554. - esac; \
  53555. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  53556. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  53557. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  53558. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
  53559. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst"; \
  53560. - done
  53561. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  53562. + while read files; do \
  53563. + test -z "$$files" || { \
  53564. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \
  53565. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \
  53566. + done; }
  53567. +
  53568. uninstall-man5:
  53569. @$(NORMAL_UNINSTALL)
  53570. - @list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
  53571. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  53572. - for i in $$l2; do \
  53573. - case "$$i" in \
  53574. - *.5*) list="$$list $$i" ;; \
  53575. - esac; \
  53576. - done; \
  53577. - for i in $$list; do \
  53578. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  53579. - case "$$ext" in \
  53580. - 5*) ;; \
  53581. - *) ext='5' ;; \
  53582. - esac; \
  53583. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  53584. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  53585. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  53586. - echo " rm -f '$(DESTDIR)$(man5dir)/$$inst'"; \
  53587. - rm -f "$(DESTDIR)$(man5dir)/$$inst"; \
  53588. - done
  53589. -install-man8: $(man8_MANS) $(man_MANS)
  53590. + @list=''; test -n "$(man5dir)" || exit 0; \
  53591. + files=`{ for i in $$list; do echo "$$i"; done; \
  53592. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  53593. + sed -n '/\.5[a-z]*$$/p'; \
  53594. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
  53595. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  53596. + test -z "$$files" || { \
  53597. + echo " ( cd '$(DESTDIR)$(man5dir)' && rm -f" $$files ")"; \
  53598. + cd "$(DESTDIR)$(man5dir)" && rm -f $$files; }
  53599. +install-man8: $(man_MANS)
  53600. @$(NORMAL_INSTALL)
  53601. test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
  53602. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  53603. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  53604. - for i in $$l2; do \
  53605. - case "$$i" in \
  53606. - *.8*) list="$$list $$i" ;; \
  53607. - esac; \
  53608. + @list=''; test -n "$(man8dir)" || exit 0; \
  53609. + { for i in $$list; do echo "$$i"; done; \
  53610. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  53611. + sed -n '/\.8[a-z]*$$/p'; \
  53612. + } | while read p; do \
  53613. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  53614. + echo "$$d$$p"; echo "$$p"; \
  53615. + done | \
  53616. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  53617. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  53618. + sed 'N;N;s,\n, ,g' | { \
  53619. + list=; while read file base inst; do \
  53620. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  53621. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  53622. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
  53623. + fi; \
  53624. done; \
  53625. - for i in $$list; do \
  53626. - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  53627. - else file=$$i; fi; \
  53628. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  53629. - case "$$ext" in \
  53630. - 8*) ;; \
  53631. - *) ext='8' ;; \
  53632. - esac; \
  53633. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  53634. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  53635. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  53636. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
  53637. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
  53638. - done
  53639. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  53640. + while read files; do \
  53641. + test -z "$$files" || { \
  53642. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
  53643. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
  53644. + done; }
  53645. +
  53646. uninstall-man8:
  53647. @$(NORMAL_UNINSTALL)
  53648. - @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
  53649. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  53650. - for i in $$l2; do \
  53651. - case "$$i" in \
  53652. - *.8*) list="$$list $$i" ;; \
  53653. - esac; \
  53654. - done; \
  53655. - for i in $$list; do \
  53656. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  53657. - case "$$ext" in \
  53658. - 8*) ;; \
  53659. - *) ext='8' ;; \
  53660. - esac; \
  53661. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  53662. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  53663. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  53664. - echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
  53665. - rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
  53666. - done
  53667. + @list=''; test -n "$(man8dir)" || exit 0; \
  53668. + files=`{ for i in $$list; do echo "$$i"; done; \
  53669. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  53670. + sed -n '/\.8[a-z]*$$/p'; \
  53671. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
  53672. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  53673. + test -z "$$files" || { \
  53674. + echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
  53675. + cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
  53676. install-pkgconfigDATA: $(pkgconfig_DATA)
  53677. @$(NORMAL_INSTALL)
  53678. test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
  53679. - @list='$(pkgconfig_DATA)'; for p in $$list; do \
  53680. + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  53681. + for p in $$list; do \
  53682. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  53683. - f=$(am__strip_dir) \
  53684. - echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
  53685. - $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
  53686. + echo "$$d$$p"; \
  53687. + done | $(am__base_list) | \
  53688. + while read files; do \
  53689. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
  53690. + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
  53691. done
  53692. uninstall-pkgconfigDATA:
  53693. @$(NORMAL_UNINSTALL)
  53694. - @list='$(pkgconfig_DATA)'; for p in $$list; do \
  53695. - f=$(am__strip_dir) \
  53696. - echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
  53697. - rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
  53698. - done
  53699. + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  53700. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  53701. + test -n "$$files" || exit 0; \
  53702. + echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
  53703. + cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
  53704. install-includeHEADERS: $(include_HEADERS)
  53705. @$(NORMAL_INSTALL)
  53706. test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
  53707. - @list='$(include_HEADERS)'; for p in $$list; do \
  53708. + @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  53709. + for p in $$list; do \
  53710. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  53711. - f=$(am__strip_dir) \
  53712. - echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
  53713. - $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
  53714. + echo "$$d$$p"; \
  53715. + done | $(am__base_list) | \
  53716. + while read files; do \
  53717. + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
  53718. + $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
  53719. done
  53720. uninstall-includeHEADERS:
  53721. @$(NORMAL_UNINSTALL)
  53722. - @list='$(include_HEADERS)'; for p in $$list; do \
  53723. - f=$(am__strip_dir) \
  53724. - echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
  53725. - rm -f "$(DESTDIR)$(includedir)/$$f"; \
  53726. - done
  53727. + @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  53728. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  53729. + test -n "$$files" || exit 0; \
  53730. + echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
  53731. + cd "$(DESTDIR)$(includedir)" && rm -f $$files
  53732. install-nodist_includeHEADERS: $(nodist_include_HEADERS)
  53733. @$(NORMAL_INSTALL)
  53734. test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
  53735. - @list='$(nodist_include_HEADERS)'; for p in $$list; do \
  53736. + @list='$(nodist_include_HEADERS)'; test -n "$(includedir)" || list=; \
  53737. + for p in $$list; do \
  53738. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  53739. - f=$(am__strip_dir) \
  53740. - echo " $(nodist_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
  53741. - $(nodist_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
  53742. + echo "$$d$$p"; \
  53743. + done | $(am__base_list) | \
  53744. + while read files; do \
  53745. + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
  53746. + $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
  53747. done
  53748. uninstall-nodist_includeHEADERS:
  53749. @$(NORMAL_UNINSTALL)
  53750. - @list='$(nodist_include_HEADERS)'; for p in $$list; do \
  53751. - f=$(am__strip_dir) \
  53752. - echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
  53753. - rm -f "$(DESTDIR)$(includedir)/$$f"; \
  53754. - done
  53755. + @list='$(nodist_include_HEADERS)'; test -n "$(includedir)" || list=; \
  53756. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  53757. + test -n "$$files" || exit 0; \
  53758. + echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
  53759. + cd "$(DESTDIR)$(includedir)" && rm -f $$files
  53760. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  53761. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  53762. unique=`for i in $$list; do \
  53763. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  53764. done | \
  53765. - $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
  53766. + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  53767. END { if (nonempty) { for (i in files) print i; }; }'`; \
  53768. mkid -fID $$unique
  53769. tags: TAGS
  53770. TAGS: $(HEADERS) $(SOURCES) gpsd_config.h.in $(TAGS_DEPENDENCIES) \
  53771. $(TAGS_FILES) $(LISP)
  53772. - tags=; \
  53773. + set x; \
  53774. here=`pwd`; \
  53775. list='$(SOURCES) $(HEADERS) gpsd_config.h.in $(LISP) $(TAGS_FILES)'; \
  53776. unique=`for i in $$list; do \
  53777. @@ -1319,36 +1244,54 @@
  53778. done | \
  53779. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  53780. END { if (nonempty) { for (i in files) print i; }; }'`; \
  53781. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  53782. + shift; \
  53783. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  53784. test -n "$$unique" || unique=$$empty_fix; \
  53785. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  53786. - $$tags $$unique; \
  53787. + if test $$# -gt 0; then \
  53788. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  53789. + "$$@" $$unique; \
  53790. + else \
  53791. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  53792. + $$unique; \
  53793. + fi; \
  53794. fi
  53795. ctags: CTAGS
  53796. CTAGS: $(HEADERS) $(SOURCES) gpsd_config.h.in $(TAGS_DEPENDENCIES) \
  53797. $(TAGS_FILES) $(LISP)
  53798. - tags=; \
  53799. list='$(SOURCES) $(HEADERS) gpsd_config.h.in $(LISP) $(TAGS_FILES)'; \
  53800. unique=`for i in $$list; do \
  53801. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  53802. done | \
  53803. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  53804. END { if (nonempty) { for (i in files) print i; }; }'`; \
  53805. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  53806. + test -z "$(CTAGS_ARGS)$$unique" \
  53807. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  53808. - $$tags $$unique
  53809. + $$unique
  53810. GTAGS:
  53811. here=`$(am__cd) $(top_builddir) && pwd` \
  53812. - && cd $(top_srcdir) \
  53813. - && gtags -i $(GTAGS_ARGS) $$here
  53814. + && $(am__cd) $(top_srcdir) \
  53815. + && gtags -i $(GTAGS_ARGS) "$$here"
  53816. distclean-tags:
  53817. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  53818. distdir: $(DISTFILES)
  53819. + @list='$(MANS)'; if test -n "$$list"; then \
  53820. + list=`for p in $$list; do \
  53821. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  53822. + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  53823. + if test -n "$$list" && \
  53824. + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  53825. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  53826. + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  53827. + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  53828. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  53829. + exit 1; \
  53830. + else :; fi; \
  53831. + else :; fi
  53832. $(am__remove_distdir)
  53833. - test -d $(distdir) || mkdir $(distdir)
  53834. + test -d "$(distdir)" || mkdir "$(distdir)"
  53835. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  53836. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  53837. list='$(DISTFILES)'; \
  53838. @@ -1364,21 +1307,27 @@
  53839. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  53840. if test -d $$d/$$file; then \
  53841. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  53842. + if test -d "$(distdir)/$$file"; then \
  53843. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  53844. + fi; \
  53845. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  53846. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  53847. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  53848. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  53849. fi; \
  53850. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  53851. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  53852. else \
  53853. - test -f $(distdir)/$$file \
  53854. - || cp -p $$d/$$file $(distdir)/$$file \
  53855. + test -f "$(distdir)/$$file" \
  53856. + || cp -p $$d/$$file "$(distdir)/$$file" \
  53857. || exit 1; \
  53858. fi; \
  53859. done
  53860. - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  53861. + -test -n "$(am__skip_mode_fix)" \
  53862. + || find "$(distdir)" -type d ! -perm -755 \
  53863. + -exec chmod u+rwx,go+rx {} \; -o \
  53864. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  53865. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  53866. ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  53867. - || chmod -R a+r $(distdir)
  53868. + || chmod -R a+r "$(distdir)"
  53869. dist-gzip: distdir
  53870. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  53871. $(am__remove_distdir)
  53872. @@ -1391,6 +1340,10 @@
  53873. tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  53874. $(am__remove_distdir)
  53875. +dist-xz: distdir
  53876. + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  53877. + $(am__remove_distdir)
  53878. +
  53879. dist-tarZ: distdir
  53880. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  53881. $(am__remove_distdir)
  53882. @@ -1414,15 +1367,17 @@
  53883. distcheck: dist
  53884. case '$(DIST_ARCHIVES)' in \
  53885. *.tar.gz*) \
  53886. - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
  53887. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  53888. *.tar.bz2*) \
  53889. - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
  53890. + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  53891. *.tar.lzma*) \
  53892. - unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
  53893. + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  53894. + *.tar.xz*) \
  53895. + xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  53896. *.tar.Z*) \
  53897. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  53898. *.shar.gz*) \
  53899. - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
  53900. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  53901. *.zip*) \
  53902. unzip $(distdir).zip ;;\
  53903. esac
  53904. @@ -1430,9 +1385,11 @@
  53905. mkdir $(distdir)/_build
  53906. mkdir $(distdir)/_inst
  53907. chmod a-w $(distdir)
  53908. + test -d $(distdir)/_build || exit 0; \
  53909. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  53910. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  53911. - && cd $(distdir)/_build \
  53912. + && am__cwd=`pwd` \
  53913. + && $(am__cd) $(distdir)/_build \
  53914. && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  53915. $(DISTCHECK_CONFIGURE_FLAGS) \
  53916. && $(MAKE) $(AM_MAKEFLAGS) \
  53917. @@ -1454,13 +1411,15 @@
  53918. && rm -rf "$$dc_destdir" \
  53919. && $(MAKE) $(AM_MAKEFLAGS) dist \
  53920. && rm -rf $(DIST_ARCHIVES) \
  53921. - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
  53922. + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  53923. + && cd "$$am__cwd" \
  53924. + || exit 1
  53925. $(am__remove_distdir)
  53926. @(echo "$(distdir) archives ready for distribution: "; \
  53927. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  53928. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  53929. distuninstallcheck:
  53930. - @cd $(distuninstallcheck_dir) \
  53931. + @$(am__cd) '$(distuninstallcheck_dir)' \
  53932. && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  53933. || { echo "ERROR: files left after uninstall:" ; \
  53934. if test -n "$(DESTDIR)"; then \
  53935. @@ -1481,12 +1440,12 @@
  53936. $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
  53937. check: $(BUILT_SOURCES)
  53938. $(MAKE) $(AM_MAKEFLAGS) check-am
  53939. -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
  53940. - $(HEADERS) gpsd_config.h
  53941. +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(DATA) $(HEADERS) \
  53942. + gpsd_config.h
  53943. install-binPROGRAMS: install-libLTLIBRARIES
  53944. installdirs:
  53945. - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pythondir)" "$(DESTDIR)$(pythondir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"; do \
  53946. + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"; do \
  53947. test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  53948. done
  53949. install: $(BUILT_SOURCES)
  53950. @@ -1511,6 +1470,7 @@
  53951. distclean-generic:
  53952. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  53953. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  53954. maintainer-clean-generic:
  53955. @echo "This command is intended for maintainers to use"
  53956. @@ -1519,8 +1479,8 @@
  53957. clean: clean-am
  53958. clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
  53959. - clean-libLTLIBRARIES clean-libtool clean-local \
  53960. - clean-sbinPROGRAMS mostlyclean-am
  53961. + clean-libLTLIBRARIES clean-libtool clean-sbinPROGRAMS \
  53962. + mostlyclean-am
  53963. distclean: distclean-am
  53964. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  53965. @@ -1535,29 +1495,40 @@
  53966. html: html-am
  53967. +html-am:
  53968. +
  53969. info: info-am
  53970. info-am:
  53971. install-data-am: install-includeHEADERS install-man \
  53972. - install-nodist_includeHEADERS install-nodist_pythonPYTHON \
  53973. - install-pkgconfigDATA install-pythonPYTHON
  53974. + install-nodist_includeHEADERS install-pkgconfigDATA
  53975. install-dvi: install-dvi-am
  53976. -install-exec-am: install-binPROGRAMS install-dist_binSCRIPTS \
  53977. - install-libLTLIBRARIES install-sbinPROGRAMS
  53978. +install-dvi-am:
  53979. +
  53980. +install-exec-am: install-binPROGRAMS install-libLTLIBRARIES \
  53981. + install-sbinPROGRAMS
  53982. install-html: install-html-am
  53983. +install-html-am:
  53984. +
  53985. install-info: install-info-am
  53986. +install-info-am:
  53987. +
  53988. install-man: install-man1 install-man3 install-man5 install-man8
  53989. install-pdf: install-pdf-am
  53990. +install-pdf-am:
  53991. +
  53992. install-ps: install-ps-am
  53993. +install-ps-am:
  53994. +
  53995. installcheck-am:
  53996. maintainer-clean: maintainer-clean-am
  53997. @@ -1580,44 +1551,40 @@
  53998. ps-am:
  53999. -uninstall-am: uninstall-binPROGRAMS uninstall-dist_binSCRIPTS \
  54000. - uninstall-includeHEADERS uninstall-libLTLIBRARIES \
  54001. - uninstall-man uninstall-nodist_includeHEADERS \
  54002. - uninstall-nodist_pythonPYTHON uninstall-pkgconfigDATA \
  54003. - uninstall-pythonPYTHON uninstall-sbinPROGRAMS
  54004. +uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
  54005. + uninstall-libLTLIBRARIES uninstall-man \
  54006. + uninstall-nodist_includeHEADERS uninstall-pkgconfigDATA \
  54007. + uninstall-sbinPROGRAMS
  54008. uninstall-man: uninstall-man1 uninstall-man3 uninstall-man5 \
  54009. uninstall-man8
  54010. -.MAKE: install-am install-strip
  54011. +.MAKE: all check check-am install install-am install-strip
  54012. .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
  54013. clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
  54014. - clean-libLTLIBRARIES clean-libtool clean-local \
  54015. - clean-sbinPROGRAMS ctags dist dist-all dist-bzip2 dist-gzip \
  54016. - dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \
  54017. + clean-libLTLIBRARIES clean-libtool clean-sbinPROGRAMS ctags \
  54018. + dist dist-all dist-bzip2 dist-gzip dist-lzma dist-shar \
  54019. + dist-tarZ dist-xz dist-zip distcheck distclean \
  54020. distclean-compile distclean-generic distclean-hdr \
  54021. distclean-libtool distclean-tags distcleancheck distdir \
  54022. distuninstallcheck dvi dvi-am html html-am info info-am \
  54023. install install-am install-binPROGRAMS install-data \
  54024. - install-data-am install-dist_binSCRIPTS install-dvi \
  54025. - install-dvi-am install-exec install-exec-am install-html \
  54026. - install-html-am install-includeHEADERS install-info \
  54027. - install-info-am install-libLTLIBRARIES install-man \
  54028. - install-man1 install-man3 install-man5 install-man8 \
  54029. - install-nodist_includeHEADERS install-nodist_pythonPYTHON \
  54030. + install-data-am install-dvi install-dvi-am install-exec \
  54031. + install-exec-am install-html install-html-am \
  54032. + install-includeHEADERS install-info install-info-am \
  54033. + install-libLTLIBRARIES install-man install-man1 install-man3 \
  54034. + install-man5 install-man8 install-nodist_includeHEADERS \
  54035. install-pdf install-pdf-am install-pkgconfigDATA install-ps \
  54036. - install-ps-am install-pythonPYTHON install-sbinPROGRAMS \
  54037. - install-strip installcheck installcheck-am installdirs \
  54038. - maintainer-clean maintainer-clean-generic mostlyclean \
  54039. - mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
  54040. - pdf pdf-am ps ps-am tags uninstall uninstall-am \
  54041. - uninstall-binPROGRAMS uninstall-dist_binSCRIPTS \
  54042. + install-ps-am install-sbinPROGRAMS install-strip installcheck \
  54043. + installcheck-am installdirs maintainer-clean \
  54044. + maintainer-clean-generic mostlyclean mostlyclean-compile \
  54045. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  54046. + tags uninstall uninstall-am uninstall-binPROGRAMS \
  54047. uninstall-includeHEADERS uninstall-libLTLIBRARIES \
  54048. uninstall-man uninstall-man1 uninstall-man3 uninstall-man5 \
  54049. uninstall-man8 uninstall-nodist_includeHEADERS \
  54050. - uninstall-nodist_pythonPYTHON uninstall-pkgconfigDATA \
  54051. - uninstall-pythonPYTHON uninstall-sbinPROGRAMS
  54052. + uninstall-pkgconfigDATA uninstall-sbinPROGRAMS
  54053. packet_names.h: packet_states.h
  54054. @@ -1629,12 +1596,6 @@
  54055. grep ENABLE gpsd_config.h >>gpsd.h
  54056. cat $(srcdir)/gpsd.h-tail >>gpsd.h
  54057. -@HAVE_PYTHON_TRUE@gpspacket.so gpslib.so: gpspacket.c gpslib.c libgps.la
  54058. -@HAVE_PYTHON_TRUE@ (pwd="`pwd`"; cd $(srcdir) && $(PYTHON) setup.py build_ext --build-lib "$$pwd" --build-temp "$$pwd/build" --include-dirs "$$pwd")
  54059. -# Clean up after Python
  54060. -clean-local:
  54061. - rm -rf build
  54062. -
  54063. @HAVE_XSLT_PROCESSOR_TRUE@.xml.1:
  54064. @HAVE_XSLT_PROCESSOR_TRUE@ $(MANGENERATOR) $(MANFLAGS) $(MANTARGET) $<
  54065. @@ -1881,6 +1842,7 @@
  54066. # Ship a release, providing all regression tests pass.
  54067. #
  54068. ship: testregress dist upload-ftp svn-tag
  54069. +
  54070. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  54071. # Otherwise a system limit (for SysV at least) may be exceeded.
  54072. .NOEXPORT:
  54073. diff -Nur gpsd-2.39.orig/rtcm-104.5 gpsd-2.39/rtcm-104.5
  54074. --- gpsd-2.39.orig/rtcm-104.5 2009-03-15 04:50:38.000000000 +0100
  54075. +++ gpsd-2.39/rtcm-104.5 1970-01-01 01:00:00.000000000 +0100
  54076. @@ -1,356 +0,0 @@
  54077. -.\" Title: rtcm-104
  54078. -.\" Author:
  54079. -.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
  54080. -.\" Date: 03/14/2009
  54081. -.\" Manual: 12 Jul 2005
  54082. -.\" Source: 12 Jul 2005
  54083. -.\"
  54084. -.TH "RTCM\-104" "5" "03/14/2009" "12 Jul 2005" "12 Jul 2005"
  54085. -.\" disable hyphenation
  54086. -.nh
  54087. -.\" disable justification (adjust text to left margin only)
  54088. -.ad l
  54089. -.SH "NAME"
  54090. -rtcm-104 \- RTCM-104 dump format emitted by GPSD tools
  54091. -.SH "OVERVIEW"
  54092. -.PP
  54093. -RTCM\-104 is a family of serial protocols used for broadcasting pseudorange corrections from differential\-GPS reference stations\&. This manual page describes some aspects of the RTCM protocol, mainly in order to explain the RTCM\-104 dump format emitted by
  54094. -\fBgpsdecode\fR(1)\&. It describes that dump format completely\&.
  54095. -.PP
  54096. -RTCM\-104 comes in two major and incompatible flavors, 2\&.x and 3\&.x\&. Each major flavor has minor (compatible) revisions\&.
  54097. -.PP
  54098. -The applicable standard for RTCM Version 2\&.x is
  54099. -RTCM Recommended Standards for Differential NAVSTAR GPS Service
  54100. -RTCM Paper 194\-93/SC 104\-STD\&. For RTCM 3\&.1 it is
  54101. -RTCM Paper 177\-2006\-SC104\-STD\&. Ordering instructions for both standards are accessible from the website of the
  54102. -\fIRadio Technical Commission for Maritime Services\fR\&[1]
  54103. -under "Publications"\&.
  54104. -.SH "RTCM WIRE TRANSMISSIONS"
  54105. -.PP
  54106. -Differential\-GPS correction stations consist of a GPS reference receiver coupled to a low frequency (LF) transmitter\&. The GPS reference receiver is a survey\-grade GPS that does GPS carrier tracking and can work out its own position to a few millimeters\&. It generates range and range\-rate corrections and encodes them into RTCM104\&. It ships the RTCM104 to the LF transmitter over serial rs\-232 signal at 100 baud or 200 baud depending on the requirements of the transmitter\&.
  54107. -.PP
  54108. -The LF transmitter broadcasts the the approximately 300khz radio signal that differential\-GPS radio receivers pick up\&. Transmitters that are meant to have a higher range will need to transmit at the slower rate\&. The higher the data rate the harder it will be for the remote radio receiver to receive with a good signal\-to\-noise ration\&. (Higher data rate signals can\'t be averaged over as long a time frame, hence they appear noisier\&.)
  54109. -.SH "RTCM WIRE FORMATS"
  54110. -.PP
  54111. -An RTCM 2\&.x message consists of a sequence of up to 33 30\-bit words\&. The 24 most significant bits of each word are data and the six least significant bits are parity\&. The parity algorithm used is the same ISGPS\-2000 as that used on GPS satellite downlinks\&. Each RTCM 2\&.x message consists of two header words followed by zero or more data words, depending upon message type\&.
  54112. -.PP
  54113. -An RTCM 3\&.x message begins with a fixed leader byte 0xD3\&. That is followed by six bits of version information and 10 bits of payload length information\&. Following that is the payload; following the payload is a 3\-byte checksum of the payload using the Qualcomm CRC\-24Q algorithm\&.
  54114. -.SH "RTCM2 DUMP FORMAT"
  54115. -.PP
  54116. -For each message, the header is listed first, followed by zero or more lines containing the specific data for that message, followed by a trailing sentinel line containing a single dot\&. The general format is a line beginning with a capital letter, followed by a tab, followed by the fields of the message separated by tabs, terminated by a newline\&.
  54117. -.SS "Header message (H)"
  54118. -.sp
  54119. -.RS 4
  54120. -.nf
  54121. -H <message type> <reference station id> <modified z_count> <sequence no>
  54122. - <message length> <station health> [T <useful length>]
  54123. -.fi
  54124. -.RE
  54125. -.PP
  54126. -Here is an example:
  54127. -.sp
  54128. -.RS 4
  54129. -.nf
  54130. -H 9 268 249\&.6 1 5 0
  54131. -S 13 0 3 249\&.6 \-26\&.120 0\&.068
  54132. -S 2 0 73 249\&.6 1\&.220 \-0\&.080
  54133. -S 8 0 22 249\&.6 23\&.760 0\&.030
  54134. -\&.
  54135. -.fi
  54136. -.RE
  54137. -.PP
  54138. -<message type> is one of
  54139. -.PP
  54140. -1
  54141. -.RS 4
  54142. -full corrections \- one message containing corrections for all satellites in view\&. This is not common\&.
  54143. -.RE
  54144. -.PP
  54145. -3
  54146. -.RS 4
  54147. -reference station parameters \- the position of the reference station GPS antenna\&.
  54148. -.RE
  54149. -.PP
  54150. -4
  54151. -.RS 4
  54152. -datum \(em the datum to which the DGPS data is referred\&.
  54153. -.RE
  54154. -.PP
  54155. -5
  54156. -.RS 4
  54157. -constellation health \(em information about the satellites the beacon can see
  54158. -.RE
  54159. -.PP
  54160. -6
  54161. -.RS 4
  54162. -null message \(em just a filler\&.
  54163. -.RE
  54164. -.PP
  54165. -7
  54166. -.RS 4
  54167. -radio beacon almanac \(em information about this or other beacons\&.
  54168. -.RE
  54169. -.PP
  54170. -9
  54171. -.RS 4
  54172. -subset corrections \(em a message containing corrections for only a subset of the satellites in view\&.
  54173. -.RE
  54174. -.PP
  54175. -16
  54176. -.RS 4
  54177. -special message \(em a text message from the beacon operator\&.
  54178. -.RE
  54179. -.PP
  54180. -<reference station id> is the id of the GPS reference receiver\&. The LF transmitters also have (different) id numbers\&.
  54181. -.PP
  54182. -<modified z_count> is the reference time of the corrections in the message in seconds within the current hour\&. Note that it is in GPS time, which is some seconds ahead of UTC (see the U\&.S\&. Naval Observatory\'s
  54183. -\fItable of leap second corrections\fR\&[2])\&.
  54184. -.PP
  54185. -<sequence no> is a number which increments, modulo 8, for each message transmitted\&.
  54186. -.PP
  54187. -<message length> is the number of words after the header that comprise the message\&.
  54188. -.PP
  54189. -<station health> indicates the health of the beacon as a reference source\&. Any nonzero value means the satellite is probably transmitting bad data and should not be used in a fix\&. 6 means the transmission is unmonitored\&. 7 means the station is not working properly\&. Other values are defined by the beacon operator\&.
  54190. -.PP
  54191. -If the message contains a parity error after the header but before the end of the message, then the extra fields [T <useful length>] are appended to indicate a truncated message\&.
  54192. -.PP
  54193. -Here is an example:
  54194. -.sp
  54195. -.RS 4
  54196. -.nf
  54197. -H 9 687 331\&.8 1 5 0 T 4
  54198. -.fi
  54199. -.RE
  54200. -.PP
  54201. -<useful length> indicates the number of useful words before the parity error\&. Depending on the message type, useful information may still be extracted\&.
  54202. -.SS "Correction data (S)"
  54203. -.PP
  54204. -One or more of these follow the header for type 1 or type 9 messages\&. Here is the format:
  54205. -.sp
  54206. -.RS 4
  54207. -.nf
  54208. -S <satellite> <udre> <iod> <modified z_count> <range error>
  54209. - <range error rate>
  54210. -.fi
  54211. -.RE
  54212. -.PP
  54213. -Here is an example:
  54214. -.sp
  54215. -.RS 4
  54216. -.nf
  54217. -S 7 0 199 331\&.8 \-12\&.160 0\&.288
  54218. -.fi
  54219. -.RE
  54220. -.PP
  54221. -<satellite> is the PRN number of the satellite for which this is correction data\&.
  54222. -.PP
  54223. -<udre> is User Differential Range Error with the following values:
  54224. -.sp
  54225. -.RS 4
  54226. -.nf
  54227. -0 1\-sigma error <= 1m
  54228. -1 1\-sigma error <= 4m
  54229. -2 1\-sigma error <= 8m
  54230. -3 1\-sigma error > 8m
  54231. -.fi
  54232. -.RE
  54233. -.PP
  54234. -<iod> is Issue Of Data, matching the IOD for the current ephemeris of this satellite, as transmitted by the satellite\&. The IOD is a unique tag that identifies the ephemeris; the GPS using the DGPS correction and the DGPS generating the data must use the same orbital positions for the satellite\&.
  54235. -.PP
  54236. -<modified z_count> is just a copy of the same field from the header\&.
  54237. -.PP
  54238. -<range error> is the pseudorange error in meters for this satellite as measured by the beacon reference receiver at the epoch indicated by <modified z_count>
  54239. -.PP
  54240. -<range error rate> is the rate of change of pseudorange error in meters/sec for this satellite as measured by the beacon reference receiver at the epoch indicated by <modified z_count>\&. This is used to calculate pseudorange errors at other epochs, if required by the GPS receiver\&.
  54241. -.SS "Reference Station Parameters (R)"
  54242. -.PP
  54243. -Here is the format:
  54244. -.sp
  54245. -.RS 4
  54246. -.nf
  54247. -R <X\-coordinate> <Y\-coordinate> <Z\-coordinate>
  54248. -.fi
  54249. -.RE
  54250. -.PP
  54251. -Here is an example:
  54252. -.sp
  54253. -.RS 4
  54254. -.nf
  54255. -R 3746729\&.40 \-5086\&.23 5144450\&.67
  54256. -.fi
  54257. -.RE
  54258. -.PP
  54259. -The coordinates are the position of the station, in meters to two decimal places, in Earth Centred Earth Fixed coordinates\&. These are usually referred to the WGS84 reference frame, but may be referred to NAD83 in the US (essentially identical to WGS84 for all except geodesists), or to some other reference frame in other parts of the world\&.
  54260. -.SS "Datum (D)"
  54261. -.PP
  54262. -Here is the format:
  54263. -.sp
  54264. -.RS 4
  54265. -.nf
  54266. -D <dgnss type> <dat> <datum name> [ <dx> <dy> <dz> ]
  54267. -.fi
  54268. -.RE
  54269. -.PP
  54270. -Here is an (artificial) example:
  54271. -.sp
  54272. -.RS 4
  54273. -.nf
  54274. -D GPS 0 ABC12 25\&.8 30\&.5 33\&.0
  54275. -.fi
  54276. -.RE
  54277. -.PP
  54278. -<dgnss type> is either GPS or GLONASS\&.
  54279. -.PP
  54280. -<dat> is 0 or 1 and indicates the sense of the offset shift given by dx, dy, dz\&. dat = 0 means that the station coordinates (in the reference message) are referred to a local datum and that adding dx, dy, dz to that position will render it in GNSS coordinates (WGS84 for GPS)\&. If dat = 1 then the ref station position is in GNSS coordinates and adding dx, dy, dz will give it referred to the local datum\&.
  54281. -.PP
  54282. -<datum name> is a standard name for the datum\&.
  54283. -.PP
  54284. -<dx> <dy> <dz> are offsets to convert from local datum to GNSS datum or vice versa\&. These fields are optional\&.
  54285. -.SS "Constellation Health (C)"
  54286. -.PP
  54287. -One or more of these follow the header for type 5 messages \(em one for each satellite\&.
  54288. -.PP
  54289. -Here is the format:
  54290. -.sp
  54291. -.RS 4
  54292. -.nf
  54293. -C <sat> <iodl> <health> <snr> <hlth en> <new data> <los warning>
  54294. - <time to unhealthy>
  54295. -.fi
  54296. -.RE
  54297. -.PP
  54298. -Here is an example:
  54299. -.sp
  54300. -.RS 4
  54301. -.nf
  54302. -C 29 0 0 53 0 0 0 0
  54303. -.fi
  54304. -.RE
  54305. -.PP
  54306. -<sat> is the PRN number of the satellite\&.
  54307. -.PP
  54308. -<iodl> is 1 bit\&. 0 indicates that this information relates to the satellite information in an accompanying type 1 or type 9 message\&.
  54309. -.PP
  54310. -<health> 0 indicates that the satellite is healthy\&. Any other value indicates a problem (coding is not known)\&.
  54311. -.PP
  54312. -<snr> gives the carrier/noise ratio of the received signal in the range 25 to 55 dB(Hz)\&.
  54313. -.PP
  54314. -<health en> is 1 bit\&. If set to 1 it indicates that the satellite is healthy even if the satellite navigation data says it is unhealthy\&.
  54315. -.PP
  54316. -<new data> is 1 bit\&. a 1 indicates that the IOD for this satellite will soon be updated in type 1 or 9 messages\&.
  54317. -.PP
  54318. -<los warning> is 1 bit\&. a 1 indicates that the satellite will shortly go unhealthy\&. The healthy time remaining is given in the <time to unhealthy> field\&.
  54319. -.SS "Radio Beacon Almanac (A)"
  54320. -.PP
  54321. -Here is the format:
  54322. -.sp
  54323. -.RS 4
  54324. -.nf
  54325. -A <latitude> <longitude> <range> <frequency> <health> <station id>
  54326. - <bitrate>
  54327. -.fi
  54328. -.RE
  54329. -.PP
  54330. -Here is an example:
  54331. -.sp
  54332. -.RS 4
  54333. -.nf
  54334. -A 54\&.1176 \-0\&.0714 100 302\&.5 0 447 2
  54335. -.fi
  54336. -.RE
  54337. -.PP
  54338. -<latitude> and <longitude> give the position, in degrees, of the LF transmitter antenna for the station for which this is an almanac\&. North and East are positive\&.
  54339. -.PP
  54340. -<range> is the published range of the station in km\&.
  54341. -.PP
  54342. -<frequency> is the broadcast frequency in kHz\&.
  54343. -.PP
  54344. -<health> is the health of the station for which this is an almanac\&. If it is non\-zero, the station is issuing suspect data and should not be used for fixes\&. The ITU and RTCM104 standards differ about the mode detailed interpretation of the <health> field and even about its bit width\&.
  54345. -.PP
  54346. -<station id> is the id of the transmitter\&. This is not the same as the reference id in the header, the latter being the id of the reference receiver\&.
  54347. -.PP
  54348. -<bitrate> indicates the transmitted bitrate\&.
  54349. -.SS "Special Message (T)"
  54350. -.PP
  54351. -Here is the format:
  54352. -.sp
  54353. -.RS 4
  54354. -.nf
  54355. -T <text>
  54356. -.fi
  54357. -.RE
  54358. -.PP
  54359. -Here is an example:
  54360. -.sp
  54361. -.RS 4
  54362. -.nf
  54363. -T THLS TRIAL SERVICE
  54364. -.fi
  54365. -.RE
  54366. -.PP
  54367. -<text> is just a text message sent by the beacon operator\&.
  54368. -.SS "Null (N)"
  54369. -.PP
  54370. -This just indicates a null message\&. There are no fields\&.
  54371. -.SS "Unknown message (U)"
  54372. -.PP
  54373. -This is used to dump message words in hexadecimal when the message type field doesn\'t match any of the known ones\&.
  54374. -.PP
  54375. -Here is the format:
  54376. -.sp
  54377. -.RS 4
  54378. -.nf
  54379. -U <hex\-literal>
  54380. -.fi
  54381. -.RE
  54382. -.PP
  54383. -Here is an example:
  54384. -.sp
  54385. -.RS 4
  54386. -.nf
  54387. -U 0x76423055
  54388. -.fi
  54389. -.RE
  54390. -.PP
  54391. -The <hex\-literal> will represent 32 bits of information, after parity checks and inversion\&. The high two bits should be ignored\&.
  54392. -.SS "Null (N)"
  54393. -.PP
  54394. -This just indicates a null message\&. There are no fields\&.
  54395. -.SH "RTCM3 DUMP FORMAT"
  54396. -.PP
  54397. -RTCM104v3 messages are too complex to be dumped in a fully invertible form without a structural markup at least as complex as XML or YAML\&. Accordingly, the dump format has been designed to be its own documentation at the expense of reparsability, and is not described here\&.
  54398. -.SH "SEE ALSO"
  54399. -.PP
  54400. -
  54401. -\fBgpsd\fR(8),
  54402. -\fBgps\fR(1),
  54403. -\fBlibgps\fR(3),
  54404. -\fBlibgpsd\fR(3),
  54405. -\fBgpsprof\fR(1),
  54406. -\fBgpsfake\fR(1)\&.
  54407. -.SH "COMPATIBILITY NOTE"
  54408. -.PP
  54409. -In versions of the RTCM2 dump format prior to gpsd 2\&.28, there was no trailing sentinel line after each stanza of the dump\&.
  54410. -.SH "AUTHOR"
  54411. -.PP
  54412. -Much of the portion of this text describing RTCM2 was originally written by John Sager
  54413. -<john\&.sager@btinternet\&.com>
  54414. -in association with his RTCM decoder\&. Other material comes from the GPSD project\&. There is a project page for
  54415. -gpsd
  54416. -\fIhere\fR\&[3]\&.
  54417. -.SH "NOTES"
  54418. -.IP " 1." 4
  54419. -Radio Technical Commission for Maritime Services
  54420. -.RS 4
  54421. -\%http://www.rtcm.org/
  54422. -.RE
  54423. -.IP " 2." 4
  54424. -table of leap second corrections
  54425. -.RS 4
  54426. -\%ftp://maia.usno.navy.mil/ser7/tai-utc.dat
  54427. -.RE
  54428. -.IP " 3." 4
  54429. -here
  54430. -.RS 4
  54431. -\%http://gpsd.berlios.de/
  54432. -.RE
  54433. diff -Nur gpsd-2.39.orig/srec.5 gpsd-2.39/srec.5
  54434. --- gpsd-2.39.orig/srec.5 2009-03-15 04:50:39.000000000 +0100
  54435. +++ gpsd-2.39/srec.5 1970-01-01 01:00:00.000000000 +0100
  54436. @@ -1,255 +0,0 @@
  54437. -.\" Title: srec
  54438. -.\" Author:
  54439. -.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
  54440. -.\" Date: 03/14/2009
  54441. -.\" Manual: 15 Jul 2005
  54442. -.\" Source: 15 Jul 2005
  54443. -.\"
  54444. -.TH "SREC" "5" "03/14/2009" "15 Jul 2005" "15 Jul 2005"
  54445. -.\" disable hyphenation
  54446. -.nh
  54447. -.\" disable justification (adjust text to left margin only)
  54448. -.ad l
  54449. -.SH "NAME"
  54450. -srec \- Motorola S-record record and file format
  54451. -.SH "DESCRIPTION"
  54452. -.PP
  54453. -Motorola S\-records are a form of simple ASCII encoding for binary data\&. This format is commonly used for firmware uploads to GPSes, industrial robots, and other kinds of microcontroller\-driven hardware\&. It has several convenient properties, including inspectability, easy editing with any text editor, and checksumming for verification of transmission across noisy serial lines\&.
  54454. -.PP
  54455. -An S\-record file consists of a sequence of specially formatted ASCII character strings\&. An S\-record will be less than or equal to 78 bytes in length\&.
  54456. -.PP
  54457. -The order of S\-records within a file is of no significance and no particular order may be assumed\&.
  54458. -.PP
  54459. -The general format of an S\-record follows:
  54460. -.sp
  54461. -.RS 4
  54462. -.nf
  54463. -+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-//\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-//\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  54464. -| type | count | address | data | checksum |
  54465. -+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-//\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-//\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  54466. -.fi
  54467. -.RE
  54468. -.PP
  54469. -type
  54470. -.RS 4
  54471. -A char[2] field\&. These characters describe the type of record (S0, S1, S2, S3, S5, S7, S8, or S9)\&.
  54472. -.RE
  54473. -.PP
  54474. -count
  54475. -.RS 4
  54476. -A char[2] field\&. These characters when paired and interpreted as a hexadecimal value, display the count of remaining character pairs in the record\&.
  54477. -.RE
  54478. -.PP
  54479. -address
  54480. -.RS 4
  54481. -A char[4,6, or 8] field\&. These characters grouped and interpreted as a hexadecimal value, display the address at which the data field is to be loaded into memory\&. The length of the field depends on the number of bytes necessary to hold the address\&. A 2\-byte address uses 4 characters, a 3\-byte address uses 6 characters, and a 4\-byte address uses 8 characters\&.
  54482. -.RE
  54483. -.PP
  54484. -data
  54485. -.RS 4
  54486. -A char [0\-64] field\&. These characters when paired and interpreted as hexadecimal values represent the memory loadable data or descriptive information\&.
  54487. -.RE
  54488. -.PP
  54489. -checksum
  54490. -.RS 4
  54491. -A char[2] field\&. These characters when paired and interpreted as a hexadecimal value display the least significant byte of the ones complement of the sum of the byte values represented by the pairs of characters making up the count, the address, and the data fields\&.
  54492. -.RE
  54493. -.PP
  54494. -Each record is terminated with a line feed\&. If any additional or different record terminator(s) or delay characters are needed during transmission to the target system it is the responsibility of the transmitting program to provide them\&.
  54495. -.PP
  54496. -There are 9 record types, as follows:
  54497. -.PP
  54498. -S0
  54499. -.RS 4
  54500. -The type of record is \'S0\' (0x5330)\&. The address field is unused and will be filled with zeros (0x0000)\&. The header information within the data field is divided into the following subfields\&.
  54501. -.sp
  54502. -.RS 4
  54503. -\h'-04' 1.\h'+02'mname is char[20] and is the module name\&.
  54504. -.RE
  54505. -.sp
  54506. -.RS 4
  54507. -\h'-04' 2.\h'+02'ver is char[2] and is the version number\&.
  54508. -.RE
  54509. -.sp
  54510. -.RS 4
  54511. -\h'-04' 3.\h'+02'rev is char[2] and is the revision number\&.
  54512. -.RE
  54513. -.sp
  54514. -.RS 4
  54515. -\h'-04' 4.\h'+02'description is char[0\-36] and is a text comment\&.
  54516. -.RE
  54517. -.IP "" 4
  54518. -Each of the subfields is composed of ASCII bytes whose associated characters, when paired, represent one byte hexadecimal values in the case of the version and revision numbers, or represent the hexadecimal values of the ASCII characters comprising the module name and description\&.
  54519. -.RE
  54520. -.PP
  54521. -S1
  54522. -.RS 4
  54523. -The type of record field is \'S1\' (0x5331)\&. The address field is interpreted as a 2\-byte address\&. The data field is composed of memory loadable data\&.
  54524. -.RE
  54525. -.PP
  54526. -S2
  54527. -.RS 4
  54528. -The type of record field is \'S2\' (0x5332)\&. The address field is interpreted as a 3\-byte address\&. The data field is composed of memory loadable data\&.
  54529. -.RE
  54530. -.PP
  54531. -S3
  54532. -.RS 4
  54533. -The type of record field is \'S3\' (0x5333)\&. The address field is interpreted as a 4\-byte address\&. The data field is composed of memory loadable data\&.
  54534. -.RE
  54535. -.PP
  54536. -S5
  54537. -.RS 4
  54538. -The type of record field is \'S5\' (0x5335)\&. The address field is interpreted as a 2\-byte value and contains the count of S1, S2, and S3 records previously transmitted\&. There is no data field\&.
  54539. -.RE
  54540. -.PP
  54541. -S7
  54542. -.RS 4
  54543. -The type of record field is \'S7\' (0x5337)\&. The address field contains the starting execution address and is interpreted as a 4\-byte address\&. There is no data field\&.
  54544. -.RE
  54545. -.PP
  54546. -S8
  54547. -.RS 4
  54548. -The type of record field is \'S8\' (0x5338)\&. The address field contains the starting execution address and is interpreted as a 3\-byte address\&. There is no data field\&.
  54549. -.RE
  54550. -.PP
  54551. -S9
  54552. -.RS 4
  54553. -The type of record field is \'S9\' (0x5339)\&. The address field contains the starting execution address and is interpreted as a 2\-byte address\&. There is no data field\&.
  54554. -.RE
  54555. -.SH "EXAMPLE"
  54556. -.PP
  54557. -Shown below is a typical S\-record format file\&.
  54558. -.sp
  54559. -.RS 4
  54560. -.nf
  54561. - S00600004844521B
  54562. - S1130000285F245F2212226A000424290008237C2A
  54563. - S11300100002000800082629001853812341001813
  54564. - S113002041E900084E42234300182342000824A952
  54565. - S107003000144ED492
  54566. - S5030004F8
  54567. - S9030000FC
  54568. -.fi
  54569. -.RE
  54570. -.PP
  54571. -The file consists of one S0 record, four S1 records, one S5 record and an S9 record\&.
  54572. -.PP
  54573. -The S0 record is comprised as follows:
  54574. -.sp
  54575. -.RS 4
  54576. -\h'-04'\(bu\h'+03'S0 S\-record type S0, indicating it is a header record\&.
  54577. -.RE
  54578. -.sp
  54579. -.RS 4
  54580. -\h'-04'\(bu\h'+03'06 Hexadecimal 06 (decimal 6), indicating that six character pairs (or ASCII bytes) follow\&.
  54581. -.RE
  54582. -.sp
  54583. -.RS 4
  54584. -\h'-04'\(bu\h'+03'00 00 Four character 2\-byte address field, zeroes in this example\&.
  54585. -.RE
  54586. -.sp
  54587. -.RS 4
  54588. -\h'-04'\(bu\h'+03'48 44 52 ASCII H, D, and R \- "HDR"\&.
  54589. -.RE
  54590. -.sp
  54591. -.RS 4
  54592. -\h'-04'\(bu\h'+03'1B The checksum\&.
  54593. -.RE
  54594. -.PP
  54595. -The first S1 record is comprised as follows:
  54596. -.sp
  54597. -.RS 4
  54598. -\h'-04'\(bu\h'+03'S1 S\-record type S1, indicating it is a data record to be loaded at a 2\-byte address\&.
  54599. -.RE
  54600. -.sp
  54601. -.RS 4
  54602. -\h'-04'\(bu\h'+03'13 Hexadecimal 13 (decimal 19), indicating that nineteen character pairs, representing a 2 byte address, 16 bytes of binary data, and a 1 byte checksum, follow\&.
  54603. -.RE
  54604. -.sp
  54605. -.RS 4
  54606. -\h'-04'\(bu\h'+03'00 00 Four character 2\-byte address field; hexidecimal address 0x0000, where the data which follows is to be loaded\&.
  54607. -.RE
  54608. -.sp
  54609. -.RS 4
  54610. -\h'-04'\(bu\h'+03'28 5F 24 5F 22 12 22 6A 00 04 24 29 00 08 23 7C Sixteen character pairs representing the actual binary data\&.
  54611. -.RE
  54612. -.sp
  54613. -.RS 4
  54614. -\h'-04'\(bu\h'+03'2A The checksum\&.
  54615. -.RE
  54616. -.PP
  54617. -The second and third S1 records each contain 0x13 (19) character pairs and are ended with checksums of 13 and 52, respectively\&. The fourth S1 record contains 07 character pairs and has a checksum of 92\&.
  54618. -.PP
  54619. -The S5 record is comprised as follows:
  54620. -.sp
  54621. -.RS 4
  54622. -\h'-04'\(bu\h'+03'S5 S\-record type S5, indicating it is a count record indicating the number of S1 records
  54623. -.RE
  54624. -.sp
  54625. -.RS 4
  54626. -\h'-04'\(bu\h'+03'03 Hexadecimal 03 (decimal 3), indicating that three character pairs follow\&.
  54627. -.RE
  54628. -.sp
  54629. -.RS 4
  54630. -\h'-04'\(bu\h'+03'00 04 Hexadecimal 0004 (decimal 4), indicating that there are four data records previous to this record\&.
  54631. -.RE
  54632. -.sp
  54633. -.RS 4
  54634. -\h'-04'\(bu\h'+03'F8 The checksum\&.
  54635. -.RE
  54636. -.PP
  54637. -The S9 record is comprised as follows:
  54638. -.sp
  54639. -.RS 4
  54640. -\h'-04'\(bu\h'+03'S9 S\-record type S9, indicating it is a termination record\&.
  54641. -.RE
  54642. -.sp
  54643. -.RS 4
  54644. -\h'-04'\(bu\h'+03'03 Hexadecimal 03 (decimal 3), indicating that three character pairs follow\&.
  54645. -.RE
  54646. -.sp
  54647. -.RS 4
  54648. -\h'-04'\(bu\h'+03'00 00 The address field, hexadecimal 0 (decimal 0) indicating the starting execution address\&.
  54649. -.RE
  54650. -.sp
  54651. -.RS 4
  54652. -\h'-04'\(bu\h'+03'FC The checksum\&.
  54653. -.RE
  54654. -.SH "NOTES"
  54655. -.sp
  54656. -.RS 4
  54657. -\h'-04'\(bu\h'+03'There isn\'t any evidence that Motorola ever made use of the header information within the data field of the S0 record, as described above\&. This may have been used by some third party vendors\&.
  54658. -.RE
  54659. -.sp
  54660. -.RS 4
  54661. -\h'-04'\(bu\h'+03'The Unix manual page on S\-records is the only place that a 78\-byte limit on total record length or 64\-byte limit on data length is documented\&. These values shouldn\'t be trusted for the general case\&.
  54662. -.RE
  54663. -.sp
  54664. -.RS 4
  54665. -\h'-04'\(bu\h'+03'The count field can have values in the range of 0x3 (2 bytes of address + 1 byte checksum = 3, a not very useful record) to 0xff; this is the count of remaining character
  54666. -\fIpairs\fR, including checksum\&.
  54667. -.RE
  54668. -.sp
  54669. -.RS 4
  54670. -\h'-04'\(bu\h'+03'If you write code to convert S\-Records, you should always assume that a record can be as long as 514 (decimal) characters in length (255 * 2 = 510, plus 4 characters for the type and count fields), plus any terminating character(s)\&. That is, in establishing an input buffer in C, you would declare it to be an array of 515 chars, thus leaving room for the terminating null character\&.
  54671. -.RE
  54672. -.SH "SEE ALSO"
  54673. -.PP
  54674. -
  54675. -\fBgpsd\fR(8),
  54676. -\fBgps\fR(1),
  54677. -\fBlibgps\fR(3),
  54678. -\fBlibgpsd\fR(3),
  54679. -\fBgpsfake\fR(1)\&.
  54680. -\fBgpsprof\fR(1)\&.
  54681. -.SH "AUTHOR"
  54682. -.PP
  54683. -From an anonymous web page, itself claiming to have been derived from an old Unix manual page\&. Now maintained by the the GPSD project\&. There is a project page for
  54684. -gpsd
  54685. -\fIhere\fR\&[1]\&.
  54686. -.SH "NOTES"
  54687. -.IP " 1." 4
  54688. -here
  54689. -.RS 4
  54690. -\%http://gpsd.berlios.de/
  54691. -.RE
  54692. diff -Nur gpsd-2.39.orig/stamp-h1 gpsd-2.39/stamp-h1
  54693. --- gpsd-2.39.orig/stamp-h1 1970-01-01 01:00:00.000000000 +0100
  54694. +++ gpsd-2.39/stamp-h1 2010-02-18 21:44:19.064857026 +0100
  54695. @@ -0,0 +1 @@
  54696. +timestamp for gpsd_config.h
  54697. diff -Nur gpsd-2.39.orig/xgps.1 gpsd-2.39/xgps.1
  54698. --- gpsd-2.39.orig/xgps.1 2009-03-18 17:50:54.000000000 +0100
  54699. +++ gpsd-2.39/xgps.1 1970-01-01 01:00:00.000000000 +0100
  54700. @@ -1 +0,0 @@
  54701. -.so man1/gps.1
  54702. diff -Nur gpsd-2.39.orig/xgpsspeed.1 gpsd-2.39/xgpsspeed.1
  54703. --- gpsd-2.39.orig/xgpsspeed.1 2009-03-18 17:50:54.000000000 +0100
  54704. +++ gpsd-2.39/xgpsspeed.1 1970-01-01 01:00:00.000000000 +0100
  54705. @@ -1 +0,0 @@
  54706. -.so man1/gps.1