autotool.patch 2.0 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419
  1. diff -Nur owfs-2.7p38.orig/aclocal.m4 owfs-2.7p38/aclocal.m4
  2. --- owfs-2.7p38.orig/aclocal.m4 2010-06-02 02:31:07.000000000 +0200
  3. +++ owfs-2.7p38/aclocal.m4 2010-07-09 16:00:45.167001836 +0200
  4. @@ -1,7 +1,7 @@
  5. -# generated automatically by aclocal 1.10.2 -*- 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,7974 +13,12 @@
  14. m4_ifndef([AC_AUTOCONF_VERSION],
  15. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  16. -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
  17. -[m4_warning([this file was generated for autoconf 2.63.
  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. -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
  24. -#
  25. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  26. -# 2006, 2007, 2008 Free Software Foundation, Inc.
  27. -# Written by Gordon Matzigkeit, 1996
  28. -#
  29. -# This file is free software; the Free Software Foundation gives
  30. -# unlimited permission to copy and/or distribute it, with or without
  31. -# modifications, as long as this notice is preserved.
  32. -
  33. -m4_define([_LT_COPYING], [dnl
  34. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  35. -# 2006, 2007, 2008 Free Software Foundation, Inc.
  36. -# Written by Gordon Matzigkeit, 1996
  37. -#
  38. -# This file is part of GNU Libtool.
  39. -#
  40. -# GNU Libtool is free software; you can redistribute it and/or
  41. -# modify it under the terms of the GNU General Public License as
  42. -# published by the Free Software Foundation; either version 2 of
  43. -# the License, or (at your option) any later version.
  44. -#
  45. -# As a special exception to the GNU General Public License,
  46. -# if you distribute this file as part of a program or library that
  47. -# is built using GNU Libtool, you may include this file under the
  48. -# same distribution terms that you use for the rest of that program.
  49. -#
  50. -# GNU Libtool is distributed in the hope that it will be useful,
  51. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  52. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  53. -# GNU General Public License for more details.
  54. -#
  55. -# You should have received a copy of the GNU General Public License
  56. -# along with GNU Libtool; see the file COPYING. If not, a copy
  57. -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  58. -# obtained by writing to the Free Software Foundation, Inc.,
  59. -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  60. -])
  61. -
  62. -# serial 56 LT_INIT
  63. -
  64. -
  65. -# LT_PREREQ(VERSION)
  66. -# ------------------
  67. -# Complain and exit if this libtool version is less that VERSION.
  68. -m4_defun([LT_PREREQ],
  69. -[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
  70. - [m4_default([$3],
  71. - [m4_fatal([Libtool version $1 or higher is required],
  72. - 63)])],
  73. - [$2])])
  74. -
  75. -
  76. -# _LT_CHECK_BUILDDIR
  77. -# ------------------
  78. -# Complain if the absolute build directory name contains unusual characters
  79. -m4_defun([_LT_CHECK_BUILDDIR],
  80. -[case `pwd` in
  81. - *\ * | *\ *)
  82. - AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
  83. -esac
  84. -])
  85. -
  86. -
  87. -# LT_INIT([OPTIONS])
  88. -# ------------------
  89. -AC_DEFUN([LT_INIT],
  90. -[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
  91. -AC_BEFORE([$0], [LT_LANG])dnl
  92. -AC_BEFORE([$0], [LT_OUTPUT])dnl
  93. -AC_BEFORE([$0], [LTDL_INIT])dnl
  94. -m4_require([_LT_CHECK_BUILDDIR])dnl
  95. -
  96. -dnl Autoconf doesn't catch unexpanded LT_ macros by default:
  97. -m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
  98. -m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
  99. -dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
  100. -dnl unless we require an AC_DEFUNed macro:
  101. -AC_REQUIRE([LTOPTIONS_VERSION])dnl
  102. -AC_REQUIRE([LTSUGAR_VERSION])dnl
  103. -AC_REQUIRE([LTVERSION_VERSION])dnl
  104. -AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  105. -m4_require([_LT_PROG_LTMAIN])dnl
  106. -
  107. -dnl Parse OPTIONS
  108. -_LT_SET_OPTIONS([$0], [$1])
  109. -
  110. -# This can be used to rebuild libtool when needed
  111. -LIBTOOL_DEPS="$ltmain"
  112. -
  113. -# Always use our own libtool.
  114. -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  115. -AC_SUBST(LIBTOOL)dnl
  116. -
  117. -_LT_SETUP
  118. -
  119. -# Only expand once:
  120. -m4_define([LT_INIT])
  121. -])# LT_INIT
  122. -
  123. -# Old names:
  124. -AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
  125. -AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
  126. -dnl aclocal-1.4 backwards compatibility:
  127. -dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
  128. -dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
  129. -
  130. -
  131. -# _LT_CC_BASENAME(CC)
  132. -# -------------------
  133. -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  134. -m4_defun([_LT_CC_BASENAME],
  135. -[for cc_temp in $1""; do
  136. - case $cc_temp in
  137. - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  138. - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  139. - \-*) ;;
  140. - *) break;;
  141. - esac
  142. -done
  143. -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  144. -])
  145. -
  146. -
  147. -# _LT_FILEUTILS_DEFAULTS
  148. -# ----------------------
  149. -# It is okay to use these file commands and assume they have been set
  150. -# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
  151. -m4_defun([_LT_FILEUTILS_DEFAULTS],
  152. -[: ${CP="cp -f"}
  153. -: ${MV="mv -f"}
  154. -: ${RM="rm -f"}
  155. -])# _LT_FILEUTILS_DEFAULTS
  156. -
  157. -
  158. -# _LT_SETUP
  159. -# ---------
  160. -m4_defun([_LT_SETUP],
  161. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  162. -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  163. -_LT_DECL([], [host_alias], [0], [The host system])dnl
  164. -_LT_DECL([], [host], [0])dnl
  165. -_LT_DECL([], [host_os], [0])dnl
  166. -dnl
  167. -_LT_DECL([], [build_alias], [0], [The build system])dnl
  168. -_LT_DECL([], [build], [0])dnl
  169. -_LT_DECL([], [build_os], [0])dnl
  170. -dnl
  171. -AC_REQUIRE([AC_PROG_CC])dnl
  172. -AC_REQUIRE([LT_PATH_LD])dnl
  173. -AC_REQUIRE([LT_PATH_NM])dnl
  174. -dnl
  175. -AC_REQUIRE([AC_PROG_LN_S])dnl
  176. -test -z "$LN_S" && LN_S="ln -s"
  177. -_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
  178. -dnl
  179. -AC_REQUIRE([LT_CMD_MAX_LEN])dnl
  180. -_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
  181. -_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
  182. -dnl
  183. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  184. -m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  185. -m4_require([_LT_CMD_RELOAD])dnl
  186. -m4_require([_LT_CHECK_MAGIC_METHOD])dnl
  187. -m4_require([_LT_CMD_OLD_ARCHIVE])dnl
  188. -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  189. -
  190. -_LT_CONFIG_LIBTOOL_INIT([
  191. -# See if we are running on zsh, and set the options which allow our
  192. -# commands through without removal of \ escapes INIT.
  193. -if test -n "\${ZSH_VERSION+set}" ; then
  194. - setopt NO_GLOB_SUBST
  195. -fi
  196. -])
  197. -if test -n "${ZSH_VERSION+set}" ; then
  198. - setopt NO_GLOB_SUBST
  199. -fi
  200. -
  201. -_LT_CHECK_OBJDIR
  202. -
  203. -m4_require([_LT_TAG_COMPILER])dnl
  204. -_LT_PROG_ECHO_BACKSLASH
  205. -
  206. -case $host_os in
  207. -aix3*)
  208. - # AIX sometimes has problems with the GCC collect2 program. For some
  209. - # reason, if we set the COLLECT_NAMES environment variable, the problems
  210. - # vanish in a puff of smoke.
  211. - if test "X${COLLECT_NAMES+set}" != Xset; then
  212. - COLLECT_NAMES=
  213. - export COLLECT_NAMES
  214. - fi
  215. - ;;
  216. -esac
  217. -
  218. -# Sed substitution that helps us do robust quoting. It backslashifies
  219. -# metacharacters that are still active within double-quoted strings.
  220. -sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  221. -
  222. -# Same as above, but do not quote variable references.
  223. -double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  224. -
  225. -# Sed substitution to delay expansion of an escaped shell variable in a
  226. -# double_quote_subst'ed string.
  227. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  228. -
  229. -# Sed substitution to delay expansion of an escaped single quote.
  230. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  231. -
  232. -# Sed substitution to avoid accidental globbing in evaled expressions
  233. -no_glob_subst='s/\*/\\\*/g'
  234. -
  235. -# Global variables:
  236. -ofile=libtool
  237. -can_build_shared=yes
  238. -
  239. -# All known linkers require a `.a' archive for static linking (except MSVC,
  240. -# which needs '.lib').
  241. -libext=a
  242. -
  243. -with_gnu_ld="$lt_cv_prog_gnu_ld"
  244. -
  245. -old_CC="$CC"
  246. -old_CFLAGS="$CFLAGS"
  247. -
  248. -# Set sane defaults for various variables
  249. -test -z "$CC" && CC=cc
  250. -test -z "$LTCC" && LTCC=$CC
  251. -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  252. -test -z "$LD" && LD=ld
  253. -test -z "$ac_objext" && ac_objext=o
  254. -
  255. -_LT_CC_BASENAME([$compiler])
  256. -
  257. -# Only perform the check for file, if the check method requires it
  258. -test -z "$MAGIC_CMD" && MAGIC_CMD=file
  259. -case $deplibs_check_method in
  260. -file_magic*)
  261. - if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  262. - _LT_PATH_MAGIC
  263. - fi
  264. - ;;
  265. -esac
  266. -
  267. -# Use C for the default configuration in the libtool script
  268. -LT_SUPPORTED_TAG([CC])
  269. -_LT_LANG_C_CONFIG
  270. -_LT_LANG_DEFAULT_CONFIG
  271. -_LT_CONFIG_COMMANDS
  272. -])# _LT_SETUP
  273. -
  274. -
  275. -# _LT_PROG_LTMAIN
  276. -# ---------------
  277. -# Note that this code is called both from `configure', and `config.status'
  278. -# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
  279. -# `config.status' has no value for ac_aux_dir unless we are using Automake,
  280. -# so we pass a copy along to make sure it has a sensible value anyway.
  281. -m4_defun([_LT_PROG_LTMAIN],
  282. -[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
  283. -_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
  284. -ltmain="$ac_aux_dir/ltmain.sh"
  285. -])# _LT_PROG_LTMAIN
  286. -
  287. -
  288. -
  289. -# So that we can recreate a full libtool script including additional
  290. -# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
  291. -# in macros and then make a single call at the end using the `libtool'
  292. -# label.
  293. -
  294. -
  295. -# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
  296. -# ----------------------------------------
  297. -# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  298. -m4_define([_LT_CONFIG_LIBTOOL_INIT],
  299. -[m4_ifval([$1],
  300. - [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
  301. - [$1
  302. -])])])
  303. -
  304. -# Initialize.
  305. -m4_define([_LT_OUTPUT_LIBTOOL_INIT])
  306. -
  307. -
  308. -# _LT_CONFIG_LIBTOOL([COMMANDS])
  309. -# ------------------------------
  310. -# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  311. -m4_define([_LT_CONFIG_LIBTOOL],
  312. -[m4_ifval([$1],
  313. - [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
  314. - [$1
  315. -])])])
  316. -
  317. -# Initialize.
  318. -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
  319. -
  320. -
  321. -# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
  322. -# -----------------------------------------------------
  323. -m4_defun([_LT_CONFIG_SAVE_COMMANDS],
  324. -[_LT_CONFIG_LIBTOOL([$1])
  325. -_LT_CONFIG_LIBTOOL_INIT([$2])
  326. -])
  327. -
  328. -
  329. -# _LT_FORMAT_COMMENT([COMMENT])
  330. -# -----------------------------
  331. -# Add leading comment marks to the start of each line, and a trailing
  332. -# full-stop to the whole comment if one is not present already.
  333. -m4_define([_LT_FORMAT_COMMENT],
  334. -[m4_ifval([$1], [
  335. -m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
  336. - [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
  337. -)])
  338. -
  339. -
  340. -
  341. -
  342. -
  343. -# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
  344. -# -------------------------------------------------------------------
  345. -# CONFIGNAME is the name given to the value in the libtool script.
  346. -# VARNAME is the (base) name used in the configure script.
  347. -# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
  348. -# VARNAME. Any other value will be used directly.
  349. -m4_define([_LT_DECL],
  350. -[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
  351. - [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
  352. - [m4_ifval([$1], [$1], [$2])])
  353. - lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
  354. - m4_ifval([$4],
  355. - [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
  356. - lt_dict_add_subkey([lt_decl_dict], [$2],
  357. - [tagged?], [m4_ifval([$5], [yes], [no])])])
  358. -])
  359. -
  360. -
  361. -# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
  362. -# --------------------------------------------------------
  363. -m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
  364. -
  365. -
  366. -# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
  367. -# ------------------------------------------------
  368. -m4_define([lt_decl_tag_varnames],
  369. -[_lt_decl_filter([tagged?], [yes], $@)])
  370. -
  371. -
  372. -# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
  373. -# ---------------------------------------------------------
  374. -m4_define([_lt_decl_filter],
  375. -[m4_case([$#],
  376. - [0], [m4_fatal([$0: too few arguments: $#])],
  377. - [1], [m4_fatal([$0: too few arguments: $#: $1])],
  378. - [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
  379. - [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
  380. - [lt_dict_filter([lt_decl_dict], $@)])[]dnl
  381. -])
  382. -
  383. -
  384. -# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
  385. -# --------------------------------------------------
  386. -m4_define([lt_decl_quote_varnames],
  387. -[_lt_decl_filter([value], [1], $@)])
  388. -
  389. -
  390. -# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
  391. -# ---------------------------------------------------
  392. -m4_define([lt_decl_dquote_varnames],
  393. -[_lt_decl_filter([value], [2], $@)])
  394. -
  395. -
  396. -# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
  397. -# ---------------------------------------------------
  398. -m4_define([lt_decl_varnames_tagged],
  399. -[m4_assert([$# <= 2])dnl
  400. -_$0(m4_quote(m4_default([$1], [[, ]])),
  401. - m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
  402. - m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
  403. -m4_define([_lt_decl_varnames_tagged],
  404. -[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
  405. -
  406. -
  407. -# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
  408. -# ------------------------------------------------
  409. -m4_define([lt_decl_all_varnames],
  410. -[_$0(m4_quote(m4_default([$1], [[, ]])),
  411. - m4_if([$2], [],
  412. - m4_quote(lt_decl_varnames),
  413. - m4_quote(m4_shift($@))))[]dnl
  414. -])
  415. -m4_define([_lt_decl_all_varnames],
  416. -[lt_join($@, lt_decl_varnames_tagged([$1],
  417. - lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
  418. -])
  419. -
  420. -
  421. -# _LT_CONFIG_STATUS_DECLARE([VARNAME])
  422. -# ------------------------------------
  423. -# Quote a variable value, and forward it to `config.status' so that its
  424. -# declaration there will have the same value as in `configure'. VARNAME
  425. -# must have a single quote delimited value for this to work.
  426. -m4_define([_LT_CONFIG_STATUS_DECLARE],
  427. -[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
  428. -
  429. -
  430. -# _LT_CONFIG_STATUS_DECLARATIONS
  431. -# ------------------------------
  432. -# We delimit libtool config variables with single quotes, so when
  433. -# we write them to config.status, we have to be sure to quote all
  434. -# embedded single quotes properly. In configure, this macro expands
  435. -# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
  436. -#
  437. -# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
  438. -m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
  439. -[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
  440. - [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
  441. -
  442. -
  443. -# _LT_LIBTOOL_TAGS
  444. -# ----------------
  445. -# Output comment and list of tags supported by the script
  446. -m4_defun([_LT_LIBTOOL_TAGS],
  447. -[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
  448. -available_tags="_LT_TAGS"dnl
  449. -])
  450. -
  451. -
  452. -# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
  453. -# -----------------------------------
  454. -# Extract the dictionary values for VARNAME (optionally with TAG) and
  455. -# expand to a commented shell variable setting:
  456. -#
  457. -# # Some comment about what VAR is for.
  458. -# visible_name=$lt_internal_name
  459. -m4_define([_LT_LIBTOOL_DECLARE],
  460. -[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
  461. - [description])))[]dnl
  462. -m4_pushdef([_libtool_name],
  463. - m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
  464. -m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
  465. - [0], [_libtool_name=[$]$1],
  466. - [1], [_libtool_name=$lt_[]$1],
  467. - [2], [_libtool_name=$lt_[]$1],
  468. - [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
  469. -m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
  470. -])
  471. -
  472. -
  473. -# _LT_LIBTOOL_CONFIG_VARS
  474. -# -----------------------
  475. -# Produce commented declarations of non-tagged libtool config variables
  476. -# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
  477. -# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
  478. -# section) are produced by _LT_LIBTOOL_TAG_VARS.
  479. -m4_defun([_LT_LIBTOOL_CONFIG_VARS],
  480. -[m4_foreach([_lt_var],
  481. - m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
  482. - [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
  483. -
  484. -
  485. -# _LT_LIBTOOL_TAG_VARS(TAG)
  486. -# -------------------------
  487. -m4_define([_LT_LIBTOOL_TAG_VARS],
  488. -[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
  489. - [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
  490. -
  491. -
  492. -# _LT_TAGVAR(VARNAME, [TAGNAME])
  493. -# ------------------------------
  494. -m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
  495. -
  496. -
  497. -# _LT_CONFIG_COMMANDS
  498. -# -------------------
  499. -# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
  500. -# variables for single and double quote escaping we saved from calls
  501. -# to _LT_DECL, we can put quote escaped variables declarations
  502. -# into `config.status', and then the shell code to quote escape them in
  503. -# for loops in `config.status'. Finally, any additional code accumulated
  504. -# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
  505. -m4_defun([_LT_CONFIG_COMMANDS],
  506. -[AC_PROVIDE_IFELSE([LT_OUTPUT],
  507. - dnl If the libtool generation code has been placed in $CONFIG_LT,
  508. - dnl instead of duplicating it all over again into config.status,
  509. - dnl then we will have config.status run $CONFIG_LT later, so it
  510. - dnl needs to know what name is stored there:
  511. - [AC_CONFIG_COMMANDS([libtool],
  512. - [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
  513. - dnl If the libtool generation code is destined for config.status,
  514. - dnl expand the accumulated commands and init code now:
  515. - [AC_CONFIG_COMMANDS([libtool],
  516. - [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
  517. -])#_LT_CONFIG_COMMANDS
  518. -
  519. -
  520. -# Initialize.
  521. -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
  522. -[
  523. -
  524. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  525. -# if CDPATH is set.
  526. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  527. -
  528. -sed_quote_subst='$sed_quote_subst'
  529. -double_quote_subst='$double_quote_subst'
  530. -delay_variable_subst='$delay_variable_subst'
  531. -_LT_CONFIG_STATUS_DECLARATIONS
  532. -LTCC='$LTCC'
  533. -LTCFLAGS='$LTCFLAGS'
  534. -compiler='$compiler_DEFAULT'
  535. -
  536. -# Quote evaled strings.
  537. -for var in lt_decl_all_varnames([[ \
  538. -]], lt_decl_quote_varnames); do
  539. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  540. - *[[\\\\\\\`\\"\\\$]]*)
  541. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  542. - ;;
  543. - *)
  544. - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  545. - ;;
  546. - esac
  547. -done
  548. -
  549. -# Double-quote double-evaled strings.
  550. -for var in lt_decl_all_varnames([[ \
  551. -]], lt_decl_dquote_varnames); do
  552. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  553. - *[[\\\\\\\`\\"\\\$]]*)
  554. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  555. - ;;
  556. - *)
  557. - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  558. - ;;
  559. - esac
  560. -done
  561. -
  562. -# Fix-up fallback echo if it was mangled by the above quoting rules.
  563. -case \$lt_ECHO in
  564. -*'\\\[$]0 --fallback-echo"')dnl "
  565. - lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
  566. - ;;
  567. -esac
  568. -
  569. -_LT_OUTPUT_LIBTOOL_INIT
  570. -])
  571. -
  572. -
  573. -# LT_OUTPUT
  574. -# ---------
  575. -# This macro allows early generation of the libtool script (before
  576. -# AC_OUTPUT is called), incase it is used in configure for compilation
  577. -# tests.
  578. -AC_DEFUN([LT_OUTPUT],
  579. -[: ${CONFIG_LT=./config.lt}
  580. -AC_MSG_NOTICE([creating $CONFIG_LT])
  581. -cat >"$CONFIG_LT" <<_LTEOF
  582. -#! $SHELL
  583. -# Generated by $as_me.
  584. -# Run this file to recreate a libtool stub with the current configuration.
  585. -
  586. -lt_cl_silent=false
  587. -SHELL=\${CONFIG_SHELL-$SHELL}
  588. -_LTEOF
  589. -
  590. -cat >>"$CONFIG_LT" <<\_LTEOF
  591. -AS_SHELL_SANITIZE
  592. -_AS_PREPARE
  593. -
  594. -exec AS_MESSAGE_FD>&1
  595. -exec AS_MESSAGE_LOG_FD>>config.log
  596. -{
  597. - echo
  598. - AS_BOX([Running $as_me.])
  599. -} >&AS_MESSAGE_LOG_FD
  600. -
  601. -lt_cl_help="\
  602. -\`$as_me' creates a local libtool stub from the current configuration,
  603. -for use in further configure time tests before the real libtool is
  604. -generated.
  605. -
  606. -Usage: $[0] [[OPTIONS]]
  607. -
  608. - -h, --help print this help, then exit
  609. - -V, --version print version number, then exit
  610. - -q, --quiet do not print progress messages
  611. - -d, --debug don't remove temporary files
  612. -
  613. -Report bugs to <bug-libtool@gnu.org>."
  614. -
  615. -lt_cl_version="\
  616. -m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  617. -m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  618. -configured by $[0], generated by m4_PACKAGE_STRING.
  619. -
  620. -Copyright (C) 2008 Free Software Foundation, Inc.
  621. -This config.lt script is free software; the Free Software Foundation
  622. -gives unlimited permision to copy, distribute and modify it."
  623. -
  624. -while test $[#] != 0
  625. -do
  626. - case $[1] in
  627. - --version | --v* | -V )
  628. - echo "$lt_cl_version"; exit 0 ;;
  629. - --help | --h* | -h )
  630. - echo "$lt_cl_help"; exit 0 ;;
  631. - --debug | --d* | -d )
  632. - debug=: ;;
  633. - --quiet | --q* | --silent | --s* | -q )
  634. - lt_cl_silent=: ;;
  635. -
  636. - -*) AC_MSG_ERROR([unrecognized option: $[1]
  637. -Try \`$[0] --help' for more information.]) ;;
  638. -
  639. - *) AC_MSG_ERROR([unrecognized argument: $[1]
  640. -Try \`$[0] --help' for more information.]) ;;
  641. - esac
  642. - shift
  643. -done
  644. -
  645. -if $lt_cl_silent; then
  646. - exec AS_MESSAGE_FD>/dev/null
  647. -fi
  648. -_LTEOF
  649. -
  650. -cat >>"$CONFIG_LT" <<_LTEOF
  651. -_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  652. -_LTEOF
  653. -
  654. -cat >>"$CONFIG_LT" <<\_LTEOF
  655. -AC_MSG_NOTICE([creating $ofile])
  656. -_LT_OUTPUT_LIBTOOL_COMMANDS
  657. -AS_EXIT(0)
  658. -_LTEOF
  659. -chmod +x "$CONFIG_LT"
  660. -
  661. -# configure is writing to config.log, but config.lt does its own redirection,
  662. -# appending to config.log, which fails on DOS, as config.log is still kept
  663. -# open by configure. Here we exec the FD to /dev/null, effectively closing
  664. -# config.log, so it can be properly (re)opened and appended to by config.lt.
  665. -if test "$no_create" != yes; then
  666. - lt_cl_success=:
  667. - test "$silent" = yes &&
  668. - lt_config_lt_args="$lt_config_lt_args --quiet"
  669. - exec AS_MESSAGE_LOG_FD>/dev/null
  670. - $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  671. - exec AS_MESSAGE_LOG_FD>>config.log
  672. - $lt_cl_success || AS_EXIT(1)
  673. -fi
  674. -])# LT_OUTPUT
  675. -
  676. -
  677. -# _LT_CONFIG(TAG)
  678. -# ---------------
  679. -# If TAG is the built-in tag, create an initial libtool script with a
  680. -# default configuration from the untagged config vars. Otherwise add code
  681. -# to config.status for appending the configuration named by TAG from the
  682. -# matching tagged config vars.
  683. -m4_defun([_LT_CONFIG],
  684. -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  685. -_LT_CONFIG_SAVE_COMMANDS([
  686. - m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
  687. - m4_if(_LT_TAG, [C], [
  688. - # See if we are running on zsh, and set the options which allow our
  689. - # commands through without removal of \ escapes.
  690. - if test -n "${ZSH_VERSION+set}" ; then
  691. - setopt NO_GLOB_SUBST
  692. - fi
  693. -
  694. - cfgfile="${ofile}T"
  695. - trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  696. - $RM "$cfgfile"
  697. -
  698. - cat <<_LT_EOF >> "$cfgfile"
  699. -#! $SHELL
  700. -
  701. -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  702. -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  703. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  704. -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  705. -#
  706. -_LT_COPYING
  707. -_LT_LIBTOOL_TAGS
  708. -
  709. -# ### BEGIN LIBTOOL CONFIG
  710. -_LT_LIBTOOL_CONFIG_VARS
  711. -_LT_LIBTOOL_TAG_VARS
  712. -# ### END LIBTOOL CONFIG
  713. -
  714. -_LT_EOF
  715. -
  716. - case $host_os in
  717. - aix3*)
  718. - cat <<\_LT_EOF >> "$cfgfile"
  719. -# AIX sometimes has problems with the GCC collect2 program. For some
  720. -# reason, if we set the COLLECT_NAMES environment variable, the problems
  721. -# vanish in a puff of smoke.
  722. -if test "X${COLLECT_NAMES+set}" != Xset; then
  723. - COLLECT_NAMES=
  724. - export COLLECT_NAMES
  725. -fi
  726. -_LT_EOF
  727. - ;;
  728. - esac
  729. -
  730. - _LT_PROG_LTMAIN
  731. -
  732. - # We use sed instead of cat because bash on DJGPP gets confused if
  733. - # if finds mixed CR/LF and LF-only lines. Since sed operates in
  734. - # text mode, it properly converts lines to CR/LF. This bash problem
  735. - # is reportedly fixed, but why not run on old versions too?
  736. - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  737. - || (rm -f "$cfgfile"; exit 1)
  738. -
  739. - _LT_PROG_XSI_SHELLFNS
  740. -
  741. - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  742. - || (rm -f "$cfgfile"; exit 1)
  743. -
  744. - mv -f "$cfgfile" "$ofile" ||
  745. - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  746. - chmod +x "$ofile"
  747. -],
  748. -[cat <<_LT_EOF >> "$ofile"
  749. -
  750. -dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
  751. -dnl in a comment (ie after a #).
  752. -# ### BEGIN LIBTOOL TAG CONFIG: $1
  753. -_LT_LIBTOOL_TAG_VARS(_LT_TAG)
  754. -# ### END LIBTOOL TAG CONFIG: $1
  755. -_LT_EOF
  756. -])dnl /m4_if
  757. -],
  758. -[m4_if([$1], [], [
  759. - PACKAGE='$PACKAGE'
  760. - VERSION='$VERSION'
  761. - TIMESTAMP='$TIMESTAMP'
  762. - RM='$RM'
  763. - ofile='$ofile'], [])
  764. -])dnl /_LT_CONFIG_SAVE_COMMANDS
  765. -])# _LT_CONFIG
  766. -
  767. -
  768. -# LT_SUPPORTED_TAG(TAG)
  769. -# ---------------------
  770. -# Trace this macro to discover what tags are supported by the libtool
  771. -# --tag option, using:
  772. -# autoconf --trace 'LT_SUPPORTED_TAG:$1'
  773. -AC_DEFUN([LT_SUPPORTED_TAG], [])
  774. -
  775. -
  776. -# C support is built-in for now
  777. -m4_define([_LT_LANG_C_enabled], [])
  778. -m4_define([_LT_TAGS], [])
  779. -
  780. -
  781. -# LT_LANG(LANG)
  782. -# -------------
  783. -# Enable libtool support for the given language if not already enabled.
  784. -AC_DEFUN([LT_LANG],
  785. -[AC_BEFORE([$0], [LT_OUTPUT])dnl
  786. -m4_case([$1],
  787. - [C], [_LT_LANG(C)],
  788. - [C++], [_LT_LANG(CXX)],
  789. - [Java], [_LT_LANG(GCJ)],
  790. - [Fortran 77], [_LT_LANG(F77)],
  791. - [Fortran], [_LT_LANG(FC)],
  792. - [Windows Resource], [_LT_LANG(RC)],
  793. - [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  794. - [_LT_LANG($1)],
  795. - [m4_fatal([$0: unsupported language: "$1"])])])dnl
  796. -])# LT_LANG
  797. -
  798. -
  799. -# _LT_LANG(LANGNAME)
  800. -# ------------------
  801. -m4_defun([_LT_LANG],
  802. -[m4_ifdef([_LT_LANG_]$1[_enabled], [],
  803. - [LT_SUPPORTED_TAG([$1])dnl
  804. - m4_append([_LT_TAGS], [$1 ])dnl
  805. - m4_define([_LT_LANG_]$1[_enabled], [])dnl
  806. - _LT_LANG_$1_CONFIG($1)])dnl
  807. -])# _LT_LANG
  808. -
  809. -
  810. -# _LT_LANG_DEFAULT_CONFIG
  811. -# -----------------------
  812. -m4_defun([_LT_LANG_DEFAULT_CONFIG],
  813. -[AC_PROVIDE_IFELSE([AC_PROG_CXX],
  814. - [LT_LANG(CXX)],
  815. - [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
  816. -
  817. -AC_PROVIDE_IFELSE([AC_PROG_F77],
  818. - [LT_LANG(F77)],
  819. - [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
  820. -
  821. -AC_PROVIDE_IFELSE([AC_PROG_FC],
  822. - [LT_LANG(FC)],
  823. - [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
  824. -
  825. -dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
  826. -dnl pulling things in needlessly.
  827. -AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  828. - [LT_LANG(GCJ)],
  829. - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  830. - [LT_LANG(GCJ)],
  831. - [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
  832. - [LT_LANG(GCJ)],
  833. - [m4_ifdef([AC_PROG_GCJ],
  834. - [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
  835. - m4_ifdef([A][M_PROG_GCJ],
  836. - [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
  837. - m4_ifdef([LT_PROG_GCJ],
  838. - [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
  839. -
  840. -AC_PROVIDE_IFELSE([LT_PROG_RC],
  841. - [LT_LANG(RC)],
  842. - [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
  843. -])# _LT_LANG_DEFAULT_CONFIG
  844. -
  845. -# Obsolete macros:
  846. -AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  847. -AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  848. -AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  849. -AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  850. -dnl aclocal-1.4 backwards compatibility:
  851. -dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
  852. -dnl AC_DEFUN([AC_LIBTOOL_F77], [])
  853. -dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  854. -dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  855. -
  856. -
  857. -# _LT_TAG_COMPILER
  858. -# ----------------
  859. -m4_defun([_LT_TAG_COMPILER],
  860. -[AC_REQUIRE([AC_PROG_CC])dnl
  861. -
  862. -_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
  863. -_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
  864. -_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
  865. -_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
  866. -
  867. -# If no C compiler was specified, use CC.
  868. -LTCC=${LTCC-"$CC"}
  869. -
  870. -# If no C compiler flags were specified, use CFLAGS.
  871. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  872. -
  873. -# Allow CC to be a program name with arguments.
  874. -compiler=$CC
  875. -])# _LT_TAG_COMPILER
  876. -
  877. -
  878. -# _LT_COMPILER_BOILERPLATE
  879. -# ------------------------
  880. -# Check for compiler boilerplate output or warnings with
  881. -# the simple compiler test code.
  882. -m4_defun([_LT_COMPILER_BOILERPLATE],
  883. -[m4_require([_LT_DECL_SED])dnl
  884. -ac_outfile=conftest.$ac_objext
  885. -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  886. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  887. -_lt_compiler_boilerplate=`cat conftest.err`
  888. -$RM conftest*
  889. -])# _LT_COMPILER_BOILERPLATE
  890. -
  891. -
  892. -# _LT_LINKER_BOILERPLATE
  893. -# ----------------------
  894. -# Check for linker boilerplate output or warnings with
  895. -# the simple link test code.
  896. -m4_defun([_LT_LINKER_BOILERPLATE],
  897. -[m4_require([_LT_DECL_SED])dnl
  898. -ac_outfile=conftest.$ac_objext
  899. -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  900. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  901. -_lt_linker_boilerplate=`cat conftest.err`
  902. -$RM -r conftest*
  903. -])# _LT_LINKER_BOILERPLATE
  904. -
  905. -# _LT_REQUIRED_DARWIN_CHECKS
  906. -# -------------------------
  907. -m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
  908. - case $host_os in
  909. - rhapsody* | darwin*)
  910. - AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
  911. - AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
  912. - AC_CHECK_TOOL([LIPO], [lipo], [:])
  913. - AC_CHECK_TOOL([OTOOL], [otool], [:])
  914. - AC_CHECK_TOOL([OTOOL64], [otool64], [:])
  915. - _LT_DECL([], [DSYMUTIL], [1],
  916. - [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
  917. - _LT_DECL([], [NMEDIT], [1],
  918. - [Tool to change global to local symbols on Mac OS X])
  919. - _LT_DECL([], [LIPO], [1],
  920. - [Tool to manipulate fat objects and archives on Mac OS X])
  921. - _LT_DECL([], [OTOOL], [1],
  922. - [ldd/readelf like tool for Mach-O binaries on Mac OS X])
  923. - _LT_DECL([], [OTOOL64], [1],
  924. - [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
  925. -
  926. - AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
  927. - [lt_cv_apple_cc_single_mod=no
  928. - if test -z "${LT_MULTI_MODULE}"; then
  929. - # By default we will add the -single_module flag. You can override
  930. - # by either setting the environment variable LT_MULTI_MODULE
  931. - # non-empty at configure time, or by adding -multi_module to the
  932. - # link flags.
  933. - rm -rf libconftest.dylib*
  934. - echo "int foo(void){return 1;}" > conftest.c
  935. - echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  936. --dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
  937. - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  938. - -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  939. - _lt_result=$?
  940. - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  941. - lt_cv_apple_cc_single_mod=yes
  942. - else
  943. - cat conftest.err >&AS_MESSAGE_LOG_FD
  944. - fi
  945. - rm -rf libconftest.dylib*
  946. - rm -f conftest.*
  947. - fi])
  948. - AC_CACHE_CHECK([for -exported_symbols_list linker flag],
  949. - [lt_cv_ld_exported_symbols_list],
  950. - [lt_cv_ld_exported_symbols_list=no
  951. - save_LDFLAGS=$LDFLAGS
  952. - echo "_main" > conftest.sym
  953. - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  954. - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  955. - [lt_cv_ld_exported_symbols_list=yes],
  956. - [lt_cv_ld_exported_symbols_list=no])
  957. - LDFLAGS="$save_LDFLAGS"
  958. - ])
  959. - case $host_os in
  960. - rhapsody* | darwin1.[[012]])
  961. - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  962. - darwin1.*)
  963. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  964. - darwin*) # darwin 5.x on
  965. - # if running on 10.5 or later, the deployment target defaults
  966. - # to the OS version, if on x86, and 10.4, the deployment
  967. - # target defaults to 10.4. Don't you love it?
  968. - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  969. - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
  970. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  971. - 10.[[012]]*)
  972. - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  973. - 10.*)
  974. - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  975. - esac
  976. - ;;
  977. - esac
  978. - if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  979. - _lt_dar_single_mod='$single_module'
  980. - fi
  981. - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  982. - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  983. - else
  984. - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  985. - fi
  986. - if test "$DSYMUTIL" != ":"; then
  987. - _lt_dsymutil='~$DSYMUTIL $lib || :'
  988. - else
  989. - _lt_dsymutil=
  990. - fi
  991. - ;;
  992. - esac
  993. -])
  994. -
  995. -
  996. -# _LT_DARWIN_LINKER_FEATURES
  997. -# --------------------------
  998. -# Checks for linker and compiler features on darwin
  999. -m4_defun([_LT_DARWIN_LINKER_FEATURES],
  1000. -[
  1001. - m4_require([_LT_REQUIRED_DARWIN_CHECKS])
  1002. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  1003. - _LT_TAGVAR(hardcode_direct, $1)=no
  1004. - _LT_TAGVAR(hardcode_automatic, $1)=yes
  1005. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  1006. - _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  1007. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  1008. - _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  1009. - case $cc_basename in
  1010. - ifort*) _lt_dar_can_shared=yes ;;
  1011. - *) _lt_dar_can_shared=$GCC ;;
  1012. - esac
  1013. - if test "$_lt_dar_can_shared" = "yes"; then
  1014. - output_verbose_link_cmd=echo
  1015. - _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}"
  1016. - _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  1017. - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  1018. - _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  1019. - m4_if([$1], [CXX],
  1020. -[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  1021. - _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
  1022. - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
  1023. - fi
  1024. -],[])
  1025. - else
  1026. - _LT_TAGVAR(ld_shlibs, $1)=no
  1027. - fi
  1028. -])
  1029. -
  1030. -# _LT_SYS_MODULE_PATH_AIX
  1031. -# -----------------------
  1032. -# Links a minimal program and checks the executable
  1033. -# for the system default hardcoded library path. In most cases,
  1034. -# this is /usr/lib:/lib, but when the MPI compilers are used
  1035. -# the location of the communication and MPI libs are included too.
  1036. -# If we don't find anything, use the default library path according
  1037. -# to the aix ld manual.
  1038. -m4_defun([_LT_SYS_MODULE_PATH_AIX],
  1039. -[m4_require([_LT_DECL_SED])dnl
  1040. -AC_LINK_IFELSE(AC_LANG_PROGRAM,[
  1041. -lt_aix_libpath_sed='
  1042. - /Import File Strings/,/^$/ {
  1043. - /^0/ {
  1044. - s/^0 *\(.*\)$/\1/
  1045. - p
  1046. - }
  1047. - }'
  1048. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  1049. -# Check for a 64-bit object if we didn't find anything.
  1050. -if test -z "$aix_libpath"; then
  1051. - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  1052. -fi],[])
  1053. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  1054. -])# _LT_SYS_MODULE_PATH_AIX
  1055. -
  1056. -
  1057. -# _LT_SHELL_INIT(ARG)
  1058. -# -------------------
  1059. -m4_define([_LT_SHELL_INIT],
  1060. -[ifdef([AC_DIVERSION_NOTICE],
  1061. - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  1062. - [AC_DIVERT_PUSH(NOTICE)])
  1063. -$1
  1064. -AC_DIVERT_POP
  1065. -])# _LT_SHELL_INIT
  1066. -
  1067. -
  1068. -# _LT_PROG_ECHO_BACKSLASH
  1069. -# -----------------------
  1070. -# Add some code to the start of the generated configure script which
  1071. -# will find an echo command which doesn't interpret backslashes.
  1072. -m4_defun([_LT_PROG_ECHO_BACKSLASH],
  1073. -[_LT_SHELL_INIT([
  1074. -# Check that we are running under the correct shell.
  1075. -SHELL=${CONFIG_SHELL-/bin/sh}
  1076. -
  1077. -case X$lt_ECHO in
  1078. -X*--fallback-echo)
  1079. - # Remove one level of quotation (which was required for Make).
  1080. - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  1081. - ;;
  1082. -esac
  1083. -
  1084. -ECHO=${lt_ECHO-echo}
  1085. -if test "X[$]1" = X--no-reexec; then
  1086. - # Discard the --no-reexec flag, and continue.
  1087. - shift
  1088. -elif test "X[$]1" = X--fallback-echo; then
  1089. - # Avoid inline document here, it may be left over
  1090. - :
  1091. -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  1092. - # Yippee, $ECHO works!
  1093. - :
  1094. -else
  1095. - # Restart under the correct shell.
  1096. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
  1097. -fi
  1098. -
  1099. -if test "X[$]1" = X--fallback-echo; then
  1100. - # used as fallback echo
  1101. - shift
  1102. - cat <<_LT_EOF
  1103. -[$]*
  1104. -_LT_EOF
  1105. - exit 0
  1106. -fi
  1107. -
  1108. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  1109. -# if CDPATH is set.
  1110. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  1111. -
  1112. -if test -z "$lt_ECHO"; then
  1113. - if test "X${echo_test_string+set}" != Xset; then
  1114. - # find a string as large as possible, as long as the shell can cope with it
  1115. - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  1116. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  1117. - if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  1118. - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  1119. - then
  1120. - break
  1121. - fi
  1122. - done
  1123. - fi
  1124. -
  1125. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  1126. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  1127. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1128. - :
  1129. - else
  1130. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  1131. - # backslashes. This makes it impossible to quote backslashes using
  1132. - # echo "$something" | sed 's/\\/\\\\/g'
  1133. - #
  1134. - # So, first we look for a working echo in the user's PATH.
  1135. -
  1136. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1137. - for dir in $PATH /usr/ucb; do
  1138. - IFS="$lt_save_ifs"
  1139. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  1140. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  1141. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  1142. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1143. - ECHO="$dir/echo"
  1144. - break
  1145. - fi
  1146. - done
  1147. - IFS="$lt_save_ifs"
  1148. -
  1149. - if test "X$ECHO" = Xecho; then
  1150. - # We didn't find a better echo, so look for alternatives.
  1151. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  1152. - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  1153. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1154. - # This shell has a builtin print -r that does the trick.
  1155. - ECHO='print -r'
  1156. - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  1157. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  1158. - # If we have ksh, try running configure again with it.
  1159. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  1160. - export ORIGINAL_CONFIG_SHELL
  1161. - CONFIG_SHELL=/bin/ksh
  1162. - export CONFIG_SHELL
  1163. - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  1164. - else
  1165. - # Try using printf.
  1166. - ECHO='printf %s\n'
  1167. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  1168. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  1169. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1170. - # Cool, printf works
  1171. - :
  1172. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1173. - test "X$echo_testing_string" = 'X\t' &&
  1174. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1175. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1176. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  1177. - export CONFIG_SHELL
  1178. - SHELL="$CONFIG_SHELL"
  1179. - export SHELL
  1180. - ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  1181. - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1182. - test "X$echo_testing_string" = 'X\t' &&
  1183. - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1184. - test "X$echo_testing_string" = "X$echo_test_string"; then
  1185. - ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  1186. - else
  1187. - # maybe with a smaller string...
  1188. - prev=:
  1189. -
  1190. - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  1191. - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  1192. - then
  1193. - break
  1194. - fi
  1195. - prev="$cmd"
  1196. - done
  1197. -
  1198. - if test "$prev" != 'sed 50q "[$]0"'; then
  1199. - echo_test_string=`eval $prev`
  1200. - export echo_test_string
  1201. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  1202. - else
  1203. - # Oops. We lost completely, so just stick with echo.
  1204. - ECHO=echo
  1205. - fi
  1206. - fi
  1207. - fi
  1208. - fi
  1209. - fi
  1210. -fi
  1211. -
  1212. -# Copy echo and quote the copy suitably for passing to libtool from
  1213. -# the Makefile, instead of quoting the original, which is used later.
  1214. -lt_ECHO=$ECHO
  1215. -if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  1216. - lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  1217. -fi
  1218. -
  1219. -AC_SUBST(lt_ECHO)
  1220. -])
  1221. -_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
  1222. -_LT_DECL([], [ECHO], [1],
  1223. - [An echo program that does not interpret backslashes])
  1224. -])# _LT_PROG_ECHO_BACKSLASH
  1225. -
  1226. -
  1227. -# _LT_ENABLE_LOCK
  1228. -# ---------------
  1229. -m4_defun([_LT_ENABLE_LOCK],
  1230. -[AC_ARG_ENABLE([libtool-lock],
  1231. - [AS_HELP_STRING([--disable-libtool-lock],
  1232. - [avoid locking (might break parallel builds)])])
  1233. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  1234. -
  1235. -# Some flags need to be propagated to the compiler or linker for good
  1236. -# libtool support.
  1237. -case $host in
  1238. -ia64-*-hpux*)
  1239. - # Find out which ABI we are using.
  1240. - echo 'int i;' > conftest.$ac_ext
  1241. - if AC_TRY_EVAL(ac_compile); then
  1242. - case `/usr/bin/file conftest.$ac_objext` in
  1243. - *ELF-32*)
  1244. - HPUX_IA64_MODE="32"
  1245. - ;;
  1246. - *ELF-64*)
  1247. - HPUX_IA64_MODE="64"
  1248. - ;;
  1249. - esac
  1250. - fi
  1251. - rm -rf conftest*
  1252. - ;;
  1253. -*-*-irix6*)
  1254. - # Find out which ABI we are using.
  1255. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  1256. - if AC_TRY_EVAL(ac_compile); then
  1257. - if test "$lt_cv_prog_gnu_ld" = yes; then
  1258. - case `/usr/bin/file conftest.$ac_objext` in
  1259. - *32-bit*)
  1260. - LD="${LD-ld} -melf32bsmip"
  1261. - ;;
  1262. - *N32*)
  1263. - LD="${LD-ld} -melf32bmipn32"
  1264. - ;;
  1265. - *64-bit*)
  1266. - LD="${LD-ld} -melf64bmip"
  1267. - ;;
  1268. - esac
  1269. - else
  1270. - case `/usr/bin/file conftest.$ac_objext` in
  1271. - *32-bit*)
  1272. - LD="${LD-ld} -32"
  1273. - ;;
  1274. - *N32*)
  1275. - LD="${LD-ld} -n32"
  1276. - ;;
  1277. - *64-bit*)
  1278. - LD="${LD-ld} -64"
  1279. - ;;
  1280. - esac
  1281. - fi
  1282. - fi
  1283. - rm -rf conftest*
  1284. - ;;
  1285. -
  1286. -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  1287. -s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  1288. - # Find out which ABI we are using.
  1289. - echo 'int i;' > conftest.$ac_ext
  1290. - if AC_TRY_EVAL(ac_compile); then
  1291. - case `/usr/bin/file conftest.o` in
  1292. - *32-bit*)
  1293. - case $host in
  1294. - x86_64-*kfreebsd*-gnu)
  1295. - LD="${LD-ld} -m elf_i386_fbsd"
  1296. - ;;
  1297. - x86_64-*linux*)
  1298. - LD="${LD-ld} -m elf_i386"
  1299. - ;;
  1300. - ppc64-*linux*|powerpc64-*linux*)
  1301. - LD="${LD-ld} -m elf32ppclinux"
  1302. - ;;
  1303. - s390x-*linux*)
  1304. - LD="${LD-ld} -m elf_s390"
  1305. - ;;
  1306. - sparc64-*linux*)
  1307. - LD="${LD-ld} -m elf32_sparc"
  1308. - ;;
  1309. - esac
  1310. - ;;
  1311. - *64-bit*)
  1312. - case $host in
  1313. - x86_64-*kfreebsd*-gnu)
  1314. - LD="${LD-ld} -m elf_x86_64_fbsd"
  1315. - ;;
  1316. - x86_64-*linux*)
  1317. - LD="${LD-ld} -m elf_x86_64"
  1318. - ;;
  1319. - ppc*-*linux*|powerpc*-*linux*)
  1320. - LD="${LD-ld} -m elf64ppc"
  1321. - ;;
  1322. - s390*-*linux*|s390*-*tpf*)
  1323. - LD="${LD-ld} -m elf64_s390"
  1324. - ;;
  1325. - sparc*-*linux*)
  1326. - LD="${LD-ld} -m elf64_sparc"
  1327. - ;;
  1328. - esac
  1329. - ;;
  1330. - esac
  1331. - fi
  1332. - rm -rf conftest*
  1333. - ;;
  1334. -
  1335. -*-*-sco3.2v5*)
  1336. - # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  1337. - SAVE_CFLAGS="$CFLAGS"
  1338. - CFLAGS="$CFLAGS -belf"
  1339. - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  1340. - [AC_LANG_PUSH(C)
  1341. - AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  1342. - AC_LANG_POP])
  1343. - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  1344. - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  1345. - CFLAGS="$SAVE_CFLAGS"
  1346. - fi
  1347. - ;;
  1348. -sparc*-*solaris*)
  1349. - # Find out which ABI we are using.
  1350. - echo 'int i;' > conftest.$ac_ext
  1351. - if AC_TRY_EVAL(ac_compile); then
  1352. - case `/usr/bin/file conftest.o` in
  1353. - *64-bit*)
  1354. - case $lt_cv_prog_gnu_ld in
  1355. - yes*) LD="${LD-ld} -m elf64_sparc" ;;
  1356. - *)
  1357. - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  1358. - LD="${LD-ld} -64"
  1359. - fi
  1360. - ;;
  1361. - esac
  1362. - ;;
  1363. - esac
  1364. - fi
  1365. - rm -rf conftest*
  1366. - ;;
  1367. -esac
  1368. -
  1369. -need_locks="$enable_libtool_lock"
  1370. -])# _LT_ENABLE_LOCK
  1371. -
  1372. -
  1373. -# _LT_CMD_OLD_ARCHIVE
  1374. -# -------------------
  1375. -m4_defun([_LT_CMD_OLD_ARCHIVE],
  1376. -[AC_CHECK_TOOL(AR, ar, false)
  1377. -test -z "$AR" && AR=ar
  1378. -test -z "$AR_FLAGS" && AR_FLAGS=cru
  1379. -_LT_DECL([], [AR], [1], [The archiver])
  1380. -_LT_DECL([], [AR_FLAGS], [1])
  1381. -
  1382. -AC_CHECK_TOOL(STRIP, strip, :)
  1383. -test -z "$STRIP" && STRIP=:
  1384. -_LT_DECL([], [STRIP], [1], [A symbol stripping program])
  1385. -
  1386. -AC_CHECK_TOOL(RANLIB, ranlib, :)
  1387. -test -z "$RANLIB" && RANLIB=:
  1388. -_LT_DECL([], [RANLIB], [1],
  1389. - [Commands used to install an old-style archive])
  1390. -
  1391. -# Determine commands to create old-style static archives.
  1392. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  1393. -old_postinstall_cmds='chmod 644 $oldlib'
  1394. -old_postuninstall_cmds=
  1395. -
  1396. -if test -n "$RANLIB"; then
  1397. - case $host_os in
  1398. - openbsd*)
  1399. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  1400. - ;;
  1401. - *)
  1402. - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  1403. - ;;
  1404. - esac
  1405. - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  1406. -fi
  1407. -_LT_DECL([], [old_postinstall_cmds], [2])
  1408. -_LT_DECL([], [old_postuninstall_cmds], [2])
  1409. -_LT_TAGDECL([], [old_archive_cmds], [2],
  1410. - [Commands used to build an old-style archive])
  1411. -])# _LT_CMD_OLD_ARCHIVE
  1412. -
  1413. -
  1414. -# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  1415. -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
  1416. -# ----------------------------------------------------------------
  1417. -# Check whether the given compiler option works
  1418. -AC_DEFUN([_LT_COMPILER_OPTION],
  1419. -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1420. -m4_require([_LT_DECL_SED])dnl
  1421. -AC_CACHE_CHECK([$1], [$2],
  1422. - [$2=no
  1423. - m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  1424. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1425. - lt_compiler_flag="$3"
  1426. - # Insert the option either (1) after the last *FLAGS variable, or
  1427. - # (2) before a word containing "conftest.", or (3) at the end.
  1428. - # Note that $ac_compile itself does not contain backslashes and begins
  1429. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  1430. - # The option is referenced via a variable to avoid confusing sed.
  1431. - lt_compile=`echo "$ac_compile" | $SED \
  1432. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1433. - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  1434. - -e 's:$: $lt_compiler_flag:'`
  1435. - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  1436. - (eval "$lt_compile" 2>conftest.err)
  1437. - ac_status=$?
  1438. - cat conftest.err >&AS_MESSAGE_LOG_FD
  1439. - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  1440. - if (exit $ac_status) && test -s "$ac_outfile"; then
  1441. - # The compiler can only warn and ignore the option if not recognized
  1442. - # So say no if there are warnings other than the usual output.
  1443. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  1444. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1445. - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  1446. - $2=yes
  1447. - fi
  1448. - fi
  1449. - $RM conftest*
  1450. -])
  1451. -
  1452. -if test x"[$]$2" = xyes; then
  1453. - m4_if([$5], , :, [$5])
  1454. -else
  1455. - m4_if([$6], , :, [$6])
  1456. -fi
  1457. -])# _LT_COMPILER_OPTION
  1458. -
  1459. -# Old name:
  1460. -AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
  1461. -dnl aclocal-1.4 backwards compatibility:
  1462. -dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
  1463. -
  1464. -
  1465. -# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  1466. -# [ACTION-SUCCESS], [ACTION-FAILURE])
  1467. -# ----------------------------------------------------
  1468. -# Check whether the given linker option works
  1469. -AC_DEFUN([_LT_LINKER_OPTION],
  1470. -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1471. -m4_require([_LT_DECL_SED])dnl
  1472. -AC_CACHE_CHECK([$1], [$2],
  1473. - [$2=no
  1474. - save_LDFLAGS="$LDFLAGS"
  1475. - LDFLAGS="$LDFLAGS $3"
  1476. - echo "$lt_simple_link_test_code" > conftest.$ac_ext
  1477. - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  1478. - # The linker can only warn and ignore the option if not recognized
  1479. - # So say no if there are warnings
  1480. - if test -s conftest.err; then
  1481. - # Append any errors to the config.log.
  1482. - cat conftest.err 1>&AS_MESSAGE_LOG_FD
  1483. - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  1484. - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1485. - if diff conftest.exp conftest.er2 >/dev/null; then
  1486. - $2=yes
  1487. - fi
  1488. - else
  1489. - $2=yes
  1490. - fi
  1491. - fi
  1492. - $RM -r conftest*
  1493. - LDFLAGS="$save_LDFLAGS"
  1494. -])
  1495. -
  1496. -if test x"[$]$2" = xyes; then
  1497. - m4_if([$4], , :, [$4])
  1498. -else
  1499. - m4_if([$5], , :, [$5])
  1500. -fi
  1501. -])# _LT_LINKER_OPTION
  1502. -
  1503. -# Old name:
  1504. -AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
  1505. -dnl aclocal-1.4 backwards compatibility:
  1506. -dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
  1507. -
  1508. -
  1509. -# LT_CMD_MAX_LEN
  1510. -#---------------
  1511. -AC_DEFUN([LT_CMD_MAX_LEN],
  1512. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  1513. -# find the maximum length of command line arguments
  1514. -AC_MSG_CHECKING([the maximum length of command line arguments])
  1515. -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  1516. - i=0
  1517. - teststring="ABCD"
  1518. -
  1519. - case $build_os in
  1520. - msdosdjgpp*)
  1521. - # On DJGPP, this test can blow up pretty badly due to problems in libc
  1522. - # (any single argument exceeding 2000 bytes causes a buffer overrun
  1523. - # during glob expansion). Even if it were fixed, the result of this
  1524. - # check would be larger than it should be.
  1525. - lt_cv_sys_max_cmd_len=12288; # 12K is about right
  1526. - ;;
  1527. -
  1528. - gnu*)
  1529. - # Under GNU Hurd, this test is not required because there is
  1530. - # no limit to the length of command line arguments.
  1531. - # Libtool will interpret -1 as no limit whatsoever
  1532. - lt_cv_sys_max_cmd_len=-1;
  1533. - ;;
  1534. -
  1535. - cygwin* | mingw* | cegcc*)
  1536. - # On Win9x/ME, this test blows up -- it succeeds, but takes
  1537. - # about 5 minutes as the teststring grows exponentially.
  1538. - # Worse, since 9x/ME are not pre-emptively multitasking,
  1539. - # you end up with a "frozen" computer, even though with patience
  1540. - # the test eventually succeeds (with a max line length of 256k).
  1541. - # Instead, let's just punt: use the minimum linelength reported by
  1542. - # all of the supported platforms: 8192 (on NT/2K/XP).
  1543. - lt_cv_sys_max_cmd_len=8192;
  1544. - ;;
  1545. -
  1546. - amigaos*)
  1547. - # On AmigaOS with pdksh, this test takes hours, literally.
  1548. - # So we just punt and use a minimum line length of 8192.
  1549. - lt_cv_sys_max_cmd_len=8192;
  1550. - ;;
  1551. -
  1552. - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  1553. - # This has been around since 386BSD, at least. Likely further.
  1554. - if test -x /sbin/sysctl; then
  1555. - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  1556. - elif test -x /usr/sbin/sysctl; then
  1557. - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  1558. - else
  1559. - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  1560. - fi
  1561. - # And add a safety zone
  1562. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  1563. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  1564. - ;;
  1565. -
  1566. - interix*)
  1567. - # We know the value 262144 and hardcode it with a safety zone (like BSD)
  1568. - lt_cv_sys_max_cmd_len=196608
  1569. - ;;
  1570. -
  1571. - osf*)
  1572. - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  1573. - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  1574. - # nice to cause kernel panics so lets avoid the loop below.
  1575. - # First set a reasonable default.
  1576. - lt_cv_sys_max_cmd_len=16384
  1577. - #
  1578. - if test -x /sbin/sysconfig; then
  1579. - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  1580. - *1*) lt_cv_sys_max_cmd_len=-1 ;;
  1581. - esac
  1582. - fi
  1583. - ;;
  1584. - sco3.2v5*)
  1585. - lt_cv_sys_max_cmd_len=102400
  1586. - ;;
  1587. - sysv5* | sco5v6* | sysv4.2uw2*)
  1588. - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  1589. - if test -n "$kargmax"; then
  1590. - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
  1591. - else
  1592. - lt_cv_sys_max_cmd_len=32768
  1593. - fi
  1594. - ;;
  1595. - *)
  1596. - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  1597. - if test -n "$lt_cv_sys_max_cmd_len"; then
  1598. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  1599. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  1600. - else
  1601. - # Make teststring a little bigger before we do anything with it.
  1602. - # a 1K string should be a reasonable start.
  1603. - for i in 1 2 3 4 5 6 7 8 ; do
  1604. - teststring=$teststring$teststring
  1605. - done
  1606. - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  1607. - # If test is not a shell built-in, we'll probably end up computing a
  1608. - # maximum length that is only half of the actual maximum length, but
  1609. - # we can't tell.
  1610. - while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  1611. - = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  1612. - test $i != 17 # 1/2 MB should be enough
  1613. - do
  1614. - i=`expr $i + 1`
  1615. - teststring=$teststring$teststring
  1616. - done
  1617. - # Only check the string length outside the loop.
  1618. - lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  1619. - teststring=
  1620. - # Add a significant safety factor because C++ compilers can tack on
  1621. - # massive amounts of additional arguments before passing them to the
  1622. - # linker. It appears as though 1/2 is a usable value.
  1623. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  1624. - fi
  1625. - ;;
  1626. - esac
  1627. -])
  1628. -if test -n $lt_cv_sys_max_cmd_len ; then
  1629. - AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
  1630. -else
  1631. - AC_MSG_RESULT(none)
  1632. -fi
  1633. -max_cmd_len=$lt_cv_sys_max_cmd_len
  1634. -_LT_DECL([], [max_cmd_len], [0],
  1635. - [What is the maximum length of a command?])
  1636. -])# LT_CMD_MAX_LEN
  1637. -
  1638. -# Old name:
  1639. -AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
  1640. -dnl aclocal-1.4 backwards compatibility:
  1641. -dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
  1642. -
  1643. -
  1644. -# _LT_HEADER_DLFCN
  1645. -# ----------------
  1646. -m4_defun([_LT_HEADER_DLFCN],
  1647. -[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
  1648. -])# _LT_HEADER_DLFCN
  1649. -
  1650. -
  1651. -# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  1652. -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  1653. -# ----------------------------------------------------------------
  1654. -m4_defun([_LT_TRY_DLOPEN_SELF],
  1655. -[m4_require([_LT_HEADER_DLFCN])dnl
  1656. -if test "$cross_compiling" = yes; then :
  1657. - [$4]
  1658. -else
  1659. - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  1660. - lt_status=$lt_dlunknown
  1661. - cat > conftest.$ac_ext <<_LT_EOF
  1662. -[#line __oline__ "configure"
  1663. -#include "confdefs.h"
  1664. -
  1665. -#if HAVE_DLFCN_H
  1666. -#include <dlfcn.h>
  1667. -#endif
  1668. -
  1669. -#include <stdio.h>
  1670. -
  1671. -#ifdef RTLD_GLOBAL
  1672. -# define LT_DLGLOBAL RTLD_GLOBAL
  1673. -#else
  1674. -# ifdef DL_GLOBAL
  1675. -# define LT_DLGLOBAL DL_GLOBAL
  1676. -# else
  1677. -# define LT_DLGLOBAL 0
  1678. -# endif
  1679. -#endif
  1680. -
  1681. -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  1682. - find out it does not work in some platform. */
  1683. -#ifndef LT_DLLAZY_OR_NOW
  1684. -# ifdef RTLD_LAZY
  1685. -# define LT_DLLAZY_OR_NOW RTLD_LAZY
  1686. -# else
  1687. -# ifdef DL_LAZY
  1688. -# define LT_DLLAZY_OR_NOW DL_LAZY
  1689. -# else
  1690. -# ifdef RTLD_NOW
  1691. -# define LT_DLLAZY_OR_NOW RTLD_NOW
  1692. -# else
  1693. -# ifdef DL_NOW
  1694. -# define LT_DLLAZY_OR_NOW DL_NOW
  1695. -# else
  1696. -# define LT_DLLAZY_OR_NOW 0
  1697. -# endif
  1698. -# endif
  1699. -# endif
  1700. -# endif
  1701. -#endif
  1702. -
  1703. -void fnord() { int i=42;}
  1704. -int main ()
  1705. -{
  1706. - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  1707. - int status = $lt_dlunknown;
  1708. -
  1709. - if (self)
  1710. - {
  1711. - if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  1712. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  1713. - /* dlclose (self); */
  1714. - }
  1715. - else
  1716. - puts (dlerror ());
  1717. -
  1718. - return status;
  1719. -}]
  1720. -_LT_EOF
  1721. - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  1722. - (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  1723. - lt_status=$?
  1724. - case x$lt_status in
  1725. - x$lt_dlno_uscore) $1 ;;
  1726. - x$lt_dlneed_uscore) $2 ;;
  1727. - x$lt_dlunknown|x*) $3 ;;
  1728. - esac
  1729. - else :
  1730. - # compilation failed
  1731. - $3
  1732. - fi
  1733. -fi
  1734. -rm -fr conftest*
  1735. -])# _LT_TRY_DLOPEN_SELF
  1736. -
  1737. -
  1738. -# LT_SYS_DLOPEN_SELF
  1739. -# ------------------
  1740. -AC_DEFUN([LT_SYS_DLOPEN_SELF],
  1741. -[m4_require([_LT_HEADER_DLFCN])dnl
  1742. -if test "x$enable_dlopen" != xyes; then
  1743. - enable_dlopen=unknown
  1744. - enable_dlopen_self=unknown
  1745. - enable_dlopen_self_static=unknown
  1746. -else
  1747. - lt_cv_dlopen=no
  1748. - lt_cv_dlopen_libs=
  1749. -
  1750. - case $host_os in
  1751. - beos*)
  1752. - lt_cv_dlopen="load_add_on"
  1753. - lt_cv_dlopen_libs=
  1754. - lt_cv_dlopen_self=yes
  1755. - ;;
  1756. -
  1757. - mingw* | pw32* | cegcc*)
  1758. - lt_cv_dlopen="LoadLibrary"
  1759. - lt_cv_dlopen_libs=
  1760. - ;;
  1761. -
  1762. - cygwin*)
  1763. - lt_cv_dlopen="dlopen"
  1764. - lt_cv_dlopen_libs=
  1765. - ;;
  1766. -
  1767. - darwin*)
  1768. - # if libdl is installed we need to link against it
  1769. - AC_CHECK_LIB([dl], [dlopen],
  1770. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
  1771. - lt_cv_dlopen="dyld"
  1772. - lt_cv_dlopen_libs=
  1773. - lt_cv_dlopen_self=yes
  1774. - ])
  1775. - ;;
  1776. -
  1777. - *)
  1778. - AC_CHECK_FUNC([shl_load],
  1779. - [lt_cv_dlopen="shl_load"],
  1780. - [AC_CHECK_LIB([dld], [shl_load],
  1781. - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
  1782. - [AC_CHECK_FUNC([dlopen],
  1783. - [lt_cv_dlopen="dlopen"],
  1784. - [AC_CHECK_LIB([dl], [dlopen],
  1785. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  1786. - [AC_CHECK_LIB([svld], [dlopen],
  1787. - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  1788. - [AC_CHECK_LIB([dld], [dld_link],
  1789. - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
  1790. - ])
  1791. - ])
  1792. - ])
  1793. - ])
  1794. - ])
  1795. - ;;
  1796. - esac
  1797. -
  1798. - if test "x$lt_cv_dlopen" != xno; then
  1799. - enable_dlopen=yes
  1800. - else
  1801. - enable_dlopen=no
  1802. - fi
  1803. -
  1804. - case $lt_cv_dlopen in
  1805. - dlopen)
  1806. - save_CPPFLAGS="$CPPFLAGS"
  1807. - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  1808. -
  1809. - save_LDFLAGS="$LDFLAGS"
  1810. - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  1811. -
  1812. - save_LIBS="$LIBS"
  1813. - LIBS="$lt_cv_dlopen_libs $LIBS"
  1814. -
  1815. - AC_CACHE_CHECK([whether a program can dlopen itself],
  1816. - lt_cv_dlopen_self, [dnl
  1817. - _LT_TRY_DLOPEN_SELF(
  1818. - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  1819. - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  1820. - ])
  1821. -
  1822. - if test "x$lt_cv_dlopen_self" = xyes; then
  1823. - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  1824. - AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  1825. - lt_cv_dlopen_self_static, [dnl
  1826. - _LT_TRY_DLOPEN_SELF(
  1827. - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  1828. - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  1829. - ])
  1830. - fi
  1831. -
  1832. - CPPFLAGS="$save_CPPFLAGS"
  1833. - LDFLAGS="$save_LDFLAGS"
  1834. - LIBS="$save_LIBS"
  1835. - ;;
  1836. - esac
  1837. -
  1838. - case $lt_cv_dlopen_self in
  1839. - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  1840. - *) enable_dlopen_self=unknown ;;
  1841. - esac
  1842. -
  1843. - case $lt_cv_dlopen_self_static in
  1844. - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  1845. - *) enable_dlopen_self_static=unknown ;;
  1846. - esac
  1847. -fi
  1848. -_LT_DECL([dlopen_support], [enable_dlopen], [0],
  1849. - [Whether dlopen is supported])
  1850. -_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
  1851. - [Whether dlopen of programs is supported])
  1852. -_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
  1853. - [Whether dlopen of statically linked programs is supported])
  1854. -])# LT_SYS_DLOPEN_SELF
  1855. -
  1856. -# Old name:
  1857. -AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
  1858. -dnl aclocal-1.4 backwards compatibility:
  1859. -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
  1860. -
  1861. -
  1862. -# _LT_COMPILER_C_O([TAGNAME])
  1863. -# ---------------------------
  1864. -# Check to see if options -c and -o are simultaneously supported by compiler.
  1865. -# This macro does not hard code the compiler like AC_PROG_CC_C_O.
  1866. -m4_defun([_LT_COMPILER_C_O],
  1867. -[m4_require([_LT_DECL_SED])dnl
  1868. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1869. -m4_require([_LT_TAG_COMPILER])dnl
  1870. -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
  1871. - [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
  1872. - [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
  1873. - $RM -r conftest 2>/dev/null
  1874. - mkdir conftest
  1875. - cd conftest
  1876. - mkdir out
  1877. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1878. -
  1879. - lt_compiler_flag="-o out/conftest2.$ac_objext"
  1880. - # Insert the option either (1) after the last *FLAGS variable, or
  1881. - # (2) before a word containing "conftest.", or (3) at the end.
  1882. - # Note that $ac_compile itself does not contain backslashes and begins
  1883. - # with a dollar sign (not a hyphen), so the echo should work correctly.
  1884. - lt_compile=`echo "$ac_compile" | $SED \
  1885. - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1886. - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  1887. - -e 's:$: $lt_compiler_flag:'`
  1888. - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  1889. - (eval "$lt_compile" 2>out/conftest.err)
  1890. - ac_status=$?
  1891. - cat out/conftest.err >&AS_MESSAGE_LOG_FD
  1892. - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  1893. - if (exit $ac_status) && test -s out/conftest2.$ac_objext
  1894. - then
  1895. - # The compiler can only warn and ignore the option if not recognized
  1896. - # So say no if there are warnings
  1897. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  1898. - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  1899. - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  1900. - _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  1901. - fi
  1902. - fi
  1903. - chmod u+w . 2>&AS_MESSAGE_LOG_FD
  1904. - $RM conftest*
  1905. - # SGI C++ compiler will create directory out/ii_files/ for
  1906. - # template instantiation
  1907. - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  1908. - $RM out/* && rmdir out
  1909. - cd ..
  1910. - $RM -r conftest
  1911. - $RM conftest*
  1912. -])
  1913. -_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
  1914. - [Does compiler simultaneously support -c and -o options?])
  1915. -])# _LT_COMPILER_C_O
  1916. -
  1917. -
  1918. -# _LT_COMPILER_FILE_LOCKS([TAGNAME])
  1919. -# ----------------------------------
  1920. -# Check to see if we can do hard links to lock some files if needed
  1921. -m4_defun([_LT_COMPILER_FILE_LOCKS],
  1922. -[m4_require([_LT_ENABLE_LOCK])dnl
  1923. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1924. -_LT_COMPILER_C_O([$1])
  1925. -
  1926. -hard_links="nottested"
  1927. -if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  1928. - # do not overwrite the value of need_locks provided by the user
  1929. - AC_MSG_CHECKING([if we can lock with hard links])
  1930. - hard_links=yes
  1931. - $RM conftest*
  1932. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  1933. - touch conftest.a
  1934. - ln conftest.a conftest.b 2>&5 || hard_links=no
  1935. - ln conftest.a conftest.b 2>/dev/null && hard_links=no
  1936. - AC_MSG_RESULT([$hard_links])
  1937. - if test "$hard_links" = no; then
  1938. - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
  1939. - need_locks=warn
  1940. - fi
  1941. -else
  1942. - need_locks=no
  1943. -fi
  1944. -_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
  1945. -])# _LT_COMPILER_FILE_LOCKS
  1946. -
  1947. -
  1948. -# _LT_CHECK_OBJDIR
  1949. -# ----------------
  1950. -m4_defun([_LT_CHECK_OBJDIR],
  1951. -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
  1952. -[rm -f .libs 2>/dev/null
  1953. -mkdir .libs 2>/dev/null
  1954. -if test -d .libs; then
  1955. - lt_cv_objdir=.libs
  1956. -else
  1957. - # MS-DOS does not allow filenames that begin with a dot.
  1958. - lt_cv_objdir=_libs
  1959. -fi
  1960. -rmdir .libs 2>/dev/null])
  1961. -objdir=$lt_cv_objdir
  1962. -_LT_DECL([], [objdir], [0],
  1963. - [The name of the directory that contains temporary libtool files])dnl
  1964. -m4_pattern_allow([LT_OBJDIR])dnl
  1965. -AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
  1966. - [Define to the sub-directory in which libtool stores uninstalled libraries.])
  1967. -])# _LT_CHECK_OBJDIR
  1968. -
  1969. -
  1970. -# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
  1971. -# --------------------------------------
  1972. -# Check hardcoding attributes.
  1973. -m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
  1974. -[AC_MSG_CHECKING([how to hardcode library paths into programs])
  1975. -_LT_TAGVAR(hardcode_action, $1)=
  1976. -if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
  1977. - test -n "$_LT_TAGVAR(runpath_var, $1)" ||
  1978. - test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  1979. -
  1980. - # We can hardcode non-existent directories.
  1981. - if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
  1982. - # If the only mechanism to avoid hardcoding is shlibpath_var, we
  1983. - # have to relink, otherwise we might link with an installed library
  1984. - # when we should be linking with a yet-to-be-installed one
  1985. - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  1986. - test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
  1987. - # Linking always hardcodes the temporary library directory.
  1988. - _LT_TAGVAR(hardcode_action, $1)=relink
  1989. - else
  1990. - # We can link without hardcoding, and we can hardcode nonexisting dirs.
  1991. - _LT_TAGVAR(hardcode_action, $1)=immediate
  1992. - fi
  1993. -else
  1994. - # We cannot hardcode anything, or else we can only hardcode existing
  1995. - # directories.
  1996. - _LT_TAGVAR(hardcode_action, $1)=unsupported
  1997. -fi
  1998. -AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
  1999. -
  2000. -if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
  2001. - test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
  2002. - # Fast installation is not supported
  2003. - enable_fast_install=no
  2004. -elif test "$shlibpath_overrides_runpath" = yes ||
  2005. - test "$enable_shared" = no; then
  2006. - # Fast installation is not necessary
  2007. - enable_fast_install=needless
  2008. -fi
  2009. -_LT_TAGDECL([], [hardcode_action], [0],
  2010. - [How to hardcode a shared library path into an executable])
  2011. -])# _LT_LINKER_HARDCODE_LIBPATH
  2012. -
  2013. -
  2014. -# _LT_CMD_STRIPLIB
  2015. -# ----------------
  2016. -m4_defun([_LT_CMD_STRIPLIB],
  2017. -[m4_require([_LT_DECL_EGREP])
  2018. -striplib=
  2019. -old_striplib=
  2020. -AC_MSG_CHECKING([whether stripping libraries is possible])
  2021. -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  2022. - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  2023. - test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  2024. - AC_MSG_RESULT([yes])
  2025. -else
  2026. -# FIXME - insert some real tests, host_os isn't really good enough
  2027. - case $host_os in
  2028. - darwin*)
  2029. - if test -n "$STRIP" ; then
  2030. - striplib="$STRIP -x"
  2031. - old_striplib="$STRIP -S"
  2032. - AC_MSG_RESULT([yes])
  2033. - else
  2034. - AC_MSG_RESULT([no])
  2035. - fi
  2036. - ;;
  2037. - *)
  2038. - AC_MSG_RESULT([no])
  2039. - ;;
  2040. - esac
  2041. -fi
  2042. -_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
  2043. -_LT_DECL([], [striplib], [1])
  2044. -])# _LT_CMD_STRIPLIB
  2045. -
  2046. -
  2047. -# _LT_SYS_DYNAMIC_LINKER([TAG])
  2048. -# -----------------------------
  2049. -# PORTME Fill in your ld.so characteristics
  2050. -m4_defun([_LT_SYS_DYNAMIC_LINKER],
  2051. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2052. -m4_require([_LT_DECL_EGREP])dnl
  2053. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2054. -m4_require([_LT_DECL_OBJDUMP])dnl
  2055. -m4_require([_LT_DECL_SED])dnl
  2056. -AC_MSG_CHECKING([dynamic linker characteristics])
  2057. -m4_if([$1],
  2058. - [], [
  2059. -if test "$GCC" = yes; then
  2060. - case $host_os in
  2061. - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  2062. - *) lt_awk_arg="/^libraries:/" ;;
  2063. - esac
  2064. - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2065. - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  2066. - # if the path contains ";" then we assume it to be the separator
  2067. - # otherwise default to the standard path separator (i.e. ":") - it is
  2068. - # assumed that no part of a normal pathname contains ";" but that should
  2069. - # okay in the real world where ";" in dirpaths is itself problematic.
  2070. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  2071. - else
  2072. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  2073. - fi
  2074. - # Ok, now we have the path, separated by spaces, we can step through it
  2075. - # and add multilib dir if necessary.
  2076. - lt_tmp_lt_search_path_spec=
  2077. - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  2078. - for lt_sys_path in $lt_search_path_spec; do
  2079. - if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  2080. - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  2081. - else
  2082. - test -d "$lt_sys_path" && \
  2083. - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  2084. - fi
  2085. - done
  2086. - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  2087. -BEGIN {RS=" "; FS="/|\n";} {
  2088. - lt_foo="";
  2089. - lt_count=0;
  2090. - for (lt_i = NF; lt_i > 0; lt_i--) {
  2091. - if ($lt_i != "" && $lt_i != ".") {
  2092. - if ($lt_i == "..") {
  2093. - lt_count++;
  2094. - } else {
  2095. - if (lt_count == 0) {
  2096. - lt_foo="/" $lt_i lt_foo;
  2097. - } else {
  2098. - lt_count--;
  2099. - }
  2100. - }
  2101. - }
  2102. - }
  2103. - if (lt_foo != "") { lt_freq[[lt_foo]]++; }
  2104. - if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
  2105. -}'`
  2106. - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  2107. -else
  2108. - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  2109. -fi])
  2110. -library_names_spec=
  2111. -libname_spec='lib$name'
  2112. -soname_spec=
  2113. -shrext_cmds=".so"
  2114. -postinstall_cmds=
  2115. -postuninstall_cmds=
  2116. -finish_cmds=
  2117. -finish_eval=
  2118. -shlibpath_var=
  2119. -shlibpath_overrides_runpath=unknown
  2120. -version_type=none
  2121. -dynamic_linker="$host_os ld.so"
  2122. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  2123. -need_lib_prefix=unknown
  2124. -hardcode_into_libs=no
  2125. -
  2126. -# when you set need_version to no, make sure it does not cause -set_version
  2127. -# flags to be left without arguments
  2128. -need_version=unknown
  2129. -
  2130. -case $host_os in
  2131. -aix3*)
  2132. - version_type=linux
  2133. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  2134. - shlibpath_var=LIBPATH
  2135. -
  2136. - # AIX 3 has no versioning support, so we append a major version to the name.
  2137. - soname_spec='${libname}${release}${shared_ext}$major'
  2138. - ;;
  2139. -
  2140. -aix[[4-9]]*)
  2141. - version_type=linux
  2142. - need_lib_prefix=no
  2143. - need_version=no
  2144. - hardcode_into_libs=yes
  2145. - if test "$host_cpu" = ia64; then
  2146. - # AIX 5 supports IA64
  2147. - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  2148. - shlibpath_var=LD_LIBRARY_PATH
  2149. - else
  2150. - # With GCC up to 2.95.x, collect2 would create an import file
  2151. - # for dependence libraries. The import file would start with
  2152. - # the line `#! .'. This would cause the generated library to
  2153. - # depend on `.', always an invalid library. This was fixed in
  2154. - # development snapshots of GCC prior to 3.0.
  2155. - case $host_os in
  2156. - aix4 | aix4.[[01]] | aix4.[[01]].*)
  2157. - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  2158. - echo ' yes '
  2159. - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  2160. - :
  2161. - else
  2162. - can_build_shared=no
  2163. - fi
  2164. - ;;
  2165. - esac
  2166. - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  2167. - # soname into executable. Probably we can add versioning support to
  2168. - # collect2, so additional links can be useful in future.
  2169. - if test "$aix_use_runtimelinking" = yes; then
  2170. - # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  2171. - # instead of lib<name>.a to let people know that these are not
  2172. - # typical AIX shared libraries.
  2173. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2174. - else
  2175. - # We preserve .a as extension for shared libraries through AIX4.2
  2176. - # and later when we are not doing run time linking.
  2177. - library_names_spec='${libname}${release}.a $libname.a'
  2178. - soname_spec='${libname}${release}${shared_ext}$major'
  2179. - fi
  2180. - shlibpath_var=LIBPATH
  2181. - fi
  2182. - ;;
  2183. -
  2184. -amigaos*)
  2185. - case $host_cpu in
  2186. - powerpc)
  2187. - # Since July 2007 AmigaOS4 officially supports .so libraries.
  2188. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  2189. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2190. - ;;
  2191. - m68k)
  2192. - library_names_spec='$libname.ixlibrary $libname.a'
  2193. - # Create ${libname}_ixlibrary.a entries in /sys/libs.
  2194. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  2195. - ;;
  2196. - esac
  2197. - ;;
  2198. -
  2199. -beos*)
  2200. - library_names_spec='${libname}${shared_ext}'
  2201. - dynamic_linker="$host_os ld.so"
  2202. - shlibpath_var=LIBRARY_PATH
  2203. - ;;
  2204. -
  2205. -bsdi[[45]]*)
  2206. - version_type=linux
  2207. - need_version=no
  2208. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2209. - soname_spec='${libname}${release}${shared_ext}$major'
  2210. - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  2211. - shlibpath_var=LD_LIBRARY_PATH
  2212. - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  2213. - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  2214. - # the default ld.so.conf also contains /usr/contrib/lib and
  2215. - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  2216. - # libtool to hard-code these into programs
  2217. - ;;
  2218. -
  2219. -cygwin* | mingw* | pw32* | cegcc*)
  2220. - version_type=windows
  2221. - shrext_cmds=".dll"
  2222. - need_version=no
  2223. - need_lib_prefix=no
  2224. -
  2225. - case $GCC,$host_os in
  2226. - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  2227. - library_names_spec='$libname.dll.a'
  2228. - # DLL is installed to $(libdir)/../bin by postinstall_cmds
  2229. - postinstall_cmds='base_file=`basename \${file}`~
  2230. - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  2231. - dldir=$destdir/`dirname \$dlpath`~
  2232. - test -d \$dldir || mkdir -p \$dldir~
  2233. - $install_prog $dir/$dlname \$dldir/$dlname~
  2234. - chmod a+x \$dldir/$dlname~
  2235. - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  2236. - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  2237. - fi'
  2238. - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  2239. - dlpath=$dir/\$dldll~
  2240. - $RM \$dlpath'
  2241. - shlibpath_overrides_runpath=yes
  2242. -
  2243. - case $host_os in
  2244. - cygwin*)
  2245. - # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  2246. - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  2247. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  2248. - ;;
  2249. - mingw* | cegcc*)
  2250. - # MinGW DLLs use traditional 'lib' prefix
  2251. - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  2252. - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2253. - if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
  2254. - # It is most probably a Windows format PATH printed by
  2255. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  2256. - # path with ; separators, and with drive letters. We can handle the
  2257. - # drive letters (cygwin fileutils understands them), so leave them,
  2258. - # especially as we might pass files found there to a mingw objdump,
  2259. - # which wouldn't understand a cygwinified path. Ahh.
  2260. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  2261. - else
  2262. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  2263. - fi
  2264. - ;;
  2265. - pw32*)
  2266. - # pw32 DLLs use 'pw' prefix rather than 'lib'
  2267. - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  2268. - ;;
  2269. - esac
  2270. - ;;
  2271. -
  2272. - *)
  2273. - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
  2274. - ;;
  2275. - esac
  2276. - dynamic_linker='Win32 ld.exe'
  2277. - # FIXME: first we should search . and the directory the executable is in
  2278. - shlibpath_var=PATH
  2279. - ;;
  2280. -
  2281. -darwin* | rhapsody*)
  2282. - dynamic_linker="$host_os dyld"
  2283. - version_type=darwin
  2284. - need_lib_prefix=no
  2285. - need_version=no
  2286. - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  2287. - soname_spec='${libname}${release}${major}$shared_ext'
  2288. - shlibpath_overrides_runpath=yes
  2289. - shlibpath_var=DYLD_LIBRARY_PATH
  2290. - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  2291. -m4_if([$1], [],[
  2292. - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
  2293. - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  2294. - ;;
  2295. -
  2296. -dgux*)
  2297. - version_type=linux
  2298. - need_lib_prefix=no
  2299. - need_version=no
  2300. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  2301. - soname_spec='${libname}${release}${shared_ext}$major'
  2302. - shlibpath_var=LD_LIBRARY_PATH
  2303. - ;;
  2304. -
  2305. -freebsd1*)
  2306. - dynamic_linker=no
  2307. - ;;
  2308. -
  2309. -freebsd* | dragonfly*)
  2310. - # DragonFly does not have aout. When/if they implement a new
  2311. - # versioning mechanism, adjust this.
  2312. - if test -x /usr/bin/objformat; then
  2313. - objformat=`/usr/bin/objformat`
  2314. - else
  2315. - case $host_os in
  2316. - freebsd[[123]]*) objformat=aout ;;
  2317. - *) objformat=elf ;;
  2318. - esac
  2319. - fi
  2320. - version_type=freebsd-$objformat
  2321. - case $version_type in
  2322. - freebsd-elf*)
  2323. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  2324. - need_version=no
  2325. - need_lib_prefix=no
  2326. - ;;
  2327. - freebsd-*)
  2328. - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  2329. - need_version=yes
  2330. - ;;
  2331. - esac
  2332. - shlibpath_var=LD_LIBRARY_PATH
  2333. - case $host_os in
  2334. - freebsd2*)
  2335. - shlibpath_overrides_runpath=yes
  2336. - ;;
  2337. - freebsd3.[[01]]* | freebsdelf3.[[01]]*)
  2338. - shlibpath_overrides_runpath=yes
  2339. - hardcode_into_libs=yes
  2340. - ;;
  2341. - freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
  2342. - freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
  2343. - shlibpath_overrides_runpath=no
  2344. - hardcode_into_libs=yes
  2345. - ;;
  2346. - *) # from 4.6 on, and DragonFly
  2347. - shlibpath_overrides_runpath=yes
  2348. - hardcode_into_libs=yes
  2349. - ;;
  2350. - esac
  2351. - ;;
  2352. -
  2353. -gnu*)
  2354. - version_type=linux
  2355. - need_lib_prefix=no
  2356. - need_version=no
  2357. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  2358. - soname_spec='${libname}${release}${shared_ext}$major'
  2359. - shlibpath_var=LD_LIBRARY_PATH
  2360. - hardcode_into_libs=yes
  2361. - ;;
  2362. -
  2363. -hpux9* | hpux10* | hpux11*)
  2364. - # Give a soname corresponding to the major version so that dld.sl refuses to
  2365. - # link against other versions.
  2366. - version_type=sunos
  2367. - need_lib_prefix=no
  2368. - need_version=no
  2369. - case $host_cpu in
  2370. - ia64*)
  2371. - shrext_cmds='.so'
  2372. - hardcode_into_libs=yes
  2373. - dynamic_linker="$host_os dld.so"
  2374. - shlibpath_var=LD_LIBRARY_PATH
  2375. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  2376. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2377. - soname_spec='${libname}${release}${shared_ext}$major'
  2378. - if test "X$HPUX_IA64_MODE" = X32; then
  2379. - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  2380. - else
  2381. - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  2382. - fi
  2383. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2384. - ;;
  2385. - hppa*64*)
  2386. - shrext_cmds='.sl'
  2387. - hardcode_into_libs=yes
  2388. - dynamic_linker="$host_os dld.sl"
  2389. - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  2390. - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  2391. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2392. - soname_spec='${libname}${release}${shared_ext}$major'
  2393. - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  2394. - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2395. - ;;
  2396. - *)
  2397. - shrext_cmds='.sl'
  2398. - dynamic_linker="$host_os dld.sl"
  2399. - shlibpath_var=SHLIB_PATH
  2400. - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  2401. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2402. - soname_spec='${libname}${release}${shared_ext}$major'
  2403. - ;;
  2404. - esac
  2405. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  2406. - postinstall_cmds='chmod 555 $lib'
  2407. - ;;
  2408. -
  2409. -interix[[3-9]]*)
  2410. - version_type=linux
  2411. - need_lib_prefix=no
  2412. - need_version=no
  2413. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  2414. - soname_spec='${libname}${release}${shared_ext}$major'
  2415. - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  2416. - shlibpath_var=LD_LIBRARY_PATH
  2417. - shlibpath_overrides_runpath=no
  2418. - hardcode_into_libs=yes
  2419. - ;;
  2420. -
  2421. -irix5* | irix6* | nonstopux*)
  2422. - case $host_os in
  2423. - nonstopux*) version_type=nonstopux ;;
  2424. - *)
  2425. - if test "$lt_cv_prog_gnu_ld" = yes; then
  2426. - version_type=linux
  2427. - else
  2428. - version_type=irix
  2429. - fi ;;
  2430. - esac
  2431. - need_lib_prefix=no
  2432. - need_version=no
  2433. - soname_spec='${libname}${release}${shared_ext}$major'
  2434. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  2435. - case $host_os in
  2436. - irix5* | nonstopux*)
  2437. - libsuff= shlibsuff=
  2438. - ;;
  2439. - *)
  2440. - case $LD in # libtool.m4 will add one of these switches to LD
  2441. - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  2442. - libsuff= shlibsuff= libmagic=32-bit;;
  2443. - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  2444. - libsuff=32 shlibsuff=N32 libmagic=N32;;
  2445. - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  2446. - libsuff=64 shlibsuff=64 libmagic=64-bit;;
  2447. - *) libsuff= shlibsuff= libmagic=never-match;;
  2448. - esac
  2449. - ;;
  2450. - esac
  2451. - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  2452. - shlibpath_overrides_runpath=no
  2453. - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  2454. - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  2455. - hardcode_into_libs=yes
  2456. - ;;
  2457. -
  2458. -# No shared lib support for Linux oldld, aout, or coff.
  2459. -linux*oldld* | linux*aout* | linux*coff*)
  2460. - dynamic_linker=no
  2461. - ;;
  2462. -
  2463. -# This must be Linux ELF.
  2464. -linux* | k*bsd*-gnu)
  2465. - version_type=linux
  2466. - need_lib_prefix=no
  2467. - need_version=no
  2468. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2469. - soname_spec='${libname}${release}${shared_ext}$major'
  2470. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  2471. - shlibpath_var=LD_LIBRARY_PATH
  2472. - shlibpath_overrides_runpath=no
  2473. - # Some binutils ld are patched to set DT_RUNPATH
  2474. - save_LDFLAGS=$LDFLAGS
  2475. - save_libdir=$libdir
  2476. - eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  2477. - LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  2478. - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  2479. - [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  2480. - [shlibpath_overrides_runpath=yes])])
  2481. - LDFLAGS=$save_LDFLAGS
  2482. - libdir=$save_libdir
  2483. -
  2484. - # This implies no fast_install, which is unacceptable.
  2485. - # Some rework will be needed to allow for fast_install
  2486. - # before this can be enabled.
  2487. - hardcode_into_libs=yes
  2488. -
  2489. - # Append ld.so.conf contents to the search path
  2490. - if test -f /etc/ld.so.conf; then
  2491. - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  2492. - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  2493. - fi
  2494. -
  2495. - # We used to test for /lib/ld.so.1 and disable shared libraries on
  2496. - # powerpc, because MkLinux only supported shared libraries with the
  2497. - # GNU dynamic linker. Since this was broken with cross compilers,
  2498. - # most powerpc-linux boxes support dynamic linking these days and
  2499. - # people can always --disable-shared, the test was removed, and we
  2500. - # assume the GNU/Linux dynamic linker is in use.
  2501. - dynamic_linker='GNU/Linux ld.so'
  2502. - ;;
  2503. -
  2504. -netbsdelf*-gnu)
  2505. - version_type=linux
  2506. - need_lib_prefix=no
  2507. - need_version=no
  2508. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  2509. - soname_spec='${libname}${release}${shared_ext}$major'
  2510. - shlibpath_var=LD_LIBRARY_PATH
  2511. - shlibpath_overrides_runpath=no
  2512. - hardcode_into_libs=yes
  2513. - dynamic_linker='NetBSD ld.elf_so'
  2514. - ;;
  2515. -
  2516. -netbsd*)
  2517. - version_type=sunos
  2518. - need_lib_prefix=no
  2519. - need_version=no
  2520. - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  2521. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2522. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  2523. - dynamic_linker='NetBSD (a.out) ld.so'
  2524. - else
  2525. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  2526. - soname_spec='${libname}${release}${shared_ext}$major'
  2527. - dynamic_linker='NetBSD ld.elf_so'
  2528. - fi
  2529. - shlibpath_var=LD_LIBRARY_PATH
  2530. - shlibpath_overrides_runpath=yes
  2531. - hardcode_into_libs=yes
  2532. - ;;
  2533. -
  2534. -newsos6)
  2535. - version_type=linux
  2536. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2537. - shlibpath_var=LD_LIBRARY_PATH
  2538. - shlibpath_overrides_runpath=yes
  2539. - ;;
  2540. -
  2541. -*nto* | *qnx*)
  2542. - version_type=qnx
  2543. - need_lib_prefix=no
  2544. - need_version=no
  2545. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2546. - soname_spec='${libname}${release}${shared_ext}$major'
  2547. - shlibpath_var=LD_LIBRARY_PATH
  2548. - shlibpath_overrides_runpath=no
  2549. - hardcode_into_libs=yes
  2550. - dynamic_linker='ldqnx.so'
  2551. - ;;
  2552. -
  2553. -openbsd*)
  2554. - version_type=sunos
  2555. - sys_lib_dlsearch_path_spec="/usr/lib"
  2556. - need_lib_prefix=no
  2557. - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  2558. - case $host_os in
  2559. - openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  2560. - *) need_version=no ;;
  2561. - esac
  2562. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2563. - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  2564. - shlibpath_var=LD_LIBRARY_PATH
  2565. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2566. - case $host_os in
  2567. - openbsd2.[[89]] | openbsd2.[[89]].*)
  2568. - shlibpath_overrides_runpath=no
  2569. - ;;
  2570. - *)
  2571. - shlibpath_overrides_runpath=yes
  2572. - ;;
  2573. - esac
  2574. - else
  2575. - shlibpath_overrides_runpath=yes
  2576. - fi
  2577. - ;;
  2578. -
  2579. -os2*)
  2580. - libname_spec='$name'
  2581. - shrext_cmds=".dll"
  2582. - need_lib_prefix=no
  2583. - library_names_spec='$libname${shared_ext} $libname.a'
  2584. - dynamic_linker='OS/2 ld.exe'
  2585. - shlibpath_var=LIBPATH
  2586. - ;;
  2587. -
  2588. -osf3* | osf4* | osf5*)
  2589. - version_type=osf
  2590. - need_lib_prefix=no
  2591. - need_version=no
  2592. - soname_spec='${libname}${release}${shared_ext}$major'
  2593. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2594. - shlibpath_var=LD_LIBRARY_PATH
  2595. - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  2596. - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  2597. - ;;
  2598. -
  2599. -rdos*)
  2600. - dynamic_linker=no
  2601. - ;;
  2602. -
  2603. -solaris*)
  2604. - version_type=linux
  2605. - need_lib_prefix=no
  2606. - need_version=no
  2607. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2608. - soname_spec='${libname}${release}${shared_ext}$major'
  2609. - shlibpath_var=LD_LIBRARY_PATH
  2610. - shlibpath_overrides_runpath=yes
  2611. - hardcode_into_libs=yes
  2612. - # ldd complains unless libraries are executable
  2613. - postinstall_cmds='chmod +x $lib'
  2614. - ;;
  2615. -
  2616. -sunos4*)
  2617. - version_type=sunos
  2618. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2619. - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  2620. - shlibpath_var=LD_LIBRARY_PATH
  2621. - shlibpath_overrides_runpath=yes
  2622. - if test "$with_gnu_ld" = yes; then
  2623. - need_lib_prefix=no
  2624. - fi
  2625. - need_version=yes
  2626. - ;;
  2627. -
  2628. -sysv4 | sysv4.3*)
  2629. - version_type=linux
  2630. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2631. - soname_spec='${libname}${release}${shared_ext}$major'
  2632. - shlibpath_var=LD_LIBRARY_PATH
  2633. - case $host_vendor in
  2634. - sni)
  2635. - shlibpath_overrides_runpath=no
  2636. - need_lib_prefix=no
  2637. - runpath_var=LD_RUN_PATH
  2638. - ;;
  2639. - siemens)
  2640. - need_lib_prefix=no
  2641. - ;;
  2642. - motorola)
  2643. - need_lib_prefix=no
  2644. - need_version=no
  2645. - shlibpath_overrides_runpath=no
  2646. - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  2647. - ;;
  2648. - esac
  2649. - ;;
  2650. -
  2651. -sysv4*MP*)
  2652. - if test -d /usr/nec ;then
  2653. - version_type=linux
  2654. - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  2655. - soname_spec='$libname${shared_ext}.$major'
  2656. - shlibpath_var=LD_LIBRARY_PATH
  2657. - fi
  2658. - ;;
  2659. -
  2660. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  2661. - version_type=freebsd-elf
  2662. - need_lib_prefix=no
  2663. - need_version=no
  2664. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  2665. - soname_spec='${libname}${release}${shared_ext}$major'
  2666. - shlibpath_var=LD_LIBRARY_PATH
  2667. - shlibpath_overrides_runpath=yes
  2668. - hardcode_into_libs=yes
  2669. - if test "$with_gnu_ld" = yes; then
  2670. - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  2671. - else
  2672. - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  2673. - case $host_os in
  2674. - sco3.2v5*)
  2675. - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  2676. - ;;
  2677. - esac
  2678. - fi
  2679. - sys_lib_dlsearch_path_spec='/usr/lib'
  2680. - ;;
  2681. -
  2682. -tpf*)
  2683. - # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  2684. - version_type=linux
  2685. - need_lib_prefix=no
  2686. - need_version=no
  2687. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2688. - shlibpath_var=LD_LIBRARY_PATH
  2689. - shlibpath_overrides_runpath=no
  2690. - hardcode_into_libs=yes
  2691. - ;;
  2692. -
  2693. -uts4*)
  2694. - version_type=linux
  2695. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2696. - soname_spec='${libname}${release}${shared_ext}$major'
  2697. - shlibpath_var=LD_LIBRARY_PATH
  2698. - ;;
  2699. -
  2700. -*)
  2701. - dynamic_linker=no
  2702. - ;;
  2703. -esac
  2704. -AC_MSG_RESULT([$dynamic_linker])
  2705. -test "$dynamic_linker" = no && can_build_shared=no
  2706. -
  2707. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  2708. -if test "$GCC" = yes; then
  2709. - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  2710. -fi
  2711. -
  2712. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  2713. - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  2714. -fi
  2715. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  2716. - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  2717. -fi
  2718. -
  2719. -_LT_DECL([], [variables_saved_for_relink], [1],
  2720. - [Variables whose values should be saved in libtool wrapper scripts and
  2721. - restored at link time])
  2722. -_LT_DECL([], [need_lib_prefix], [0],
  2723. - [Do we need the "lib" prefix for modules?])
  2724. -_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
  2725. -_LT_DECL([], [version_type], [0], [Library versioning type])
  2726. -_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
  2727. -_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
  2728. -_LT_DECL([], [shlibpath_overrides_runpath], [0],
  2729. - [Is shlibpath searched before the hard-coded library search path?])
  2730. -_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
  2731. -_LT_DECL([], [library_names_spec], [1],
  2732. - [[List of archive names. First name is the real one, the rest are links.
  2733. - The last name is the one that the linker finds with -lNAME]])
  2734. -_LT_DECL([], [soname_spec], [1],
  2735. - [[The coded name of the library, if different from the real name]])
  2736. -_LT_DECL([], [postinstall_cmds], [2],
  2737. - [Command to use after installation of a shared archive])
  2738. -_LT_DECL([], [postuninstall_cmds], [2],
  2739. - [Command to use after uninstallation of a shared archive])
  2740. -_LT_DECL([], [finish_cmds], [2],
  2741. - [Commands used to finish a libtool library installation in a directory])
  2742. -_LT_DECL([], [finish_eval], [1],
  2743. - [[As "finish_cmds", except a single script fragment to be evaled but
  2744. - not shown]])
  2745. -_LT_DECL([], [hardcode_into_libs], [0],
  2746. - [Whether we should hardcode library paths into libraries])
  2747. -_LT_DECL([], [sys_lib_search_path_spec], [2],
  2748. - [Compile-time system search path for libraries])
  2749. -_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
  2750. - [Run-time system search path for libraries])
  2751. -])# _LT_SYS_DYNAMIC_LINKER
  2752. -
  2753. -
  2754. -# _LT_PATH_TOOL_PREFIX(TOOL)
  2755. -# --------------------------
  2756. -# find a file program which can recognize shared library
  2757. -AC_DEFUN([_LT_PATH_TOOL_PREFIX],
  2758. -[m4_require([_LT_DECL_EGREP])dnl
  2759. -AC_MSG_CHECKING([for $1])
  2760. -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  2761. -[case $MAGIC_CMD in
  2762. -[[\\/*] | ?:[\\/]*])
  2763. - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  2764. - ;;
  2765. -*)
  2766. - lt_save_MAGIC_CMD="$MAGIC_CMD"
  2767. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  2768. -dnl $ac_dummy forces splitting on constant user-supplied paths.
  2769. -dnl POSIX.2 word splitting is done only on the output of word expansions,
  2770. -dnl not every word. This closes a longstanding sh security hole.
  2771. - ac_dummy="m4_if([$2], , $PATH, [$2])"
  2772. - for ac_dir in $ac_dummy; do
  2773. - IFS="$lt_save_ifs"
  2774. - test -z "$ac_dir" && ac_dir=.
  2775. - if test -f $ac_dir/$1; then
  2776. - lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  2777. - if test -n "$file_magic_test_file"; then
  2778. - case $deplibs_check_method in
  2779. - "file_magic "*)
  2780. - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  2781. - MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  2782. - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  2783. - $EGREP "$file_magic_regex" > /dev/null; then
  2784. - :
  2785. - else
  2786. - cat <<_LT_EOF 1>&2
  2787. -
  2788. -*** Warning: the command libtool uses to detect shared libraries,
  2789. -*** $file_magic_cmd, produces output that libtool cannot recognize.
  2790. -*** The result is that libtool may fail to recognize shared libraries
  2791. -*** as such. This will affect the creation of libtool libraries that
  2792. -*** depend on shared libraries, but programs linked with such libtool
  2793. -*** libraries will work regardless of this problem. Nevertheless, you
  2794. -*** may want to report the problem to your system manager and/or to
  2795. -*** bug-libtool@gnu.org
  2796. -
  2797. -_LT_EOF
  2798. - fi ;;
  2799. - esac
  2800. - fi
  2801. - break
  2802. - fi
  2803. - done
  2804. - IFS="$lt_save_ifs"
  2805. - MAGIC_CMD="$lt_save_MAGIC_CMD"
  2806. - ;;
  2807. -esac])
  2808. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  2809. -if test -n "$MAGIC_CMD"; then
  2810. - AC_MSG_RESULT($MAGIC_CMD)
  2811. -else
  2812. - AC_MSG_RESULT(no)
  2813. -fi
  2814. -_LT_DECL([], [MAGIC_CMD], [0],
  2815. - [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  2816. -])# _LT_PATH_TOOL_PREFIX
  2817. -
  2818. -# Old name:
  2819. -AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
  2820. -dnl aclocal-1.4 backwards compatibility:
  2821. -dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
  2822. -
  2823. -
  2824. -# _LT_PATH_MAGIC
  2825. -# --------------
  2826. -# find a file program which can recognize a shared library
  2827. -m4_defun([_LT_PATH_MAGIC],
  2828. -[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  2829. -if test -z "$lt_cv_path_MAGIC_CMD"; then
  2830. - if test -n "$ac_tool_prefix"; then
  2831. - _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  2832. - else
  2833. - MAGIC_CMD=:
  2834. - fi
  2835. -fi
  2836. -])# _LT_PATH_MAGIC
  2837. -
  2838. -
  2839. -# LT_PATH_LD
  2840. -# ----------
  2841. -# find the pathname to the GNU or non-GNU linker
  2842. -AC_DEFUN([LT_PATH_LD],
  2843. -[AC_REQUIRE([AC_PROG_CC])dnl
  2844. -AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2845. -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  2846. -m4_require([_LT_DECL_SED])dnl
  2847. -m4_require([_LT_DECL_EGREP])dnl
  2848. -
  2849. -AC_ARG_WITH([gnu-ld],
  2850. - [AS_HELP_STRING([--with-gnu-ld],
  2851. - [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  2852. - [test "$withval" = no || with_gnu_ld=yes],
  2853. - [with_gnu_ld=no])dnl
  2854. -
  2855. -ac_prog=ld
  2856. -if test "$GCC" = yes; then
  2857. - # Check if gcc -print-prog-name=ld gives a path.
  2858. - AC_MSG_CHECKING([for ld used by $CC])
  2859. - case $host in
  2860. - *-*-mingw*)
  2861. - # gcc leaves a trailing carriage return which upsets mingw
  2862. - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  2863. - *)
  2864. - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  2865. - esac
  2866. - case $ac_prog in
  2867. - # Accept absolute paths.
  2868. - [[\\/]]* | ?:[[\\/]]*)
  2869. - re_direlt='/[[^/]][[^/]]*/\.\./'
  2870. - # Canonicalize the pathname of ld
  2871. - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  2872. - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  2873. - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  2874. - done
  2875. - test -z "$LD" && LD="$ac_prog"
  2876. - ;;
  2877. - "")
  2878. - # If it fails, then pretend we aren't using GCC.
  2879. - ac_prog=ld
  2880. - ;;
  2881. - *)
  2882. - # If it is relative, then search for the first ld in PATH.
  2883. - with_gnu_ld=unknown
  2884. - ;;
  2885. - esac
  2886. -elif test "$with_gnu_ld" = yes; then
  2887. - AC_MSG_CHECKING([for GNU ld])
  2888. -else
  2889. - AC_MSG_CHECKING([for non-GNU ld])
  2890. -fi
  2891. -AC_CACHE_VAL(lt_cv_path_LD,
  2892. -[if test -z "$LD"; then
  2893. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  2894. - for ac_dir in $PATH; do
  2895. - IFS="$lt_save_ifs"
  2896. - test -z "$ac_dir" && ac_dir=.
  2897. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  2898. - lt_cv_path_LD="$ac_dir/$ac_prog"
  2899. - # Check to see if the program is GNU ld. I'd rather use --version,
  2900. - # but apparently some variants of GNU ld only accept -v.
  2901. - # Break only if it was the GNU/non-GNU ld that we prefer.
  2902. - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  2903. - *GNU* | *'with BFD'*)
  2904. - test "$with_gnu_ld" != no && break
  2905. - ;;
  2906. - *)
  2907. - test "$with_gnu_ld" != yes && break
  2908. - ;;
  2909. - esac
  2910. - fi
  2911. - done
  2912. - IFS="$lt_save_ifs"
  2913. -else
  2914. - lt_cv_path_LD="$LD" # Let the user override the test with a path.
  2915. -fi])
  2916. -LD="$lt_cv_path_LD"
  2917. -if test -n "$LD"; then
  2918. - AC_MSG_RESULT($LD)
  2919. -else
  2920. - AC_MSG_RESULT(no)
  2921. -fi
  2922. -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  2923. -_LT_PATH_LD_GNU
  2924. -AC_SUBST([LD])
  2925. -
  2926. -_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  2927. -])# LT_PATH_LD
  2928. -
  2929. -# Old names:
  2930. -AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
  2931. -AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
  2932. -dnl aclocal-1.4 backwards compatibility:
  2933. -dnl AC_DEFUN([AM_PROG_LD], [])
  2934. -dnl AC_DEFUN([AC_PROG_LD], [])
  2935. -
  2936. -
  2937. -# _LT_PATH_LD_GNU
  2938. -#- --------------
  2939. -m4_defun([_LT_PATH_LD_GNU],
  2940. -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  2941. -[# I'd rather use --version here, but apparently some GNU lds only accept -v.
  2942. -case `$LD -v 2>&1 </dev/null` in
  2943. -*GNU* | *'with BFD'*)
  2944. - lt_cv_prog_gnu_ld=yes
  2945. - ;;
  2946. -*)
  2947. - lt_cv_prog_gnu_ld=no
  2948. - ;;
  2949. -esac])
  2950. -with_gnu_ld=$lt_cv_prog_gnu_ld
  2951. -])# _LT_PATH_LD_GNU
  2952. -
  2953. -
  2954. -# _LT_CMD_RELOAD
  2955. -# --------------
  2956. -# find reload flag for linker
  2957. -# -- PORTME Some linkers may need a different reload flag.
  2958. -m4_defun([_LT_CMD_RELOAD],
  2959. -[AC_CACHE_CHECK([for $LD option to reload object files],
  2960. - lt_cv_ld_reload_flag,
  2961. - [lt_cv_ld_reload_flag='-r'])
  2962. -reload_flag=$lt_cv_ld_reload_flag
  2963. -case $reload_flag in
  2964. -"" | " "*) ;;
  2965. -*) reload_flag=" $reload_flag" ;;
  2966. -esac
  2967. -reload_cmds='$LD$reload_flag -o $output$reload_objs'
  2968. -case $host_os in
  2969. - darwin*)
  2970. - if test "$GCC" = yes; then
  2971. - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  2972. - else
  2973. - reload_cmds='$LD$reload_flag -o $output$reload_objs'
  2974. - fi
  2975. - ;;
  2976. -esac
  2977. -_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  2978. -_LT_DECL([], [reload_cmds], [2])dnl
  2979. -])# _LT_CMD_RELOAD
  2980. -
  2981. -
  2982. -# _LT_CHECK_MAGIC_METHOD
  2983. -# ----------------------
  2984. -# how to check for library dependencies
  2985. -# -- PORTME fill in with the dynamic library characteristics
  2986. -m4_defun([_LT_CHECK_MAGIC_METHOD],
  2987. -[m4_require([_LT_DECL_EGREP])
  2988. -m4_require([_LT_DECL_OBJDUMP])
  2989. -AC_CACHE_CHECK([how to recognize dependent libraries],
  2990. -lt_cv_deplibs_check_method,
  2991. -[lt_cv_file_magic_cmd='$MAGIC_CMD'
  2992. -lt_cv_file_magic_test_file=
  2993. -lt_cv_deplibs_check_method='unknown'
  2994. -# Need to set the preceding variable on all platforms that support
  2995. -# interlibrary dependencies.
  2996. -# 'none' -- dependencies not supported.
  2997. -# `unknown' -- same as none, but documents that we really don't know.
  2998. -# 'pass_all' -- all dependencies passed with no checks.
  2999. -# 'test_compile' -- check by making test program.
  3000. -# 'file_magic [[regex]]' -- check by looking for files in library path
  3001. -# which responds to the $file_magic_cmd with a given extended regex.
  3002. -# If you have `file' or equivalent on your system and you're not sure
  3003. -# whether `pass_all' will *always* work, you probably want this one.
  3004. -
  3005. -case $host_os in
  3006. -aix[[4-9]]*)
  3007. - lt_cv_deplibs_check_method=pass_all
  3008. - ;;
  3009. -
  3010. -beos*)
  3011. - lt_cv_deplibs_check_method=pass_all
  3012. - ;;
  3013. -
  3014. -bsdi[[45]]*)
  3015. - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
  3016. - lt_cv_file_magic_cmd='/usr/bin/file -L'
  3017. - lt_cv_file_magic_test_file=/shlib/libc.so
  3018. - ;;
  3019. -
  3020. -cygwin*)
  3021. - # func_win32_libid is a shell function defined in ltmain.sh
  3022. - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  3023. - lt_cv_file_magic_cmd='func_win32_libid'
  3024. - ;;
  3025. -
  3026. -mingw* | pw32*)
  3027. - # Base MSYS/MinGW do not provide the 'file' command needed by
  3028. - # func_win32_libid shell function, so use a weaker test based on 'objdump',
  3029. - # unless we find 'file', for example because we are cross-compiling.
  3030. - if ( file / ) >/dev/null 2>&1; then
  3031. - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  3032. - lt_cv_file_magic_cmd='func_win32_libid'
  3033. - else
  3034. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  3035. - lt_cv_file_magic_cmd='$OBJDUMP -f'
  3036. - fi
  3037. - ;;
  3038. -
  3039. -cegcc)
  3040. - # use the weaker test based on 'objdump'. See mingw*.
  3041. - lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  3042. - lt_cv_file_magic_cmd='$OBJDUMP -f'
  3043. - ;;
  3044. -
  3045. -darwin* | rhapsody*)
  3046. - lt_cv_deplibs_check_method=pass_all
  3047. - ;;
  3048. -
  3049. -freebsd* | dragonfly*)
  3050. - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  3051. - case $host_cpu in
  3052. - i*86 )
  3053. - # Not sure whether the presence of OpenBSD here was a mistake.
  3054. - # Let's accept both of them until this is cleared up.
  3055. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
  3056. - lt_cv_file_magic_cmd=/usr/bin/file
  3057. - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  3058. - ;;
  3059. - esac
  3060. - else
  3061. - lt_cv_deplibs_check_method=pass_all
  3062. - fi
  3063. - ;;
  3064. -
  3065. -gnu*)
  3066. - lt_cv_deplibs_check_method=pass_all
  3067. - ;;
  3068. -
  3069. -hpux10.20* | hpux11*)
  3070. - lt_cv_file_magic_cmd=/usr/bin/file
  3071. - case $host_cpu in
  3072. - ia64*)
  3073. - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
  3074. - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  3075. - ;;
  3076. - hppa*64*)
  3077. - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
  3078. - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  3079. - ;;
  3080. - *)
  3081. - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
  3082. - lt_cv_file_magic_test_file=/usr/lib/libc.sl
  3083. - ;;
  3084. - esac
  3085. - ;;
  3086. -
  3087. -interix[[3-9]]*)
  3088. - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  3089. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
  3090. - ;;
  3091. -
  3092. -irix5* | irix6* | nonstopux*)
  3093. - case $LD in
  3094. - *-32|*"-32 ") libmagic=32-bit;;
  3095. - *-n32|*"-n32 ") libmagic=N32;;
  3096. - *-64|*"-64 ") libmagic=64-bit;;
  3097. - *) libmagic=never-match;;
  3098. - esac
  3099. - lt_cv_deplibs_check_method=pass_all
  3100. - ;;
  3101. -
  3102. -# This must be Linux ELF.
  3103. -linux* | k*bsd*-gnu)
  3104. - lt_cv_deplibs_check_method=pass_all
  3105. - ;;
  3106. -
  3107. -netbsd* | netbsdelf*-gnu)
  3108. - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  3109. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  3110. - else
  3111. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
  3112. - fi
  3113. - ;;
  3114. -
  3115. -newos6*)
  3116. - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
  3117. - lt_cv_file_magic_cmd=/usr/bin/file
  3118. - lt_cv_file_magic_test_file=/usr/lib/libnls.so
  3119. - ;;
  3120. -
  3121. -*nto* | *qnx*)
  3122. - lt_cv_deplibs_check_method=pass_all
  3123. - ;;
  3124. -
  3125. -openbsd*)
  3126. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3127. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
  3128. - else
  3129. - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  3130. - fi
  3131. - ;;
  3132. -
  3133. -osf3* | osf4* | osf5*)
  3134. - lt_cv_deplibs_check_method=pass_all
  3135. - ;;
  3136. -
  3137. -rdos*)
  3138. - lt_cv_deplibs_check_method=pass_all
  3139. - ;;
  3140. -
  3141. -solaris*)
  3142. - lt_cv_deplibs_check_method=pass_all
  3143. - ;;
  3144. -
  3145. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  3146. - lt_cv_deplibs_check_method=pass_all
  3147. - ;;
  3148. -
  3149. -sysv4 | sysv4.3*)
  3150. - case $host_vendor in
  3151. - motorola)
  3152. - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
  3153. - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  3154. - ;;
  3155. - ncr)
  3156. - lt_cv_deplibs_check_method=pass_all
  3157. - ;;
  3158. - sequent)
  3159. - lt_cv_file_magic_cmd='/bin/file'
  3160. - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
  3161. - ;;
  3162. - sni)
  3163. - lt_cv_file_magic_cmd='/bin/file'
  3164. - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
  3165. - lt_cv_file_magic_test_file=/lib/libc.so
  3166. - ;;
  3167. - siemens)
  3168. - lt_cv_deplibs_check_method=pass_all
  3169. - ;;
  3170. - pc)
  3171. - lt_cv_deplibs_check_method=pass_all
  3172. - ;;
  3173. - esac
  3174. - ;;
  3175. -
  3176. -tpf*)
  3177. - lt_cv_deplibs_check_method=pass_all
  3178. - ;;
  3179. -esac
  3180. -])
  3181. -file_magic_cmd=$lt_cv_file_magic_cmd
  3182. -deplibs_check_method=$lt_cv_deplibs_check_method
  3183. -test -z "$deplibs_check_method" && deplibs_check_method=unknown
  3184. -
  3185. -_LT_DECL([], [deplibs_check_method], [1],
  3186. - [Method to check whether dependent libraries are shared objects])
  3187. -_LT_DECL([], [file_magic_cmd], [1],
  3188. - [Command to use when deplibs_check_method == "file_magic"])
  3189. -])# _LT_CHECK_MAGIC_METHOD
  3190. -
  3191. -
  3192. -# LT_PATH_NM
  3193. -# ----------
  3194. -# find the pathname to a BSD- or MS-compatible name lister
  3195. -AC_DEFUN([LT_PATH_NM],
  3196. -[AC_REQUIRE([AC_PROG_CC])dnl
  3197. -AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  3198. -[if test -n "$NM"; then
  3199. - # Let the user override the test.
  3200. - lt_cv_path_NM="$NM"
  3201. -else
  3202. - lt_nm_to_check="${ac_tool_prefix}nm"
  3203. - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  3204. - lt_nm_to_check="$lt_nm_to_check nm"
  3205. - fi
  3206. - for lt_tmp_nm in $lt_nm_to_check; do
  3207. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3208. - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  3209. - IFS="$lt_save_ifs"
  3210. - test -z "$ac_dir" && ac_dir=.
  3211. - tmp_nm="$ac_dir/$lt_tmp_nm"
  3212. - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  3213. - # Check to see if the nm accepts a BSD-compat flag.
  3214. - # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  3215. - # nm: unknown option "B" ignored
  3216. - # Tru64's nm complains that /dev/null is an invalid object file
  3217. - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  3218. - */dev/null* | *'Invalid file or object type'*)
  3219. - lt_cv_path_NM="$tmp_nm -B"
  3220. - break
  3221. - ;;
  3222. - *)
  3223. - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  3224. - */dev/null*)
  3225. - lt_cv_path_NM="$tmp_nm -p"
  3226. - break
  3227. - ;;
  3228. - *)
  3229. - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  3230. - continue # so that we can try to find one that supports BSD flags
  3231. - ;;
  3232. - esac
  3233. - ;;
  3234. - esac
  3235. - fi
  3236. - done
  3237. - IFS="$lt_save_ifs"
  3238. - done
  3239. - : ${lt_cv_path_NM=no}
  3240. -fi])
  3241. -if test "$lt_cv_path_NM" != "no"; then
  3242. - NM="$lt_cv_path_NM"
  3243. -else
  3244. - # Didn't find any BSD compatible name lister, look for dumpbin.
  3245. - AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
  3246. - AC_SUBST([DUMPBIN])
  3247. - if test "$DUMPBIN" != ":"; then
  3248. - NM="$DUMPBIN"
  3249. - fi
  3250. -fi
  3251. -test -z "$NM" && NM=nm
  3252. -AC_SUBST([NM])
  3253. -_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  3254. -
  3255. -AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  3256. - [lt_cv_nm_interface="BSD nm"
  3257. - echo "int some_variable = 0;" > conftest.$ac_ext
  3258. - (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  3259. - (eval "$ac_compile" 2>conftest.err)
  3260. - cat conftest.err >&AS_MESSAGE_LOG_FD
  3261. - (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  3262. - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  3263. - cat conftest.err >&AS_MESSAGE_LOG_FD
  3264. - (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
  3265. - cat conftest.out >&AS_MESSAGE_LOG_FD
  3266. - if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  3267. - lt_cv_nm_interface="MS dumpbin"
  3268. - fi
  3269. - rm -f conftest*])
  3270. -])# LT_PATH_NM
  3271. -
  3272. -# Old names:
  3273. -AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
  3274. -AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
  3275. -dnl aclocal-1.4 backwards compatibility:
  3276. -dnl AC_DEFUN([AM_PROG_NM], [])
  3277. -dnl AC_DEFUN([AC_PROG_NM], [])
  3278. -
  3279. -
  3280. -# LT_LIB_M
  3281. -# --------
  3282. -# check for math library
  3283. -AC_DEFUN([LT_LIB_M],
  3284. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3285. -LIBM=
  3286. -case $host in
  3287. -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
  3288. - # These system don't have libm, or don't need it
  3289. - ;;
  3290. -*-ncr-sysv4.3*)
  3291. - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  3292. - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  3293. - ;;
  3294. -*)
  3295. - AC_CHECK_LIB(m, cos, LIBM="-lm")
  3296. - ;;
  3297. -esac
  3298. -AC_SUBST([LIBM])
  3299. -])# LT_LIB_M
  3300. -
  3301. -# Old name:
  3302. -AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
  3303. -dnl aclocal-1.4 backwards compatibility:
  3304. -dnl AC_DEFUN([AC_CHECK_LIBM], [])
  3305. -
  3306. -
  3307. -# _LT_COMPILER_NO_RTTI([TAGNAME])
  3308. -# -------------------------------
  3309. -m4_defun([_LT_COMPILER_NO_RTTI],
  3310. -[m4_require([_LT_TAG_COMPILER])dnl
  3311. -
  3312. -_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  3313. -
  3314. -if test "$GCC" = yes; then
  3315. - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  3316. -
  3317. - _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  3318. - lt_cv_prog_compiler_rtti_exceptions,
  3319. - [-fno-rtti -fno-exceptions], [],
  3320. - [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  3321. -fi
  3322. -_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
  3323. - [Compiler flag to turn off builtin functions])
  3324. -])# _LT_COMPILER_NO_RTTI
  3325. -
  3326. -
  3327. -# _LT_CMD_GLOBAL_SYMBOLS
  3328. -# ----------------------
  3329. -m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
  3330. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3331. -AC_REQUIRE([AC_PROG_CC])dnl
  3332. -AC_REQUIRE([LT_PATH_NM])dnl
  3333. -AC_REQUIRE([LT_PATH_LD])dnl
  3334. -m4_require([_LT_DECL_SED])dnl
  3335. -m4_require([_LT_DECL_EGREP])dnl
  3336. -m4_require([_LT_TAG_COMPILER])dnl
  3337. -
  3338. -# Check for command to grab the raw symbol name followed by C symbol from nm.
  3339. -AC_MSG_CHECKING([command to parse $NM output from $compiler object])
  3340. -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
  3341. -[
  3342. -# These are sane defaults that work on at least a few old systems.
  3343. -# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  3344. -
  3345. -# Character class describing NM global symbol codes.
  3346. -symcode='[[BCDEGRST]]'
  3347. -
  3348. -# Regexp to match symbols that can be accessed directly from C.
  3349. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  3350. -
  3351. -# Define system-specific variables.
  3352. -case $host_os in
  3353. -aix*)
  3354. - symcode='[[BCDT]]'
  3355. - ;;
  3356. -cygwin* | mingw* | pw32* | cegcc*)
  3357. - symcode='[[ABCDGISTW]]'
  3358. - ;;
  3359. -hpux*)
  3360. - if test "$host_cpu" = ia64; then
  3361. - symcode='[[ABCDEGRST]]'
  3362. - fi
  3363. - ;;
  3364. -irix* | nonstopux*)
  3365. - symcode='[[BCDEGRST]]'
  3366. - ;;
  3367. -osf*)
  3368. - symcode='[[BCDEGQRST]]'
  3369. - ;;
  3370. -solaris*)
  3371. - symcode='[[BDRT]]'
  3372. - ;;
  3373. -sco3.2v5*)
  3374. - symcode='[[DT]]'
  3375. - ;;
  3376. -sysv4.2uw2*)
  3377. - symcode='[[DT]]'
  3378. - ;;
  3379. -sysv5* | sco5v6* | unixware* | OpenUNIX*)
  3380. - symcode='[[ABDT]]'
  3381. - ;;
  3382. -sysv4)
  3383. - symcode='[[DFNSTU]]'
  3384. - ;;
  3385. -esac
  3386. -
  3387. -# If we're using GNU nm, then use its standard symbol codes.
  3388. -case `$NM -V 2>&1` in
  3389. -*GNU* | *'with BFD'*)
  3390. - symcode='[[ABCDGIRSTW]]' ;;
  3391. -esac
  3392. -
  3393. -# Transform an extracted symbol line into a proper C declaration.
  3394. -# Some systems (esp. on ia64) link data and code symbols differently,
  3395. -# so use this general approach.
  3396. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  3397. -
  3398. -# Transform an extracted symbol line into symbol name and symbol address
  3399. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
  3400. -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
  3401. -
  3402. -# Handle CRLF in mingw tool chain
  3403. -opt_cr=
  3404. -case $build_os in
  3405. -mingw*)
  3406. - opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  3407. - ;;
  3408. -esac
  3409. -
  3410. -# Try without a prefix underscore, then with it.
  3411. -for ac_symprfx in "" "_"; do
  3412. -
  3413. - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  3414. - symxfrm="\\1 $ac_symprfx\\2 \\2"
  3415. -
  3416. - # Write the raw and C identifiers.
  3417. - if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  3418. - # Fake it for dumpbin and say T for any non-static function
  3419. - # and D for any global variable.
  3420. - # Also find C++ and __fastcall symbols from MSVC++,
  3421. - # which start with @ or ?.
  3422. - lt_cv_sys_global_symbol_pipe="$AWK ['"\
  3423. -" {last_section=section; section=\$ 3};"\
  3424. -" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  3425. -" \$ 0!~/External *\|/{next};"\
  3426. -" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  3427. -" {if(hide[section]) next};"\
  3428. -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  3429. -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  3430. -" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  3431. -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  3432. -" ' prfx=^$ac_symprfx]"
  3433. - else
  3434. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  3435. - fi
  3436. -
  3437. - # Check to see that the pipe works correctly.
  3438. - pipe_works=no
  3439. -
  3440. - rm -f conftest*
  3441. - cat > conftest.$ac_ext <<_LT_EOF
  3442. -#ifdef __cplusplus
  3443. -extern "C" {
  3444. -#endif
  3445. -char nm_test_var;
  3446. -void nm_test_func(void);
  3447. -void nm_test_func(void){}
  3448. -#ifdef __cplusplus
  3449. -}
  3450. -#endif
  3451. -int main(){nm_test_var='a';nm_test_func();return(0);}
  3452. -_LT_EOF
  3453. -
  3454. - if AC_TRY_EVAL(ac_compile); then
  3455. - # Now try to grab the symbols.
  3456. - nlist=conftest.nm
  3457. - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  3458. - # Try sorting and uniquifying the output.
  3459. - if sort "$nlist" | uniq > "$nlist"T; then
  3460. - mv -f "$nlist"T "$nlist"
  3461. - else
  3462. - rm -f "$nlist"T
  3463. - fi
  3464. -
  3465. - # Make sure that we snagged all the symbols we need.
  3466. - if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  3467. - if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  3468. - cat <<_LT_EOF > conftest.$ac_ext
  3469. -#ifdef __cplusplus
  3470. -extern "C" {
  3471. -#endif
  3472. -
  3473. -_LT_EOF
  3474. - # Now generate the symbol file.
  3475. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  3476. -
  3477. - cat <<_LT_EOF >> conftest.$ac_ext
  3478. -
  3479. -/* The mapping between symbol names and symbols. */
  3480. -const struct {
  3481. - const char *name;
  3482. - void *address;
  3483. -}
  3484. -lt__PROGRAM__LTX_preloaded_symbols[[]] =
  3485. -{
  3486. - { "@PROGRAM@", (void *) 0 },
  3487. -_LT_EOF
  3488. - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  3489. - cat <<\_LT_EOF >> conftest.$ac_ext
  3490. - {0, (void *) 0}
  3491. -};
  3492. -
  3493. -/* This works around a problem in FreeBSD linker */
  3494. -#ifdef FREEBSD_WORKAROUND
  3495. -static const void *lt_preloaded_setup() {
  3496. - return lt__PROGRAM__LTX_preloaded_symbols;
  3497. -}
  3498. -#endif
  3499. -
  3500. -#ifdef __cplusplus
  3501. -}
  3502. -#endif
  3503. -_LT_EOF
  3504. - # Now try linking the two files.
  3505. - mv conftest.$ac_objext conftstm.$ac_objext
  3506. - lt_save_LIBS="$LIBS"
  3507. - lt_save_CFLAGS="$CFLAGS"
  3508. - LIBS="conftstm.$ac_objext"
  3509. - CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  3510. - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  3511. - pipe_works=yes
  3512. - fi
  3513. - LIBS="$lt_save_LIBS"
  3514. - CFLAGS="$lt_save_CFLAGS"
  3515. - else
  3516. - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  3517. - fi
  3518. - else
  3519. - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
  3520. - fi
  3521. - else
  3522. - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  3523. - fi
  3524. - else
  3525. - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
  3526. - cat conftest.$ac_ext >&5
  3527. - fi
  3528. - rm -rf conftest* conftst*
  3529. -
  3530. - # Do not use the global_symbol_pipe unless it works.
  3531. - if test "$pipe_works" = yes; then
  3532. - break
  3533. - else
  3534. - lt_cv_sys_global_symbol_pipe=
  3535. - fi
  3536. -done
  3537. -])
  3538. -if test -z "$lt_cv_sys_global_symbol_pipe"; then
  3539. - lt_cv_sys_global_symbol_to_cdecl=
  3540. -fi
  3541. -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  3542. - AC_MSG_RESULT(failed)
  3543. -else
  3544. - AC_MSG_RESULT(ok)
  3545. -fi
  3546. -
  3547. -_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
  3548. - [Take the output of nm and produce a listing of raw symbols and C names])
  3549. -_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
  3550. - [Transform the output of nm in a proper C declaration])
  3551. -_LT_DECL([global_symbol_to_c_name_address],
  3552. - [lt_cv_sys_global_symbol_to_c_name_address], [1],
  3553. - [Transform the output of nm in a C name address pair])
  3554. -_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
  3555. - [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
  3556. - [Transform the output of nm in a C name address pair when lib prefix is needed])
  3557. -]) # _LT_CMD_GLOBAL_SYMBOLS
  3558. -
  3559. -
  3560. -# _LT_COMPILER_PIC([TAGNAME])
  3561. -# ---------------------------
  3562. -m4_defun([_LT_COMPILER_PIC],
  3563. -[m4_require([_LT_TAG_COMPILER])dnl
  3564. -_LT_TAGVAR(lt_prog_compiler_wl, $1)=
  3565. -_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3566. -_LT_TAGVAR(lt_prog_compiler_static, $1)=
  3567. -
  3568. -AC_MSG_CHECKING([for $compiler option to produce PIC])
  3569. -m4_if([$1], [CXX], [
  3570. - # C++ specific cases for pic, static, wl, etc.
  3571. - if test "$GXX" = yes; then
  3572. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3573. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3574. -
  3575. - case $host_os in
  3576. - aix*)
  3577. - # All AIX code is PIC.
  3578. - if test "$host_cpu" = ia64; then
  3579. - # AIX 5 now supports IA64 processor
  3580. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3581. - fi
  3582. - ;;
  3583. -
  3584. - amigaos*)
  3585. - case $host_cpu in
  3586. - powerpc)
  3587. - # see comment about AmigaOS4 .so support
  3588. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3589. - ;;
  3590. - m68k)
  3591. - # FIXME: we need at least 68020 code to build shared libraries, but
  3592. - # adding the `-m68020' flag to GCC prevents building anything better,
  3593. - # like `-m68040'.
  3594. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  3595. - ;;
  3596. - esac
  3597. - ;;
  3598. -
  3599. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  3600. - # PIC is the default for these OSes.
  3601. - ;;
  3602. - mingw* | cygwin* | os2* | pw32* | cegcc*)
  3603. - # This hack is so that the source file can tell whether it is being
  3604. - # built for inclusion in a dll (and should export symbols for example).
  3605. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  3606. - # (--disable-auto-import) libraries
  3607. - m4_if([$1], [GCJ], [],
  3608. - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  3609. - ;;
  3610. - darwin* | rhapsody*)
  3611. - # PIC is the default on this platform
  3612. - # Common symbols not allowed in MH_DYLIB files
  3613. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  3614. - ;;
  3615. - *djgpp*)
  3616. - # DJGPP does not support shared libraries at all
  3617. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3618. - ;;
  3619. - interix[[3-9]]*)
  3620. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  3621. - # Instead, we relocate shared libraries at runtime.
  3622. - ;;
  3623. - sysv4*MP*)
  3624. - if test -d /usr/nec; then
  3625. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  3626. - fi
  3627. - ;;
  3628. - hpux*)
  3629. - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  3630. - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  3631. - # sets the default TLS model and affects inlining.
  3632. - case $host_cpu in
  3633. - hppa*64*)
  3634. - ;;
  3635. - *)
  3636. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3637. - ;;
  3638. - esac
  3639. - ;;
  3640. - *qnx* | *nto*)
  3641. - # QNX uses GNU C++, but need to define -shared option too, otherwise
  3642. - # it will coredump.
  3643. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  3644. - ;;
  3645. - *)
  3646. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3647. - ;;
  3648. - esac
  3649. - else
  3650. - case $host_os in
  3651. - aix[[4-9]]*)
  3652. - # All AIX code is PIC.
  3653. - if test "$host_cpu" = ia64; then
  3654. - # AIX 5 now supports IA64 processor
  3655. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3656. - else
  3657. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  3658. - fi
  3659. - ;;
  3660. - chorus*)
  3661. - case $cc_basename in
  3662. - cxch68*)
  3663. - # Green Hills C++ Compiler
  3664. - # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
  3665. - ;;
  3666. - esac
  3667. - ;;
  3668. - dgux*)
  3669. - case $cc_basename in
  3670. - ec++*)
  3671. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3672. - ;;
  3673. - ghcx*)
  3674. - # Green Hills C++ Compiler
  3675. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3676. - ;;
  3677. - *)
  3678. - ;;
  3679. - esac
  3680. - ;;
  3681. - freebsd* | dragonfly*)
  3682. - # FreeBSD uses GNU C++
  3683. - ;;
  3684. - hpux9* | hpux10* | hpux11*)
  3685. - case $cc_basename in
  3686. - CC*)
  3687. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3688. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  3689. - if test "$host_cpu" != ia64; then
  3690. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  3691. - fi
  3692. - ;;
  3693. - aCC*)
  3694. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3695. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  3696. - case $host_cpu in
  3697. - hppa*64*|ia64*)
  3698. - # +Z the default
  3699. - ;;
  3700. - *)
  3701. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  3702. - ;;
  3703. - esac
  3704. - ;;
  3705. - *)
  3706. - ;;
  3707. - esac
  3708. - ;;
  3709. - interix*)
  3710. - # This is c89, which is MS Visual C++ (no shared libs)
  3711. - # Anyone wants to do a port?
  3712. - ;;
  3713. - irix5* | irix6* | nonstopux*)
  3714. - case $cc_basename in
  3715. - CC*)
  3716. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3717. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3718. - # CC pic flag -KPIC is the default.
  3719. - ;;
  3720. - *)
  3721. - ;;
  3722. - esac
  3723. - ;;
  3724. - linux* | k*bsd*-gnu)
  3725. - case $cc_basename in
  3726. - KCC*)
  3727. - # KAI C++ Compiler
  3728. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  3729. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3730. - ;;
  3731. - ecpc* )
  3732. - # old Intel C++ for x86_64 which still supported -KPIC.
  3733. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3734. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3735. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3736. - ;;
  3737. - icpc* )
  3738. - # Intel C++, used to be incompatible with GCC.
  3739. - # ICC 10 doesn't accept -KPIC any more.
  3740. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3741. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3742. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3743. - ;;
  3744. - pgCC* | pgcpp*)
  3745. - # Portland Group C++ compiler
  3746. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3747. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  3748. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3749. - ;;
  3750. - cxx*)
  3751. - # Compaq C++
  3752. - # Make sure the PIC flag is empty. It appears that all Alpha
  3753. - # Linux and Compaq Tru64 Unix objects are PIC.
  3754. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3755. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3756. - ;;
  3757. - xlc* | xlC*)
  3758. - # IBM XL 8.0 on PPC
  3759. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3760. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  3761. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  3762. - ;;
  3763. - *)
  3764. - case `$CC -V 2>&1 | sed 5q` in
  3765. - *Sun\ C*)
  3766. - # Sun C++ 5.9
  3767. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3768. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3769. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  3770. - ;;
  3771. - esac
  3772. - ;;
  3773. - esac
  3774. - ;;
  3775. - lynxos*)
  3776. - ;;
  3777. - m88k*)
  3778. - ;;
  3779. - mvs*)
  3780. - case $cc_basename in
  3781. - cxx*)
  3782. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  3783. - ;;
  3784. - *)
  3785. - ;;
  3786. - esac
  3787. - ;;
  3788. - netbsd* | netbsdelf*-gnu)
  3789. - ;;
  3790. - *qnx* | *nto*)
  3791. - # QNX uses GNU C++, but need to define -shared option too, otherwise
  3792. - # it will coredump.
  3793. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  3794. - ;;
  3795. - osf3* | osf4* | osf5*)
  3796. - case $cc_basename in
  3797. - KCC*)
  3798. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  3799. - ;;
  3800. - RCC*)
  3801. - # Rational C++ 2.4.1
  3802. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3803. - ;;
  3804. - cxx*)
  3805. - # Digital/Compaq C++
  3806. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3807. - # Make sure the PIC flag is empty. It appears that all Alpha
  3808. - # Linux and Compaq Tru64 Unix objects are PIC.
  3809. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3810. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3811. - ;;
  3812. - *)
  3813. - ;;
  3814. - esac
  3815. - ;;
  3816. - psos*)
  3817. - ;;
  3818. - solaris*)
  3819. - case $cc_basename in
  3820. - CC*)
  3821. - # Sun C++ 4.2, 5.x and Centerline C++
  3822. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3823. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3824. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  3825. - ;;
  3826. - gcx*)
  3827. - # Green Hills C++ Compiler
  3828. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  3829. - ;;
  3830. - *)
  3831. - ;;
  3832. - esac
  3833. - ;;
  3834. - sunos4*)
  3835. - case $cc_basename in
  3836. - CC*)
  3837. - # Sun C++ 4.x
  3838. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3839. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3840. - ;;
  3841. - lcc*)
  3842. - # Lucid
  3843. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3844. - ;;
  3845. - *)
  3846. - ;;
  3847. - esac
  3848. - ;;
  3849. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  3850. - case $cc_basename in
  3851. - CC*)
  3852. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3853. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3854. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3855. - ;;
  3856. - esac
  3857. - ;;
  3858. - tandem*)
  3859. - case $cc_basename in
  3860. - NCC*)
  3861. - # NonStop-UX NCC 3.20
  3862. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3863. - ;;
  3864. - *)
  3865. - ;;
  3866. - esac
  3867. - ;;
  3868. - vxworks*)
  3869. - ;;
  3870. - *)
  3871. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  3872. - ;;
  3873. - esac
  3874. - fi
  3875. -],
  3876. -[
  3877. - if test "$GCC" = yes; then
  3878. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3879. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3880. -
  3881. - case $host_os in
  3882. - aix*)
  3883. - # All AIX code is PIC.
  3884. - if test "$host_cpu" = ia64; then
  3885. - # AIX 5 now supports IA64 processor
  3886. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3887. - fi
  3888. - ;;
  3889. -
  3890. - amigaos*)
  3891. - case $host_cpu in
  3892. - powerpc)
  3893. - # see comment about AmigaOS4 .so support
  3894. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3895. - ;;
  3896. - m68k)
  3897. - # FIXME: we need at least 68020 code to build shared libraries, but
  3898. - # adding the `-m68020' flag to GCC prevents building anything better,
  3899. - # like `-m68040'.
  3900. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  3901. - ;;
  3902. - esac
  3903. - ;;
  3904. -
  3905. - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  3906. - # PIC is the default for these OSes.
  3907. - ;;
  3908. -
  3909. - mingw* | cygwin* | pw32* | os2* | cegcc*)
  3910. - # This hack is so that the source file can tell whether it is being
  3911. - # built for inclusion in a dll (and should export symbols for example).
  3912. - # Although the cygwin gcc ignores -fPIC, still need this for old-style
  3913. - # (--disable-auto-import) libraries
  3914. - m4_if([$1], [GCJ], [],
  3915. - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  3916. - ;;
  3917. -
  3918. - darwin* | rhapsody*)
  3919. - # PIC is the default on this platform
  3920. - # Common symbols not allowed in MH_DYLIB files
  3921. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  3922. - ;;
  3923. -
  3924. - hpux*)
  3925. - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  3926. - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  3927. - # sets the default TLS model and affects inlining.
  3928. - case $host_cpu in
  3929. - hppa*64*)
  3930. - # +Z the default
  3931. - ;;
  3932. - *)
  3933. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3934. - ;;
  3935. - esac
  3936. - ;;
  3937. -
  3938. - interix[[3-9]]*)
  3939. - # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  3940. - # Instead, we relocate shared libraries at runtime.
  3941. - ;;
  3942. -
  3943. - msdosdjgpp*)
  3944. - # Just because we use GCC doesn't mean we suddenly get shared libraries
  3945. - # on systems that don't support them.
  3946. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  3947. - enable_shared=no
  3948. - ;;
  3949. -
  3950. - *nto* | *qnx*)
  3951. - # QNX uses GNU C++, but need to define -shared option too, otherwise
  3952. - # it will coredump.
  3953. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  3954. - ;;
  3955. -
  3956. - sysv4*MP*)
  3957. - if test -d /usr/nec; then
  3958. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  3959. - fi
  3960. - ;;
  3961. -
  3962. - *)
  3963. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3964. - ;;
  3965. - esac
  3966. - else
  3967. - # PORTME Check for flag to pass linker flags through the system compiler.
  3968. - case $host_os in
  3969. - aix*)
  3970. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3971. - if test "$host_cpu" = ia64; then
  3972. - # AIX 5 now supports IA64 processor
  3973. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3974. - else
  3975. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  3976. - fi
  3977. - ;;
  3978. -
  3979. - mingw* | cygwin* | pw32* | os2* | cegcc*)
  3980. - # This hack is so that the source file can tell whether it is being
  3981. - # built for inclusion in a dll (and should export symbols for example).
  3982. - m4_if([$1], [GCJ], [],
  3983. - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  3984. - ;;
  3985. -
  3986. - hpux9* | hpux10* | hpux11*)
  3987. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3988. - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  3989. - # not for PA HP-UX.
  3990. - case $host_cpu in
  3991. - hppa*64*|ia64*)
  3992. - # +Z the default
  3993. - ;;
  3994. - *)
  3995. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  3996. - ;;
  3997. - esac
  3998. - # Is there a better lt_prog_compiler_static that works with the bundled CC?
  3999. - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  4000. - ;;
  4001. -
  4002. - irix5* | irix6* | nonstopux*)
  4003. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4004. - # PIC (with -KPIC) is the default.
  4005. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4006. - ;;
  4007. -
  4008. - linux* | k*bsd*-gnu)
  4009. - case $cc_basename in
  4010. - # old Intel for x86_64 which still supported -KPIC.
  4011. - ecc*)
  4012. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4013. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4014. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4015. - ;;
  4016. - # icc used to be incompatible with GCC.
  4017. - # ICC 10 doesn't accept -KPIC any more.
  4018. - icc* | ifort*)
  4019. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4020. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4021. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4022. - ;;
  4023. - # Lahey Fortran 8.1.
  4024. - lf95*)
  4025. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4026. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
  4027. - _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
  4028. - ;;
  4029. - pgcc* | pgf77* | pgf90* | pgf95*)
  4030. - # Portland Group compilers (*not* the Pentium gcc compiler,
  4031. - # which looks to be a dead project)
  4032. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4033. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  4034. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4035. - ;;
  4036. - ccc*)
  4037. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4038. - # All Alpha code is PIC.
  4039. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4040. - ;;
  4041. - xl*)
  4042. - # IBM XL C 8.0/Fortran 10.1 on PPC
  4043. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4044. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  4045. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  4046. - ;;
  4047. - *)
  4048. - case `$CC -V 2>&1 | sed 5q` in
  4049. - *Sun\ C*)
  4050. - # Sun C 5.9
  4051. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4052. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4053. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4054. - ;;
  4055. - *Sun\ F*)
  4056. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  4057. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4058. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4059. - _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  4060. - ;;
  4061. - esac
  4062. - ;;
  4063. - esac
  4064. - ;;
  4065. -
  4066. - newsos6)
  4067. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4068. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4069. - ;;
  4070. -
  4071. - *nto* | *qnx*)
  4072. - # QNX uses GNU C++, but need to define -shared option too, otherwise
  4073. - # it will coredump.
  4074. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  4075. - ;;
  4076. -
  4077. - osf3* | osf4* | osf5*)
  4078. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4079. - # All OSF/1 code is PIC.
  4080. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4081. - ;;
  4082. -
  4083. - rdos*)
  4084. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4085. - ;;
  4086. -
  4087. - solaris*)
  4088. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4089. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4090. - case $cc_basename in
  4091. - f77* | f90* | f95*)
  4092. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  4093. - *)
  4094. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  4095. - esac
  4096. - ;;
  4097. -
  4098. - sunos4*)
  4099. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  4100. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  4101. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4102. - ;;
  4103. -
  4104. - sysv4 | sysv4.2uw2* | sysv4.3*)
  4105. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4106. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4107. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4108. - ;;
  4109. -
  4110. - sysv4*MP*)
  4111. - if test -d /usr/nec ;then
  4112. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  4113. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4114. - fi
  4115. - ;;
  4116. -
  4117. - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  4118. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4119. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4120. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4121. - ;;
  4122. -
  4123. - unicos*)
  4124. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4125. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  4126. - ;;
  4127. -
  4128. - uts4*)
  4129. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  4130. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4131. - ;;
  4132. -
  4133. - *)
  4134. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  4135. - ;;
  4136. - esac
  4137. - fi
  4138. -])
  4139. -case $host_os in
  4140. - # For platforms which do not support PIC, -DPIC is meaningless:
  4141. - *djgpp*)
  4142. - _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  4143. - ;;
  4144. - *)
  4145. - _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
  4146. - ;;
  4147. -esac
  4148. -AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  4149. -_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  4150. - [How to pass a linker flag through the compiler])
  4151. -
  4152. -#
  4153. -# Check to make sure the PIC flag actually works.
  4154. -#
  4155. -if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
  4156. - _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
  4157. - [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
  4158. - [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
  4159. - [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
  4160. - "" | " "*) ;;
  4161. - *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  4162. - esac],
  4163. - [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  4164. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  4165. -fi
  4166. -_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
  4167. - [Additional compiler flags for building library objects])
  4168. -
  4169. -#
  4170. -# Check to make sure the static flag actually works.
  4171. -#
  4172. -wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
  4173. -_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
  4174. - _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
  4175. - $lt_tmp_static_flag,
  4176. - [],
  4177. - [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
  4178. -_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
  4179. - [Compiler flag to prevent dynamic linking])
  4180. -])# _LT_COMPILER_PIC
  4181. -
  4182. -
  4183. -# _LT_LINKER_SHLIBS([TAGNAME])
  4184. -# ----------------------------
  4185. -# See if the linker supports building shared libraries.
  4186. -m4_defun([_LT_LINKER_SHLIBS],
  4187. -[AC_REQUIRE([LT_PATH_LD])dnl
  4188. -AC_REQUIRE([LT_PATH_NM])dnl
  4189. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  4190. -m4_require([_LT_DECL_EGREP])dnl
  4191. -m4_require([_LT_DECL_SED])dnl
  4192. -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  4193. -m4_require([_LT_TAG_COMPILER])dnl
  4194. -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  4195. -m4_if([$1], [CXX], [
  4196. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  4197. - case $host_os in
  4198. - aix[[4-9]]*)
  4199. - # If we're using GNU nm, then we don't want the "-C" option.
  4200. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  4201. - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  4202. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  4203. - else
  4204. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  4205. - fi
  4206. - ;;
  4207. - pw32*)
  4208. - _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  4209. - ;;
  4210. - cygwin* | mingw* | cegcc*)
  4211. - _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'
  4212. - ;;
  4213. - linux* | k*bsd*-gnu)
  4214. - _LT_TAGVAR(link_all_deplibs, $1)=no
  4215. - ;;
  4216. - *)
  4217. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  4218. - ;;
  4219. - esac
  4220. - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  4221. -], [
  4222. - runpath_var=
  4223. - _LT_TAGVAR(allow_undefined_flag, $1)=
  4224. - _LT_TAGVAR(always_export_symbols, $1)=no
  4225. - _LT_TAGVAR(archive_cmds, $1)=
  4226. - _LT_TAGVAR(archive_expsym_cmds, $1)=
  4227. - _LT_TAGVAR(compiler_needs_object, $1)=no
  4228. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  4229. - _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  4230. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  4231. - _LT_TAGVAR(hardcode_automatic, $1)=no
  4232. - _LT_TAGVAR(hardcode_direct, $1)=no
  4233. - _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  4234. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  4235. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  4236. - _LT_TAGVAR(hardcode_libdir_separator, $1)=
  4237. - _LT_TAGVAR(hardcode_minus_L, $1)=no
  4238. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  4239. - _LT_TAGVAR(inherit_rpath, $1)=no
  4240. - _LT_TAGVAR(link_all_deplibs, $1)=unknown
  4241. - _LT_TAGVAR(module_cmds, $1)=
  4242. - _LT_TAGVAR(module_expsym_cmds, $1)=
  4243. - _LT_TAGVAR(old_archive_from_new_cmds, $1)=
  4244. - _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  4245. - _LT_TAGVAR(thread_safe_flag_spec, $1)=
  4246. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4247. - # include_expsyms should be a list of space-separated symbols to be *always*
  4248. - # included in the symbol list
  4249. - _LT_TAGVAR(include_expsyms, $1)=
  4250. - # exclude_expsyms can be an extended regexp of symbols to exclude
  4251. - # it will be wrapped by ` (' and `)$', so one must not match beginning or
  4252. - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  4253. - # as well as any symbol that contains `d'.
  4254. - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  4255. - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  4256. - # platforms (ab)use it in PIC code, but their linkers get confused if
  4257. - # the symbol is explicitly referenced. Since portable code cannot
  4258. - # rely on this symbol name, it's probably fine to never include it in
  4259. - # preloaded symbol tables.
  4260. - # Exclude shared library initialization/finalization symbols.
  4261. -dnl Note also adjust exclude_expsyms for C++ above.
  4262. - extract_expsyms_cmds=
  4263. -
  4264. - case $host_os in
  4265. - cygwin* | mingw* | pw32* | cegcc*)
  4266. - # FIXME: the MSVC++ port hasn't been tested in a loooong time
  4267. - # When not using gcc, we currently assume that we are using
  4268. - # Microsoft Visual C++.
  4269. - if test "$GCC" != yes; then
  4270. - with_gnu_ld=no
  4271. - fi
  4272. - ;;
  4273. - interix*)
  4274. - # we just hope/assume this is gcc and not c89 (= MSVC++)
  4275. - with_gnu_ld=yes
  4276. - ;;
  4277. - openbsd*)
  4278. - with_gnu_ld=no
  4279. - ;;
  4280. - esac
  4281. -
  4282. - _LT_TAGVAR(ld_shlibs, $1)=yes
  4283. - if test "$with_gnu_ld" = yes; then
  4284. - # If archive_cmds runs LD, not CC, wlarc should be empty
  4285. - wlarc='${wl}'
  4286. -
  4287. - # Set some defaults for GNU ld with shared library support. These
  4288. - # are reset later if shared libraries are not supported. Putting them
  4289. - # here allows them to be overridden if necessary.
  4290. - runpath_var=LD_RUN_PATH
  4291. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4292. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  4293. - # ancient GNU ld didn't support --whole-archive et. al.
  4294. - if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  4295. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  4296. - else
  4297. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4298. - fi
  4299. - supports_anon_versioning=no
  4300. - case `$LD -v 2>&1` in
  4301. - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  4302. - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  4303. - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  4304. - *\ 2.11.*) ;; # other 2.11 versions
  4305. - *) supports_anon_versioning=yes ;;
  4306. - esac
  4307. -
  4308. - # See if GNU ld supports shared libraries.
  4309. - case $host_os in
  4310. - aix[[3-9]]*)
  4311. - # On AIX/PPC, the GNU linker is very broken
  4312. - if test "$host_cpu" != ia64; then
  4313. - _LT_TAGVAR(ld_shlibs, $1)=no
  4314. - cat <<_LT_EOF 1>&2
  4315. -
  4316. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  4317. -*** to be unable to reliably create shared libraries on AIX.
  4318. -*** Therefore, libtool is disabling shared libraries support. If you
  4319. -*** really care for shared libraries, you may want to modify your PATH
  4320. -*** so that a non-GNU linker is found, and then restart.
  4321. -
  4322. -_LT_EOF
  4323. - fi
  4324. - ;;
  4325. -
  4326. - amigaos*)
  4327. - case $host_cpu in
  4328. - powerpc)
  4329. - # see comment about AmigaOS4 .so support
  4330. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4331. - _LT_TAGVAR(archive_expsym_cmds, $1)=''
  4332. - ;;
  4333. - m68k)
  4334. - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  4335. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4336. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4337. - ;;
  4338. - esac
  4339. - ;;
  4340. -
  4341. - beos*)
  4342. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4343. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4344. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  4345. - # support --undefined. This deserves some investigation. FIXME
  4346. - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4347. - else
  4348. - _LT_TAGVAR(ld_shlibs, $1)=no
  4349. - fi
  4350. - ;;
  4351. -
  4352. - cygwin* | mingw* | pw32* | cegcc*)
  4353. - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  4354. - # as there is no search path for DLLs.
  4355. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4356. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4357. - _LT_TAGVAR(always_export_symbols, $1)=no
  4358. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  4359. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
  4360. -
  4361. - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  4362. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  4363. - # If the export-symbols file already is a .def file (1st line
  4364. - # is EXPORTS), use it as is; otherwise, prepend...
  4365. - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  4366. - cp $export_symbols $output_objdir/$soname.def;
  4367. - else
  4368. - echo EXPORTS > $output_objdir/$soname.def;
  4369. - cat $export_symbols >> $output_objdir/$soname.def;
  4370. - fi~
  4371. - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  4372. - else
  4373. - _LT_TAGVAR(ld_shlibs, $1)=no
  4374. - fi
  4375. - ;;
  4376. -
  4377. - interix[[3-9]]*)
  4378. - _LT_TAGVAR(hardcode_direct, $1)=no
  4379. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4380. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4381. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4382. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  4383. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  4384. - # default) and relocated if they conflict, which is a slow very memory
  4385. - # consuming and fragmenting process. To avoid this, we pick a random,
  4386. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  4387. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  4388. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  4389. - _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'
  4390. - ;;
  4391. -
  4392. - gnu* | linux* | tpf* | k*bsd*-gnu)
  4393. - tmp_diet=no
  4394. - if test "$host_os" = linux-dietlibc; then
  4395. - case $cc_basename in
  4396. - diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  4397. - esac
  4398. - fi
  4399. - if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  4400. - && test "$tmp_diet" = no
  4401. - then
  4402. - tmp_addflag=
  4403. - tmp_sharedflag='-shared'
  4404. - case $cc_basename,$host_cpu in
  4405. - pgcc*) # Portland Group C compiler
  4406. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  4407. - tmp_addflag=' $pic_flag'
  4408. - ;;
  4409. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  4410. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  4411. - tmp_addflag=' $pic_flag -Mnomain' ;;
  4412. - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  4413. - tmp_addflag=' -i_dynamic' ;;
  4414. - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  4415. - tmp_addflag=' -i_dynamic -nofor_main' ;;
  4416. - ifc* | ifort*) # Intel Fortran compiler
  4417. - tmp_addflag=' -nofor_main' ;;
  4418. - lf95*) # Lahey Fortran 8.1
  4419. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4420. - tmp_sharedflag='--shared' ;;
  4421. - xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  4422. - tmp_sharedflag='-qmkshrobj'
  4423. - tmp_addflag= ;;
  4424. - esac
  4425. - case `$CC -V 2>&1 | sed 5q` in
  4426. - *Sun\ C*) # Sun C 5.9
  4427. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  4428. - _LT_TAGVAR(compiler_needs_object, $1)=yes
  4429. - tmp_sharedflag='-G' ;;
  4430. - *Sun\ F*) # Sun Fortran 8.3
  4431. - tmp_sharedflag='-G' ;;
  4432. - esac
  4433. - _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4434. -
  4435. - if test "x$supports_anon_versioning" = xyes; then
  4436. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  4437. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  4438. - echo "local: *; };" >> $output_objdir/$libname.ver~
  4439. - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  4440. - fi
  4441. -
  4442. - case $cc_basename in
  4443. - xlf*)
  4444. - # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  4445. - _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
  4446. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  4447. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  4448. - _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  4449. - if test "x$supports_anon_versioning" = xyes; then
  4450. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  4451. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  4452. - echo "local: *; };" >> $output_objdir/$libname.ver~
  4453. - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  4454. - fi
  4455. - ;;
  4456. - esac
  4457. - else
  4458. - _LT_TAGVAR(ld_shlibs, $1)=no
  4459. - fi
  4460. - ;;
  4461. -
  4462. - netbsd* | netbsdelf*-gnu)
  4463. - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  4464. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  4465. - wlarc=
  4466. - else
  4467. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4468. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4469. - fi
  4470. - ;;
  4471. -
  4472. - solaris*)
  4473. - if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  4474. - _LT_TAGVAR(ld_shlibs, $1)=no
  4475. - cat <<_LT_EOF 1>&2
  4476. -
  4477. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  4478. -*** create shared libraries on Solaris systems. Therefore, libtool
  4479. -*** is disabling shared libraries support. We urge you to upgrade GNU
  4480. -*** binutils to release 2.9.1 or newer. Another option is to modify
  4481. -*** your PATH or compiler configuration so that the native linker is
  4482. -*** used, and then restart.
  4483. -
  4484. -_LT_EOF
  4485. - elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4486. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4487. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4488. - else
  4489. - _LT_TAGVAR(ld_shlibs, $1)=no
  4490. - fi
  4491. - ;;
  4492. -
  4493. - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  4494. - case `$LD -v 2>&1` in
  4495. - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
  4496. - _LT_TAGVAR(ld_shlibs, $1)=no
  4497. - cat <<_LT_EOF 1>&2
  4498. -
  4499. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  4500. -*** reliably create shared libraries on SCO systems. Therefore, libtool
  4501. -*** is disabling shared libraries support. We urge you to upgrade GNU
  4502. -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  4503. -*** your PATH or compiler configuration so that the native linker is
  4504. -*** used, and then restart.
  4505. -
  4506. -_LT_EOF
  4507. - ;;
  4508. - *)
  4509. - # For security reasons, it is highly recommended that you always
  4510. - # use absolute paths for naming shared libraries, and exclude the
  4511. - # DT_RUNPATH tag from executables and libraries. But doing so
  4512. - # requires that you compile everything twice, which is a pain.
  4513. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4514. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4515. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4516. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4517. - else
  4518. - _LT_TAGVAR(ld_shlibs, $1)=no
  4519. - fi
  4520. - ;;
  4521. - esac
  4522. - ;;
  4523. -
  4524. - sunos4*)
  4525. - _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  4526. - wlarc=
  4527. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4528. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4529. - ;;
  4530. -
  4531. - *)
  4532. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4533. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4534. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4535. - else
  4536. - _LT_TAGVAR(ld_shlibs, $1)=no
  4537. - fi
  4538. - ;;
  4539. - esac
  4540. -
  4541. - if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
  4542. - runpath_var=
  4543. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  4544. - _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  4545. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4546. - fi
  4547. - else
  4548. - # PORTME fill in a description of your system's linker (not GNU ld)
  4549. - case $host_os in
  4550. - aix3*)
  4551. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4552. - _LT_TAGVAR(always_export_symbols, $1)=yes
  4553. - _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  4554. - # Note: this linker hardcodes the directories in LIBPATH if there
  4555. - # are no directories specified by -L.
  4556. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4557. - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  4558. - # Neither direct hardcoding nor static linking is supported with a
  4559. - # broken collect2.
  4560. - _LT_TAGVAR(hardcode_direct, $1)=unsupported
  4561. - fi
  4562. - ;;
  4563. -
  4564. - aix[[4-9]]*)
  4565. - if test "$host_cpu" = ia64; then
  4566. - # On IA64, the linker does run time linking by default, so we don't
  4567. - # have to do anything special.
  4568. - aix_use_runtimelinking=no
  4569. - exp_sym_flag='-Bexport'
  4570. - no_entry_flag=""
  4571. - else
  4572. - # If we're using GNU nm, then we don't want the "-C" option.
  4573. - # -C means demangle to AIX nm, but means don't demangle with GNU nm
  4574. - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  4575. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  4576. - else
  4577. - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  4578. - fi
  4579. - aix_use_runtimelinking=no
  4580. -
  4581. - # Test if we are trying to use run time linking or normal
  4582. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  4583. - # need to do runtime linking.
  4584. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  4585. - for ld_flag in $LDFLAGS; do
  4586. - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  4587. - aix_use_runtimelinking=yes
  4588. - break
  4589. - fi
  4590. - done
  4591. - ;;
  4592. - esac
  4593. -
  4594. - exp_sym_flag='-bexport'
  4595. - no_entry_flag='-bnoentry'
  4596. - fi
  4597. -
  4598. - # When large executables or shared objects are built, AIX ld can
  4599. - # have problems creating the table of contents. If linking a library
  4600. - # or program results in "error TOC overflow" add -mminimal-toc to
  4601. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  4602. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  4603. -
  4604. - _LT_TAGVAR(archive_cmds, $1)=''
  4605. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4606. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4607. - _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  4608. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  4609. - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  4610. -
  4611. - if test "$GCC" = yes; then
  4612. - case $host_os in aix4.[[012]]|aix4.[[012]].*)
  4613. - # We only want to do this on AIX 4.2 and lower, the check
  4614. - # below for broken collect2 doesn't work under 4.3+
  4615. - collect2name=`${CC} -print-prog-name=collect2`
  4616. - if test -f "$collect2name" &&
  4617. - strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  4618. - then
  4619. - # We have reworked collect2
  4620. - :
  4621. - else
  4622. - # We have old collect2
  4623. - _LT_TAGVAR(hardcode_direct, $1)=unsupported
  4624. - # It fails to find uninstalled libraries when the uninstalled
  4625. - # path is not listed in the libpath. Setting hardcode_minus_L
  4626. - # to unsupported forces relinking
  4627. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4628. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4629. - _LT_TAGVAR(hardcode_libdir_separator, $1)=
  4630. - fi
  4631. - ;;
  4632. - esac
  4633. - shared_flag='-shared'
  4634. - if test "$aix_use_runtimelinking" = yes; then
  4635. - shared_flag="$shared_flag "'${wl}-G'
  4636. - fi
  4637. - _LT_TAGVAR(link_all_deplibs, $1)=no
  4638. - else
  4639. - # not using gcc
  4640. - if test "$host_cpu" = ia64; then
  4641. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  4642. - # chokes on -Wl,-G. The following line is correct:
  4643. - shared_flag='-G'
  4644. - else
  4645. - if test "$aix_use_runtimelinking" = yes; then
  4646. - shared_flag='${wl}-G'
  4647. - else
  4648. - shared_flag='${wl}-bM:SRE'
  4649. - fi
  4650. - fi
  4651. - fi
  4652. -
  4653. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  4654. - # It seems that -bexpall does not export symbols beginning with
  4655. - # underscore (_), so it is better to generate a list of symbols to export.
  4656. - _LT_TAGVAR(always_export_symbols, $1)=yes
  4657. - if test "$aix_use_runtimelinking" = yes; then
  4658. - # Warning - without using the other runtime loading flags (-brtl),
  4659. - # -berok will link without error, but may produce a broken library.
  4660. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  4661. - # Determine the default libpath from the value encoded in an
  4662. - # empty executable.
  4663. - _LT_SYS_MODULE_PATH_AIX
  4664. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  4665. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  4666. - else
  4667. - if test "$host_cpu" = ia64; then
  4668. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  4669. - _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  4670. - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  4671. - else
  4672. - # Determine the default libpath from the value encoded in an
  4673. - # empty executable.
  4674. - _LT_SYS_MODULE_PATH_AIX
  4675. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  4676. - # Warning - without using the other run time loading flags,
  4677. - # -berok will link without error, but may produce a broken library.
  4678. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  4679. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  4680. - # Exported symbols can be pulled into shared objects from archives
  4681. - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  4682. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  4683. - # This is similar to how AIX traditionally builds its shared libraries.
  4684. - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  4685. - fi
  4686. - fi
  4687. - ;;
  4688. -
  4689. - amigaos*)
  4690. - case $host_cpu in
  4691. - powerpc)
  4692. - # see comment about AmigaOS4 .so support
  4693. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4694. - _LT_TAGVAR(archive_expsym_cmds, $1)=''
  4695. - ;;
  4696. - m68k)
  4697. - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  4698. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4699. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4700. - ;;
  4701. - esac
  4702. - ;;
  4703. -
  4704. - bsdi[[45]]*)
  4705. - _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  4706. - ;;
  4707. -
  4708. - cygwin* | mingw* | pw32* | cegcc*)
  4709. - # When not using gcc, we currently assume that we are using
  4710. - # Microsoft Visual C++.
  4711. - # hardcode_libdir_flag_spec is actually meaningless, as there is
  4712. - # no search path for DLLs.
  4713. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  4714. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4715. - # Tell ltmain to make .lib files, not .a files.
  4716. - libext=lib
  4717. - # Tell ltmain to make .dll files, not .so files.
  4718. - shrext_cmds=".dll"
  4719. - # FIXME: Setting linknames here is a bad hack.
  4720. - _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  4721. - # The linker will automatically build a .lib file if we build a DLL.
  4722. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  4723. - # FIXME: Should let the user specify the lib program.
  4724. - _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  4725. - _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  4726. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  4727. - ;;
  4728. -
  4729. - darwin* | rhapsody*)
  4730. - _LT_DARWIN_LINKER_FEATURES($1)
  4731. - ;;
  4732. -
  4733. - dgux*)
  4734. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  4735. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4736. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4737. - ;;
  4738. -
  4739. - freebsd1*)
  4740. - _LT_TAGVAR(ld_shlibs, $1)=no
  4741. - ;;
  4742. -
  4743. - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  4744. - # support. Future versions do this automatically, but an explicit c++rt0.o
  4745. - # does not break anything, and helps significantly (at the cost of a little
  4746. - # extra space).
  4747. - freebsd2.2*)
  4748. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  4749. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4750. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4751. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4752. - ;;
  4753. -
  4754. - # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  4755. - freebsd2*)
  4756. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  4757. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4758. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4759. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4760. - ;;
  4761. -
  4762. - # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  4763. - freebsd* | dragonfly*)
  4764. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  4765. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4766. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4767. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4768. - ;;
  4769. -
  4770. - hpux9*)
  4771. - if test "$GCC" = yes; then
  4772. - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  4773. - else
  4774. - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  4775. - fi
  4776. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4777. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4778. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4779. -
  4780. - # hardcode_minus_L: Not really in the search PATH,
  4781. - # but as the default location of the library.
  4782. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4783. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4784. - ;;
  4785. -
  4786. - hpux10*)
  4787. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  4788. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  4789. - else
  4790. - _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  4791. - fi
  4792. - if test "$with_gnu_ld" = no; then
  4793. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4794. - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  4795. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4796. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4797. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4798. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4799. - # hardcode_minus_L: Not really in the search PATH,
  4800. - # but as the default location of the library.
  4801. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4802. - fi
  4803. - ;;
  4804. -
  4805. - hpux11*)
  4806. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  4807. - case $host_cpu in
  4808. - hppa*64*)
  4809. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4810. - ;;
  4811. - ia64*)
  4812. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  4813. - ;;
  4814. - *)
  4815. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  4816. - ;;
  4817. - esac
  4818. - else
  4819. - case $host_cpu in
  4820. - hppa*64*)
  4821. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4822. - ;;
  4823. - ia64*)
  4824. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  4825. - ;;
  4826. - *)
  4827. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  4828. - ;;
  4829. - esac
  4830. - fi
  4831. - if test "$with_gnu_ld" = no; then
  4832. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4833. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4834. -
  4835. - case $host_cpu in
  4836. - hppa*64*|ia64*)
  4837. - _LT_TAGVAR(hardcode_direct, $1)=no
  4838. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4839. - ;;
  4840. - *)
  4841. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4842. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4843. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4844. -
  4845. - # hardcode_minus_L: Not really in the search PATH,
  4846. - # but as the default location of the library.
  4847. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4848. - ;;
  4849. - esac
  4850. - fi
  4851. - ;;
  4852. -
  4853. - irix5* | irix6* | nonstopux*)
  4854. - if test "$GCC" = yes; then
  4855. - _LT_TAGVAR(archive_cmds, $1)='$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 -o $lib'
  4856. - # Try to use the -exported_symbol ld option, if it does not
  4857. - # work, assume that -exports_file does not work either and
  4858. - # implicitly export all symbols.
  4859. - save_LDFLAGS="$LDFLAGS"
  4860. - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  4861. - AC_LINK_IFELSE(int foo(void) {},
  4862. - _LT_TAGVAR(archive_expsym_cmds, $1)='$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'
  4863. - )
  4864. - LDFLAGS="$save_LDFLAGS"
  4865. - else
  4866. - _LT_TAGVAR(archive_cmds, $1)='$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'
  4867. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  4868. - fi
  4869. - _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  4870. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4871. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4872. - _LT_TAGVAR(inherit_rpath, $1)=yes
  4873. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  4874. - ;;
  4875. -
  4876. - netbsd* | netbsdelf*-gnu)
  4877. - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  4878. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  4879. - else
  4880. - _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  4881. - fi
  4882. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4883. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4884. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4885. - ;;
  4886. -
  4887. - newsos6)
  4888. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  4889. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4890. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4891. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4892. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4893. - ;;
  4894. -
  4895. - *nto* | *qnx*)
  4896. - ;;
  4897. -
  4898. - openbsd*)
  4899. - if test -f /usr/libexec/ld.so; then
  4900. - _LT_TAGVAR(hardcode_direct, $1)=yes
  4901. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4902. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4903. - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4904. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  4905. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  4906. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4907. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4908. - else
  4909. - case $host_os in
  4910. - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  4911. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  4912. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4913. - ;;
  4914. - *)
  4915. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  4916. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4917. - ;;
  4918. - esac
  4919. - fi
  4920. - else
  4921. - _LT_TAGVAR(ld_shlibs, $1)=no
  4922. - fi
  4923. - ;;
  4924. -
  4925. - os2*)
  4926. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4927. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4928. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4929. - _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  4930. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  4931. - ;;
  4932. -
  4933. - osf3*)
  4934. - if test "$GCC" = yes; then
  4935. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  4936. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $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 -o $lib'
  4937. - else
  4938. - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  4939. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  4940. - fi
  4941. - _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  4942. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4943. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4944. - ;;
  4945. -
  4946. - osf4* | osf5*) # as osf3* with the addition of -msym flag
  4947. - if test "$GCC" = yes; then
  4948. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  4949. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  4950. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4951. - else
  4952. - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  4953. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  4954. - _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  4955. - $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  4956. -
  4957. - # Both c and cxx compiler support -rpath directly
  4958. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  4959. - fi
  4960. - _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  4961. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4962. - ;;
  4963. -
  4964. - solaris*)
  4965. - _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
  4966. - if test "$GCC" = yes; then
  4967. - wlarc='${wl}'
  4968. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4969. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  4970. - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  4971. - else
  4972. - case `$CC -V 2>&1` in
  4973. - *"Compilers 5.0"*)
  4974. - wlarc=''
  4975. - _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  4976. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  4977. - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  4978. - ;;
  4979. - *)
  4980. - wlarc='${wl}'
  4981. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  4982. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  4983. - $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  4984. - ;;
  4985. - esac
  4986. - fi
  4987. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4988. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4989. - case $host_os in
  4990. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  4991. - *)
  4992. - # The compiler driver will combine and reorder linker options,
  4993. - # but understands `-z linker_flag'. GCC discards it without `$wl',
  4994. - # but is careful enough not to reorder.
  4995. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  4996. - if test "$GCC" = yes; then
  4997. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  4998. - else
  4999. - _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  5000. - fi
  5001. - ;;
  5002. - esac
  5003. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  5004. - ;;
  5005. -
  5006. - sunos4*)
  5007. - if test "x$host_vendor" = xsequent; then
  5008. - # Use $CC to link under sequent, because it throws in some extra .o
  5009. - # files that make .init and .fini sections work.
  5010. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  5011. - else
  5012. - _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  5013. - fi
  5014. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5015. - _LT_TAGVAR(hardcode_direct, $1)=yes
  5016. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  5017. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5018. - ;;
  5019. -
  5020. - sysv4)
  5021. - case $host_vendor in
  5022. - sni)
  5023. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5024. - _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
  5025. - ;;
  5026. - siemens)
  5027. - ## LD is ld it makes a PLAMLIB
  5028. - ## CC just makes a GrossModule.
  5029. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  5030. - _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
  5031. - _LT_TAGVAR(hardcode_direct, $1)=no
  5032. - ;;
  5033. - motorola)
  5034. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5035. - _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
  5036. - ;;
  5037. - esac
  5038. - runpath_var='LD_RUN_PATH'
  5039. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5040. - ;;
  5041. -
  5042. - sysv4.3*)
  5043. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5044. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5045. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
  5046. - ;;
  5047. -
  5048. - sysv4*MP*)
  5049. - if test -d /usr/nec; then
  5050. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5051. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5052. - runpath_var=LD_RUN_PATH
  5053. - hardcode_runpath_var=yes
  5054. - _LT_TAGVAR(ld_shlibs, $1)=yes
  5055. - fi
  5056. - ;;
  5057. -
  5058. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  5059. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  5060. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5061. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5062. - runpath_var='LD_RUN_PATH'
  5063. -
  5064. - if test "$GCC" = yes; then
  5065. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5066. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5067. - else
  5068. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5069. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5070. - fi
  5071. - ;;
  5072. -
  5073. - sysv5* | sco3.2v5* | sco5v6*)
  5074. - # Note: We can NOT use -z defs as we might desire, because we do not
  5075. - # link with -lc, and that would cause any symbols used from libc to
  5076. - # always be unresolved, which means just about no library would
  5077. - # ever link correctly. If we're not using GNU ld we use -z text
  5078. - # though, which does catch some bad symbols but isn't as heavy-handed
  5079. - # as -z defs.
  5080. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  5081. - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  5082. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5083. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5084. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  5085. - _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  5086. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  5087. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  5088. - runpath_var='LD_RUN_PATH'
  5089. -
  5090. - if test "$GCC" = yes; then
  5091. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5092. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5093. - else
  5094. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5095. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5096. - fi
  5097. - ;;
  5098. -
  5099. - uts4*)
  5100. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5101. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5102. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5103. - ;;
  5104. -
  5105. - *)
  5106. - _LT_TAGVAR(ld_shlibs, $1)=no
  5107. - ;;
  5108. - esac
  5109. -
  5110. - if test x$host_vendor = xsni; then
  5111. - case $host in
  5112. - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  5113. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
  5114. - ;;
  5115. - esac
  5116. - fi
  5117. - fi
  5118. -])
  5119. -AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  5120. -test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  5121. -
  5122. -_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
  5123. -
  5124. -_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
  5125. -_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
  5126. -_LT_DECL([], [extract_expsyms_cmds], [2],
  5127. - [The commands to extract the exported symbol list from a shared archive])
  5128. -
  5129. -#
  5130. -# Do we need to explicitly link libc?
  5131. -#
  5132. -case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
  5133. -x|xyes)
  5134. - # Assume -lc should be added
  5135. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  5136. -
  5137. - if test "$enable_shared" = yes && test "$GCC" = yes; then
  5138. - case $_LT_TAGVAR(archive_cmds, $1) in
  5139. - *'~'*)
  5140. - # FIXME: we may have to deal with multi-command sequences.
  5141. - ;;
  5142. - '$CC '*)
  5143. - # Test whether the compiler implicitly links with -lc since on some
  5144. - # systems, -lgcc has to come before -lc. If gcc already passes -lc
  5145. - # to ld, don't add -lc before -lgcc.
  5146. - AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  5147. - $RM conftest*
  5148. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  5149. -
  5150. - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  5151. - soname=conftest
  5152. - lib=conftest
  5153. - libobjs=conftest.$ac_objext
  5154. - deplibs=
  5155. - wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  5156. - pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  5157. - compiler_flags=-v
  5158. - linker_flags=-v
  5159. - verstring=
  5160. - output_objdir=.
  5161. - libname=conftest
  5162. - lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  5163. - _LT_TAGVAR(allow_undefined_flag, $1)=
  5164. - if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  5165. - then
  5166. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5167. - else
  5168. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  5169. - fi
  5170. - _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  5171. - else
  5172. - cat conftest.err 1>&5
  5173. - fi
  5174. - $RM conftest*
  5175. - AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
  5176. - ;;
  5177. - esac
  5178. - fi
  5179. - ;;
  5180. -esac
  5181. -
  5182. -_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
  5183. - [Whether or not to add -lc for building shared libraries])
  5184. -_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
  5185. - [enable_shared_with_static_runtimes], [0],
  5186. - [Whether or not to disallow shared libs when runtime libs are static])
  5187. -_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
  5188. - [Compiler flag to allow reflexive dlopens])
  5189. -_LT_TAGDECL([], [whole_archive_flag_spec], [1],
  5190. - [Compiler flag to generate shared objects directly from archives])
  5191. -_LT_TAGDECL([], [compiler_needs_object], [1],
  5192. - [Whether the compiler copes with passing no objects directly])
  5193. -_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
  5194. - [Create an old-style archive from a shared archive])
  5195. -_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
  5196. - [Create a temporary old-style archive to link instead of a shared archive])
  5197. -_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
  5198. -_LT_TAGDECL([], [archive_expsym_cmds], [2])
  5199. -_LT_TAGDECL([], [module_cmds], [2],
  5200. - [Commands used to build a loadable module if different from building
  5201. - a shared archive.])
  5202. -_LT_TAGDECL([], [module_expsym_cmds], [2])
  5203. -_LT_TAGDECL([], [with_gnu_ld], [1],
  5204. - [Whether we are building with GNU ld or not])
  5205. -_LT_TAGDECL([], [allow_undefined_flag], [1],
  5206. - [Flag that allows shared libraries with undefined symbols to be built])
  5207. -_LT_TAGDECL([], [no_undefined_flag], [1],
  5208. - [Flag that enforces no undefined symbols])
  5209. -_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
  5210. - [Flag to hardcode $libdir into a binary during linking.
  5211. - This must work even if $libdir does not exist])
  5212. -_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
  5213. - [[If ld is used when linking, flag to hardcode $libdir into a binary
  5214. - during linking. This must work even if $libdir does not exist]])
  5215. -_LT_TAGDECL([], [hardcode_libdir_separator], [1],
  5216. - [Whether we need a single "-rpath" flag with a separated argument])
  5217. -_LT_TAGDECL([], [hardcode_direct], [0],
  5218. - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  5219. - DIR into the resulting binary])
  5220. -_LT_TAGDECL([], [hardcode_direct_absolute], [0],
  5221. - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  5222. - DIR into the resulting binary and the resulting library dependency is
  5223. - "absolute", i.e impossible to change by setting ${shlibpath_var} if the
  5224. - library is relocated])
  5225. -_LT_TAGDECL([], [hardcode_minus_L], [0],
  5226. - [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  5227. - into the resulting binary])
  5228. -_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
  5229. - [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  5230. - into the resulting binary])
  5231. -_LT_TAGDECL([], [hardcode_automatic], [0],
  5232. - [Set to "yes" if building a shared library automatically hardcodes DIR
  5233. - into the library and all subsequent libraries and executables linked
  5234. - against it])
  5235. -_LT_TAGDECL([], [inherit_rpath], [0],
  5236. - [Set to yes if linker adds runtime paths of dependent libraries
  5237. - to runtime path list])
  5238. -_LT_TAGDECL([], [link_all_deplibs], [0],
  5239. - [Whether libtool must link a program against all its dependency libraries])
  5240. -_LT_TAGDECL([], [fix_srcfile_path], [1],
  5241. - [Fix the shell variable $srcfile for the compiler])
  5242. -_LT_TAGDECL([], [always_export_symbols], [0],
  5243. - [Set to "yes" if exported symbols are required])
  5244. -_LT_TAGDECL([], [export_symbols_cmds], [2],
  5245. - [The commands to list exported symbols])
  5246. -_LT_TAGDECL([], [exclude_expsyms], [1],
  5247. - [Symbols that should not be listed in the preloaded symbols])
  5248. -_LT_TAGDECL([], [include_expsyms], [1],
  5249. - [Symbols that must always be exported])
  5250. -_LT_TAGDECL([], [prelink_cmds], [2],
  5251. - [Commands necessary for linking programs (against libraries) with templates])
  5252. -_LT_TAGDECL([], [file_list_spec], [1],
  5253. - [Specify filename containing input files])
  5254. -dnl FIXME: Not yet implemented
  5255. -dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
  5256. -dnl [Compiler flag to generate thread safe objects])
  5257. -])# _LT_LINKER_SHLIBS
  5258. -
  5259. -
  5260. -# _LT_LANG_C_CONFIG([TAG])
  5261. -# ------------------------
  5262. -# Ensure that the configuration variables for a C compiler are suitably
  5263. -# defined. These variables are subsequently used by _LT_CONFIG to write
  5264. -# the compiler configuration to `libtool'.
  5265. -m4_defun([_LT_LANG_C_CONFIG],
  5266. -[m4_require([_LT_DECL_EGREP])dnl
  5267. -lt_save_CC="$CC"
  5268. -AC_LANG_PUSH(C)
  5269. -
  5270. -# Source file extension for C test sources.
  5271. -ac_ext=c
  5272. -
  5273. -# Object file extension for compiled C test sources.
  5274. -objext=o
  5275. -_LT_TAGVAR(objext, $1)=$objext
  5276. -
  5277. -# Code to be used in simple compile tests
  5278. -lt_simple_compile_test_code="int some_variable = 0;"
  5279. -
  5280. -# Code to be used in simple link tests
  5281. -lt_simple_link_test_code='int main(){return(0);}'
  5282. -
  5283. -_LT_TAG_COMPILER
  5284. -# Save the default compiler, since it gets overwritten when the other
  5285. -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  5286. -compiler_DEFAULT=$CC
  5287. -
  5288. -# save warnings/boilerplate of simple test code
  5289. -_LT_COMPILER_BOILERPLATE
  5290. -_LT_LINKER_BOILERPLATE
  5291. -
  5292. -if test -n "$compiler"; then
  5293. - _LT_COMPILER_NO_RTTI($1)
  5294. - _LT_COMPILER_PIC($1)
  5295. - _LT_COMPILER_C_O($1)
  5296. - _LT_COMPILER_FILE_LOCKS($1)
  5297. - _LT_LINKER_SHLIBS($1)
  5298. - _LT_SYS_DYNAMIC_LINKER($1)
  5299. - _LT_LINKER_HARDCODE_LIBPATH($1)
  5300. - LT_SYS_DLOPEN_SELF
  5301. - _LT_CMD_STRIPLIB
  5302. -
  5303. - # Report which library types will actually be built
  5304. - AC_MSG_CHECKING([if libtool supports shared libraries])
  5305. - AC_MSG_RESULT([$can_build_shared])
  5306. -
  5307. - AC_MSG_CHECKING([whether to build shared libraries])
  5308. - test "$can_build_shared" = "no" && enable_shared=no
  5309. -
  5310. - # On AIX, shared libraries and static libraries use the same namespace, and
  5311. - # are all built from PIC.
  5312. - case $host_os in
  5313. - aix3*)
  5314. - test "$enable_shared" = yes && enable_static=no
  5315. - if test -n "$RANLIB"; then
  5316. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  5317. - postinstall_cmds='$RANLIB $lib'
  5318. - fi
  5319. - ;;
  5320. -
  5321. - aix[[4-9]]*)
  5322. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  5323. - test "$enable_shared" = yes && enable_static=no
  5324. - fi
  5325. - ;;
  5326. - esac
  5327. - AC_MSG_RESULT([$enable_shared])
  5328. -
  5329. - AC_MSG_CHECKING([whether to build static libraries])
  5330. - # Make sure either enable_shared or enable_static is yes.
  5331. - test "$enable_shared" = yes || enable_static=yes
  5332. - AC_MSG_RESULT([$enable_static])
  5333. -
  5334. - _LT_CONFIG($1)
  5335. -fi
  5336. -AC_LANG_POP
  5337. -CC="$lt_save_CC"
  5338. -])# _LT_LANG_C_CONFIG
  5339. -
  5340. -
  5341. -# _LT_PROG_CXX
  5342. -# ------------
  5343. -# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
  5344. -# compiler, we have our own version here.
  5345. -m4_defun([_LT_PROG_CXX],
  5346. -[
  5347. -pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
  5348. -AC_PROG_CXX
  5349. -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  5350. - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  5351. - (test "X$CXX" != "Xg++"))) ; then
  5352. - AC_PROG_CXXCPP
  5353. -else
  5354. - _lt_caught_CXX_error=yes
  5355. -fi
  5356. -popdef([AC_MSG_ERROR])
  5357. -])# _LT_PROG_CXX
  5358. -
  5359. -dnl aclocal-1.4 backwards compatibility:
  5360. -dnl AC_DEFUN([_LT_PROG_CXX], [])
  5361. -
  5362. -
  5363. -# _LT_LANG_CXX_CONFIG([TAG])
  5364. -# --------------------------
  5365. -# Ensure that the configuration variables for a C++ compiler are suitably
  5366. -# defined. These variables are subsequently used by _LT_CONFIG to write
  5367. -# the compiler configuration to `libtool'.
  5368. -m4_defun([_LT_LANG_CXX_CONFIG],
  5369. -[AC_REQUIRE([_LT_PROG_CXX])dnl
  5370. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  5371. -m4_require([_LT_DECL_EGREP])dnl
  5372. -
  5373. -AC_LANG_PUSH(C++)
  5374. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5375. -_LT_TAGVAR(allow_undefined_flag, $1)=
  5376. -_LT_TAGVAR(always_export_symbols, $1)=no
  5377. -_LT_TAGVAR(archive_expsym_cmds, $1)=
  5378. -_LT_TAGVAR(compiler_needs_object, $1)=no
  5379. -_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  5380. -_LT_TAGVAR(hardcode_direct, $1)=no
  5381. -_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  5382. -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  5383. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  5384. -_LT_TAGVAR(hardcode_libdir_separator, $1)=
  5385. -_LT_TAGVAR(hardcode_minus_L, $1)=no
  5386. -_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  5387. -_LT_TAGVAR(hardcode_automatic, $1)=no
  5388. -_LT_TAGVAR(inherit_rpath, $1)=no
  5389. -_LT_TAGVAR(module_cmds, $1)=
  5390. -_LT_TAGVAR(module_expsym_cmds, $1)=
  5391. -_LT_TAGVAR(link_all_deplibs, $1)=unknown
  5392. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  5393. -_LT_TAGVAR(no_undefined_flag, $1)=
  5394. -_LT_TAGVAR(whole_archive_flag_spec, $1)=
  5395. -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  5396. -
  5397. -# Source file extension for C++ test sources.
  5398. -ac_ext=cpp
  5399. -
  5400. -# Object file extension for compiled C++ test sources.
  5401. -objext=o
  5402. -_LT_TAGVAR(objext, $1)=$objext
  5403. -
  5404. -# No sense in running all these tests if we already determined that
  5405. -# the CXX compiler isn't working. Some variables (like enable_shared)
  5406. -# are currently assumed to apply to all compilers on this platform,
  5407. -# and will be corrupted by setting them based on a non-working compiler.
  5408. -if test "$_lt_caught_CXX_error" != yes; then
  5409. - # Code to be used in simple compile tests
  5410. - lt_simple_compile_test_code="int some_variable = 0;"
  5411. -
  5412. - # Code to be used in simple link tests
  5413. - lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
  5414. -
  5415. - # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  5416. - _LT_TAG_COMPILER
  5417. -
  5418. - # save warnings/boilerplate of simple test code
  5419. - _LT_COMPILER_BOILERPLATE
  5420. - _LT_LINKER_BOILERPLATE
  5421. -
  5422. - # Allow CC to be a program name with arguments.
  5423. - lt_save_CC=$CC
  5424. - lt_save_LD=$LD
  5425. - lt_save_GCC=$GCC
  5426. - GCC=$GXX
  5427. - lt_save_with_gnu_ld=$with_gnu_ld
  5428. - lt_save_path_LD=$lt_cv_path_LD
  5429. - if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  5430. - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  5431. - else
  5432. - $as_unset lt_cv_prog_gnu_ld
  5433. - fi
  5434. - if test -n "${lt_cv_path_LDCXX+set}"; then
  5435. - lt_cv_path_LD=$lt_cv_path_LDCXX
  5436. - else
  5437. - $as_unset lt_cv_path_LD
  5438. - fi
  5439. - test -z "${LDCXX+set}" || LD=$LDCXX
  5440. - CC=${CXX-"c++"}
  5441. - compiler=$CC
  5442. - _LT_TAGVAR(compiler, $1)=$CC
  5443. - _LT_CC_BASENAME([$compiler])
  5444. -
  5445. - if test -n "$compiler"; then
  5446. - # We don't want -fno-exception when compiling C++ code, so set the
  5447. - # no_builtin_flag separately
  5448. - if test "$GXX" = yes; then
  5449. - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  5450. - else
  5451. - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  5452. - fi
  5453. -
  5454. - if test "$GXX" = yes; then
  5455. - # Set up default GNU C++ configuration
  5456. -
  5457. - LT_PATH_LD
  5458. -
  5459. - # Check if GNU C++ uses GNU ld as the underlying linker, since the
  5460. - # archiving commands below assume that GNU ld is being used.
  5461. - if test "$with_gnu_ld" = yes; then
  5462. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5463. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  5464. -
  5465. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5466. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5467. -
  5468. - # If archive_cmds runs LD, not CC, wlarc should be empty
  5469. - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  5470. - # investigate it a little bit more. (MM)
  5471. - wlarc='${wl}'
  5472. -
  5473. - # ancient GNU ld didn't support --whole-archive et. al.
  5474. - if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  5475. - $GREP 'no-whole-archive' > /dev/null; then
  5476. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  5477. - else
  5478. - _LT_TAGVAR(whole_archive_flag_spec, $1)=
  5479. - fi
  5480. - else
  5481. - with_gnu_ld=no
  5482. - wlarc=
  5483. -
  5484. - # A generic and very simple default shared library creation
  5485. - # command for GNU C++ for the case where it uses the native
  5486. - # linker, instead of GNU ld. If possible, this setting should
  5487. - # overridden to take advantage of the native linker features on
  5488. - # the platform it is being used on.
  5489. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  5490. - fi
  5491. -
  5492. - # Commands to make compiler produce verbose output that lists
  5493. - # what "hidden" libraries, object files and flags are used when
  5494. - # linking a shared library.
  5495. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  5496. -
  5497. - else
  5498. - GXX=no
  5499. - with_gnu_ld=no
  5500. - wlarc=
  5501. - fi
  5502. -
  5503. - # PORTME: fill in a description of your system's C++ link characteristics
  5504. - AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  5505. - _LT_TAGVAR(ld_shlibs, $1)=yes
  5506. - case $host_os in
  5507. - aix3*)
  5508. - # FIXME: insert proper C++ library support
  5509. - _LT_TAGVAR(ld_shlibs, $1)=no
  5510. - ;;
  5511. - aix[[4-9]]*)
  5512. - if test "$host_cpu" = ia64; then
  5513. - # On IA64, the linker does run time linking by default, so we don't
  5514. - # have to do anything special.
  5515. - aix_use_runtimelinking=no
  5516. - exp_sym_flag='-Bexport'
  5517. - no_entry_flag=""
  5518. - else
  5519. - aix_use_runtimelinking=no
  5520. -
  5521. - # Test if we are trying to use run time linking or normal
  5522. - # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  5523. - # need to do runtime linking.
  5524. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  5525. - for ld_flag in $LDFLAGS; do
  5526. - case $ld_flag in
  5527. - *-brtl*)
  5528. - aix_use_runtimelinking=yes
  5529. - break
  5530. - ;;
  5531. - esac
  5532. - done
  5533. - ;;
  5534. - esac
  5535. -
  5536. - exp_sym_flag='-bexport'
  5537. - no_entry_flag='-bnoentry'
  5538. - fi
  5539. -
  5540. - # When large executables or shared objects are built, AIX ld can
  5541. - # have problems creating the table of contents. If linking a library
  5542. - # or program results in "error TOC overflow" add -mminimal-toc to
  5543. - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  5544. - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  5545. -
  5546. - _LT_TAGVAR(archive_cmds, $1)=''
  5547. - _LT_TAGVAR(hardcode_direct, $1)=yes
  5548. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  5549. - _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  5550. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  5551. - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  5552. -
  5553. - if test "$GXX" = yes; then
  5554. - case $host_os in aix4.[[012]]|aix4.[[012]].*)
  5555. - # We only want to do this on AIX 4.2 and lower, the check
  5556. - # below for broken collect2 doesn't work under 4.3+
  5557. - collect2name=`${CC} -print-prog-name=collect2`
  5558. - if test -f "$collect2name" &&
  5559. - strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  5560. - then
  5561. - # We have reworked collect2
  5562. - :
  5563. - else
  5564. - # We have old collect2
  5565. - _LT_TAGVAR(hardcode_direct, $1)=unsupported
  5566. - # It fails to find uninstalled libraries when the uninstalled
  5567. - # path is not listed in the libpath. Setting hardcode_minus_L
  5568. - # to unsupported forces relinking
  5569. - _LT_TAGVAR(hardcode_minus_L, $1)=yes
  5570. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5571. - _LT_TAGVAR(hardcode_libdir_separator, $1)=
  5572. - fi
  5573. - esac
  5574. - shared_flag='-shared'
  5575. - if test "$aix_use_runtimelinking" = yes; then
  5576. - shared_flag="$shared_flag "'${wl}-G'
  5577. - fi
  5578. - else
  5579. - # not using gcc
  5580. - if test "$host_cpu" = ia64; then
  5581. - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  5582. - # chokes on -Wl,-G. The following line is correct:
  5583. - shared_flag='-G'
  5584. - else
  5585. - if test "$aix_use_runtimelinking" = yes; then
  5586. - shared_flag='${wl}-G'
  5587. - else
  5588. - shared_flag='${wl}-bM:SRE'
  5589. - fi
  5590. - fi
  5591. - fi
  5592. -
  5593. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  5594. - # It seems that -bexpall does not export symbols beginning with
  5595. - # underscore (_), so it is better to generate a list of symbols to
  5596. - # export.
  5597. - _LT_TAGVAR(always_export_symbols, $1)=yes
  5598. - if test "$aix_use_runtimelinking" = yes; then
  5599. - # Warning - without using the other runtime loading flags (-brtl),
  5600. - # -berok will link without error, but may produce a broken library.
  5601. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  5602. - # Determine the default libpath from the value encoded in an empty
  5603. - # executable.
  5604. - _LT_SYS_MODULE_PATH_AIX
  5605. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  5606. -
  5607. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  5608. - else
  5609. - if test "$host_cpu" = ia64; then
  5610. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  5611. - _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  5612. - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  5613. - else
  5614. - # Determine the default libpath from the value encoded in an
  5615. - # empty executable.
  5616. - _LT_SYS_MODULE_PATH_AIX
  5617. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  5618. - # Warning - without using the other run time loading flags,
  5619. - # -berok will link without error, but may produce a broken library.
  5620. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  5621. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  5622. - # Exported symbols can be pulled into shared objects from archives
  5623. - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  5624. - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  5625. - # This is similar to how AIX traditionally builds its shared
  5626. - # libraries.
  5627. - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  5628. - fi
  5629. - fi
  5630. - ;;
  5631. -
  5632. - beos*)
  5633. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  5634. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  5635. - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  5636. - # support --undefined. This deserves some investigation. FIXME
  5637. - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5638. - else
  5639. - _LT_TAGVAR(ld_shlibs, $1)=no
  5640. - fi
  5641. - ;;
  5642. -
  5643. - chorus*)
  5644. - case $cc_basename in
  5645. - *)
  5646. - # FIXME: insert proper C++ library support
  5647. - _LT_TAGVAR(ld_shlibs, $1)=no
  5648. - ;;
  5649. - esac
  5650. - ;;
  5651. -
  5652. - cygwin* | mingw* | pw32* | cegcc*)
  5653. - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  5654. - # as there is no search path for DLLs.
  5655. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5656. - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  5657. - _LT_TAGVAR(always_export_symbols, $1)=no
  5658. - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  5659. -
  5660. - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  5661. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  5662. - # If the export-symbols file already is a .def file (1st line
  5663. - # is EXPORTS), use it as is; otherwise, prepend...
  5664. - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  5665. - cp $export_symbols $output_objdir/$soname.def;
  5666. - else
  5667. - echo EXPORTS > $output_objdir/$soname.def;
  5668. - cat $export_symbols >> $output_objdir/$soname.def;
  5669. - fi~
  5670. - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  5671. - else
  5672. - _LT_TAGVAR(ld_shlibs, $1)=no
  5673. - fi
  5674. - ;;
  5675. - darwin* | rhapsody*)
  5676. - _LT_DARWIN_LINKER_FEATURES($1)
  5677. - ;;
  5678. -
  5679. - dgux*)
  5680. - case $cc_basename in
  5681. - ec++*)
  5682. - # FIXME: insert proper C++ library support
  5683. - _LT_TAGVAR(ld_shlibs, $1)=no
  5684. - ;;
  5685. - ghcx*)
  5686. - # Green Hills C++ Compiler
  5687. - # FIXME: insert proper C++ library support
  5688. - _LT_TAGVAR(ld_shlibs, $1)=no
  5689. - ;;
  5690. - *)
  5691. - # FIXME: insert proper C++ library support
  5692. - _LT_TAGVAR(ld_shlibs, $1)=no
  5693. - ;;
  5694. - esac
  5695. - ;;
  5696. -
  5697. - freebsd[[12]]*)
  5698. - # C++ shared libraries reported to be fairly broken before
  5699. - # switch to ELF
  5700. - _LT_TAGVAR(ld_shlibs, $1)=no
  5701. - ;;
  5702. -
  5703. - freebsd-elf*)
  5704. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5705. - ;;
  5706. -
  5707. - freebsd* | dragonfly*)
  5708. - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  5709. - # conventions
  5710. - _LT_TAGVAR(ld_shlibs, $1)=yes
  5711. - ;;
  5712. -
  5713. - gnu*)
  5714. - ;;
  5715. -
  5716. - hpux9*)
  5717. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  5718. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5719. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5720. - _LT_TAGVAR(hardcode_direct, $1)=yes
  5721. - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  5722. - # but as the default
  5723. - # location of the library.
  5724. -
  5725. - case $cc_basename in
  5726. - CC*)
  5727. - # FIXME: insert proper C++ library support
  5728. - _LT_TAGVAR(ld_shlibs, $1)=no
  5729. - ;;
  5730. - aCC*)
  5731. - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  5732. - # Commands to make compiler produce verbose output that lists
  5733. - # what "hidden" libraries, object files and flags are used when
  5734. - # linking a shared library.
  5735. - #
  5736. - # There doesn't appear to be a way to prevent this compiler from
  5737. - # explicitly linking system object files so we need to strip them
  5738. - # from the output so that they don't get included in the library
  5739. - # dependencies.
  5740. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  5741. - ;;
  5742. - *)
  5743. - if test "$GXX" = yes; then
  5744. - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  5745. - else
  5746. - # FIXME: insert proper C++ library support
  5747. - _LT_TAGVAR(ld_shlibs, $1)=no
  5748. - fi
  5749. - ;;
  5750. - esac
  5751. - ;;
  5752. -
  5753. - hpux10*|hpux11*)
  5754. - if test $with_gnu_ld = no; then
  5755. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  5756. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5757. -
  5758. - case $host_cpu in
  5759. - hppa*64*|ia64*)
  5760. - ;;
  5761. - *)
  5762. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5763. - ;;
  5764. - esac
  5765. - fi
  5766. - case $host_cpu in
  5767. - hppa*64*|ia64*)
  5768. - _LT_TAGVAR(hardcode_direct, $1)=no
  5769. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5770. - ;;
  5771. - *)
  5772. - _LT_TAGVAR(hardcode_direct, $1)=yes
  5773. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  5774. - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  5775. - # but as the default
  5776. - # location of the library.
  5777. - ;;
  5778. - esac
  5779. -
  5780. - case $cc_basename in
  5781. - CC*)
  5782. - # FIXME: insert proper C++ library support
  5783. - _LT_TAGVAR(ld_shlibs, $1)=no
  5784. - ;;
  5785. - aCC*)
  5786. - case $host_cpu in
  5787. - hppa*64*)
  5788. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5789. - ;;
  5790. - ia64*)
  5791. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5792. - ;;
  5793. - *)
  5794. - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5795. - ;;
  5796. - esac
  5797. - # Commands to make compiler produce verbose output that lists
  5798. - # what "hidden" libraries, object files and flags are used when
  5799. - # linking a shared library.
  5800. - #
  5801. - # There doesn't appear to be a way to prevent this compiler from
  5802. - # explicitly linking system object files so we need to strip them
  5803. - # from the output so that they don't get included in the library
  5804. - # dependencies.
  5805. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  5806. - ;;
  5807. - *)
  5808. - if test "$GXX" = yes; then
  5809. - if test $with_gnu_ld = no; then
  5810. - case $host_cpu in
  5811. - hppa*64*)
  5812. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5813. - ;;
  5814. - ia64*)
  5815. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5816. - ;;
  5817. - *)
  5818. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5819. - ;;
  5820. - esac
  5821. - fi
  5822. - else
  5823. - # FIXME: insert proper C++ library support
  5824. - _LT_TAGVAR(ld_shlibs, $1)=no
  5825. - fi
  5826. - ;;
  5827. - esac
  5828. - ;;
  5829. -
  5830. - interix[[3-9]]*)
  5831. - _LT_TAGVAR(hardcode_direct, $1)=no
  5832. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5833. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5834. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5835. - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  5836. - # Instead, shared libraries are loaded at an image base (0x10000000 by
  5837. - # default) and relocated if they conflict, which is a slow very memory
  5838. - # consuming and fragmenting process. To avoid this, we pick a random,
  5839. - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  5840. - # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  5841. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  5842. - _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'
  5843. - ;;
  5844. - irix5* | irix6*)
  5845. - case $cc_basename in
  5846. - CC*)
  5847. - # SGI C++
  5848. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  5849. -
  5850. - # Archives containing C++ object files must be created using
  5851. - # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  5852. - # necessary to make sure instantiated templates are included
  5853. - # in the archive.
  5854. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  5855. - ;;
  5856. - *)
  5857. - if test "$GXX" = yes; then
  5858. - if test "$with_gnu_ld" = no; then
  5859. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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 -o $lib'
  5860. - else
  5861. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
  5862. - fi
  5863. - fi
  5864. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  5865. - ;;
  5866. - esac
  5867. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5868. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5869. - _LT_TAGVAR(inherit_rpath, $1)=yes
  5870. - ;;
  5871. -
  5872. - linux* | k*bsd*-gnu)
  5873. - case $cc_basename in
  5874. - KCC*)
  5875. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  5876. -
  5877. - # KCC will only create a shared library if the output file
  5878. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  5879. - # to its proper name (with version) after linking.
  5880. - _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  5881. - _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
  5882. - # Commands to make compiler produce verbose output that lists
  5883. - # what "hidden" libraries, object files and flags are used when
  5884. - # linking a shared library.
  5885. - #
  5886. - # There doesn't appear to be a way to prevent this compiler from
  5887. - # explicitly linking system object files so we need to strip them
  5888. - # from the output so that they don't get included in the library
  5889. - # dependencies.
  5890. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  5891. -
  5892. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5893. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5894. -
  5895. - # Archives containing C++ object files must be created using
  5896. - # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  5897. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  5898. - ;;
  5899. - icpc* | ecpc* )
  5900. - # Intel C++
  5901. - with_gnu_ld=yes
  5902. - # version 8.0 and above of icpc choke on multiply defined symbols
  5903. - # if we add $predep_objects and $postdep_objects, however 7.1 and
  5904. - # earlier do not add the objects themselves.
  5905. - case `$CC -V 2>&1` in
  5906. - *"Version 7."*)
  5907. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5908. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  5909. - ;;
  5910. - *) # Version 8.0 or newer
  5911. - tmp_idyn=
  5912. - case $host_cpu in
  5913. - ia64*) tmp_idyn=' -i_dynamic';;
  5914. - esac
  5915. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5916. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  5917. - ;;
  5918. - esac
  5919. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5920. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5921. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5922. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  5923. - ;;
  5924. - pgCC* | pgcpp*)
  5925. - # Portland Group C++ compiler
  5926. - case `$CC -V` in
  5927. - *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
  5928. - _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
  5929. - rm -rf $tpldir~
  5930. - $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  5931. - compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
  5932. - _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
  5933. - rm -rf $tpldir~
  5934. - $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  5935. - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
  5936. - $RANLIB $oldlib'
  5937. - _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
  5938. - rm -rf $tpldir~
  5939. - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  5940. - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  5941. - _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
  5942. - rm -rf $tpldir~
  5943. - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  5944. - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  5945. - ;;
  5946. - *) # Version 6 will use weak symbols
  5947. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  5948. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  5949. - ;;
  5950. - esac
  5951. -
  5952. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  5953. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5954. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  5955. - ;;
  5956. - cxx*)
  5957. - # Compaq C++
  5958. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5959. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
  5960. -
  5961. - runpath_var=LD_RUN_PATH
  5962. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  5963. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5964. -
  5965. - # Commands to make compiler produce verbose output that lists
  5966. - # what "hidden" libraries, object files and flags are used when
  5967. - # linking a shared library.
  5968. - #
  5969. - # There doesn't appear to be a way to prevent this compiler from
  5970. - # explicitly linking system object files so we need to strip them
  5971. - # from the output so that they don't get included in the library
  5972. - # dependencies.
  5973. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  5974. - ;;
  5975. - xl*)
  5976. - # IBM XL 8.0 on PPC, with GNU ld
  5977. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5978. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5979. - _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5980. - if test "x$supports_anon_versioning" = xyes; then
  5981. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  5982. - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  5983. - echo "local: *; };" >> $output_objdir/$libname.ver~
  5984. - $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  5985. - fi
  5986. - ;;
  5987. - *)
  5988. - case `$CC -V 2>&1 | sed 5q` in
  5989. - *Sun\ C*)
  5990. - # Sun C++ 5.9
  5991. - _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  5992. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5993. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
  5994. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  5995. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  5996. - _LT_TAGVAR(compiler_needs_object, $1)=yes
  5997. -
  5998. - # Not sure whether something based on
  5999. - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  6000. - # would be better.
  6001. - output_verbose_link_cmd='echo'
  6002. -
  6003. - # Archives containing C++ object files must be created using
  6004. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  6005. - # necessary to make sure instantiated templates are included
  6006. - # in the archive.
  6007. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  6008. - ;;
  6009. - esac
  6010. - ;;
  6011. - esac
  6012. - ;;
  6013. -
  6014. - lynxos*)
  6015. - # FIXME: insert proper C++ library support
  6016. - _LT_TAGVAR(ld_shlibs, $1)=no
  6017. - ;;
  6018. -
  6019. - m88k*)
  6020. - # FIXME: insert proper C++ library support
  6021. - _LT_TAGVAR(ld_shlibs, $1)=no
  6022. - ;;
  6023. -
  6024. - mvs*)
  6025. - case $cc_basename in
  6026. - cxx*)
  6027. - # FIXME: insert proper C++ library support
  6028. - _LT_TAGVAR(ld_shlibs, $1)=no
  6029. - ;;
  6030. - *)
  6031. - # FIXME: insert proper C++ library support
  6032. - _LT_TAGVAR(ld_shlibs, $1)=no
  6033. - ;;
  6034. - esac
  6035. - ;;
  6036. -
  6037. - netbsd*)
  6038. - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  6039. - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  6040. - wlarc=
  6041. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6042. - _LT_TAGVAR(hardcode_direct, $1)=yes
  6043. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6044. - fi
  6045. - # Workaround some broken pre-1.5 toolchains
  6046. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  6047. - ;;
  6048. -
  6049. - *nto* | *qnx*)
  6050. - _LT_TAGVAR(ld_shlibs, $1)=yes
  6051. - ;;
  6052. -
  6053. - openbsd2*)
  6054. - # C++ shared libraries are fairly broken
  6055. - _LT_TAGVAR(ld_shlibs, $1)=no
  6056. - ;;
  6057. -
  6058. - openbsd*)
  6059. - if test -f /usr/libexec/ld.so; then
  6060. - _LT_TAGVAR(hardcode_direct, $1)=yes
  6061. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6062. - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  6063. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  6064. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  6065. - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  6066. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  6067. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  6068. - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  6069. - fi
  6070. - output_verbose_link_cmd=echo
  6071. - else
  6072. - _LT_TAGVAR(ld_shlibs, $1)=no
  6073. - fi
  6074. - ;;
  6075. -
  6076. - osf3* | osf4* | osf5*)
  6077. - case $cc_basename in
  6078. - KCC*)
  6079. - # Kuck and Associates, Inc. (KAI) C++ Compiler
  6080. -
  6081. - # KCC will only create a shared library if the output file
  6082. - # ends with ".so" (or ".sl" for HP-UX), so rename the library
  6083. - # to its proper name (with version) after linking.
  6084. - _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  6085. -
  6086. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  6087. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6088. -
  6089. - # Archives containing C++ object files must be created using
  6090. - # the KAI C++ compiler.
  6091. - case $host in
  6092. - osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
  6093. - *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
  6094. - esac
  6095. - ;;
  6096. - RCC*)
  6097. - # Rational C++ 2.4.1
  6098. - # FIXME: insert proper C++ library support
  6099. - _LT_TAGVAR(ld_shlibs, $1)=no
  6100. - ;;
  6101. - cxx*)
  6102. - case $host in
  6103. - osf3*)
  6104. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  6105. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  6106. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6107. - ;;
  6108. - *)
  6109. - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  6110. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  6111. - _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  6112. - echo "-hidden">> $lib.exp~
  6113. - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
  6114. - $RM $lib.exp'
  6115. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  6116. - ;;
  6117. - esac
  6118. -
  6119. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6120. -
  6121. - # Commands to make compiler produce verbose output that lists
  6122. - # what "hidden" libraries, object files and flags are used when
  6123. - # linking a shared library.
  6124. - #
  6125. - # There doesn't appear to be a way to prevent this compiler from
  6126. - # explicitly linking system object files so we need to strip them
  6127. - # from the output so that they don't get included in the library
  6128. - # dependencies.
  6129. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  6130. - ;;
  6131. - *)
  6132. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  6133. - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  6134. - case $host in
  6135. - osf3*)
  6136. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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 -o $lib'
  6137. - ;;
  6138. - *)
  6139. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  6140. - ;;
  6141. - esac
  6142. -
  6143. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6144. - _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6145. -
  6146. - # Commands to make compiler produce verbose output that lists
  6147. - # what "hidden" libraries, object files and flags are used when
  6148. - # linking a shared library.
  6149. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  6150. -
  6151. - else
  6152. - # FIXME: insert proper C++ library support
  6153. - _LT_TAGVAR(ld_shlibs, $1)=no
  6154. - fi
  6155. - ;;
  6156. - esac
  6157. - ;;
  6158. -
  6159. - psos*)
  6160. - # FIXME: insert proper C++ library support
  6161. - _LT_TAGVAR(ld_shlibs, $1)=no
  6162. - ;;
  6163. -
  6164. - sunos4*)
  6165. - case $cc_basename in
  6166. - CC*)
  6167. - # Sun C++ 4.x
  6168. - # FIXME: insert proper C++ library support
  6169. - _LT_TAGVAR(ld_shlibs, $1)=no
  6170. - ;;
  6171. - lcc*)
  6172. - # Lucid
  6173. - # FIXME: insert proper C++ library support
  6174. - _LT_TAGVAR(ld_shlibs, $1)=no
  6175. - ;;
  6176. - *)
  6177. - # FIXME: insert proper C++ library support
  6178. - _LT_TAGVAR(ld_shlibs, $1)=no
  6179. - ;;
  6180. - esac
  6181. - ;;
  6182. -
  6183. - solaris*)
  6184. - case $cc_basename in
  6185. - CC*)
  6186. - # Sun C++ 4.2, 5.x and Centerline C++
  6187. - _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
  6188. - _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  6189. - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  6190. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6191. - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  6192. -
  6193. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6194. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6195. - case $host_os in
  6196. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  6197. - *)
  6198. - # The compiler driver will combine and reorder linker options,
  6199. - # but understands `-z linker_flag'.
  6200. - # Supported since Solaris 2.6 (maybe 2.5.1?)
  6201. - _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  6202. - ;;
  6203. - esac
  6204. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  6205. -
  6206. - output_verbose_link_cmd='echo'
  6207. -
  6208. - # Archives containing C++ object files must be created using
  6209. - # "CC -xar", where "CC" is the Sun C++ compiler. This is
  6210. - # necessary to make sure instantiated templates are included
  6211. - # in the archive.
  6212. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  6213. - ;;
  6214. - gcx*)
  6215. - # Green Hills C++ Compiler
  6216. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  6217. -
  6218. - # The C++ compiler must be used to create the archive.
  6219. - _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  6220. - ;;
  6221. - *)
  6222. - # GNU C++ compiler with Solaris linker
  6223. - if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  6224. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  6225. - if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  6226. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  6227. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6228. - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  6229. -
  6230. - # Commands to make compiler produce verbose output that lists
  6231. - # what "hidden" libraries, object files and flags are used when
  6232. - # linking a shared library.
  6233. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  6234. - else
  6235. - # g++ 2.7 appears to require `-G' NOT `-shared' on this
  6236. - # platform.
  6237. - _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  6238. - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6239. - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  6240. -
  6241. - # Commands to make compiler produce verbose output that lists
  6242. - # what "hidden" libraries, object files and flags are used when
  6243. - # linking a shared library.
  6244. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  6245. - fi
  6246. -
  6247. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  6248. - case $host_os in
  6249. - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  6250. - *)
  6251. - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  6252. - ;;
  6253. - esac
  6254. - fi
  6255. - ;;
  6256. - esac
  6257. - ;;
  6258. -
  6259. - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  6260. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  6261. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6262. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6263. - runpath_var='LD_RUN_PATH'
  6264. -
  6265. - case $cc_basename in
  6266. - CC*)
  6267. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6268. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6269. - ;;
  6270. - *)
  6271. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6272. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6273. - ;;
  6274. - esac
  6275. - ;;
  6276. -
  6277. - sysv5* | sco3.2v5* | sco5v6*)
  6278. - # Note: We can NOT use -z defs as we might desire, because we do not
  6279. - # link with -lc, and that would cause any symbols used from libc to
  6280. - # always be unresolved, which means just about no library would
  6281. - # ever link correctly. If we're not using GNU ld we use -z text
  6282. - # though, which does catch some bad symbols but isn't as heavy-handed
  6283. - # as -z defs.
  6284. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  6285. - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  6286. - _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6287. - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6288. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  6289. - _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  6290. - _LT_TAGVAR(link_all_deplibs, $1)=yes
  6291. - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  6292. - runpath_var='LD_RUN_PATH'
  6293. -
  6294. - case $cc_basename in
  6295. - CC*)
  6296. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6297. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6298. - ;;
  6299. - *)
  6300. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6301. - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6302. - ;;
  6303. - esac
  6304. - ;;
  6305. -
  6306. - tandem*)
  6307. - case $cc_basename in
  6308. - NCC*)
  6309. - # NonStop-UX NCC 3.20
  6310. - # FIXME: insert proper C++ library support
  6311. - _LT_TAGVAR(ld_shlibs, $1)=no
  6312. - ;;
  6313. - *)
  6314. - # FIXME: insert proper C++ library support
  6315. - _LT_TAGVAR(ld_shlibs, $1)=no
  6316. - ;;
  6317. - esac
  6318. - ;;
  6319. -
  6320. - vxworks*)
  6321. - # FIXME: insert proper C++ library support
  6322. - _LT_TAGVAR(ld_shlibs, $1)=no
  6323. - ;;
  6324. -
  6325. - *)
  6326. - # FIXME: insert proper C++ library support
  6327. - _LT_TAGVAR(ld_shlibs, $1)=no
  6328. - ;;
  6329. - esac
  6330. -
  6331. - AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  6332. - test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  6333. -
  6334. - _LT_TAGVAR(GCC, $1)="$GXX"
  6335. - _LT_TAGVAR(LD, $1)="$LD"
  6336. -
  6337. - ## CAVEAT EMPTOR:
  6338. - ## There is no encapsulation within the following macros, do not change
  6339. - ## the running order or otherwise move them around unless you know exactly
  6340. - ## what you are doing...
  6341. - _LT_SYS_HIDDEN_LIBDEPS($1)
  6342. - _LT_COMPILER_PIC($1)
  6343. - _LT_COMPILER_C_O($1)
  6344. - _LT_COMPILER_FILE_LOCKS($1)
  6345. - _LT_LINKER_SHLIBS($1)
  6346. - _LT_SYS_DYNAMIC_LINKER($1)
  6347. - _LT_LINKER_HARDCODE_LIBPATH($1)
  6348. -
  6349. - _LT_CONFIG($1)
  6350. - fi # test -n "$compiler"
  6351. -
  6352. - CC=$lt_save_CC
  6353. - LDCXX=$LD
  6354. - LD=$lt_save_LD
  6355. - GCC=$lt_save_GCC
  6356. - with_gnu_ld=$lt_save_with_gnu_ld
  6357. - lt_cv_path_LDCXX=$lt_cv_path_LD
  6358. - lt_cv_path_LD=$lt_save_path_LD
  6359. - lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  6360. - lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  6361. -fi # test "$_lt_caught_CXX_error" != yes
  6362. -
  6363. -AC_LANG_POP
  6364. -])# _LT_LANG_CXX_CONFIG
  6365. -
  6366. -
  6367. -# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
  6368. -# ---------------------------------
  6369. -# Figure out "hidden" library dependencies from verbose
  6370. -# compiler output when linking a shared library.
  6371. -# Parse the compiler output and extract the necessary
  6372. -# objects, libraries and library flags.
  6373. -m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
  6374. -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  6375. -# Dependencies to place before and after the object being linked:
  6376. -_LT_TAGVAR(predep_objects, $1)=
  6377. -_LT_TAGVAR(postdep_objects, $1)=
  6378. -_LT_TAGVAR(predeps, $1)=
  6379. -_LT_TAGVAR(postdeps, $1)=
  6380. -_LT_TAGVAR(compiler_lib_search_path, $1)=
  6381. -
  6382. -dnl we can't use the lt_simple_compile_test_code here,
  6383. -dnl because it contains code intended for an executable,
  6384. -dnl not a library. It's possible we should let each
  6385. -dnl tag define a new lt_????_link_test_code variable,
  6386. -dnl but it's only used here...
  6387. -m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
  6388. -int a;
  6389. -void foo (void) { a = 0; }
  6390. -_LT_EOF
  6391. -], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
  6392. -class Foo
  6393. -{
  6394. -public:
  6395. - Foo (void) { a = 0; }
  6396. -private:
  6397. - int a;
  6398. -};
  6399. -_LT_EOF
  6400. -], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
  6401. - subroutine foo
  6402. - implicit none
  6403. - integer*4 a
  6404. - a=0
  6405. - return
  6406. - end
  6407. -_LT_EOF
  6408. -], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
  6409. - subroutine foo
  6410. - implicit none
  6411. - integer a
  6412. - a=0
  6413. - return
  6414. - end
  6415. -_LT_EOF
  6416. -], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
  6417. -public class foo {
  6418. - private int a;
  6419. - public void bar (void) {
  6420. - a = 0;
  6421. - }
  6422. -};
  6423. -_LT_EOF
  6424. -])
  6425. -dnl Parse the compiler output and extract the necessary
  6426. -dnl objects, libraries and library flags.
  6427. -if AC_TRY_EVAL(ac_compile); then
  6428. - # Parse the compiler output and extract the necessary
  6429. - # objects, libraries and library flags.
  6430. -
  6431. - # Sentinel used to keep track of whether or not we are before
  6432. - # the conftest object file.
  6433. - pre_test_object_deps_done=no
  6434. -
  6435. - for p in `eval "$output_verbose_link_cmd"`; do
  6436. - case $p in
  6437. -
  6438. - -L* | -R* | -l*)
  6439. - # Some compilers place space between "-{L,R}" and the path.
  6440. - # Remove the space.
  6441. - if test $p = "-L" ||
  6442. - test $p = "-R"; then
  6443. - prev=$p
  6444. - continue
  6445. - else
  6446. - prev=
  6447. - fi
  6448. -
  6449. - if test "$pre_test_object_deps_done" = no; then
  6450. - case $p in
  6451. - -L* | -R*)
  6452. - # Internal compiler library paths should come after those
  6453. - # provided the user. The postdeps already come after the
  6454. - # user supplied libs so there is no need to process them.
  6455. - if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
  6456. - _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  6457. - else
  6458. - _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  6459. - fi
  6460. - ;;
  6461. - # The "-l" case would never come before the object being
  6462. - # linked, so don't bother handling this case.
  6463. - esac
  6464. - else
  6465. - if test -z "$_LT_TAGVAR(postdeps, $1)"; then
  6466. - _LT_TAGVAR(postdeps, $1)="${prev}${p}"
  6467. - else
  6468. - _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
  6469. - fi
  6470. - fi
  6471. - ;;
  6472. -
  6473. - *.$objext)
  6474. - # This assumes that the test object file only shows up
  6475. - # once in the compiler output.
  6476. - if test "$p" = "conftest.$objext"; then
  6477. - pre_test_object_deps_done=yes
  6478. - continue
  6479. - fi
  6480. -
  6481. - if test "$pre_test_object_deps_done" = no; then
  6482. - if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
  6483. - _LT_TAGVAR(predep_objects, $1)="$p"
  6484. - else
  6485. - _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
  6486. - fi
  6487. - else
  6488. - if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
  6489. - _LT_TAGVAR(postdep_objects, $1)="$p"
  6490. - else
  6491. - _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
  6492. - fi
  6493. - fi
  6494. - ;;
  6495. -
  6496. - *) ;; # Ignore the rest.
  6497. -
  6498. - esac
  6499. - done
  6500. -
  6501. - # Clean up.
  6502. - rm -f a.out a.exe
  6503. -else
  6504. - echo "libtool.m4: error: problem compiling $1 test program"
  6505. -fi
  6506. -
  6507. -$RM -f confest.$objext
  6508. -
  6509. -# PORTME: override above test on systems where it is broken
  6510. -m4_if([$1], [CXX],
  6511. -[case $host_os in
  6512. -interix[[3-9]]*)
  6513. - # Interix 3.5 installs completely hosed .la files for C++, so rather than
  6514. - # hack all around it, let's just trust "g++" to DTRT.
  6515. - _LT_TAGVAR(predep_objects,$1)=
  6516. - _LT_TAGVAR(postdep_objects,$1)=
  6517. - _LT_TAGVAR(postdeps,$1)=
  6518. - ;;
  6519. -
  6520. -linux*)
  6521. - case `$CC -V 2>&1 | sed 5q` in
  6522. - *Sun\ C*)
  6523. - # Sun C++ 5.9
  6524. -
  6525. - # The more standards-conforming stlport4 library is
  6526. - # incompatible with the Cstd library. Avoid specifying
  6527. - # it if it's in CXXFLAGS. Ignore libCrun as
  6528. - # -library=stlport4 depends on it.
  6529. - case " $CXX $CXXFLAGS " in
  6530. - *" -library=stlport4 "*)
  6531. - solaris_use_stlport4=yes
  6532. - ;;
  6533. - esac
  6534. -
  6535. - if test "$solaris_use_stlport4" != yes; then
  6536. - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  6537. - fi
  6538. - ;;
  6539. - esac
  6540. - ;;
  6541. -
  6542. -solaris*)
  6543. - case $cc_basename in
  6544. - CC*)
  6545. - # The more standards-conforming stlport4 library is
  6546. - # incompatible with the Cstd library. Avoid specifying
  6547. - # it if it's in CXXFLAGS. Ignore libCrun as
  6548. - # -library=stlport4 depends on it.
  6549. - case " $CXX $CXXFLAGS " in
  6550. - *" -library=stlport4 "*)
  6551. - solaris_use_stlport4=yes
  6552. - ;;
  6553. - esac
  6554. -
  6555. - # Adding this requires a known-good setup of shared libraries for
  6556. - # Sun compiler versions before 5.6, else PIC objects from an old
  6557. - # archive will be linked into the output, leading to subtle bugs.
  6558. - if test "$solaris_use_stlport4" != yes; then
  6559. - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  6560. - fi
  6561. - ;;
  6562. - esac
  6563. - ;;
  6564. -esac
  6565. -])
  6566. -
  6567. -case " $_LT_TAGVAR(postdeps, $1) " in
  6568. -*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
  6569. -esac
  6570. - _LT_TAGVAR(compiler_lib_search_dirs, $1)=
  6571. -if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
  6572. - _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  6573. -fi
  6574. -_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
  6575. - [The directories searched by this compiler when creating a shared library])
  6576. -_LT_TAGDECL([], [predep_objects], [1],
  6577. - [Dependencies to place before and after the objects being linked to
  6578. - create a shared library])
  6579. -_LT_TAGDECL([], [postdep_objects], [1])
  6580. -_LT_TAGDECL([], [predeps], [1])
  6581. -_LT_TAGDECL([], [postdeps], [1])
  6582. -_LT_TAGDECL([], [compiler_lib_search_path], [1],
  6583. - [The library search path used internally by the compiler when linking
  6584. - a shared library])
  6585. -])# _LT_SYS_HIDDEN_LIBDEPS
  6586. -
  6587. -
  6588. -# _LT_PROG_F77
  6589. -# ------------
  6590. -# Since AC_PROG_F77 is broken, in that it returns the empty string
  6591. -# if there is no fortran compiler, we have our own version here.
  6592. -m4_defun([_LT_PROG_F77],
  6593. -[
  6594. -pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
  6595. -AC_PROG_F77
  6596. -if test -z "$F77" || test "X$F77" = "Xno"; then
  6597. - _lt_disable_F77=yes
  6598. -fi
  6599. -popdef([AC_MSG_ERROR])
  6600. -])# _LT_PROG_F77
  6601. -
  6602. -dnl aclocal-1.4 backwards compatibility:
  6603. -dnl AC_DEFUN([_LT_PROG_F77], [])
  6604. -
  6605. -
  6606. -# _LT_LANG_F77_CONFIG([TAG])
  6607. -# --------------------------
  6608. -# Ensure that the configuration variables for a Fortran 77 compiler are
  6609. -# suitably defined. These variables are subsequently used by _LT_CONFIG
  6610. -# to write the compiler configuration to `libtool'.
  6611. -m4_defun([_LT_LANG_F77_CONFIG],
  6612. -[AC_REQUIRE([_LT_PROG_F77])dnl
  6613. -AC_LANG_PUSH(Fortran 77)
  6614. -
  6615. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6616. -_LT_TAGVAR(allow_undefined_flag, $1)=
  6617. -_LT_TAGVAR(always_export_symbols, $1)=no
  6618. -_LT_TAGVAR(archive_expsym_cmds, $1)=
  6619. -_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  6620. -_LT_TAGVAR(hardcode_direct, $1)=no
  6621. -_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  6622. -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  6623. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  6624. -_LT_TAGVAR(hardcode_libdir_separator, $1)=
  6625. -_LT_TAGVAR(hardcode_minus_L, $1)=no
  6626. -_LT_TAGVAR(hardcode_automatic, $1)=no
  6627. -_LT_TAGVAR(inherit_rpath, $1)=no
  6628. -_LT_TAGVAR(module_cmds, $1)=
  6629. -_LT_TAGVAR(module_expsym_cmds, $1)=
  6630. -_LT_TAGVAR(link_all_deplibs, $1)=unknown
  6631. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  6632. -_LT_TAGVAR(no_undefined_flag, $1)=
  6633. -_LT_TAGVAR(whole_archive_flag_spec, $1)=
  6634. -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  6635. -
  6636. -# Source file extension for f77 test sources.
  6637. -ac_ext=f
  6638. -
  6639. -# Object file extension for compiled f77 test sources.
  6640. -objext=o
  6641. -_LT_TAGVAR(objext, $1)=$objext
  6642. -
  6643. -# No sense in running all these tests if we already determined that
  6644. -# the F77 compiler isn't working. Some variables (like enable_shared)
  6645. -# are currently assumed to apply to all compilers on this platform,
  6646. -# and will be corrupted by setting them based on a non-working compiler.
  6647. -if test "$_lt_disable_F77" != yes; then
  6648. - # Code to be used in simple compile tests
  6649. - lt_simple_compile_test_code="\
  6650. - subroutine t
  6651. - return
  6652. - end
  6653. -"
  6654. -
  6655. - # Code to be used in simple link tests
  6656. - lt_simple_link_test_code="\
  6657. - program t
  6658. - end
  6659. -"
  6660. -
  6661. - # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6662. - _LT_TAG_COMPILER
  6663. -
  6664. - # save warnings/boilerplate of simple test code
  6665. - _LT_COMPILER_BOILERPLATE
  6666. - _LT_LINKER_BOILERPLATE
  6667. -
  6668. - # Allow CC to be a program name with arguments.
  6669. - lt_save_CC="$CC"
  6670. - lt_save_GCC=$GCC
  6671. - CC=${F77-"f77"}
  6672. - compiler=$CC
  6673. - _LT_TAGVAR(compiler, $1)=$CC
  6674. - _LT_CC_BASENAME([$compiler])
  6675. - GCC=$G77
  6676. - if test -n "$compiler"; then
  6677. - AC_MSG_CHECKING([if libtool supports shared libraries])
  6678. - AC_MSG_RESULT([$can_build_shared])
  6679. -
  6680. - AC_MSG_CHECKING([whether to build shared libraries])
  6681. - test "$can_build_shared" = "no" && enable_shared=no
  6682. -
  6683. - # On AIX, shared libraries and static libraries use the same namespace, and
  6684. - # are all built from PIC.
  6685. - case $host_os in
  6686. - aix3*)
  6687. - test "$enable_shared" = yes && enable_static=no
  6688. - if test -n "$RANLIB"; then
  6689. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  6690. - postinstall_cmds='$RANLIB $lib'
  6691. - fi
  6692. - ;;
  6693. - aix[[4-9]]*)
  6694. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  6695. - test "$enable_shared" = yes && enable_static=no
  6696. - fi
  6697. - ;;
  6698. - esac
  6699. - AC_MSG_RESULT([$enable_shared])
  6700. -
  6701. - AC_MSG_CHECKING([whether to build static libraries])
  6702. - # Make sure either enable_shared or enable_static is yes.
  6703. - test "$enable_shared" = yes || enable_static=yes
  6704. - AC_MSG_RESULT([$enable_static])
  6705. -
  6706. - _LT_TAGVAR(GCC, $1)="$G77"
  6707. - _LT_TAGVAR(LD, $1)="$LD"
  6708. -
  6709. - ## CAVEAT EMPTOR:
  6710. - ## There is no encapsulation within the following macros, do not change
  6711. - ## the running order or otherwise move them around unless you know exactly
  6712. - ## what you are doing...
  6713. - _LT_COMPILER_PIC($1)
  6714. - _LT_COMPILER_C_O($1)
  6715. - _LT_COMPILER_FILE_LOCKS($1)
  6716. - _LT_LINKER_SHLIBS($1)
  6717. - _LT_SYS_DYNAMIC_LINKER($1)
  6718. - _LT_LINKER_HARDCODE_LIBPATH($1)
  6719. -
  6720. - _LT_CONFIG($1)
  6721. - fi # test -n "$compiler"
  6722. -
  6723. - GCC=$lt_save_GCC
  6724. - CC="$lt_save_CC"
  6725. -fi # test "$_lt_disable_F77" != yes
  6726. -
  6727. -AC_LANG_POP
  6728. -])# _LT_LANG_F77_CONFIG
  6729. -
  6730. -
  6731. -# _LT_PROG_FC
  6732. -# -----------
  6733. -# Since AC_PROG_FC is broken, in that it returns the empty string
  6734. -# if there is no fortran compiler, we have our own version here.
  6735. -m4_defun([_LT_PROG_FC],
  6736. -[
  6737. -pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
  6738. -AC_PROG_FC
  6739. -if test -z "$FC" || test "X$FC" = "Xno"; then
  6740. - _lt_disable_FC=yes
  6741. -fi
  6742. -popdef([AC_MSG_ERROR])
  6743. -])# _LT_PROG_FC
  6744. -
  6745. -dnl aclocal-1.4 backwards compatibility:
  6746. -dnl AC_DEFUN([_LT_PROG_FC], [])
  6747. -
  6748. -
  6749. -# _LT_LANG_FC_CONFIG([TAG])
  6750. -# -------------------------
  6751. -# Ensure that the configuration variables for a Fortran compiler are
  6752. -# suitably defined. These variables are subsequently used by _LT_CONFIG
  6753. -# to write the compiler configuration to `libtool'.
  6754. -m4_defun([_LT_LANG_FC_CONFIG],
  6755. -[AC_REQUIRE([_LT_PROG_FC])dnl
  6756. -AC_LANG_PUSH(Fortran)
  6757. -
  6758. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6759. -_LT_TAGVAR(allow_undefined_flag, $1)=
  6760. -_LT_TAGVAR(always_export_symbols, $1)=no
  6761. -_LT_TAGVAR(archive_expsym_cmds, $1)=
  6762. -_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  6763. -_LT_TAGVAR(hardcode_direct, $1)=no
  6764. -_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  6765. -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  6766. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  6767. -_LT_TAGVAR(hardcode_libdir_separator, $1)=
  6768. -_LT_TAGVAR(hardcode_minus_L, $1)=no
  6769. -_LT_TAGVAR(hardcode_automatic, $1)=no
  6770. -_LT_TAGVAR(inherit_rpath, $1)=no
  6771. -_LT_TAGVAR(module_cmds, $1)=
  6772. -_LT_TAGVAR(module_expsym_cmds, $1)=
  6773. -_LT_TAGVAR(link_all_deplibs, $1)=unknown
  6774. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  6775. -_LT_TAGVAR(no_undefined_flag, $1)=
  6776. -_LT_TAGVAR(whole_archive_flag_spec, $1)=
  6777. -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  6778. -
  6779. -# Source file extension for fc test sources.
  6780. -ac_ext=${ac_fc_srcext-f}
  6781. -
  6782. -# Object file extension for compiled fc test sources.
  6783. -objext=o
  6784. -_LT_TAGVAR(objext, $1)=$objext
  6785. -
  6786. -# No sense in running all these tests if we already determined that
  6787. -# the FC compiler isn't working. Some variables (like enable_shared)
  6788. -# are currently assumed to apply to all compilers on this platform,
  6789. -# and will be corrupted by setting them based on a non-working compiler.
  6790. -if test "$_lt_disable_FC" != yes; then
  6791. - # Code to be used in simple compile tests
  6792. - lt_simple_compile_test_code="\
  6793. - subroutine t
  6794. - return
  6795. - end
  6796. -"
  6797. -
  6798. - # Code to be used in simple link tests
  6799. - lt_simple_link_test_code="\
  6800. - program t
  6801. - end
  6802. -"
  6803. -
  6804. - # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6805. - _LT_TAG_COMPILER
  6806. -
  6807. - # save warnings/boilerplate of simple test code
  6808. - _LT_COMPILER_BOILERPLATE
  6809. - _LT_LINKER_BOILERPLATE
  6810. -
  6811. - # Allow CC to be a program name with arguments.
  6812. - lt_save_CC="$CC"
  6813. - lt_save_GCC=$GCC
  6814. - CC=${FC-"f95"}
  6815. - compiler=$CC
  6816. - GCC=$ac_cv_fc_compiler_gnu
  6817. -
  6818. - _LT_TAGVAR(compiler, $1)=$CC
  6819. - _LT_CC_BASENAME([$compiler])
  6820. -
  6821. - if test -n "$compiler"; then
  6822. - AC_MSG_CHECKING([if libtool supports shared libraries])
  6823. - AC_MSG_RESULT([$can_build_shared])
  6824. -
  6825. - AC_MSG_CHECKING([whether to build shared libraries])
  6826. - test "$can_build_shared" = "no" && enable_shared=no
  6827. -
  6828. - # On AIX, shared libraries and static libraries use the same namespace, and
  6829. - # are all built from PIC.
  6830. - case $host_os in
  6831. - aix3*)
  6832. - test "$enable_shared" = yes && enable_static=no
  6833. - if test -n "$RANLIB"; then
  6834. - archive_cmds="$archive_cmds~\$RANLIB \$lib"
  6835. - postinstall_cmds='$RANLIB $lib'
  6836. - fi
  6837. - ;;
  6838. - aix[[4-9]]*)
  6839. - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  6840. - test "$enable_shared" = yes && enable_static=no
  6841. - fi
  6842. - ;;
  6843. - esac
  6844. - AC_MSG_RESULT([$enable_shared])
  6845. -
  6846. - AC_MSG_CHECKING([whether to build static libraries])
  6847. - # Make sure either enable_shared or enable_static is yes.
  6848. - test "$enable_shared" = yes || enable_static=yes
  6849. - AC_MSG_RESULT([$enable_static])
  6850. -
  6851. - _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
  6852. - _LT_TAGVAR(LD, $1)="$LD"
  6853. -
  6854. - ## CAVEAT EMPTOR:
  6855. - ## There is no encapsulation within the following macros, do not change
  6856. - ## the running order or otherwise move them around unless you know exactly
  6857. - ## what you are doing...
  6858. - _LT_SYS_HIDDEN_LIBDEPS($1)
  6859. - _LT_COMPILER_PIC($1)
  6860. - _LT_COMPILER_C_O($1)
  6861. - _LT_COMPILER_FILE_LOCKS($1)
  6862. - _LT_LINKER_SHLIBS($1)
  6863. - _LT_SYS_DYNAMIC_LINKER($1)
  6864. - _LT_LINKER_HARDCODE_LIBPATH($1)
  6865. -
  6866. - _LT_CONFIG($1)
  6867. - fi # test -n "$compiler"
  6868. -
  6869. - GCC=$lt_save_GCC
  6870. - CC="$lt_save_CC"
  6871. -fi # test "$_lt_disable_FC" != yes
  6872. -
  6873. -AC_LANG_POP
  6874. -])# _LT_LANG_FC_CONFIG
  6875. -
  6876. -
  6877. -# _LT_LANG_GCJ_CONFIG([TAG])
  6878. -# --------------------------
  6879. -# Ensure that the configuration variables for the GNU Java Compiler compiler
  6880. -# are suitably defined. These variables are subsequently used by _LT_CONFIG
  6881. -# to write the compiler configuration to `libtool'.
  6882. -m4_defun([_LT_LANG_GCJ_CONFIG],
  6883. -[AC_REQUIRE([LT_PROG_GCJ])dnl
  6884. -AC_LANG_SAVE
  6885. -
  6886. -# Source file extension for Java test sources.
  6887. -ac_ext=java
  6888. -
  6889. -# Object file extension for compiled Java test sources.
  6890. -objext=o
  6891. -_LT_TAGVAR(objext, $1)=$objext
  6892. -
  6893. -# Code to be used in simple compile tests
  6894. -lt_simple_compile_test_code="class foo {}"
  6895. -
  6896. -# Code to be used in simple link tests
  6897. -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
  6898. -
  6899. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6900. -_LT_TAG_COMPILER
  6901. -
  6902. -# save warnings/boilerplate of simple test code
  6903. -_LT_COMPILER_BOILERPLATE
  6904. -_LT_LINKER_BOILERPLATE
  6905. -
  6906. -# Allow CC to be a program name with arguments.
  6907. -lt_save_CC="$CC"
  6908. -lt_save_GCC=$GCC
  6909. -GCC=yes
  6910. -CC=${GCJ-"gcj"}
  6911. -compiler=$CC
  6912. -_LT_TAGVAR(compiler, $1)=$CC
  6913. -_LT_TAGVAR(LD, $1)="$LD"
  6914. -_LT_CC_BASENAME([$compiler])
  6915. -
  6916. -# GCJ did not exist at the time GCC didn't implicitly link libc in.
  6917. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6918. -
  6919. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  6920. -
  6921. -if test -n "$compiler"; then
  6922. - _LT_COMPILER_NO_RTTI($1)
  6923. - _LT_COMPILER_PIC($1)
  6924. - _LT_COMPILER_C_O($1)
  6925. - _LT_COMPILER_FILE_LOCKS($1)
  6926. - _LT_LINKER_SHLIBS($1)
  6927. - _LT_LINKER_HARDCODE_LIBPATH($1)
  6928. -
  6929. - _LT_CONFIG($1)
  6930. -fi
  6931. -
  6932. -AC_LANG_RESTORE
  6933. -
  6934. -GCC=$lt_save_GCC
  6935. -CC="$lt_save_CC"
  6936. -])# _LT_LANG_GCJ_CONFIG
  6937. -
  6938. -
  6939. -# _LT_LANG_RC_CONFIG([TAG])
  6940. -# -------------------------
  6941. -# Ensure that the configuration variables for the Windows resource compiler
  6942. -# are suitably defined. These variables are subsequently used by _LT_CONFIG
  6943. -# to write the compiler configuration to `libtool'.
  6944. -m4_defun([_LT_LANG_RC_CONFIG],
  6945. -[AC_REQUIRE([LT_PROG_RC])dnl
  6946. -AC_LANG_SAVE
  6947. -
  6948. -# Source file extension for RC test sources.
  6949. -ac_ext=rc
  6950. -
  6951. -# Object file extension for compiled RC test sources.
  6952. -objext=o
  6953. -_LT_TAGVAR(objext, $1)=$objext
  6954. -
  6955. -# Code to be used in simple compile tests
  6956. -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  6957. -
  6958. -# Code to be used in simple link tests
  6959. -lt_simple_link_test_code="$lt_simple_compile_test_code"
  6960. -
  6961. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6962. -_LT_TAG_COMPILER
  6963. -
  6964. -# save warnings/boilerplate of simple test code
  6965. -_LT_COMPILER_BOILERPLATE
  6966. -_LT_LINKER_BOILERPLATE
  6967. -
  6968. -# Allow CC to be a program name with arguments.
  6969. -lt_save_CC="$CC"
  6970. -lt_save_GCC=$GCC
  6971. -GCC=
  6972. -CC=${RC-"windres"}
  6973. -compiler=$CC
  6974. -_LT_TAGVAR(compiler, $1)=$CC
  6975. -_LT_CC_BASENAME([$compiler])
  6976. -_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  6977. -
  6978. -if test -n "$compiler"; then
  6979. - :
  6980. - _LT_CONFIG($1)
  6981. -fi
  6982. -
  6983. -GCC=$lt_save_GCC
  6984. -AC_LANG_RESTORE
  6985. -CC="$lt_save_CC"
  6986. -])# _LT_LANG_RC_CONFIG
  6987. -
  6988. -
  6989. -# LT_PROG_GCJ
  6990. -# -----------
  6991. -AC_DEFUN([LT_PROG_GCJ],
  6992. -[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  6993. - [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  6994. - [AC_CHECK_TOOL(GCJ, gcj,)
  6995. - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  6996. - AC_SUBST(GCJFLAGS)])])[]dnl
  6997. -])
  6998. -
  6999. -# Old name:
  7000. -AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
  7001. -dnl aclocal-1.4 backwards compatibility:
  7002. -dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
  7003. -
  7004. -
  7005. -# LT_PROG_RC
  7006. -# ----------
  7007. -AC_DEFUN([LT_PROG_RC],
  7008. -[AC_CHECK_TOOL(RC, windres,)
  7009. -])
  7010. -
  7011. -# Old name:
  7012. -AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
  7013. -dnl aclocal-1.4 backwards compatibility:
  7014. -dnl AC_DEFUN([LT_AC_PROG_RC], [])
  7015. -
  7016. -
  7017. -# _LT_DECL_EGREP
  7018. -# --------------
  7019. -# If we don't have a new enough Autoconf to choose the best grep
  7020. -# available, choose the one first in the user's PATH.
  7021. -m4_defun([_LT_DECL_EGREP],
  7022. -[AC_REQUIRE([AC_PROG_EGREP])dnl
  7023. -AC_REQUIRE([AC_PROG_FGREP])dnl
  7024. -test -z "$GREP" && GREP=grep
  7025. -_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
  7026. -_LT_DECL([], [EGREP], [1], [An ERE matcher])
  7027. -_LT_DECL([], [FGREP], [1], [A literal string matcher])
  7028. -dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
  7029. -AC_SUBST([GREP])
  7030. -])
  7031. -
  7032. -
  7033. -# _LT_DECL_OBJDUMP
  7034. -# --------------
  7035. -# If we don't have a new enough Autoconf to choose the best objdump
  7036. -# available, choose the one first in the user's PATH.
  7037. -m4_defun([_LT_DECL_OBJDUMP],
  7038. -[AC_CHECK_TOOL(OBJDUMP, objdump, false)
  7039. -test -z "$OBJDUMP" && OBJDUMP=objdump
  7040. -_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
  7041. -AC_SUBST([OBJDUMP])
  7042. -])
  7043. -
  7044. -
  7045. -# _LT_DECL_SED
  7046. -# ------------
  7047. -# Check for a fully-functional sed program, that truncates
  7048. -# as few characters as possible. Prefer GNU sed if found.
  7049. -m4_defun([_LT_DECL_SED],
  7050. -[AC_PROG_SED
  7051. -test -z "$SED" && SED=sed
  7052. -Xsed="$SED -e 1s/^X//"
  7053. -_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
  7054. -_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
  7055. - [Sed that helps us avoid accidentally triggering echo(1) options like -n])
  7056. -])# _LT_DECL_SED
  7057. -
  7058. -m4_ifndef([AC_PROG_SED], [
  7059. -# NOTE: This macro has been submitted for inclusion into #
  7060. -# GNU Autoconf as AC_PROG_SED. When it is available in #
  7061. -# a released version of Autoconf we should remove this #
  7062. -# macro and use it instead. #
  7063. -
  7064. -m4_defun([AC_PROG_SED],
  7065. -[AC_MSG_CHECKING([for a sed that does not truncate output])
  7066. -AC_CACHE_VAL(lt_cv_path_SED,
  7067. -[# Loop through the user's path and test for sed and gsed.
  7068. -# Then use that list of sed's as ones to test for truncation.
  7069. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7070. -for as_dir in $PATH
  7071. -do
  7072. - IFS=$as_save_IFS
  7073. - test -z "$as_dir" && as_dir=.
  7074. - for lt_ac_prog in sed gsed; do
  7075. - for ac_exec_ext in '' $ac_executable_extensions; do
  7076. - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  7077. - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  7078. - fi
  7079. - done
  7080. - done
  7081. -done
  7082. -IFS=$as_save_IFS
  7083. -lt_ac_max=0
  7084. -lt_ac_count=0
  7085. -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
  7086. -# along with /bin/sed that truncates output.
  7087. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  7088. - test ! -f $lt_ac_sed && continue
  7089. - cat /dev/null > conftest.in
  7090. - lt_ac_count=0
  7091. - echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  7092. - # Check for GNU sed and select it if it is found.
  7093. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  7094. - lt_cv_path_SED=$lt_ac_sed
  7095. - break
  7096. - fi
  7097. - while true; do
  7098. - cat conftest.in conftest.in >conftest.tmp
  7099. - mv conftest.tmp conftest.in
  7100. - cp conftest.in conftest.nl
  7101. - echo >>conftest.nl
  7102. - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  7103. - cmp -s conftest.out conftest.nl || break
  7104. - # 10000 chars as input seems more than enough
  7105. - test $lt_ac_count -gt 10 && break
  7106. - lt_ac_count=`expr $lt_ac_count + 1`
  7107. - if test $lt_ac_count -gt $lt_ac_max; then
  7108. - lt_ac_max=$lt_ac_count
  7109. - lt_cv_path_SED=$lt_ac_sed
  7110. - fi
  7111. - done
  7112. -done
  7113. -])
  7114. -SED=$lt_cv_path_SED
  7115. -AC_SUBST([SED])
  7116. -AC_MSG_RESULT([$SED])
  7117. -])#AC_PROG_SED
  7118. -])#m4_ifndef
  7119. -
  7120. -# Old name:
  7121. -AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
  7122. -dnl aclocal-1.4 backwards compatibility:
  7123. -dnl AC_DEFUN([LT_AC_PROG_SED], [])
  7124. -
  7125. -
  7126. -# _LT_CHECK_SHELL_FEATURES
  7127. -# ------------------------
  7128. -# Find out whether the shell is Bourne or XSI compatible,
  7129. -# or has some other useful features.
  7130. -m4_defun([_LT_CHECK_SHELL_FEATURES],
  7131. -[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
  7132. -# Try some XSI features
  7133. -xsi_shell=no
  7134. -( _lt_dummy="a/b/c"
  7135. - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  7136. - = c,a/b,, \
  7137. - && eval 'test $(( 1 + 1 )) -eq 2 \
  7138. - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  7139. - && xsi_shell=yes
  7140. -AC_MSG_RESULT([$xsi_shell])
  7141. -_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
  7142. -
  7143. -AC_MSG_CHECKING([whether the shell understands "+="])
  7144. -lt_shell_append=no
  7145. -( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
  7146. - >/dev/null 2>&1 \
  7147. - && lt_shell_append=yes
  7148. -AC_MSG_RESULT([$lt_shell_append])
  7149. -_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
  7150. -
  7151. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  7152. - lt_unset=unset
  7153. -else
  7154. - lt_unset=false
  7155. -fi
  7156. -_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
  7157. -
  7158. -# test EBCDIC or ASCII
  7159. -case `echo X|tr X '\101'` in
  7160. - A) # ASCII based system
  7161. - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  7162. - lt_SP2NL='tr \040 \012'
  7163. - lt_NL2SP='tr \015\012 \040\040'
  7164. - ;;
  7165. - *) # EBCDIC based system
  7166. - lt_SP2NL='tr \100 \n'
  7167. - lt_NL2SP='tr \r\n \100\100'
  7168. - ;;
  7169. -esac
  7170. -_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
  7171. -_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
  7172. -])# _LT_CHECK_SHELL_FEATURES
  7173. -
  7174. -
  7175. -# _LT_PROG_XSI_SHELLFNS
  7176. -# ---------------------
  7177. -# Bourne and XSI compatible variants of some useful shell functions.
  7178. -m4_defun([_LT_PROG_XSI_SHELLFNS],
  7179. -[case $xsi_shell in
  7180. - yes)
  7181. - cat << \_LT_EOF >> "$cfgfile"
  7182. -
  7183. -# func_dirname file append nondir_replacement
  7184. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  7185. -# otherwise set result to NONDIR_REPLACEMENT.
  7186. -func_dirname ()
  7187. -{
  7188. - case ${1} in
  7189. - */*) func_dirname_result="${1%/*}${2}" ;;
  7190. - * ) func_dirname_result="${3}" ;;
  7191. - esac
  7192. -}
  7193. -
  7194. -# func_basename file
  7195. -func_basename ()
  7196. -{
  7197. - func_basename_result="${1##*/}"
  7198. -}
  7199. -
  7200. -# func_dirname_and_basename file append nondir_replacement
  7201. -# perform func_basename and func_dirname in a single function
  7202. -# call:
  7203. -# dirname: Compute the dirname of FILE. If nonempty,
  7204. -# add APPEND to the result, otherwise set result
  7205. -# to NONDIR_REPLACEMENT.
  7206. -# value returned in "$func_dirname_result"
  7207. -# basename: Compute filename of FILE.
  7208. -# value retuned in "$func_basename_result"
  7209. -# Implementation must be kept synchronized with func_dirname
  7210. -# and func_basename. For efficiency, we do not delegate to
  7211. -# those functions but instead duplicate the functionality here.
  7212. -func_dirname_and_basename ()
  7213. -{
  7214. - case ${1} in
  7215. - */*) func_dirname_result="${1%/*}${2}" ;;
  7216. - * ) func_dirname_result="${3}" ;;
  7217. - esac
  7218. - func_basename_result="${1##*/}"
  7219. -}
  7220. -
  7221. -# func_stripname prefix suffix name
  7222. -# strip PREFIX and SUFFIX off of NAME.
  7223. -# PREFIX and SUFFIX must not contain globbing or regex special
  7224. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  7225. -# dot (in which case that matches only a dot).
  7226. -func_stripname ()
  7227. -{
  7228. - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  7229. - # positional parameters, so assign one to ordinary parameter first.
  7230. - func_stripname_result=${3}
  7231. - func_stripname_result=${func_stripname_result#"${1}"}
  7232. - func_stripname_result=${func_stripname_result%"${2}"}
  7233. -}
  7234. -
  7235. -# func_opt_split
  7236. -func_opt_split ()
  7237. -{
  7238. - func_opt_split_opt=${1%%=*}
  7239. - func_opt_split_arg=${1#*=}
  7240. -}
  7241. -
  7242. -# func_lo2o object
  7243. -func_lo2o ()
  7244. -{
  7245. - case ${1} in
  7246. - *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  7247. - *) func_lo2o_result=${1} ;;
  7248. - esac
  7249. -}
  7250. -
  7251. -# func_xform libobj-or-source
  7252. -func_xform ()
  7253. -{
  7254. - func_xform_result=${1%.*}.lo
  7255. -}
  7256. -
  7257. -# func_arith arithmetic-term...
  7258. -func_arith ()
  7259. -{
  7260. - func_arith_result=$(( $[*] ))
  7261. -}
  7262. -
  7263. -# func_len string
  7264. -# STRING may not start with a hyphen.
  7265. -func_len ()
  7266. -{
  7267. - func_len_result=${#1}
  7268. -}
  7269. -
  7270. -_LT_EOF
  7271. - ;;
  7272. - *) # Bourne compatible functions.
  7273. - cat << \_LT_EOF >> "$cfgfile"
  7274. -
  7275. -# func_dirname file append nondir_replacement
  7276. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  7277. -# otherwise set result to NONDIR_REPLACEMENT.
  7278. -func_dirname ()
  7279. -{
  7280. - # Extract subdirectory from the argument.
  7281. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  7282. - if test "X$func_dirname_result" = "X${1}"; then
  7283. - func_dirname_result="${3}"
  7284. - else
  7285. - func_dirname_result="$func_dirname_result${2}"
  7286. - fi
  7287. -}
  7288. -
  7289. -# func_basename file
  7290. -func_basename ()
  7291. -{
  7292. - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  7293. -}
  7294. -
  7295. -dnl func_dirname_and_basename
  7296. -dnl A portable version of this function is already defined in general.m4sh
  7297. -dnl so there is no need for it here.
  7298. -
  7299. -# func_stripname prefix suffix name
  7300. -# strip PREFIX and SUFFIX off of NAME.
  7301. -# PREFIX and SUFFIX must not contain globbing or regex special
  7302. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  7303. -# dot (in which case that matches only a dot).
  7304. -# func_strip_suffix prefix name
  7305. -func_stripname ()
  7306. -{
  7307. - case ${2} in
  7308. - .*) func_stripname_result=`$ECHO "X${3}" \
  7309. - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  7310. - *) func_stripname_result=`$ECHO "X${3}" \
  7311. - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  7312. - esac
  7313. -}
  7314. -
  7315. -# sed scripts:
  7316. -my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
  7317. -my_sed_long_arg='1s/^-[[^=]]*=//'
  7318. -
  7319. -# func_opt_split
  7320. -func_opt_split ()
  7321. -{
  7322. - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  7323. - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  7324. -}
  7325. -
  7326. -# func_lo2o object
  7327. -func_lo2o ()
  7328. -{
  7329. - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  7330. -}
  7331. -
  7332. -# func_xform libobj-or-source
  7333. -func_xform ()
  7334. -{
  7335. - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
  7336. -}
  7337. -
  7338. -# func_arith arithmetic-term...
  7339. -func_arith ()
  7340. -{
  7341. - func_arith_result=`expr "$[@]"`
  7342. -}
  7343. -
  7344. -# func_len string
  7345. -# STRING may not start with a hyphen.
  7346. -func_len ()
  7347. -{
  7348. - func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
  7349. -}
  7350. -
  7351. -_LT_EOF
  7352. -esac
  7353. -
  7354. -case $lt_shell_append in
  7355. - yes)
  7356. - cat << \_LT_EOF >> "$cfgfile"
  7357. -
  7358. -# func_append var value
  7359. -# Append VALUE to the end of shell variable VAR.
  7360. -func_append ()
  7361. -{
  7362. - eval "$[1]+=\$[2]"
  7363. -}
  7364. -_LT_EOF
  7365. - ;;
  7366. - *)
  7367. - cat << \_LT_EOF >> "$cfgfile"
  7368. -
  7369. -# func_append var value
  7370. -# Append VALUE to the end of shell variable VAR.
  7371. -func_append ()
  7372. -{
  7373. - eval "$[1]=\$$[1]\$[2]"
  7374. -}
  7375. -
  7376. -_LT_EOF
  7377. - ;;
  7378. - esac
  7379. -])
  7380. -
  7381. -# Helper functions for option handling. -*- Autoconf -*-
  7382. -#
  7383. -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  7384. -# Written by Gary V. Vaughan, 2004
  7385. -#
  7386. -# This file is free software; the Free Software Foundation gives
  7387. -# unlimited permission to copy and/or distribute it, with or without
  7388. -# modifications, as long as this notice is preserved.
  7389. -
  7390. -# serial 6 ltoptions.m4
  7391. -
  7392. -# This is to help aclocal find these macros, as it can't see m4_define.
  7393. -AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  7394. -
  7395. -
  7396. -# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
  7397. -# ------------------------------------------
  7398. -m4_define([_LT_MANGLE_OPTION],
  7399. -[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
  7400. -
  7401. -
  7402. -# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
  7403. -# ---------------------------------------
  7404. -# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
  7405. -# matching handler defined, dispatch to it. Other OPTION-NAMEs are
  7406. -# saved as a flag.
  7407. -m4_define([_LT_SET_OPTION],
  7408. -[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
  7409. -m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
  7410. - _LT_MANGLE_DEFUN([$1], [$2]),
  7411. - [m4_warning([Unknown $1 option `$2'])])[]dnl
  7412. -])
  7413. -
  7414. -
  7415. -# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
  7416. -# ------------------------------------------------------------
  7417. -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
  7418. -m4_define([_LT_IF_OPTION],
  7419. -[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
  7420. -
  7421. -
  7422. -# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
  7423. -# -------------------------------------------------------
  7424. -# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
  7425. -# are set.
  7426. -m4_define([_LT_UNLESS_OPTIONS],
  7427. -[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  7428. - [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
  7429. - [m4_define([$0_found])])])[]dnl
  7430. -m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
  7431. -])[]dnl
  7432. -])
  7433. -
  7434. -
  7435. -# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
  7436. -# ----------------------------------------
  7437. -# OPTION-LIST is a space-separated list of Libtool options associated
  7438. -# with MACRO-NAME. If any OPTION has a matching handler declared with
  7439. -# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
  7440. -# the unknown option and exit.
  7441. -m4_defun([_LT_SET_OPTIONS],
  7442. -[# Set options
  7443. -m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  7444. - [_LT_SET_OPTION([$1], _LT_Option)])
  7445. -
  7446. -m4_if([$1],[LT_INIT],[
  7447. - dnl
  7448. - dnl Simply set some default values (i.e off) if boolean options were not
  7449. - dnl specified:
  7450. - _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
  7451. - ])
  7452. - _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
  7453. - ])
  7454. - dnl
  7455. - dnl If no reference was made to various pairs of opposing options, then
  7456. - dnl we run the default mode handler for the pair. For example, if neither
  7457. - dnl `shared' nor `disable-shared' was passed, we enable building of shared
  7458. - dnl archives by default:
  7459. - _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
  7460. - _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
  7461. - _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
  7462. - _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
  7463. - [_LT_ENABLE_FAST_INSTALL])
  7464. - ])
  7465. -])# _LT_SET_OPTIONS
  7466. -
  7467. -
  7468. -
  7469. -# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
  7470. -# -----------------------------------------
  7471. -m4_define([_LT_MANGLE_DEFUN],
  7472. -[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
  7473. -
  7474. -
  7475. -# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
  7476. -# -----------------------------------------------
  7477. -m4_define([LT_OPTION_DEFINE],
  7478. -[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
  7479. -])# LT_OPTION_DEFINE
  7480. -
  7481. -
  7482. -# dlopen
  7483. -# ------
  7484. -LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
  7485. -])
  7486. -
  7487. -AU_DEFUN([AC_LIBTOOL_DLOPEN],
  7488. -[_LT_SET_OPTION([LT_INIT], [dlopen])
  7489. -AC_DIAGNOSE([obsolete],
  7490. -[$0: Remove this warning and the call to _LT_SET_OPTION when you
  7491. -put the `dlopen' option into LT_INIT's first parameter.])
  7492. -])
  7493. -
  7494. -dnl aclocal-1.4 backwards compatibility:
  7495. -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
  7496. -
  7497. -
  7498. -# win32-dll
  7499. -# ---------
  7500. -# Declare package support for building win32 dll's.
  7501. -LT_OPTION_DEFINE([LT_INIT], [win32-dll],
  7502. -[enable_win32_dll=yes
  7503. -
  7504. -case $host in
  7505. -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  7506. - AC_CHECK_TOOL(AS, as, false)
  7507. - AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  7508. - AC_CHECK_TOOL(OBJDUMP, objdump, false)
  7509. - ;;
  7510. -esac
  7511. -
  7512. -test -z "$AS" && AS=as
  7513. -_LT_DECL([], [AS], [0], [Assembler program])dnl
  7514. -
  7515. -test -z "$DLLTOOL" && DLLTOOL=dlltool
  7516. -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
  7517. -
  7518. -test -z "$OBJDUMP" && OBJDUMP=objdump
  7519. -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
  7520. -])# win32-dll
  7521. -
  7522. -AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
  7523. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  7524. -_LT_SET_OPTION([LT_INIT], [win32-dll])
  7525. -AC_DIAGNOSE([obsolete],
  7526. -[$0: Remove this warning and the call to _LT_SET_OPTION when you
  7527. -put the `win32-dll' option into LT_INIT's first parameter.])
  7528. -])
  7529. -
  7530. -dnl aclocal-1.4 backwards compatibility:
  7531. -dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
  7532. -
  7533. -
  7534. -# _LT_ENABLE_SHARED([DEFAULT])
  7535. -# ----------------------------
  7536. -# implement the --enable-shared flag, and supports the `shared' and
  7537. -# `disable-shared' LT_INIT options.
  7538. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  7539. -m4_define([_LT_ENABLE_SHARED],
  7540. -[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
  7541. -AC_ARG_ENABLE([shared],
  7542. - [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
  7543. - [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
  7544. - [p=${PACKAGE-default}
  7545. - case $enableval in
  7546. - yes) enable_shared=yes ;;
  7547. - no) enable_shared=no ;;
  7548. - *)
  7549. - enable_shared=no
  7550. - # Look at the argument we got. We use all the common list separators.
  7551. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7552. - for pkg in $enableval; do
  7553. - IFS="$lt_save_ifs"
  7554. - if test "X$pkg" = "X$p"; then
  7555. - enable_shared=yes
  7556. - fi
  7557. - done
  7558. - IFS="$lt_save_ifs"
  7559. - ;;
  7560. - esac],
  7561. - [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
  7562. -
  7563. - _LT_DECL([build_libtool_libs], [enable_shared], [0],
  7564. - [Whether or not to build shared libraries])
  7565. -])# _LT_ENABLE_SHARED
  7566. -
  7567. -LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
  7568. -LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
  7569. -
  7570. -# Old names:
  7571. -AC_DEFUN([AC_ENABLE_SHARED],
  7572. -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
  7573. -])
  7574. -
  7575. -AC_DEFUN([AC_DISABLE_SHARED],
  7576. -[_LT_SET_OPTION([LT_INIT], [disable-shared])
  7577. -])
  7578. -
  7579. -AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  7580. -AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  7581. -
  7582. -dnl aclocal-1.4 backwards compatibility:
  7583. -dnl AC_DEFUN([AM_ENABLE_SHARED], [])
  7584. -dnl AC_DEFUN([AM_DISABLE_SHARED], [])
  7585. -
  7586. -
  7587. -
  7588. -# _LT_ENABLE_STATIC([DEFAULT])
  7589. -# ----------------------------
  7590. -# implement the --enable-static flag, and support the `static' and
  7591. -# `disable-static' LT_INIT options.
  7592. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  7593. -m4_define([_LT_ENABLE_STATIC],
  7594. -[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
  7595. -AC_ARG_ENABLE([static],
  7596. - [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
  7597. - [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
  7598. - [p=${PACKAGE-default}
  7599. - case $enableval in
  7600. - yes) enable_static=yes ;;
  7601. - no) enable_static=no ;;
  7602. - *)
  7603. - enable_static=no
  7604. - # Look at the argument we got. We use all the common list separators.
  7605. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7606. - for pkg in $enableval; do
  7607. - IFS="$lt_save_ifs"
  7608. - if test "X$pkg" = "X$p"; then
  7609. - enable_static=yes
  7610. - fi
  7611. - done
  7612. - IFS="$lt_save_ifs"
  7613. - ;;
  7614. - esac],
  7615. - [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
  7616. -
  7617. - _LT_DECL([build_old_libs], [enable_static], [0],
  7618. - [Whether or not to build static libraries])
  7619. -])# _LT_ENABLE_STATIC
  7620. -
  7621. -LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
  7622. -LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
  7623. -
  7624. -# Old names:
  7625. -AC_DEFUN([AC_ENABLE_STATIC],
  7626. -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
  7627. -])
  7628. -
  7629. -AC_DEFUN([AC_DISABLE_STATIC],
  7630. -[_LT_SET_OPTION([LT_INIT], [disable-static])
  7631. -])
  7632. -
  7633. -AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  7634. -AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  7635. -
  7636. -dnl aclocal-1.4 backwards compatibility:
  7637. -dnl AC_DEFUN([AM_ENABLE_STATIC], [])
  7638. -dnl AC_DEFUN([AM_DISABLE_STATIC], [])
  7639. -
  7640. -
  7641. -
  7642. -# _LT_ENABLE_FAST_INSTALL([DEFAULT])
  7643. -# ----------------------------------
  7644. -# implement the --enable-fast-install flag, and support the `fast-install'
  7645. -# and `disable-fast-install' LT_INIT options.
  7646. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  7647. -m4_define([_LT_ENABLE_FAST_INSTALL],
  7648. -[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
  7649. -AC_ARG_ENABLE([fast-install],
  7650. - [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
  7651. - [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
  7652. - [p=${PACKAGE-default}
  7653. - case $enableval in
  7654. - yes) enable_fast_install=yes ;;
  7655. - no) enable_fast_install=no ;;
  7656. - *)
  7657. - enable_fast_install=no
  7658. - # Look at the argument we got. We use all the common list separators.
  7659. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7660. - for pkg in $enableval; do
  7661. - IFS="$lt_save_ifs"
  7662. - if test "X$pkg" = "X$p"; then
  7663. - enable_fast_install=yes
  7664. - fi
  7665. - done
  7666. - IFS="$lt_save_ifs"
  7667. - ;;
  7668. - esac],
  7669. - [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
  7670. -
  7671. -_LT_DECL([fast_install], [enable_fast_install], [0],
  7672. - [Whether or not to optimize for fast installation])dnl
  7673. -])# _LT_ENABLE_FAST_INSTALL
  7674. -
  7675. -LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
  7676. -LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
  7677. -
  7678. -# Old names:
  7679. -AU_DEFUN([AC_ENABLE_FAST_INSTALL],
  7680. -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  7681. -AC_DIAGNOSE([obsolete],
  7682. -[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  7683. -the `fast-install' option into LT_INIT's first parameter.])
  7684. -])
  7685. -
  7686. -AU_DEFUN([AC_DISABLE_FAST_INSTALL],
  7687. -[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  7688. -AC_DIAGNOSE([obsolete],
  7689. -[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  7690. -the `disable-fast-install' option into LT_INIT's first parameter.])
  7691. -])
  7692. -
  7693. -dnl aclocal-1.4 backwards compatibility:
  7694. -dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
  7695. -dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
  7696. -
  7697. -
  7698. -# _LT_WITH_PIC([MODE])
  7699. -# --------------------
  7700. -# implement the --with-pic flag, and support the `pic-only' and `no-pic'
  7701. -# LT_INIT options.
  7702. -# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
  7703. -m4_define([_LT_WITH_PIC],
  7704. -[AC_ARG_WITH([pic],
  7705. - [AS_HELP_STRING([--with-pic],
  7706. - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
  7707. - [pic_mode="$withval"],
  7708. - [pic_mode=default])
  7709. -
  7710. -test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
  7711. -
  7712. -_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
  7713. -])# _LT_WITH_PIC
  7714. -
  7715. -LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
  7716. -LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
  7717. -
  7718. -# Old name:
  7719. -AU_DEFUN([AC_LIBTOOL_PICMODE],
  7720. -[_LT_SET_OPTION([LT_INIT], [pic-only])
  7721. -AC_DIAGNOSE([obsolete],
  7722. -[$0: Remove this warning and the call to _LT_SET_OPTION when you
  7723. -put the `pic-only' option into LT_INIT's first parameter.])
  7724. -])
  7725. -
  7726. -dnl aclocal-1.4 backwards compatibility:
  7727. -dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
  7728. -
  7729. -
  7730. -m4_define([_LTDL_MODE], [])
  7731. -LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
  7732. - [m4_define([_LTDL_MODE], [nonrecursive])])
  7733. -LT_OPTION_DEFINE([LTDL_INIT], [recursive],
  7734. - [m4_define([_LTDL_MODE], [recursive])])
  7735. -LT_OPTION_DEFINE([LTDL_INIT], [subproject],
  7736. - [m4_define([_LTDL_MODE], [subproject])])
  7737. -
  7738. -m4_define([_LTDL_TYPE], [])
  7739. -LT_OPTION_DEFINE([LTDL_INIT], [installable],
  7740. - [m4_define([_LTDL_TYPE], [installable])])
  7741. -LT_OPTION_DEFINE([LTDL_INIT], [convenience],
  7742. - [m4_define([_LTDL_TYPE], [convenience])])
  7743. -
  7744. -# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
  7745. -#
  7746. -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  7747. -# Written by Gary V. Vaughan, 2004
  7748. -#
  7749. -# This file is free software; the Free Software Foundation gives
  7750. -# unlimited permission to copy and/or distribute it, with or without
  7751. -# modifications, as long as this notice is preserved.
  7752. -
  7753. -# serial 6 ltsugar.m4
  7754. -
  7755. -# This is to help aclocal find these macros, as it can't see m4_define.
  7756. -AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
  7757. -
  7758. -
  7759. -# lt_join(SEP, ARG1, [ARG2...])
  7760. -# -----------------------------
  7761. -# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
  7762. -# associated separator.
  7763. -# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
  7764. -# versions in m4sugar had bugs.
  7765. -m4_define([lt_join],
  7766. -[m4_if([$#], [1], [],
  7767. - [$#], [2], [[$2]],
  7768. - [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
  7769. -m4_define([_lt_join],
  7770. -[m4_if([$#$2], [2], [],
  7771. - [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
  7772. -
  7773. -
  7774. -# lt_car(LIST)
  7775. -# lt_cdr(LIST)
  7776. -# ------------
  7777. -# Manipulate m4 lists.
  7778. -# These macros are necessary as long as will still need to support
  7779. -# Autoconf-2.59 which quotes differently.
  7780. -m4_define([lt_car], [[$1]])
  7781. -m4_define([lt_cdr],
  7782. -[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
  7783. - [$#], 1, [],
  7784. - [m4_dquote(m4_shift($@))])])
  7785. -m4_define([lt_unquote], $1)
  7786. -
  7787. -
  7788. -# lt_append(MACRO-NAME, STRING, [SEPARATOR])
  7789. -# ------------------------------------------
  7790. -# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
  7791. -# Note that neither SEPARATOR nor STRING are expanded; they are appended
  7792. -# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
  7793. -# No SEPARATOR is output if MACRO-NAME was previously undefined (different
  7794. -# than defined and empty).
  7795. -#
  7796. -# This macro is needed until we can rely on Autoconf 2.62, since earlier
  7797. -# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
  7798. -m4_define([lt_append],
  7799. -[m4_define([$1],
  7800. - m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
  7801. -
  7802. -
  7803. -
  7804. -# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
  7805. -# ----------------------------------------------------------
  7806. -# Produce a SEP delimited list of all paired combinations of elements of
  7807. -# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
  7808. -# has the form PREFIXmINFIXSUFFIXn.
  7809. -# Needed until we can rely on m4_combine added in Autoconf 2.62.
  7810. -m4_define([lt_combine],
  7811. -[m4_if(m4_eval([$# > 3]), [1],
  7812. - [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
  7813. -[[m4_foreach([_Lt_prefix], [$2],
  7814. - [m4_foreach([_Lt_suffix],
  7815. - ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
  7816. - [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
  7817. -
  7818. -
  7819. -# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
  7820. -# -----------------------------------------------------------------------
  7821. -# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
  7822. -# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
  7823. -m4_define([lt_if_append_uniq],
  7824. -[m4_ifdef([$1],
  7825. - [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
  7826. - [lt_append([$1], [$2], [$3])$4],
  7827. - [$5])],
  7828. - [lt_append([$1], [$2], [$3])$4])])
  7829. -
  7830. -
  7831. -# lt_dict_add(DICT, KEY, VALUE)
  7832. -# -----------------------------
  7833. -m4_define([lt_dict_add],
  7834. -[m4_define([$1($2)], [$3])])
  7835. -
  7836. -
  7837. -# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
  7838. -# --------------------------------------------
  7839. -m4_define([lt_dict_add_subkey],
  7840. -[m4_define([$1($2:$3)], [$4])])
  7841. -
  7842. -
  7843. -# lt_dict_fetch(DICT, KEY, [SUBKEY])
  7844. -# ----------------------------------
  7845. -m4_define([lt_dict_fetch],
  7846. -[m4_ifval([$3],
  7847. - m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
  7848. - m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
  7849. -
  7850. -
  7851. -# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
  7852. -# -----------------------------------------------------------------
  7853. -m4_define([lt_if_dict_fetch],
  7854. -[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
  7855. - [$5],
  7856. - [$6])])
  7857. -
  7858. -
  7859. -# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
  7860. -# --------------------------------------------------------------
  7861. -m4_define([lt_dict_filter],
  7862. -[m4_if([$5], [], [],
  7863. - [lt_join(m4_quote(m4_default([$4], [[, ]])),
  7864. - lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
  7865. - [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
  7866. -])
  7867. -
  7868. -# ltversion.m4 -- version numbers -*- Autoconf -*-
  7869. -#
  7870. -# Copyright (C) 2004 Free Software Foundation, Inc.
  7871. -# Written by Scott James Remnant, 2004
  7872. -#
  7873. -# This file is free software; the Free Software Foundation gives
  7874. -# unlimited permission to copy and/or distribute it, with or without
  7875. -# modifications, as long as this notice is preserved.
  7876. -
  7877. -# Generated from ltversion.in.
  7878. -
  7879. -# serial 3012 ltversion.m4
  7880. -# This file is part of GNU Libtool
  7881. -
  7882. -m4_define([LT_PACKAGE_VERSION], [2.2.6])
  7883. -m4_define([LT_PACKAGE_REVISION], [1.3012])
  7884. -
  7885. -AC_DEFUN([LTVERSION_VERSION],
  7886. -[macro_version='2.2.6'
  7887. -macro_revision='1.3012'
  7888. -_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  7889. -_LT_DECL(, macro_revision, 0)
  7890. -])
  7891. -
  7892. -# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
  7893. -#
  7894. -# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
  7895. -# Written by Scott James Remnant, 2004.
  7896. -#
  7897. -# This file is free software; the Free Software Foundation gives
  7898. -# unlimited permission to copy and/or distribute it, with or without
  7899. -# modifications, as long as this notice is preserved.
  7900. -
  7901. -# serial 4 lt~obsolete.m4
  7902. -
  7903. -# These exist entirely to fool aclocal when bootstrapping libtool.
  7904. -#
  7905. -# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
  7906. -# which have later been changed to m4_define as they aren't part of the
  7907. -# exported API, or moved to Autoconf or Automake where they belong.
  7908. -#
  7909. -# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
  7910. -# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
  7911. -# using a macro with the same name in our local m4/libtool.m4 it'll
  7912. -# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
  7913. -# and doesn't know about Autoconf macros at all.)
  7914. -#
  7915. -# So we provide this file, which has a silly filename so it's always
  7916. -# included after everything else. This provides aclocal with the
  7917. -# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
  7918. -# because those macros already exist, or will be overwritten later.
  7919. -# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
  7920. -#
  7921. -# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
  7922. -# Yes, that means every name once taken will need to remain here until
  7923. -# we give up compatibility with versions before 1.7, at which point
  7924. -# we need to keep only those names which we still refer to.
  7925. -
  7926. -# This is to help aclocal find these macros, as it can't see m4_define.
  7927. -AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  7928. -
  7929. -m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
  7930. -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
  7931. -m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
  7932. -m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
  7933. -m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
  7934. -m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
  7935. -m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
  7936. -m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
  7937. -m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
  7938. -m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
  7939. -m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
  7940. -m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
  7941. -m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
  7942. -m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
  7943. -m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
  7944. -m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
  7945. -m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
  7946. -m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
  7947. -m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
  7948. -m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
  7949. -m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
  7950. -m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
  7951. -m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
  7952. -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
  7953. -m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
  7954. -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
  7955. -m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
  7956. -m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
  7957. -m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
  7958. -m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
  7959. -m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
  7960. -m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
  7961. -m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
  7962. -m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
  7963. -m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
  7964. -m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
  7965. -m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
  7966. -m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
  7967. -m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
  7968. -m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
  7969. -m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
  7970. -m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
  7971. -m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
  7972. -m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
  7973. -m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
  7974. -m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
  7975. -m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
  7976. -m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
  7977. -m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
  7978. -m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
  7979. -m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
  7980. -m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
  7981. -m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
  7982. -m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
  7983. -m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
  7984. -
  7985. # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  7986. #
  7987. # This file is free software; the Free Software Foundation
  7988. @@ -7993,10 +31,10 @@
  7989. # generated from the m4 files accompanying Automake X.Y.
  7990. # (This private macro should not be called outside this file.)
  7991. AC_DEFUN([AM_AUTOMAKE_VERSION],
  7992. -[am__api_version='1.10'
  7993. +[am__api_version='1.11'
  7994. dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  7995. dnl require some minimum version. Point them to the right macro.
  7996. -m4_if([$1], [1.10.2], [],
  7997. +m4_if([$1], [1.11.1], [],
  7998. [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  7999. ])
  8000. @@ -8012,7 +50,7 @@
  8001. # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  8002. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  8003. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  8004. -[AM_AUTOMAKE_VERSION([1.10.2])dnl
  8005. +[AM_AUTOMAKE_VERSION([1.11.1])dnl
  8006. m4_ifndef([AC_AUTOCONF_VERSION],
  8007. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  8008. _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  8009. @@ -8072,14 +110,14 @@
  8010. # AM_CONDITIONAL -*- Autoconf -*-
  8011. -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
  8012. +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  8013. # Free Software Foundation, Inc.
  8014. #
  8015. # This file is free software; the Free Software Foundation
  8016. # gives unlimited permission to copy and/or distribute it,
  8017. # with or without modifications, as long as this notice is preserved.
  8018. -# serial 8
  8019. +# serial 9
  8020. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  8021. # -------------------------------------
  8022. @@ -8092,6 +130,7 @@
  8023. AC_SUBST([$1_FALSE])dnl
  8024. _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  8025. _AM_SUBST_NOTMAKE([$1_FALSE])dnl
  8026. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  8027. if $2; then
  8028. $1_TRUE=
  8029. $1_FALSE='#'
  8030. @@ -8105,14 +144,14 @@
  8031. Usually this means the macro was only invoked conditionally.]])
  8032. fi])])
  8033. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
  8034. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
  8035. # Free Software Foundation, Inc.
  8036. #
  8037. # This file is free software; the Free Software Foundation
  8038. # gives unlimited permission to copy and/or distribute it,
  8039. # with or without modifications, as long as this notice is preserved.
  8040. -# serial 9
  8041. +# serial 10
  8042. # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  8043. # written in clear, in which case automake, when reading aclocal.m4,
  8044. @@ -8169,6 +208,16 @@
  8045. if test "$am_compiler_list" = ""; then
  8046. am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  8047. fi
  8048. + am__universal=false
  8049. + m4_case([$1], [CC],
  8050. + [case " $depcc " in #(
  8051. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  8052. + esac],
  8053. + [CXX],
  8054. + [case " $depcc " in #(
  8055. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  8056. + esac])
  8057. +
  8058. for depmode in $am_compiler_list; do
  8059. # Setup a source with many dependencies, because some compilers
  8060. # like to wrap large dependency lists on column 80 (with \), and
  8061. @@ -8186,7 +235,17 @@
  8062. done
  8063. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  8064. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  8065. + # mode. It turns out that the SunPro C++ compiler does not properly
  8066. + # handle `-M -o', and we need to detect this. Also, some Intel
  8067. + # versions had trouble with output in subdirs
  8068. + am__obj=sub/conftest.${OBJEXT-o}
  8069. + am__minus_obj="-o $am__obj"
  8070. case $depmode in
  8071. + gcc)
  8072. + # This depmode causes a compiler race in universal mode.
  8073. + test "$am__universal" = false || continue
  8074. + ;;
  8075. nosideeffect)
  8076. # after this tag, mechanisms are not by side-effect, so they'll
  8077. # only be used when explicitly requested
  8078. @@ -8196,19 +255,23 @@
  8079. break
  8080. fi
  8081. ;;
  8082. + msvisualcpp | msvcmsys)
  8083. + # This compiler won't grok `-c -o', but also, the minuso test has
  8084. + # not run yet. These depmodes are late enough in the game, and
  8085. + # so weak that their functioning should not be impacted.
  8086. + am__obj=conftest.${OBJEXT-o}
  8087. + am__minus_obj=
  8088. + ;;
  8089. none) break ;;
  8090. esac
  8091. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  8092. - # mode. It turns out that the SunPro C++ compiler does not properly
  8093. - # handle `-M -o', and we need to detect this.
  8094. if depmode=$depmode \
  8095. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  8096. + source=sub/conftest.c object=$am__obj \
  8097. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  8098. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  8099. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  8100. >/dev/null 2>conftest.err &&
  8101. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  8102. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  8103. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  8104. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  8105. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  8106. # icc doesn't choke on unknown options, it will just issue warnings
  8107. # or remarks (even with -Werror). So we grep stderr for any message
  8108. @@ -8358,13 +421,13 @@
  8109. # Do all the work for Automake. -*- Autoconf -*-
  8110. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  8111. -# 2005, 2006, 2008 Free Software Foundation, Inc.
  8112. +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  8113. #
  8114. # This file is free software; the Free Software Foundation
  8115. # gives unlimited permission to copy and/or distribute it,
  8116. # with or without modifications, as long as this notice is preserved.
  8117. -# serial 13
  8118. +# serial 16
  8119. # This macro actually does too much. Some checks are only needed if
  8120. # your package does certain things. But this isn't really a big deal.
  8121. @@ -8381,7 +444,7 @@
  8122. # arguments mandatory, and then we can depend on a new Autoconf
  8123. # release and drop the old call support.
  8124. AC_DEFUN([AM_INIT_AUTOMAKE],
  8125. -[AC_PREREQ([2.60])dnl
  8126. +[AC_PREREQ([2.62])dnl
  8127. dnl Autoconf wants to disallow AM_ names. We explicitly allow
  8128. dnl the ones we care about.
  8129. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  8130. @@ -8432,8 +495,8 @@
  8131. AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  8132. AM_MISSING_PROG(AUTOHEADER, autoheader)
  8133. AM_MISSING_PROG(MAKEINFO, makeinfo)
  8134. -AM_PROG_INSTALL_SH
  8135. -AM_PROG_INSTALL_STRIP
  8136. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  8137. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  8138. AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  8139. # We need awk for the "check" target. The system "awk" is bad on
  8140. # some platforms.
  8141. @@ -8441,23 +504,36 @@
  8142. AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  8143. AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  8144. _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  8145. - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  8146. - [_AM_PROG_TAR([v7])])])
  8147. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  8148. + [_AM_PROG_TAR([v7])])])
  8149. _AM_IF_OPTION([no-dependencies],,
  8150. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  8151. - [_AM_DEPENDENCIES(CC)],
  8152. - [define([AC_PROG_CC],
  8153. - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  8154. + [_AM_DEPENDENCIES(CC)],
  8155. + [define([AC_PROG_CC],
  8156. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  8157. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  8158. - [_AM_DEPENDENCIES(CXX)],
  8159. - [define([AC_PROG_CXX],
  8160. - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  8161. + [_AM_DEPENDENCIES(CXX)],
  8162. + [define([AC_PROG_CXX],
  8163. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  8164. AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  8165. - [_AM_DEPENDENCIES(OBJC)],
  8166. - [define([AC_PROG_OBJC],
  8167. - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  8168. -])
  8169. -])
  8170. + [_AM_DEPENDENCIES(OBJC)],
  8171. + [define([AC_PROG_OBJC],
  8172. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  8173. +])
  8174. +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  8175. +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  8176. +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  8177. +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  8178. +AC_CONFIG_COMMANDS_PRE(dnl
  8179. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  8180. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  8181. +])
  8182. +
  8183. +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  8184. +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  8185. +dnl mangled by Autoconf and run in a shell conditional statement.
  8186. +m4_define([_AC_COMPILER_EXEEXT],
  8187. +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  8188. # When config.status generates a header, we must update the stamp-h file.
  8189. @@ -8481,7 +557,7 @@
  8190. done
  8191. echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  8192. -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  8193. +# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
  8194. #
  8195. # This file is free software; the Free Software Foundation
  8196. # gives unlimited permission to copy and/or distribute it,
  8197. @@ -8492,7 +568,14 @@
  8198. # Define $install_sh.
  8199. AC_DEFUN([AM_PROG_INSTALL_SH],
  8200. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  8201. -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
  8202. +if test x"${install_sh}" != xset; then
  8203. + case $am_aux_dir in
  8204. + *\ * | *\ *)
  8205. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  8206. + *)
  8207. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  8208. + esac
  8209. +fi
  8210. AC_SUBST(install_sh)])
  8211. # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  8212. @@ -8518,13 +601,13 @@
  8213. # Check to see how 'make' treats includes. -*- Autoconf -*-
  8214. -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
  8215. +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
  8216. #
  8217. # This file is free software; the Free Software Foundation
  8218. # gives unlimited permission to copy and/or distribute it,
  8219. # with or without modifications, as long as this notice is preserved.
  8220. -# serial 3
  8221. +# serial 4
  8222. # AM_MAKE_INCLUDE()
  8223. # -----------------
  8224. @@ -8533,7 +616,7 @@
  8225. [am_make=${MAKE-make}
  8226. cat > confinc << 'END'
  8227. am__doit:
  8228. - @echo done
  8229. + @echo this is the am__doit target
  8230. .PHONY: am__doit
  8231. END
  8232. # If we don't find an include directive, just comment out the code.
  8233. @@ -8543,24 +626,24 @@
  8234. _am_result=none
  8235. # First try GNU make style include.
  8236. echo "include confinc" > confmf
  8237. -# We grep out `Entering directory' and `Leaving directory'
  8238. -# messages which can occur if `w' ends up in MAKEFLAGS.
  8239. -# In particular we don't look at `^make:' because GNU make might
  8240. -# be invoked under some other name (usually "gmake"), in which
  8241. -# case it prints its new name instead of `make'.
  8242. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  8243. - am__include=include
  8244. - am__quote=
  8245. - _am_result=GNU
  8246. -fi
  8247. +# Ignore all kinds of additional output from `make'.
  8248. +case `$am_make -s -f confmf 2> /dev/null` in #(
  8249. +*the\ am__doit\ target*)
  8250. + am__include=include
  8251. + am__quote=
  8252. + _am_result=GNU
  8253. + ;;
  8254. +esac
  8255. # Now try BSD make style include.
  8256. if test "$am__include" = "#"; then
  8257. echo '.include "confinc"' > confmf
  8258. - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  8259. - am__include=.include
  8260. - am__quote="\""
  8261. - _am_result=BSD
  8262. - fi
  8263. + case `$am_make -s -f confmf 2> /dev/null` in #(
  8264. + *the\ am__doit\ target*)
  8265. + am__include=.include
  8266. + am__quote="\""
  8267. + _am_result=BSD
  8268. + ;;
  8269. + esac
  8270. fi
  8271. AC_SUBST([am__include])
  8272. AC_SUBST([am__quote])
  8273. @@ -8570,14 +653,14 @@
  8274. # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  8275. -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
  8276. +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  8277. # Free Software Foundation, Inc.
  8278. #
  8279. # This file is free software; the Free Software Foundation
  8280. # gives unlimited permission to copy and/or distribute it,
  8281. # with or without modifications, as long as this notice is preserved.
  8282. -# serial 5
  8283. +# serial 6
  8284. # AM_MISSING_PROG(NAME, PROGRAM)
  8285. # ------------------------------
  8286. @@ -8594,7 +677,14 @@
  8287. AC_DEFUN([AM_MISSING_HAS_RUN],
  8288. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  8289. AC_REQUIRE_AUX_FILE([missing])dnl
  8290. -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  8291. +if test x"${MISSING+set}" != xset; then
  8292. + case $am_aux_dir in
  8293. + *\ * | *\ *)
  8294. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  8295. + *)
  8296. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  8297. + esac
  8298. +fi
  8299. # Use eval to expand $SHELL
  8300. if eval "$MISSING --run true"; then
  8301. am_missing_run="$MISSING --run "
  8302. @@ -8665,14 +755,14 @@
  8303. # Check to make sure that the build environment is sane. -*- Autoconf -*-
  8304. -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
  8305. +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  8306. # Free Software Foundation, Inc.
  8307. #
  8308. # This file is free software; the Free Software Foundation
  8309. # gives unlimited permission to copy and/or distribute it,
  8310. # with or without modifications, as long as this notice is preserved.
  8311. -# serial 4
  8312. +# serial 5
  8313. # AM_SANITY_CHECK
  8314. # ---------------
  8315. @@ -8681,16 +771,29 @@
  8316. # Just in case
  8317. sleep 1
  8318. echo timestamp > conftest.file
  8319. +# Reject unsafe characters in $srcdir or the absolute working directory
  8320. +# name. Accept space and tab only in the latter.
  8321. +am_lf='
  8322. +'
  8323. +case `pwd` in
  8324. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  8325. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  8326. +esac
  8327. +case $srcdir in
  8328. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  8329. + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  8330. +esac
  8331. +
  8332. # Do `set' in a subshell so we don't clobber the current shell's
  8333. # arguments. Must try -L first in case configure is actually a
  8334. # symlink; some systems play weird games with the mod time of symlinks
  8335. # (eg FreeBSD returns the mod time of the symlink's containing
  8336. # directory).
  8337. if (
  8338. - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  8339. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  8340. if test "$[*]" = "X"; then
  8341. # -L didn't work.
  8342. - set X `ls -t $srcdir/configure conftest.file`
  8343. + set X `ls -t "$srcdir/configure" conftest.file`
  8344. fi
  8345. rm -f conftest.file
  8346. if test "$[*]" != "X $srcdir/configure conftest.file" \
  8347. @@ -8743,18 +846,25 @@
  8348. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  8349. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  8350. -# Copyright (C) 2006 Free Software Foundation, Inc.
  8351. +# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
  8352. #
  8353. # This file is free software; the Free Software Foundation
  8354. # gives unlimited permission to copy and/or distribute it,
  8355. # with or without modifications, as long as this notice is preserved.
  8356. +# serial 2
  8357. +
  8358. # _AM_SUBST_NOTMAKE(VARIABLE)
  8359. # ---------------------------
  8360. # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  8361. # This macro is traced by Automake.
  8362. AC_DEFUN([_AM_SUBST_NOTMAKE])
  8363. +# AM_SUBST_NOTMAKE(VARIABLE)
  8364. +# ---------------------------
  8365. +# Public sister of _AM_SUBST_NOTMAKE.
  8366. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  8367. +
  8368. # Check how to create a tarball. -*- Autoconf -*-
  8369. # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
  8370. @@ -8851,4 +961,9 @@
  8371. AC_SUBST([am__untar])
  8372. ]) # _AM_PROG_TAR
  8373. +m4_include([m4/libtool.m4])
  8374. +m4_include([m4/ltoptions.m4])
  8375. +m4_include([m4/ltsugar.m4])
  8376. +m4_include([m4/ltversion.m4])
  8377. +m4_include([m4/lt~obsolete.m4])
  8378. m4_include([acinclude.m4])
  8379. diff -Nur owfs-2.7p38.orig/configure owfs-2.7p38/configure
  8380. --- owfs-2.7p38.orig/configure 2010-06-04 03:00:34.000000000 +0200
  8381. +++ owfs-2.7p38/configure 2010-07-09 16:00:48.214999020 +0200
  8382. @@ -1,19 +1,23 @@
  8383. #! /bin/sh
  8384. # From configure.ac Id: configure.ac.
  8385. # Guess values for system-dependent variables and create Makefiles.
  8386. -# Generated by GNU Autoconf 2.63.
  8387. +# Generated by GNU Autoconf 2.65.
  8388. +#
  8389. #
  8390. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  8391. -# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  8392. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  8393. +# Inc.
  8394. +#
  8395. +#
  8396. # This configure script is free software; the Free Software Foundation
  8397. # gives unlimited permission to copy, distribute and modify it.
  8398. -## --------------------- ##
  8399. -## M4sh Initialization. ##
  8400. -## --------------------- ##
  8401. +## -------------------- ##
  8402. +## M4sh Initialization. ##
  8403. +## -------------------- ##
  8404. # Be more Bourne compatible
  8405. DUALCASE=1; export DUALCASE # for MKS sh
  8406. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  8407. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  8408. emulate sh
  8409. NULLCMD=:
  8410. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  8411. @@ -21,23 +25,15 @@
  8412. alias -g '${1+"$@"}'='"$@"'
  8413. setopt NO_GLOB_SUBST
  8414. else
  8415. - case `(set -o) 2>/dev/null` in
  8416. - *posix*) set -o posix ;;
  8417. + case `(set -o) 2>/dev/null` in #(
  8418. + *posix*) :
  8419. + set -o posix ;; #(
  8420. + *) :
  8421. + ;;
  8422. esac
  8423. -
  8424. fi
  8425. -
  8426. -
  8427. -# PATH needs CR
  8428. -# Avoid depending upon Character Ranges.
  8429. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  8430. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  8431. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  8432. -as_cr_digits='0123456789'
  8433. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  8434. -
  8435. as_nl='
  8436. '
  8437. export as_nl
  8438. @@ -45,7 +41,13 @@
  8439. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  8440. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  8441. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  8442. -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  8443. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  8444. +# but without wasting forks for bash or zsh.
  8445. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  8446. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  8447. + as_echo='print -r --'
  8448. + as_echo_n='print -rn --'
  8449. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  8450. as_echo='printf %s\n'
  8451. as_echo_n='printf %s'
  8452. else
  8453. @@ -56,7 +58,7 @@
  8454. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  8455. as_echo_n_body='eval
  8456. arg=$1;
  8457. - case $arg in
  8458. + case $arg in #(
  8459. *"$as_nl"*)
  8460. expr "X$arg" : "X\\(.*\\)$as_nl";
  8461. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  8462. @@ -79,13 +81,6 @@
  8463. }
  8464. fi
  8465. -# Support unset when possible.
  8466. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  8467. - as_unset=unset
  8468. -else
  8469. - as_unset=false
  8470. -fi
  8471. -
  8472. # IFS
  8473. # We need space, tab and new line, in precisely that order. Quoting is
  8474. @@ -95,15 +90,15 @@
  8475. IFS=" "" $as_nl"
  8476. # Find who we are. Look in the path if we contain no directory separator.
  8477. -case $0 in
  8478. +case $0 in #((
  8479. *[\\/]* ) as_myself=$0 ;;
  8480. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8481. for as_dir in $PATH
  8482. do
  8483. IFS=$as_save_IFS
  8484. test -z "$as_dir" && as_dir=.
  8485. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  8486. -done
  8487. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  8488. + done
  8489. IFS=$as_save_IFS
  8490. ;;
  8491. @@ -115,12 +110,16 @@
  8492. fi
  8493. if test ! -f "$as_myself"; then
  8494. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  8495. - { (exit 1); exit 1; }
  8496. + exit 1
  8497. fi
  8498. -# Work around bugs in pre-3.0 UWIN ksh.
  8499. -for as_var in ENV MAIL MAILPATH
  8500. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  8501. +# Unset variables that we do not need and which cause bugs (e.g. in
  8502. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  8503. +# suppresses any "Segmentation fault" message there. '((' could
  8504. +# trigger a bug in pdksh 5.2.14.
  8505. +for as_var in BASH_ENV ENV MAIL MAILPATH
  8506. +do eval test x\${$as_var+set} = xset \
  8507. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  8508. done
  8509. PS1='$ '
  8510. PS2='> '
  8511. @@ -132,330 +131,307 @@
  8512. LANGUAGE=C
  8513. export LANGUAGE
  8514. -# Required to use basename.
  8515. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  8516. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  8517. - as_expr=expr
  8518. -else
  8519. - as_expr=false
  8520. -fi
  8521. -
  8522. -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  8523. - as_basename=basename
  8524. -else
  8525. - as_basename=false
  8526. -fi
  8527. -
  8528. -
  8529. -# Name of the executable.
  8530. -as_me=`$as_basename -- "$0" ||
  8531. -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  8532. - X"$0" : 'X\(//\)$' \| \
  8533. - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  8534. -$as_echo X/"$0" |
  8535. - sed '/^.*\/\([^/][^/]*\)\/*$/{
  8536. - s//\1/
  8537. - q
  8538. - }
  8539. - /^X\/\(\/\/\)$/{
  8540. - s//\1/
  8541. - q
  8542. - }
  8543. - /^X\/\(\/\).*/{
  8544. - s//\1/
  8545. - q
  8546. - }
  8547. - s/.*/./; q'`
  8548. -
  8549. # CDPATH.
  8550. -$as_unset CDPATH
  8551. -
  8552. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  8553. if test "x$CONFIG_SHELL" = x; then
  8554. - if (eval ":") 2>/dev/null; then
  8555. - as_have_required=yes
  8556. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  8557. + emulate sh
  8558. + NULLCMD=:
  8559. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  8560. + # is contrary to our usage. Disable this feature.
  8561. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  8562. + setopt NO_GLOB_SUBST
  8563. else
  8564. - as_have_required=no
  8565. + case \`(set -o) 2>/dev/null\` in #(
  8566. + *posix*) :
  8567. + set -o posix ;; #(
  8568. + *) :
  8569. + ;;
  8570. +esac
  8571. fi
  8572. -
  8573. - if test $as_have_required = yes && (eval ":
  8574. -(as_func_return () {
  8575. - (exit \$1)
  8576. -}
  8577. -as_func_success () {
  8578. - as_func_return 0
  8579. -}
  8580. -as_func_failure () {
  8581. - as_func_return 1
  8582. -}
  8583. -as_func_ret_success () {
  8584. - return 0
  8585. -}
  8586. -as_func_ret_failure () {
  8587. - return 1
  8588. -}
  8589. +"
  8590. + as_required="as_fn_return () { (exit \$1); }
  8591. +as_fn_success () { as_fn_return 0; }
  8592. +as_fn_failure () { as_fn_return 1; }
  8593. +as_fn_ret_success () { return 0; }
  8594. +as_fn_ret_failure () { return 1; }
  8595. exitcode=0
  8596. -if as_func_success; then
  8597. - :
  8598. -else
  8599. - exitcode=1
  8600. - echo as_func_success failed.
  8601. -fi
  8602. -
  8603. -if as_func_failure; then
  8604. - exitcode=1
  8605. - echo as_func_failure succeeded.
  8606. -fi
  8607. -
  8608. -if as_func_ret_success; then
  8609. - :
  8610. -else
  8611. - exitcode=1
  8612. - echo as_func_ret_success failed.
  8613. -fi
  8614. -
  8615. -if as_func_ret_failure; then
  8616. - exitcode=1
  8617. - echo as_func_ret_failure succeeded.
  8618. -fi
  8619. -
  8620. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  8621. - :
  8622. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  8623. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  8624. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  8625. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  8626. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  8627. +
  8628. +else
  8629. + exitcode=1; echo positional parameters were not saved.
  8630. +fi
  8631. +test x\$exitcode = x0 || exit 1"
  8632. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  8633. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  8634. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  8635. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  8636. +
  8637. + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  8638. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  8639. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  8640. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  8641. + PATH=/empty FPATH=/empty; export PATH FPATH
  8642. + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  8643. + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
  8644. +test \$(( 1 + 1 )) = 2 || exit 1"
  8645. + if (eval "$as_required") 2>/dev/null; then :
  8646. + as_have_required=yes
  8647. else
  8648. - exitcode=1
  8649. - echo positional parameters were not saved.
  8650. + as_have_required=no
  8651. fi
  8652. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  8653. -test \$exitcode = 0) || { (exit 1); exit 1; }
  8654. -
  8655. -(
  8656. - as_lineno_1=\$LINENO
  8657. - as_lineno_2=\$LINENO
  8658. - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  8659. - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  8660. -") 2> /dev/null; then
  8661. - :
  8662. else
  8663. - as_candidate_shells=
  8664. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8665. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8666. +as_found=false
  8667. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  8668. do
  8669. IFS=$as_save_IFS
  8670. test -z "$as_dir" && as_dir=.
  8671. - case $as_dir in
  8672. + as_found=:
  8673. + case $as_dir in #(
  8674. /*)
  8675. for as_base in sh bash ksh sh5; do
  8676. - as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  8677. + # Try only shells that exist, to save several forks.
  8678. + as_shell=$as_dir/$as_base
  8679. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  8680. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  8681. + CONFIG_SHELL=$as_shell as_have_required=yes
  8682. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  8683. + break 2
  8684. +fi
  8685. +fi
  8686. done;;
  8687. esac
  8688. + as_found=false
  8689. done
  8690. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  8691. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  8692. + CONFIG_SHELL=$SHELL as_have_required=yes
  8693. +fi; }
  8694. IFS=$as_save_IFS
  8695. - for as_shell in $as_candidate_shells $SHELL; do
  8696. - # Try only shells that exist, to save several forks.
  8697. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  8698. - { ("$as_shell") 2> /dev/null <<\_ASEOF
  8699. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  8700. - emulate sh
  8701. - NULLCMD=:
  8702. - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  8703. - # is contrary to our usage. Disable this feature.
  8704. - alias -g '${1+"$@"}'='"$@"'
  8705. - setopt NO_GLOB_SUBST
  8706. -else
  8707. - case `(set -o) 2>/dev/null` in
  8708. - *posix*) set -o posix ;;
  8709. -esac
  8710. -
  8711. -fi
  8712. -
  8713. -
  8714. -:
  8715. -_ASEOF
  8716. -}; then
  8717. - CONFIG_SHELL=$as_shell
  8718. - as_have_required=yes
  8719. - if { "$as_shell" 2> /dev/null <<\_ASEOF
  8720. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  8721. - emulate sh
  8722. - NULLCMD=:
  8723. - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  8724. - # is contrary to our usage. Disable this feature.
  8725. - alias -g '${1+"$@"}'='"$@"'
  8726. - setopt NO_GLOB_SUBST
  8727. -else
  8728. - case `(set -o) 2>/dev/null` in
  8729. - *posix*) set -o posix ;;
  8730. -esac
  8731. -
  8732. -fi
  8733. -
  8734. -
  8735. -:
  8736. -(as_func_return () {
  8737. - (exit $1)
  8738. -}
  8739. -as_func_success () {
  8740. - as_func_return 0
  8741. -}
  8742. -as_func_failure () {
  8743. - as_func_return 1
  8744. -}
  8745. -as_func_ret_success () {
  8746. - return 0
  8747. -}
  8748. -as_func_ret_failure () {
  8749. - return 1
  8750. -}
  8751. -
  8752. -exitcode=0
  8753. -if as_func_success; then
  8754. - :
  8755. -else
  8756. - exitcode=1
  8757. - echo as_func_success failed.
  8758. -fi
  8759. -
  8760. -if as_func_failure; then
  8761. - exitcode=1
  8762. - echo as_func_failure succeeded.
  8763. -fi
  8764. -
  8765. -if as_func_ret_success; then
  8766. - :
  8767. -else
  8768. - exitcode=1
  8769. - echo as_func_ret_success failed.
  8770. -fi
  8771. -
  8772. -if as_func_ret_failure; then
  8773. - exitcode=1
  8774. - echo as_func_ret_failure succeeded.
  8775. -fi
  8776. -
  8777. -if ( set x; as_func_ret_success y && test x = "$1" ); then
  8778. - :
  8779. -else
  8780. - exitcode=1
  8781. - echo positional parameters were not saved.
  8782. -fi
  8783. -
  8784. -test $exitcode = 0) || { (exit 1); exit 1; }
  8785. -
  8786. -(
  8787. - as_lineno_1=$LINENO
  8788. - as_lineno_2=$LINENO
  8789. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  8790. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  8791. -
  8792. -_ASEOF
  8793. -}; then
  8794. - break
  8795. -fi
  8796. -
  8797. -fi
  8798. -
  8799. - done
  8800. -
  8801. - if test "x$CONFIG_SHELL" != x; then
  8802. - for as_var in BASH_ENV ENV
  8803. - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  8804. - done
  8805. + if test "x$CONFIG_SHELL" != x; then :
  8806. + # We cannot yet assume a decent shell, so we have to provide a
  8807. + # neutralization value for shells without unset; and this also
  8808. + # works around shells that cannot unset nonexistent variables.
  8809. + BASH_ENV=/dev/null
  8810. + ENV=/dev/null
  8811. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  8812. export CONFIG_SHELL
  8813. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  8814. fi
  8815. -
  8816. - if test $as_have_required = no; then
  8817. - echo This script requires a shell more modern than all the
  8818. - echo shells that I found on your system. Please install a
  8819. - echo modern shell, or manually run the script under such a
  8820. - echo shell if you do have one.
  8821. - { (exit 1); exit 1; }
  8822. + if test x$as_have_required = xno; then :
  8823. + $as_echo "$0: This script requires a shell more modern than all"
  8824. + $as_echo "$0: the shells that I found on your system."
  8825. + if test x${ZSH_VERSION+set} = xset ; then
  8826. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  8827. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  8828. + else
  8829. + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  8830. +$0: including any error possibly output before this
  8831. +$0: message. Then install a modern shell, or manually run
  8832. +$0: the script under such a shell if you do have one."
  8833. + fi
  8834. + exit 1
  8835. fi
  8836. -
  8837. -
  8838. fi
  8839. -
  8840. fi
  8841. +SHELL=${CONFIG_SHELL-/bin/sh}
  8842. +export SHELL
  8843. +# Unset more variables known to interfere with behavior of common tools.
  8844. +CLICOLOR_FORCE= GREP_OPTIONS=
  8845. +unset CLICOLOR_FORCE GREP_OPTIONS
  8846. +
  8847. +## --------------------- ##
  8848. +## M4sh Shell Functions. ##
  8849. +## --------------------- ##
  8850. +# as_fn_unset VAR
  8851. +# ---------------
  8852. +# Portably unset VAR.
  8853. +as_fn_unset ()
  8854. +{
  8855. + { eval $1=; unset $1;}
  8856. +}
  8857. +as_unset=as_fn_unset
  8858. +
  8859. +# as_fn_set_status STATUS
  8860. +# -----------------------
  8861. +# Set $? to STATUS, without forking.
  8862. +as_fn_set_status ()
  8863. +{
  8864. + return $1
  8865. +} # as_fn_set_status
  8866. +
  8867. +# as_fn_exit STATUS
  8868. +# -----------------
  8869. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  8870. +as_fn_exit ()
  8871. +{
  8872. + set +e
  8873. + as_fn_set_status $1
  8874. + exit $1
  8875. +} # as_fn_exit
  8876. +
  8877. +# as_fn_mkdir_p
  8878. +# -------------
  8879. +# Create "$as_dir" as a directory, including parents if necessary.
  8880. +as_fn_mkdir_p ()
  8881. +{
  8882. + case $as_dir in #(
  8883. + -*) as_dir=./$as_dir;;
  8884. + esac
  8885. + test -d "$as_dir" || eval $as_mkdir_p || {
  8886. + as_dirs=
  8887. + while :; do
  8888. + case $as_dir in #(
  8889. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  8890. + *) as_qdir=$as_dir;;
  8891. + esac
  8892. + as_dirs="'$as_qdir' $as_dirs"
  8893. + as_dir=`$as_dirname -- "$as_dir" ||
  8894. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8895. + X"$as_dir" : 'X\(//\)[^/]' \| \
  8896. + X"$as_dir" : 'X\(//\)$' \| \
  8897. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  8898. +$as_echo X"$as_dir" |
  8899. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8900. + s//\1/
  8901. + q
  8902. + }
  8903. + /^X\(\/\/\)[^/].*/{
  8904. + s//\1/
  8905. + q
  8906. + }
  8907. + /^X\(\/\/\)$/{
  8908. + s//\1/
  8909. + q
  8910. + }
  8911. + /^X\(\/\).*/{
  8912. + s//\1/
  8913. + q
  8914. + }
  8915. + s/.*/./; q'`
  8916. + test -d "$as_dir" && break
  8917. + done
  8918. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  8919. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  8920. -(eval "as_func_return () {
  8921. - (exit \$1)
  8922. -}
  8923. -as_func_success () {
  8924. - as_func_return 0
  8925. -}
  8926. -as_func_failure () {
  8927. - as_func_return 1
  8928. -}
  8929. -as_func_ret_success () {
  8930. - return 0
  8931. -}
  8932. -as_func_ret_failure () {
  8933. - return 1
  8934. -}
  8935. +} # as_fn_mkdir_p
  8936. +# as_fn_append VAR VALUE
  8937. +# ----------------------
  8938. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  8939. +# advantage of any shell optimizations that allow amortized linear growth over
  8940. +# repeated appends, instead of the typical quadratic growth present in naive
  8941. +# implementations.
  8942. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  8943. + eval 'as_fn_append ()
  8944. + {
  8945. + eval $1+=\$2
  8946. + }'
  8947. +else
  8948. + as_fn_append ()
  8949. + {
  8950. + eval $1=\$$1\$2
  8951. + }
  8952. +fi # as_fn_append
  8953. -exitcode=0
  8954. -if as_func_success; then
  8955. - :
  8956. +# as_fn_arith ARG...
  8957. +# ------------------
  8958. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  8959. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  8960. +# must be portable across $(()) and expr.
  8961. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  8962. + eval 'as_fn_arith ()
  8963. + {
  8964. + as_val=$(( $* ))
  8965. + }'
  8966. else
  8967. - exitcode=1
  8968. - echo as_func_success failed.
  8969. -fi
  8970. + as_fn_arith ()
  8971. + {
  8972. + as_val=`expr "$@" || test $? -eq 1`
  8973. + }
  8974. +fi # as_fn_arith
  8975. -if as_func_failure; then
  8976. - exitcode=1
  8977. - echo as_func_failure succeeded.
  8978. -fi
  8979. -if as_func_ret_success; then
  8980. - :
  8981. +# as_fn_error ERROR [LINENO LOG_FD]
  8982. +# ---------------------------------
  8983. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  8984. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  8985. +# script with status $?, using 1 if that was 0.
  8986. +as_fn_error ()
  8987. +{
  8988. + as_status=$?; test $as_status -eq 0 && as_status=1
  8989. + if test "$3"; then
  8990. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  8991. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  8992. + fi
  8993. + $as_echo "$as_me: error: $1" >&2
  8994. + as_fn_exit $as_status
  8995. +} # as_fn_error
  8996. +
  8997. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  8998. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  8999. + as_expr=expr
  9000. else
  9001. - exitcode=1
  9002. - echo as_func_ret_success failed.
  9003. + as_expr=false
  9004. fi
  9005. -if as_func_ret_failure; then
  9006. - exitcode=1
  9007. - echo as_func_ret_failure succeeded.
  9008. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  9009. + as_basename=basename
  9010. +else
  9011. + as_basename=false
  9012. fi
  9013. -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  9014. - :
  9015. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  9016. + as_dirname=dirname
  9017. else
  9018. - exitcode=1
  9019. - echo positional parameters were not saved.
  9020. + as_dirname=false
  9021. fi
  9022. -test \$exitcode = 0") || {
  9023. - echo No shell found that supports shell functions.
  9024. - echo Please tell bug-autoconf@gnu.org about your system,
  9025. - echo including any error possibly output before this message.
  9026. - echo This can help us improve future autoconf versions.
  9027. - echo Configuration will now proceed without shell functions.
  9028. -}
  9029. +as_me=`$as_basename -- "$0" ||
  9030. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  9031. + X"$0" : 'X\(//\)$' \| \
  9032. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  9033. +$as_echo X/"$0" |
  9034. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  9035. + s//\1/
  9036. + q
  9037. + }
  9038. + /^X\/\(\/\/\)$/{
  9039. + s//\1/
  9040. + q
  9041. + }
  9042. + /^X\/\(\/\).*/{
  9043. + s//\1/
  9044. + q
  9045. + }
  9046. + s/.*/./; q'`
  9047. +# Avoid depending upon Character Ranges.
  9048. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  9049. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  9050. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  9051. +as_cr_digits='0123456789'
  9052. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  9053. - as_lineno_1=$LINENO
  9054. - as_lineno_2=$LINENO
  9055. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  9056. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  9057. -
  9058. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  9059. - # uniformly replaced by the line number. The first 'sed' inserts a
  9060. - # line-number line after each line using $LINENO; the second 'sed'
  9061. - # does the real work. The second script uses 'N' to pair each
  9062. - # line-number line with the line containing $LINENO, and appends
  9063. - # trailing '-' during substitution so that $LINENO is not a special
  9064. - # case at line end.
  9065. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  9066. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  9067. - # E. McMahon (1931-1989) for sed's syntax. :-)
  9068. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  9069. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  9070. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  9071. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  9072. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  9073. sed -n '
  9074. p
  9075. /[$]LINENO/=
  9076. @@ -472,8 +448,7 @@
  9077. s/-\n.*//
  9078. ' >$as_me.lineno &&
  9079. chmod +x "$as_me.lineno" ||
  9080. - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  9081. - { (exit 1); exit 1; }; }
  9082. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  9083. # Don't try to exec as it changes $[0], causing all sort of problems
  9084. # (the dirname of $[0] is not the place where we might find the
  9085. @@ -483,29 +458,18 @@
  9086. exit
  9087. }
  9088. -
  9089. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  9090. - as_dirname=dirname
  9091. -else
  9092. - as_dirname=false
  9093. -fi
  9094. -
  9095. ECHO_C= ECHO_N= ECHO_T=
  9096. -case `echo -n x` in
  9097. +case `echo -n x` in #(((((
  9098. -n*)
  9099. - case `echo 'x\c'` in
  9100. + case `echo 'xy\c'` in
  9101. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  9102. - *) ECHO_C='\c';;
  9103. + xy) ECHO_C='\c';;
  9104. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  9105. + ECHO_T=' ';;
  9106. esac;;
  9107. *)
  9108. ECHO_N='-n';;
  9109. esac
  9110. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  9111. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  9112. - as_expr=expr
  9113. -else
  9114. - as_expr=false
  9115. -fi
  9116. rm -f conf$$ conf$$.exe conf$$.file
  9117. if test -d conf$$.dir; then
  9118. @@ -535,7 +499,7 @@
  9119. rmdir conf$$.dir 2>/dev/null
  9120. if mkdir -p . 2>/dev/null; then
  9121. - as_mkdir_p=:
  9122. + as_mkdir_p='mkdir -p "$as_dir"'
  9123. else
  9124. test -d ./-p && rmdir ./-p
  9125. as_mkdir_p=false
  9126. @@ -554,10 +518,10 @@
  9127. if test -d "$1"; then
  9128. test -d "$1/.";
  9129. else
  9130. - case $1 in
  9131. + case $1 in #(
  9132. -*)set "./$1";;
  9133. esac;
  9134. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  9135. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  9136. ???[sx]*):;;*)false;;esac;fi
  9137. '\'' sh
  9138. '
  9139. @@ -570,158 +534,11 @@
  9140. # Sed expression to map a string onto a valid variable name.
  9141. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  9142. -
  9143. -
  9144. -
  9145. -# Check that we are running under the correct shell.
  9146. SHELL=${CONFIG_SHELL-/bin/sh}
  9147. -case X$lt_ECHO in
  9148. -X*--fallback-echo)
  9149. - # Remove one level of quotation (which was required for Make).
  9150. - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  9151. - ;;
  9152. -esac
  9153. -
  9154. -ECHO=${lt_ECHO-echo}
  9155. -if test "X$1" = X--no-reexec; then
  9156. - # Discard the --no-reexec flag, and continue.
  9157. - shift
  9158. -elif test "X$1" = X--fallback-echo; then
  9159. - # Avoid inline document here, it may be left over
  9160. - :
  9161. -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  9162. - # Yippee, $ECHO works!
  9163. - :
  9164. -else
  9165. - # Restart under the correct shell.
  9166. - exec $SHELL "$0" --no-reexec ${1+"$@"}
  9167. -fi
  9168. -
  9169. -if test "X$1" = X--fallback-echo; then
  9170. - # used as fallback echo
  9171. - shift
  9172. - cat <<_LT_EOF
  9173. -$*
  9174. -_LT_EOF
  9175. - exit 0
  9176. -fi
  9177. -
  9178. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  9179. -# if CDPATH is set.
  9180. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9181. -
  9182. -if test -z "$lt_ECHO"; then
  9183. - if test "X${echo_test_string+set}" != Xset; then
  9184. - # find a string as large as possible, as long as the shell can cope with it
  9185. - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  9186. - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  9187. - if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  9188. - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  9189. - then
  9190. - break
  9191. - fi
  9192. - done
  9193. - fi
  9194. -
  9195. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  9196. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  9197. - test "X$echo_testing_string" = "X$echo_test_string"; then
  9198. - :
  9199. - else
  9200. - # The Solaris, AIX, and Digital Unix default echo programs unquote
  9201. - # backslashes. This makes it impossible to quote backslashes using
  9202. - # echo "$something" | sed 's/\\/\\\\/g'
  9203. - #
  9204. - # So, first we look for a working echo in the user's PATH.
  9205. -
  9206. - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  9207. - for dir in $PATH /usr/ucb; do
  9208. - IFS="$lt_save_ifs"
  9209. - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  9210. - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  9211. - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  9212. - test "X$echo_testing_string" = "X$echo_test_string"; then
  9213. - ECHO="$dir/echo"
  9214. - break
  9215. - fi
  9216. - done
  9217. - IFS="$lt_save_ifs"
  9218. -
  9219. - if test "X$ECHO" = Xecho; then
  9220. - # We didn't find a better echo, so look for alternatives.
  9221. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  9222. - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  9223. - test "X$echo_testing_string" = "X$echo_test_string"; then
  9224. - # This shell has a builtin print -r that does the trick.
  9225. - ECHO='print -r'
  9226. - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  9227. - test "X$CONFIG_SHELL" != X/bin/ksh; then
  9228. - # If we have ksh, try running configure again with it.
  9229. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  9230. - export ORIGINAL_CONFIG_SHELL
  9231. - CONFIG_SHELL=/bin/ksh
  9232. - export CONFIG_SHELL
  9233. - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  9234. - else
  9235. - # Try using printf.
  9236. - ECHO='printf %s\n'
  9237. - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  9238. - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  9239. - test "X$echo_testing_string" = "X$echo_test_string"; then
  9240. - # Cool, printf works
  9241. - :
  9242. - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  9243. - test "X$echo_testing_string" = 'X\t' &&
  9244. - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  9245. - test "X$echo_testing_string" = "X$echo_test_string"; then
  9246. - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  9247. - export CONFIG_SHELL
  9248. - SHELL="$CONFIG_SHELL"
  9249. - export SHELL
  9250. - ECHO="$CONFIG_SHELL $0 --fallback-echo"
  9251. - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  9252. - test "X$echo_testing_string" = 'X\t' &&
  9253. - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  9254. - test "X$echo_testing_string" = "X$echo_test_string"; then
  9255. - ECHO="$CONFIG_SHELL $0 --fallback-echo"
  9256. - else
  9257. - # maybe with a smaller string...
  9258. - prev=:
  9259. -
  9260. - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  9261. - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  9262. - then
  9263. - break
  9264. - fi
  9265. - prev="$cmd"
  9266. - done
  9267. -
  9268. - if test "$prev" != 'sed 50q "$0"'; then
  9269. - echo_test_string=`eval $prev`
  9270. - export echo_test_string
  9271. - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  9272. - else
  9273. - # Oops. We lost completely, so just stick with echo.
  9274. - ECHO=echo
  9275. - fi
  9276. - fi
  9277. - fi
  9278. - fi
  9279. - fi
  9280. -fi
  9281. -
  9282. -# Copy echo and quote the copy suitably for passing to libtool from
  9283. -# the Makefile, instead of quoting the original, which is used later.
  9284. -lt_ECHO=$ECHO
  9285. -if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  9286. - lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  9287. -fi
  9288. -
  9289. -
  9290. -
  9291. -exec 7<&0 </dev/null 6>&1
  9292. +test -n "$DJDIR" || exec 7<&0 </dev/null
  9293. +exec 6>&1
  9294. # Name of the host.
  9295. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  9296. @@ -739,7 +556,6 @@
  9297. subdirs=
  9298. MFLAGS=
  9299. MAKEFLAGS=
  9300. -SHELL=${CONFIG_SHELL-/bin/sh}
  9301. # Identity of this package.
  9302. PACKAGE_NAME=
  9303. @@ -747,6 +563,7 @@
  9304. PACKAGE_VERSION=
  9305. PACKAGE_STRING=
  9306. PACKAGE_BUGREPORT=
  9307. +PACKAGE_URL=
  9308. ac_default_prefix=/opt/owfs
  9309. # Factoring default headers for most tests.
  9310. @@ -785,7 +602,9 @@
  9311. # include <unistd.h>
  9312. #endif"
  9313. -ac_subst_vars='LTLIBOBJS
  9314. +ac_subst_vars='am__EXEEXT_FALSE
  9315. +am__EXEEXT_TRUE
  9316. +LTLIBOBJS
  9317. LIBOBJS
  9318. POW_LIB
  9319. OW_ALLOC_DEBUG
  9320. @@ -980,7 +799,8 @@
  9321. LIPO
  9322. NMEDIT
  9323. DSYMUTIL
  9324. -lt_ECHO
  9325. +MANIFEST_TOOL
  9326. +RANLIB
  9327. AR
  9328. NM
  9329. ac_ct_DUMPBIN
  9330. @@ -991,7 +811,6 @@
  9331. GREP
  9332. SED
  9333. LIBTOOL
  9334. -RANLIB
  9335. LN_S
  9336. OBJDUMP
  9337. DLLTOOL
  9338. @@ -1093,6 +912,7 @@
  9339. program_transform_name
  9340. prefix
  9341. exec_prefix
  9342. +PACKAGE_URL
  9343. PACKAGE_BUGREPORT
  9344. PACKAGE_STRING
  9345. PACKAGE_VERSION
  9346. @@ -1267,8 +1087,7 @@
  9347. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  9348. # Reject names that are not valid shell variable names.
  9349. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  9350. - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  9351. - { (exit 1); exit 1; }; }
  9352. + as_fn_error "invalid feature name: $ac_useropt"
  9353. ac_useropt_orig=$ac_useropt
  9354. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  9355. case $ac_user_opts in
  9356. @@ -1294,8 +1113,7 @@
  9357. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  9358. # Reject names that are not valid shell variable names.
  9359. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  9360. - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  9361. - { (exit 1); exit 1; }; }
  9362. + as_fn_error "invalid feature name: $ac_useropt"
  9363. ac_useropt_orig=$ac_useropt
  9364. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  9365. case $ac_user_opts in
  9366. @@ -1499,8 +1317,7 @@
  9367. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  9368. # Reject names that are not valid shell variable names.
  9369. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  9370. - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  9371. - { (exit 1); exit 1; }; }
  9372. + as_fn_error "invalid package name: $ac_useropt"
  9373. ac_useropt_orig=$ac_useropt
  9374. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  9375. case $ac_user_opts in
  9376. @@ -1516,8 +1333,7 @@
  9377. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  9378. # Reject names that are not valid shell variable names.
  9379. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  9380. - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  9381. - { (exit 1); exit 1; }; }
  9382. + as_fn_error "invalid package name: $ac_useropt"
  9383. ac_useropt_orig=$ac_useropt
  9384. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  9385. case $ac_user_opts in
  9386. @@ -1547,17 +1363,17 @@
  9387. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  9388. x_libraries=$ac_optarg ;;
  9389. - -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  9390. -Try \`$0 --help' for more information." >&2
  9391. - { (exit 1); exit 1; }; }
  9392. + -*) as_fn_error "unrecognized option: \`$ac_option'
  9393. +Try \`$0 --help' for more information."
  9394. ;;
  9395. *=*)
  9396. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  9397. # Reject names that are not valid shell variable names.
  9398. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  9399. - { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  9400. - { (exit 1); exit 1; }; }
  9401. + case $ac_envvar in #(
  9402. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  9403. + as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  9404. + esac
  9405. eval $ac_envvar=\$ac_optarg
  9406. export $ac_envvar ;;
  9407. @@ -1574,15 +1390,13 @@
  9408. if test -n "$ac_prev"; then
  9409. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  9410. - { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  9411. - { (exit 1); exit 1; }; }
  9412. + as_fn_error "missing argument to $ac_option"
  9413. fi
  9414. if test -n "$ac_unrecognized_opts"; then
  9415. case $enable_option_checking in
  9416. no) ;;
  9417. - fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
  9418. - { (exit 1); exit 1; }; } ;;
  9419. + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  9420. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  9421. esac
  9422. fi
  9423. @@ -1605,8 +1419,7 @@
  9424. [\\/$]* | ?:[\\/]* ) continue;;
  9425. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  9426. esac
  9427. - { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  9428. - { (exit 1); exit 1; }; }
  9429. + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  9430. done
  9431. # There might be people who depend on the old broken behavior: `$host'
  9432. @@ -1636,11 +1449,9 @@
  9433. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  9434. ac_ls_di=`ls -di .` &&
  9435. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  9436. - { $as_echo "$as_me: error: working directory cannot be determined" >&2
  9437. - { (exit 1); exit 1; }; }
  9438. + as_fn_error "working directory cannot be determined"
  9439. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  9440. - { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  9441. - { (exit 1); exit 1; }; }
  9442. + as_fn_error "pwd does not report name of working directory"
  9443. # Find the source files, if location was not specified.
  9444. @@ -1679,13 +1490,11 @@
  9445. fi
  9446. if test ! -r "$srcdir/$ac_unique_file"; then
  9447. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  9448. - { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  9449. - { (exit 1); exit 1; }; }
  9450. + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  9451. fi
  9452. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  9453. ac_abs_confdir=`(
  9454. - cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  9455. - { (exit 1); exit 1; }; }
  9456. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  9457. pwd)`
  9458. # When building in place, set srcdir=.
  9459. if test "$ac_abs_confdir" = "$ac_pwd"; then
  9460. @@ -1848,13 +1657,14 @@
  9461. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  9462. nonstandard directory <lib dir>
  9463. LIBS libraries to pass to the linker, e.g. -l<library>
  9464. - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  9465. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  9466. you have headers in a nonstandard directory <include dir>
  9467. CPP C preprocessor
  9468. Use these variables to override the choices made by `configure' or to help
  9469. it to find libraries and programs with nonstandard names/locations.
  9470. +Report bugs to the package provider.
  9471. _ACEOF
  9472. ac_status=$?
  9473. fi
  9474. @@ -1918,150 +1728,612 @@
  9475. if $ac_init_version; then
  9476. cat <<\_ACEOF
  9477. configure
  9478. -generated by GNU Autoconf 2.63
  9479. +generated by GNU Autoconf 2.65
  9480. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  9481. -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  9482. +Copyright (C) 2009 Free Software Foundation, Inc.
  9483. This configure script is free software; the Free Software Foundation
  9484. gives unlimited permission to copy, distribute and modify it.
  9485. _ACEOF
  9486. exit
  9487. fi
  9488. -cat >config.log <<_ACEOF
  9489. -This file contains any messages produced by compilers while
  9490. -running configure, to aid debugging if configure makes a mistake.
  9491. -It was created by $as_me, which was
  9492. -generated by GNU Autoconf 2.63. Invocation command line was
  9493. +## ------------------------ ##
  9494. +## Autoconf initialization. ##
  9495. +## ------------------------ ##
  9496. +
  9497. +# ac_fn_c_try_compile LINENO
  9498. +# --------------------------
  9499. +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  9500. +ac_fn_c_try_compile ()
  9501. +{
  9502. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9503. + rm -f conftest.$ac_objext
  9504. + if { { ac_try="$ac_compile"
  9505. +case "(($ac_try" in
  9506. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9507. + *) ac_try_echo=$ac_try;;
  9508. +esac
  9509. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  9510. +$as_echo "$ac_try_echo"; } >&5
  9511. + (eval "$ac_compile") 2>conftest.err
  9512. + ac_status=$?
  9513. + if test -s conftest.err; then
  9514. + grep -v '^ *+' conftest.err >conftest.er1
  9515. + cat conftest.er1 >&5
  9516. + mv -f conftest.er1 conftest.err
  9517. + fi
  9518. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9519. + test $ac_status = 0; } && {
  9520. + test -z "$ac_c_werror_flag" ||
  9521. + test ! -s conftest.err
  9522. + } && test -s conftest.$ac_objext; then :
  9523. + ac_retval=0
  9524. +else
  9525. + $as_echo "$as_me: failed program was:" >&5
  9526. +sed 's/^/| /' conftest.$ac_ext >&5
  9527. - $ $0 $@
  9528. + ac_retval=1
  9529. +fi
  9530. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  9531. + as_fn_set_status $ac_retval
  9532. -_ACEOF
  9533. -exec 5>>config.log
  9534. +} # ac_fn_c_try_compile
  9535. +
  9536. +# ac_fn_c_try_cpp LINENO
  9537. +# ----------------------
  9538. +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  9539. +ac_fn_c_try_cpp ()
  9540. {
  9541. -cat <<_ASUNAME
  9542. -## --------- ##
  9543. -## Platform. ##
  9544. -## --------- ##
  9545. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9546. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  9547. +case "(($ac_try" in
  9548. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9549. + *) ac_try_echo=$ac_try;;
  9550. +esac
  9551. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  9552. +$as_echo "$ac_try_echo"; } >&5
  9553. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  9554. + ac_status=$?
  9555. + if test -s conftest.err; then
  9556. + grep -v '^ *+' conftest.err >conftest.er1
  9557. + cat conftest.er1 >&5
  9558. + mv -f conftest.er1 conftest.err
  9559. + fi
  9560. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9561. + test $ac_status = 0; } >/dev/null && {
  9562. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9563. + test ! -s conftest.err
  9564. + }; then :
  9565. + ac_retval=0
  9566. +else
  9567. + $as_echo "$as_me: failed program was:" >&5
  9568. +sed 's/^/| /' conftest.$ac_ext >&5
  9569. -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  9570. -uname -m = `(uname -m) 2>/dev/null || echo unknown`
  9571. -uname -r = `(uname -r) 2>/dev/null || echo unknown`
  9572. -uname -s = `(uname -s) 2>/dev/null || echo unknown`
  9573. -uname -v = `(uname -v) 2>/dev/null || echo unknown`
  9574. + ac_retval=1
  9575. +fi
  9576. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  9577. + as_fn_set_status $ac_retval
  9578. -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  9579. -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  9580. +} # ac_fn_c_try_cpp
  9581. -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  9582. -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  9583. -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  9584. -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  9585. -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  9586. -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  9587. -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  9588. +# ac_fn_c_try_link LINENO
  9589. +# -----------------------
  9590. +# Try to link conftest.$ac_ext, and return whether this succeeded.
  9591. +ac_fn_c_try_link ()
  9592. +{
  9593. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9594. + rm -f conftest.$ac_objext conftest$ac_exeext
  9595. + if { { ac_try="$ac_link"
  9596. +case "(($ac_try" in
  9597. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9598. + *) ac_try_echo=$ac_try;;
  9599. +esac
  9600. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  9601. +$as_echo "$ac_try_echo"; } >&5
  9602. + (eval "$ac_link") 2>conftest.err
  9603. + ac_status=$?
  9604. + if test -s conftest.err; then
  9605. + grep -v '^ *+' conftest.err >conftest.er1
  9606. + cat conftest.er1 >&5
  9607. + mv -f conftest.er1 conftest.err
  9608. + fi
  9609. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9610. + test $ac_status = 0; } && {
  9611. + test -z "$ac_c_werror_flag" ||
  9612. + test ! -s conftest.err
  9613. + } && test -s conftest$ac_exeext && {
  9614. + test "$cross_compiling" = yes ||
  9615. + $as_test_x conftest$ac_exeext
  9616. + }; then :
  9617. + ac_retval=0
  9618. +else
  9619. + $as_echo "$as_me: failed program was:" >&5
  9620. +sed 's/^/| /' conftest.$ac_ext >&5
  9621. -_ASUNAME
  9622. + ac_retval=1
  9623. +fi
  9624. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  9625. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  9626. + # interfere with the next link command; also delete a directory that is
  9627. + # left behind by Apple's compiler. We do this before executing the actions.
  9628. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  9629. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  9630. + as_fn_set_status $ac_retval
  9631. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9632. -for as_dir in $PATH
  9633. -do
  9634. - IFS=$as_save_IFS
  9635. - test -z "$as_dir" && as_dir=.
  9636. - $as_echo "PATH: $as_dir"
  9637. -done
  9638. -IFS=$as_save_IFS
  9639. +} # ac_fn_c_try_link
  9640. -} >&5
  9641. +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  9642. +# -------------------------------------------------------
  9643. +# Tests whether HEADER exists and can be compiled using the include files in
  9644. +# INCLUDES, setting the cache variable VAR accordingly.
  9645. +ac_fn_c_check_header_compile ()
  9646. +{
  9647. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9648. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  9649. +$as_echo_n "checking for $2... " >&6; }
  9650. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  9651. + $as_echo_n "(cached) " >&6
  9652. +else
  9653. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9654. +/* end confdefs.h. */
  9655. +$4
  9656. +#include <$2>
  9657. +_ACEOF
  9658. +if ac_fn_c_try_compile "$LINENO"; then :
  9659. + eval "$3=yes"
  9660. +else
  9661. + eval "$3=no"
  9662. +fi
  9663. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9664. +fi
  9665. +eval ac_res=\$$3
  9666. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  9667. +$as_echo "$ac_res" >&6; }
  9668. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  9669. -cat >&5 <<_ACEOF
  9670. +} # ac_fn_c_check_header_compile
  9671. +# ac_fn_c_try_run LINENO
  9672. +# ----------------------
  9673. +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  9674. +# that executables *can* be run.
  9675. +ac_fn_c_try_run ()
  9676. +{
  9677. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9678. + if { { ac_try="$ac_link"
  9679. +case "(($ac_try" in
  9680. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9681. + *) ac_try_echo=$ac_try;;
  9682. +esac
  9683. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  9684. +$as_echo "$ac_try_echo"; } >&5
  9685. + (eval "$ac_link") 2>&5
  9686. + ac_status=$?
  9687. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9688. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  9689. + { { case "(($ac_try" in
  9690. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9691. + *) ac_try_echo=$ac_try;;
  9692. +esac
  9693. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  9694. +$as_echo "$ac_try_echo"; } >&5
  9695. + (eval "$ac_try") 2>&5
  9696. + ac_status=$?
  9697. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9698. + test $ac_status = 0; }; }; then :
  9699. + ac_retval=0
  9700. +else
  9701. + $as_echo "$as_me: program exited with status $ac_status" >&5
  9702. + $as_echo "$as_me: failed program was:" >&5
  9703. +sed 's/^/| /' conftest.$ac_ext >&5
  9704. -## ----------- ##
  9705. -## Core tests. ##
  9706. -## ----------- ##
  9707. + ac_retval=$ac_status
  9708. +fi
  9709. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  9710. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  9711. + as_fn_set_status $ac_retval
  9712. -_ACEOF
  9713. +} # ac_fn_c_try_run
  9714. +# ac_fn_c_check_func LINENO FUNC VAR
  9715. +# ----------------------------------
  9716. +# Tests whether FUNC exists, setting the cache variable VAR accordingly
  9717. +ac_fn_c_check_func ()
  9718. +{
  9719. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9720. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  9721. +$as_echo_n "checking for $2... " >&6; }
  9722. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  9723. + $as_echo_n "(cached) " >&6
  9724. +else
  9725. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9726. +/* end confdefs.h. */
  9727. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  9728. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  9729. +#define $2 innocuous_$2
  9730. -# Keep a trace of the command line.
  9731. -# Strip out --no-create and --no-recursion so they do not pile up.
  9732. -# Strip out --silent because we don't want to record it for future runs.
  9733. -# Also quote any args containing shell meta-characters.
  9734. -# Make two passes to allow for proper duplicate-argument suppression.
  9735. -ac_configure_args=
  9736. -ac_configure_args0=
  9737. -ac_configure_args1=
  9738. -ac_must_keep_next=false
  9739. -for ac_pass in 1 2
  9740. -do
  9741. - for ac_arg
  9742. - do
  9743. - case $ac_arg in
  9744. - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  9745. - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  9746. - | -silent | --silent | --silen | --sile | --sil)
  9747. - continue ;;
  9748. - *\'*)
  9749. - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  9750. - esac
  9751. - case $ac_pass in
  9752. - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  9753. - 2)
  9754. - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  9755. - if test $ac_must_keep_next = true; then
  9756. - ac_must_keep_next=false # Got value, back to normal.
  9757. - else
  9758. - case $ac_arg in
  9759. - *=* | --config-cache | -C | -disable-* | --disable-* \
  9760. - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  9761. - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  9762. - | -with-* | --with-* | -without-* | --without-* | --x)
  9763. - case "$ac_configure_args0 " in
  9764. - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  9765. - esac
  9766. - ;;
  9767. - -* ) ac_must_keep_next=true ;;
  9768. - esac
  9769. - fi
  9770. - ac_configure_args="$ac_configure_args '$ac_arg'"
  9771. - ;;
  9772. - esac
  9773. - done
  9774. -done
  9775. -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  9776. -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  9777. +/* System header to define __stub macros and hopefully few prototypes,
  9778. + which can conflict with char $2 (); below.
  9779. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9780. + <limits.h> exists even on freestanding compilers. */
  9781. -# When interrupted or exit'd, cleanup temporary files, and complete
  9782. -# config.log. We remove comments because anyway the quotes in there
  9783. -# would cause problems or look ugly.
  9784. -# WARNING: Use '\'' to represent an apostrophe within the trap.
  9785. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  9786. -trap 'exit_status=$?
  9787. - # Save into config.log some information that might help in debugging.
  9788. - {
  9789. - echo
  9790. +#ifdef __STDC__
  9791. +# include <limits.h>
  9792. +#else
  9793. +# include <assert.h>
  9794. +#endif
  9795. - cat <<\_ASBOX
  9796. -## ---------------- ##
  9797. -## Cache variables. ##
  9798. -## ---------------- ##
  9799. -_ASBOX
  9800. - echo
  9801. - # The following way of writing the cache mishandles newlines in values,
  9802. -(
  9803. +#undef $2
  9804. +
  9805. +/* Override any GCC internal prototype to avoid an error.
  9806. + Use char because int might match the return type of a GCC
  9807. + builtin and then its argument prototype would still apply. */
  9808. +#ifdef __cplusplus
  9809. +extern "C"
  9810. +#endif
  9811. +char $2 ();
  9812. +/* The GNU C library defines this for functions which it implements
  9813. + to always fail with ENOSYS. Some functions are actually named
  9814. + something starting with __ and the normal name is an alias. */
  9815. +#if defined __stub_$2 || defined __stub___$2
  9816. +choke me
  9817. +#endif
  9818. +
  9819. +int
  9820. +main ()
  9821. +{
  9822. +return $2 ();
  9823. + ;
  9824. + return 0;
  9825. +}
  9826. +_ACEOF
  9827. +if ac_fn_c_try_link "$LINENO"; then :
  9828. + eval "$3=yes"
  9829. +else
  9830. + eval "$3=no"
  9831. +fi
  9832. +rm -f core conftest.err conftest.$ac_objext \
  9833. + conftest$ac_exeext conftest.$ac_ext
  9834. +fi
  9835. +eval ac_res=\$$3
  9836. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  9837. +$as_echo "$ac_res" >&6; }
  9838. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  9839. +
  9840. +} # ac_fn_c_check_func
  9841. +
  9842. +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  9843. +# -------------------------------------------------------
  9844. +# Tests whether HEADER exists, giving a warning if it cannot be compiled using
  9845. +# the include files in INCLUDES and setting the cache variable VAR
  9846. +# accordingly.
  9847. +ac_fn_c_check_header_mongrel ()
  9848. +{
  9849. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9850. + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  9851. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  9852. +$as_echo_n "checking for $2... " >&6; }
  9853. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  9854. + $as_echo_n "(cached) " >&6
  9855. +fi
  9856. +eval ac_res=\$$3
  9857. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  9858. +$as_echo "$ac_res" >&6; }
  9859. +else
  9860. + # Is the header compilable?
  9861. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  9862. +$as_echo_n "checking $2 usability... " >&6; }
  9863. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9864. +/* end confdefs.h. */
  9865. +$4
  9866. +#include <$2>
  9867. +_ACEOF
  9868. +if ac_fn_c_try_compile "$LINENO"; then :
  9869. + ac_header_compiler=yes
  9870. +else
  9871. + ac_header_compiler=no
  9872. +fi
  9873. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9874. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  9875. +$as_echo "$ac_header_compiler" >&6; }
  9876. +
  9877. +# Is the header present?
  9878. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  9879. +$as_echo_n "checking $2 presence... " >&6; }
  9880. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9881. +/* end confdefs.h. */
  9882. +#include <$2>
  9883. +_ACEOF
  9884. +if ac_fn_c_try_cpp "$LINENO"; then :
  9885. + ac_header_preproc=yes
  9886. +else
  9887. + ac_header_preproc=no
  9888. +fi
  9889. +rm -f conftest.err conftest.$ac_ext
  9890. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  9891. +$as_echo "$ac_header_preproc" >&6; }
  9892. +
  9893. +# So? What about this header?
  9894. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  9895. + yes:no: )
  9896. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  9897. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9898. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  9899. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  9900. + ;;
  9901. + no:yes:* )
  9902. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  9903. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  9904. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  9905. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  9906. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  9907. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  9908. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  9909. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  9910. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  9911. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  9912. + ;;
  9913. +esac
  9914. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  9915. +$as_echo_n "checking for $2... " >&6; }
  9916. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  9917. + $as_echo_n "(cached) " >&6
  9918. +else
  9919. + eval "$3=\$ac_header_compiler"
  9920. +fi
  9921. +eval ac_res=\$$3
  9922. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  9923. +$as_echo "$ac_res" >&6; }
  9924. +fi
  9925. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  9926. +
  9927. +} # ac_fn_c_check_header_mongrel
  9928. +
  9929. +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  9930. +# -------------------------------------------
  9931. +# Tests whether TYPE exists after having included INCLUDES, setting cache
  9932. +# variable VAR accordingly.
  9933. +ac_fn_c_check_type ()
  9934. +{
  9935. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9936. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  9937. +$as_echo_n "checking for $2... " >&6; }
  9938. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  9939. + $as_echo_n "(cached) " >&6
  9940. +else
  9941. + eval "$3=no"
  9942. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9943. +/* end confdefs.h. */
  9944. +$4
  9945. +int
  9946. +main ()
  9947. +{
  9948. +if (sizeof ($2))
  9949. + return 0;
  9950. + ;
  9951. + return 0;
  9952. +}
  9953. +_ACEOF
  9954. +if ac_fn_c_try_compile "$LINENO"; then :
  9955. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9956. +/* end confdefs.h. */
  9957. +$4
  9958. +int
  9959. +main ()
  9960. +{
  9961. +if (sizeof (($2)))
  9962. + return 0;
  9963. + ;
  9964. + return 0;
  9965. +}
  9966. +_ACEOF
  9967. +if ac_fn_c_try_compile "$LINENO"; then :
  9968. +
  9969. +else
  9970. + eval "$3=yes"
  9971. +fi
  9972. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9973. +fi
  9974. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9975. +fi
  9976. +eval ac_res=\$$3
  9977. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  9978. +$as_echo "$ac_res" >&6; }
  9979. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  9980. +
  9981. +} # ac_fn_c_check_type
  9982. +
  9983. +# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  9984. +# ----------------------------------------------------
  9985. +# Tries to find if the field MEMBER exists in type AGGR, after including
  9986. +# INCLUDES, setting cache variable VAR accordingly.
  9987. +ac_fn_c_check_member ()
  9988. +{
  9989. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9990. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  9991. +$as_echo_n "checking for $2.$3... " >&6; }
  9992. +if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
  9993. + $as_echo_n "(cached) " >&6
  9994. +else
  9995. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9996. +/* end confdefs.h. */
  9997. +$5
  9998. +int
  9999. +main ()
  10000. +{
  10001. +static $2 ac_aggr;
  10002. +if (ac_aggr.$3)
  10003. +return 0;
  10004. + ;
  10005. + return 0;
  10006. +}
  10007. +_ACEOF
  10008. +if ac_fn_c_try_compile "$LINENO"; then :
  10009. + eval "$4=yes"
  10010. +else
  10011. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10012. +/* end confdefs.h. */
  10013. +$5
  10014. +int
  10015. +main ()
  10016. +{
  10017. +static $2 ac_aggr;
  10018. +if (sizeof ac_aggr.$3)
  10019. +return 0;
  10020. + ;
  10021. + return 0;
  10022. +}
  10023. +_ACEOF
  10024. +if ac_fn_c_try_compile "$LINENO"; then :
  10025. + eval "$4=yes"
  10026. +else
  10027. + eval "$4=no"
  10028. +fi
  10029. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10030. +fi
  10031. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10032. +fi
  10033. +eval ac_res=\$$4
  10034. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  10035. +$as_echo "$ac_res" >&6; }
  10036. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  10037. +
  10038. +} # ac_fn_c_check_member
  10039. +cat >config.log <<_ACEOF
  10040. +This file contains any messages produced by compilers while
  10041. +running configure, to aid debugging if configure makes a mistake.
  10042. +
  10043. +It was created by $as_me, which was
  10044. +generated by GNU Autoconf 2.65. Invocation command line was
  10045. +
  10046. + $ $0 $@
  10047. +
  10048. +_ACEOF
  10049. +exec 5>>config.log
  10050. +{
  10051. +cat <<_ASUNAME
  10052. +## --------- ##
  10053. +## Platform. ##
  10054. +## --------- ##
  10055. +
  10056. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  10057. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  10058. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  10059. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  10060. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  10061. +
  10062. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  10063. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  10064. +
  10065. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  10066. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  10067. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  10068. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  10069. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  10070. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  10071. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  10072. +
  10073. +_ASUNAME
  10074. +
  10075. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10076. +for as_dir in $PATH
  10077. +do
  10078. + IFS=$as_save_IFS
  10079. + test -z "$as_dir" && as_dir=.
  10080. + $as_echo "PATH: $as_dir"
  10081. + done
  10082. +IFS=$as_save_IFS
  10083. +
  10084. +} >&5
  10085. +
  10086. +cat >&5 <<_ACEOF
  10087. +
  10088. +
  10089. +## ----------- ##
  10090. +## Core tests. ##
  10091. +## ----------- ##
  10092. +
  10093. +_ACEOF
  10094. +
  10095. +
  10096. +# Keep a trace of the command line.
  10097. +# Strip out --no-create and --no-recursion so they do not pile up.
  10098. +# Strip out --silent because we don't want to record it for future runs.
  10099. +# Also quote any args containing shell meta-characters.
  10100. +# Make two passes to allow for proper duplicate-argument suppression.
  10101. +ac_configure_args=
  10102. +ac_configure_args0=
  10103. +ac_configure_args1=
  10104. +ac_must_keep_next=false
  10105. +for ac_pass in 1 2
  10106. +do
  10107. + for ac_arg
  10108. + do
  10109. + case $ac_arg in
  10110. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  10111. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  10112. + | -silent | --silent | --silen | --sile | --sil)
  10113. + continue ;;
  10114. + *\'*)
  10115. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  10116. + esac
  10117. + case $ac_pass in
  10118. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  10119. + 2)
  10120. + as_fn_append ac_configure_args1 " '$ac_arg'"
  10121. + if test $ac_must_keep_next = true; then
  10122. + ac_must_keep_next=false # Got value, back to normal.
  10123. + else
  10124. + case $ac_arg in
  10125. + *=* | --config-cache | -C | -disable-* | --disable-* \
  10126. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  10127. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  10128. + | -with-* | --with-* | -without-* | --without-* | --x)
  10129. + case "$ac_configure_args0 " in
  10130. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  10131. + esac
  10132. + ;;
  10133. + -* ) ac_must_keep_next=true ;;
  10134. + esac
  10135. + fi
  10136. + as_fn_append ac_configure_args " '$ac_arg'"
  10137. + ;;
  10138. + esac
  10139. + done
  10140. +done
  10141. +{ ac_configure_args0=; unset ac_configure_args0;}
  10142. +{ ac_configure_args1=; unset ac_configure_args1;}
  10143. +
  10144. +# When interrupted or exit'd, cleanup temporary files, and complete
  10145. +# config.log. We remove comments because anyway the quotes in there
  10146. +# would cause problems or look ugly.
  10147. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  10148. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  10149. +trap 'exit_status=$?
  10150. + # Save into config.log some information that might help in debugging.
  10151. + {
  10152. + echo
  10153. +
  10154. + cat <<\_ASBOX
  10155. +## ---------------- ##
  10156. +## Cache variables. ##
  10157. +## ---------------- ##
  10158. +_ASBOX
  10159. + echo
  10160. + # The following way of writing the cache mishandles newlines in values,
  10161. +(
  10162. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  10163. eval ac_val=\$$ac_var
  10164. case $ac_val in #(
  10165. *${as_nl}*)
  10166. case $ac_var in #(
  10167. - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  10168. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  10169. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  10170. esac
  10171. case $ac_var in #(
  10172. _ | IFS | as_nl) ;; #(
  10173. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  10174. - *) $as_unset $ac_var ;;
  10175. + *) { eval $ac_var=; unset $ac_var;} ;;
  10176. esac ;;
  10177. esac
  10178. done
  10179. @@ -2133,39 +2405,41 @@
  10180. exit $exit_status
  10181. ' 0
  10182. for ac_signal in 1 2 13 15; do
  10183. - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  10184. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  10185. done
  10186. ac_signal=0
  10187. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  10188. rm -f -r conftest* confdefs.h
  10189. +$as_echo "/* confdefs.h */" > confdefs.h
  10190. +
  10191. # Predefined preprocessor variables.
  10192. cat >>confdefs.h <<_ACEOF
  10193. #define PACKAGE_NAME "$PACKAGE_NAME"
  10194. _ACEOF
  10195. -
  10196. cat >>confdefs.h <<_ACEOF
  10197. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  10198. _ACEOF
  10199. -
  10200. cat >>confdefs.h <<_ACEOF
  10201. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  10202. _ACEOF
  10203. -
  10204. cat >>confdefs.h <<_ACEOF
  10205. #define PACKAGE_STRING "$PACKAGE_STRING"
  10206. _ACEOF
  10207. -
  10208. cat >>confdefs.h <<_ACEOF
  10209. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  10210. _ACEOF
  10211. +cat >>confdefs.h <<_ACEOF
  10212. +#define PACKAGE_URL "$PACKAGE_URL"
  10213. +_ACEOF
  10214. +
  10215. # Let the site file select an alternate cache file if it wants to.
  10216. # Prefer an explicitly selected file to automatically selected ones.
  10217. @@ -2183,8 +2457,8 @@
  10218. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  10219. do
  10220. test "x$ac_site_file" = xNONE && continue
  10221. - if test -r "$ac_site_file"; then
  10222. - { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  10223. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  10224. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  10225. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  10226. sed 's/^/| /' "$ac_site_file" >&5
  10227. . "$ac_site_file"
  10228. @@ -2192,10 +2466,10 @@
  10229. done
  10230. if test -r "$cache_file"; then
  10231. - # Some versions of bash will fail to source /dev/null (special
  10232. - # files actually), so we avoid doing that.
  10233. - if test -f "$cache_file"; then
  10234. - { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  10235. + # Some versions of bash will fail to source /dev/null (special files
  10236. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  10237. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  10238. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  10239. $as_echo "$as_me: loading cache $cache_file" >&6;}
  10240. case $cache_file in
  10241. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  10242. @@ -2203,7 +2477,7 @@
  10243. esac
  10244. fi
  10245. else
  10246. - { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  10247. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  10248. $as_echo "$as_me: creating cache $cache_file" >&6;}
  10249. >$cache_file
  10250. fi
  10251. @@ -2218,11 +2492,11 @@
  10252. eval ac_new_val=\$ac_env_${ac_var}_value
  10253. case $ac_old_set,$ac_new_set in
  10254. set,)
  10255. - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  10256. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  10257. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  10258. ac_cache_corrupted=: ;;
  10259. ,set)
  10260. - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  10261. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  10262. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  10263. ac_cache_corrupted=: ;;
  10264. ,);;
  10265. @@ -2232,17 +2506,17 @@
  10266. ac_old_val_w=`echo x $ac_old_val`
  10267. ac_new_val_w=`echo x $ac_new_val`
  10268. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  10269. - { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  10270. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  10271. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  10272. ac_cache_corrupted=:
  10273. else
  10274. - { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  10275. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  10276. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  10277. eval $ac_var=\$ac_old_val
  10278. fi
  10279. - { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
  10280. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  10281. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  10282. - { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
  10283. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  10284. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  10285. fi;;
  10286. esac
  10287. @@ -2254,41 +2528,26 @@
  10288. esac
  10289. case " $ac_configure_args " in
  10290. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  10291. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  10292. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  10293. esac
  10294. fi
  10295. done
  10296. if $ac_cache_corrupted; then
  10297. - { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  10298. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  10299. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  10300. - { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  10301. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  10302. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  10303. - { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  10304. -$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  10305. - { (exit 1); exit 1; }; }
  10306. + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  10307. fi
  10308. +## -------------------- ##
  10309. +## Main body of script. ##
  10310. +## -------------------- ##
  10311. -
  10312. -
  10313. -
  10314. -
  10315. -
  10316. -
  10317. -
  10318. -
  10319. -
  10320. -
  10321. -
  10322. -
  10323. -
  10324. -
  10325. -
  10326. -
  10327. -ac_ext=c
  10328. -ac_cpp='$CPP $CPPFLAGS'
  10329. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10330. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10331. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10332. +ac_ext=c
  10333. +ac_cpp='$CPP $CPPFLAGS'
  10334. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10335. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10336. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10337. @@ -2314,6 +2573,8 @@
  10338. +
  10339. +
  10340. LT_CURRENT=`expr $VERSION_PATCHLEVEL - $OWFS_INTERFACE_AGE`
  10341. LT_REVISION=$OWFS_INTERFACE_AGE
  10342. LT_AGE=`expr $OWFS_BINARY_AGE - $OWFS_INTERFACE_AGE`
  10343. @@ -2325,29 +2586,21 @@
  10344. PACKAGE="owfs"
  10345. -{ $as_echo "$as_me:$LINENO: result: Configuring ${PACKAGE}-${VERSION}" >&5
  10346. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Configuring ${PACKAGE}-${VERSION}" >&5
  10347. $as_echo "Configuring ${PACKAGE}-${VERSION}" >&6; }
  10348. ac_aux_dir=
  10349. for ac_dir in src/scripts/install "$srcdir"/src/scripts/install; do
  10350. - if test -f "$ac_dir/install-sh"; then
  10351. - ac_aux_dir=$ac_dir
  10352. - ac_install_sh="$ac_aux_dir/install-sh -c"
  10353. - break
  10354. - elif test -f "$ac_dir/install.sh"; then
  10355. - ac_aux_dir=$ac_dir
  10356. - ac_install_sh="$ac_aux_dir/install.sh -c"
  10357. - break
  10358. - elif test -f "$ac_dir/shtool"; then
  10359. - ac_aux_dir=$ac_dir
  10360. - ac_install_sh="$ac_aux_dir/shtool install -c"
  10361. - break
  10362. - fi
  10363. + for ac_t in install-sh install.sh shtool; do
  10364. + if test -f "$ac_dir/$ac_t"; then
  10365. + ac_aux_dir=$ac_dir
  10366. + ac_install_sh="$ac_aux_dir/$ac_t -c"
  10367. + break 2
  10368. + fi
  10369. + done
  10370. done
  10371. if test -z "$ac_aux_dir"; then
  10372. - { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in src/scripts/install \"$srcdir\"/src/scripts/install" >&5
  10373. -$as_echo "$as_me: error: cannot find install-sh or install.sh in src/scripts/install \"$srcdir\"/src/scripts/install" >&2;}
  10374. - { (exit 1); exit 1; }; }
  10375. + as_fn_error "cannot find install-sh, install.sh, or shtool in src/scripts/install \"$srcdir\"/src/scripts/install" "$LINENO" 5
  10376. fi
  10377. # These three variables are undocumented and unsupported,
  10378. @@ -2361,35 +2614,27 @@
  10379. # Make sure we can run config.sub.
  10380. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  10381. - { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  10382. -$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  10383. - { (exit 1); exit 1; }; }
  10384. + as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  10385. -{ $as_echo "$as_me:$LINENO: checking build system type" >&5
  10386. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  10387. $as_echo_n "checking build system type... " >&6; }
  10388. -if test "${ac_cv_build+set}" = set; then
  10389. +if test "${ac_cv_build+set}" = set; then :
  10390. $as_echo_n "(cached) " >&6
  10391. else
  10392. ac_build_alias=$build_alias
  10393. test "x$ac_build_alias" = x &&
  10394. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  10395. test "x$ac_build_alias" = x &&
  10396. - { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  10397. -$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  10398. - { (exit 1); exit 1; }; }
  10399. + as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  10400. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  10401. - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  10402. -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  10403. - { (exit 1); exit 1; }; }
  10404. + as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  10405. fi
  10406. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  10407. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  10408. $as_echo "$ac_cv_build" >&6; }
  10409. case $ac_cv_build in
  10410. *-*-*) ;;
  10411. -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  10412. -$as_echo "$as_me: error: invalid value of canonical build" >&2;}
  10413. - { (exit 1); exit 1; }; };;
  10414. +*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  10415. esac
  10416. build=$ac_cv_build
  10417. ac_save_IFS=$IFS; IFS='-'
  10418. @@ -2405,28 +2650,24 @@
  10419. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  10420. -{ $as_echo "$as_me:$LINENO: checking host system type" >&5
  10421. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  10422. $as_echo_n "checking host system type... " >&6; }
  10423. -if test "${ac_cv_host+set}" = set; then
  10424. +if test "${ac_cv_host+set}" = set; then :
  10425. $as_echo_n "(cached) " >&6
  10426. else
  10427. if test "x$host_alias" = x; then
  10428. ac_cv_host=$ac_cv_build
  10429. else
  10430. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  10431. - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  10432. -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  10433. - { (exit 1); exit 1; }; }
  10434. + as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  10435. fi
  10436. fi
  10437. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  10438. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  10439. $as_echo "$ac_cv_host" >&6; }
  10440. case $ac_cv_host in
  10441. *-*-*) ;;
  10442. -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  10443. -$as_echo "$as_me: error: invalid value of canonical host" >&2;}
  10444. - { (exit 1); exit 1; }; };;
  10445. +*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  10446. esac
  10447. host=$ac_cv_host
  10448. ac_save_IFS=$IFS; IFS='-'
  10449. @@ -2442,28 +2683,24 @@
  10450. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  10451. -{ $as_echo "$as_me:$LINENO: checking target system type" >&5
  10452. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  10453. $as_echo_n "checking target system type... " >&6; }
  10454. -if test "${ac_cv_target+set}" = set; then
  10455. +if test "${ac_cv_target+set}" = set; then :
  10456. $as_echo_n "(cached) " >&6
  10457. else
  10458. if test "x$target_alias" = x; then
  10459. ac_cv_target=$ac_cv_host
  10460. else
  10461. ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  10462. - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
  10463. -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
  10464. - { (exit 1); exit 1; }; }
  10465. + as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  10466. fi
  10467. fi
  10468. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
  10469. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  10470. $as_echo "$ac_cv_target" >&6; }
  10471. case $ac_cv_target in
  10472. *-*-*) ;;
  10473. -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
  10474. -$as_echo "$as_me: error: invalid value of canonical target" >&2;}
  10475. - { (exit 1); exit 1; }; };;
  10476. +*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
  10477. esac
  10478. target=$ac_cv_target
  10479. ac_save_IFS=$IFS; IFS='-'
  10480. @@ -2485,7 +2722,7 @@
  10481. test "$program_prefix$program_suffix$program_transform_name" = \
  10482. NONENONEs,x,x, &&
  10483. program_prefix=${target_alias}-
  10484. -am__api_version='1.10'
  10485. +am__api_version='1.11'
  10486. # Find a good install program. We prefer a C program (faster),
  10487. # so one script is as good as another. But avoid the broken or
  10488. @@ -2501,10 +2738,10 @@
  10489. # OS/2's system install, which has a completely different semantic
  10490. # ./install, which can be erroneously created by make from ./install.sh.
  10491. # Reject install programs that cannot install multiple files.
  10492. -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  10493. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  10494. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  10495. if test -z "$INSTALL"; then
  10496. -if test "${ac_cv_path_install+set}" = set; then
  10497. +if test "${ac_cv_path_install+set}" = set; then :
  10498. $as_echo_n "(cached) " >&6
  10499. else
  10500. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10501. @@ -2512,11 +2749,11 @@
  10502. do
  10503. IFS=$as_save_IFS
  10504. test -z "$as_dir" && as_dir=.
  10505. - # Account for people who put trailing slashes in PATH elements.
  10506. -case $as_dir/ in
  10507. - ./ | .// | /cC/* | \
  10508. + # Account for people who put trailing slashes in PATH elements.
  10509. +case $as_dir/ in #((
  10510. + ./ | .// | /[cC]/* | \
  10511. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  10512. - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  10513. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  10514. /usr/ucb/* ) ;;
  10515. *)
  10516. # OSF1 and SCO ODT 3.0 have their own names for install.
  10517. @@ -2553,7 +2790,7 @@
  10518. ;;
  10519. esac
  10520. -done
  10521. + done
  10522. IFS=$as_save_IFS
  10523. rm -rf conftest.one conftest.two conftest.dir
  10524. @@ -2569,7 +2806,7 @@
  10525. INSTALL=$ac_install_sh
  10526. fi
  10527. fi
  10528. -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  10529. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  10530. $as_echo "$INSTALL" >&6; }
  10531. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  10532. @@ -2580,21 +2817,34 @@
  10533. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  10534. -{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  10535. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  10536. $as_echo_n "checking whether build environment is sane... " >&6; }
  10537. # Just in case
  10538. sleep 1
  10539. echo timestamp > conftest.file
  10540. +# Reject unsafe characters in $srcdir or the absolute working directory
  10541. +# name. Accept space and tab only in the latter.
  10542. +am_lf='
  10543. +'
  10544. +case `pwd` in
  10545. + *[\\\"\#\$\&\'\`$am_lf]*)
  10546. + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  10547. +esac
  10548. +case $srcdir in
  10549. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  10550. + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  10551. +esac
  10552. +
  10553. # Do `set' in a subshell so we don't clobber the current shell's
  10554. # arguments. Must try -L first in case configure is actually a
  10555. # symlink; some systems play weird games with the mod time of symlinks
  10556. # (eg FreeBSD returns the mod time of the symlink's containing
  10557. # directory).
  10558. if (
  10559. - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  10560. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  10561. if test "$*" = "X"; then
  10562. # -L didn't work.
  10563. - set X `ls -t $srcdir/configure conftest.file`
  10564. + set X `ls -t "$srcdir/configure" conftest.file`
  10565. fi
  10566. rm -f conftest.file
  10567. if test "$*" != "X $srcdir/configure conftest.file" \
  10568. @@ -2604,11 +2854,8 @@
  10569. # if, for instance, CONFIG_SHELL is bash and it inherits a
  10570. # broken ls alias from the environment. This has actually
  10571. # happened. Such a system could not be considered "sane".
  10572. - { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
  10573. -alias in your environment" >&5
  10574. -$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
  10575. -alias in your environment" >&2;}
  10576. - { (exit 1); exit 1; }; }
  10577. + as_fn_error "ls -t appears to fail. Make sure there is not a broken
  10578. +alias in your environment" "$LINENO" 5
  10579. fi
  10580. test "$2" = conftest.file
  10581. @@ -2617,13 +2864,10 @@
  10582. # Ok.
  10583. :
  10584. else
  10585. - { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  10586. -Check your system clock" >&5
  10587. -$as_echo "$as_me: error: newly created file is older than distributed files!
  10588. -Check your system clock" >&2;}
  10589. - { (exit 1); exit 1; }; }
  10590. + as_fn_error "newly created file is older than distributed files!
  10591. +Check your system clock" "$LINENO" 5
  10592. fi
  10593. -{ $as_echo "$as_me:$LINENO: result: yes" >&5
  10594. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10595. $as_echo "yes" >&6; }
  10596. test "$program_prefix" != NONE &&
  10597. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  10598. @@ -2638,20 +2882,136 @@
  10599. # expand $ac_aux_dir to an absolute path
  10600. am_aux_dir=`cd $ac_aux_dir && pwd`
  10601. -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  10602. +if test x"${MISSING+set}" != xset; then
  10603. + case $am_aux_dir in
  10604. + *\ * | *\ *)
  10605. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  10606. + *)
  10607. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  10608. + esac
  10609. +fi
  10610. # Use eval to expand $SHELL
  10611. if eval "$MISSING --run true"; then
  10612. am_missing_run="$MISSING --run "
  10613. else
  10614. am_missing_run=
  10615. - { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  10616. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  10617. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  10618. fi
  10619. -{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
  10620. +if test x"${install_sh}" != xset; then
  10621. + case $am_aux_dir in
  10622. + *\ * | *\ *)
  10623. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  10624. + *)
  10625. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  10626. + esac
  10627. +fi
  10628. +
  10629. +# Installed binaries are usually stripped using `strip' when the user
  10630. +# run `make install-strip'. However `strip' might not be the right
  10631. +# tool to use in cross-compilation environments, therefore Automake
  10632. +# will honor the `STRIP' environment variable to overrule this program.
  10633. +if test "$cross_compiling" != no; then
  10634. + if test -n "$ac_tool_prefix"; then
  10635. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  10636. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  10637. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10638. +$as_echo_n "checking for $ac_word... " >&6; }
  10639. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  10640. + $as_echo_n "(cached) " >&6
  10641. +else
  10642. + if test -n "$STRIP"; then
  10643. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  10644. +else
  10645. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10646. +for as_dir in $PATH
  10647. +do
  10648. + IFS=$as_save_IFS
  10649. + test -z "$as_dir" && as_dir=.
  10650. + for ac_exec_ext in '' $ac_executable_extensions; do
  10651. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10652. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  10653. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10654. + break 2
  10655. + fi
  10656. +done
  10657. + done
  10658. +IFS=$as_save_IFS
  10659. +
  10660. +fi
  10661. +fi
  10662. +STRIP=$ac_cv_prog_STRIP
  10663. +if test -n "$STRIP"; then
  10664. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  10665. +$as_echo "$STRIP" >&6; }
  10666. +else
  10667. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10668. +$as_echo "no" >&6; }
  10669. +fi
  10670. +
  10671. +
  10672. +fi
  10673. +if test -z "$ac_cv_prog_STRIP"; then
  10674. + ac_ct_STRIP=$STRIP
  10675. + # Extract the first word of "strip", so it can be a program name with args.
  10676. +set dummy strip; ac_word=$2
  10677. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10678. +$as_echo_n "checking for $ac_word... " >&6; }
  10679. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  10680. + $as_echo_n "(cached) " >&6
  10681. +else
  10682. + if test -n "$ac_ct_STRIP"; then
  10683. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  10684. +else
  10685. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10686. +for as_dir in $PATH
  10687. +do
  10688. + IFS=$as_save_IFS
  10689. + test -z "$as_dir" && as_dir=.
  10690. + for ac_exec_ext in '' $ac_executable_extensions; do
  10691. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10692. + ac_cv_prog_ac_ct_STRIP="strip"
  10693. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10694. + break 2
  10695. + fi
  10696. +done
  10697. + done
  10698. +IFS=$as_save_IFS
  10699. +
  10700. +fi
  10701. +fi
  10702. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  10703. +if test -n "$ac_ct_STRIP"; then
  10704. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  10705. +$as_echo "$ac_ct_STRIP" >&6; }
  10706. +else
  10707. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10708. +$as_echo "no" >&6; }
  10709. +fi
  10710. +
  10711. + if test "x$ac_ct_STRIP" = x; then
  10712. + STRIP=":"
  10713. + else
  10714. + case $cross_compiling:$ac_tool_warned in
  10715. +yes:)
  10716. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  10717. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  10718. +ac_tool_warned=yes ;;
  10719. +esac
  10720. + STRIP=$ac_ct_STRIP
  10721. + fi
  10722. +else
  10723. + STRIP="$ac_cv_prog_STRIP"
  10724. +fi
  10725. +
  10726. +fi
  10727. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  10728. +
  10729. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  10730. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  10731. if test -z "$MKDIR_P"; then
  10732. - if test "${ac_cv_path_mkdir+set}" = set; then
  10733. + if test "${ac_cv_path_mkdir+set}" = set; then :
  10734. $as_echo_n "(cached) " >&6
  10735. else
  10736. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10737. @@ -2659,7 +3019,7 @@
  10738. do
  10739. IFS=$as_save_IFS
  10740. test -z "$as_dir" && as_dir=.
  10741. - for ac_prog in mkdir gmkdir; do
  10742. + for ac_prog in mkdir gmkdir; do
  10743. for ac_exec_ext in '' $ac_executable_extensions; do
  10744. { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  10745. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  10746. @@ -2671,11 +3031,12 @@
  10747. esac
  10748. done
  10749. done
  10750. -done
  10751. + done
  10752. IFS=$as_save_IFS
  10753. fi
  10754. + test -d ./--version && rmdir ./--version
  10755. if test "${ac_cv_path_mkdir+set}" = set; then
  10756. MKDIR_P="$ac_cv_path_mkdir -p"
  10757. else
  10758. @@ -2683,11 +3044,10 @@
  10759. # value for MKDIR_P within a source directory, because that will
  10760. # break other packages using the cache if that directory is
  10761. # removed, or if the value is a relative name.
  10762. - test -d ./--version && rmdir ./--version
  10763. MKDIR_P="$ac_install_sh -d"
  10764. fi
  10765. fi
  10766. -{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
  10767. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  10768. $as_echo "$MKDIR_P" >&6; }
  10769. mkdir_p="$MKDIR_P"
  10770. @@ -2700,9 +3060,9 @@
  10771. do
  10772. # Extract the first word of "$ac_prog", so it can be a program name with args.
  10773. set dummy $ac_prog; ac_word=$2
  10774. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  10775. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10776. $as_echo_n "checking for $ac_word... " >&6; }
  10777. -if test "${ac_cv_prog_AWK+set}" = set; then
  10778. +if test "${ac_cv_prog_AWK+set}" = set; then :
  10779. $as_echo_n "(cached) " >&6
  10780. else
  10781. if test -n "$AWK"; then
  10782. @@ -2713,24 +3073,24 @@
  10783. do
  10784. IFS=$as_save_IFS
  10785. test -z "$as_dir" && as_dir=.
  10786. - for ac_exec_ext in '' $ac_executable_extensions; do
  10787. + for ac_exec_ext in '' $ac_executable_extensions; do
  10788. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10789. ac_cv_prog_AWK="$ac_prog"
  10790. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  10791. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10792. break 2
  10793. fi
  10794. done
  10795. -done
  10796. + done
  10797. IFS=$as_save_IFS
  10798. fi
  10799. fi
  10800. AWK=$ac_cv_prog_AWK
  10801. if test -n "$AWK"; then
  10802. - { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  10803. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  10804. $as_echo "$AWK" >&6; }
  10805. else
  10806. - { $as_echo "$as_me:$LINENO: result: no" >&5
  10807. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10808. $as_echo "no" >&6; }
  10809. fi
  10810. @@ -2738,11 +3098,11 @@
  10811. test -n "$AWK" && break
  10812. done
  10813. -{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  10814. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  10815. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  10816. set x ${MAKE-make}
  10817. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  10818. -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  10819. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  10820. $as_echo_n "(cached) " >&6
  10821. else
  10822. cat >conftest.make <<\_ACEOF
  10823. @@ -2760,11 +3120,11 @@
  10824. rm -f conftest.make
  10825. fi
  10826. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  10827. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  10828. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10829. $as_echo "yes" >&6; }
  10830. SET_MAKE=
  10831. else
  10832. - { $as_echo "$as_me:$LINENO: result: no" >&5
  10833. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10834. $as_echo "no" >&6; }
  10835. SET_MAKE="MAKE=${MAKE-make}"
  10836. fi
  10837. @@ -2784,9 +3144,7 @@
  10838. am__isrc=' -I$(srcdir)'
  10839. # test to see if srcdir already configured
  10840. if test -f $srcdir/config.status; then
  10841. - { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  10842. -$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  10843. - { (exit 1); exit 1; }; }
  10844. + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  10845. fi
  10846. fi
  10847. @@ -2830,108 +3188,6 @@
  10848. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  10849. -install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
  10850. -
  10851. -# Installed binaries are usually stripped using `strip' when the user
  10852. -# run `make install-strip'. However `strip' might not be the right
  10853. -# tool to use in cross-compilation environments, therefore Automake
  10854. -# will honor the `STRIP' environment variable to overrule this program.
  10855. -if test "$cross_compiling" != no; then
  10856. - if test -n "$ac_tool_prefix"; then
  10857. - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  10858. -set dummy ${ac_tool_prefix}strip; ac_word=$2
  10859. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  10860. -$as_echo_n "checking for $ac_word... " >&6; }
  10861. -if test "${ac_cv_prog_STRIP+set}" = set; then
  10862. - $as_echo_n "(cached) " >&6
  10863. -else
  10864. - if test -n "$STRIP"; then
  10865. - ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  10866. -else
  10867. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10868. -for as_dir in $PATH
  10869. -do
  10870. - IFS=$as_save_IFS
  10871. - test -z "$as_dir" && as_dir=.
  10872. - for ac_exec_ext in '' $ac_executable_extensions; do
  10873. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10874. - ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  10875. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  10876. - break 2
  10877. - fi
  10878. -done
  10879. -done
  10880. -IFS=$as_save_IFS
  10881. -
  10882. -fi
  10883. -fi
  10884. -STRIP=$ac_cv_prog_STRIP
  10885. -if test -n "$STRIP"; then
  10886. - { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  10887. -$as_echo "$STRIP" >&6; }
  10888. -else
  10889. - { $as_echo "$as_me:$LINENO: result: no" >&5
  10890. -$as_echo "no" >&6; }
  10891. -fi
  10892. -
  10893. -
  10894. -fi
  10895. -if test -z "$ac_cv_prog_STRIP"; then
  10896. - ac_ct_STRIP=$STRIP
  10897. - # Extract the first word of "strip", so it can be a program name with args.
  10898. -set dummy strip; ac_word=$2
  10899. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  10900. -$as_echo_n "checking for $ac_word... " >&6; }
  10901. -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  10902. - $as_echo_n "(cached) " >&6
  10903. -else
  10904. - if test -n "$ac_ct_STRIP"; then
  10905. - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  10906. -else
  10907. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10908. -for as_dir in $PATH
  10909. -do
  10910. - IFS=$as_save_IFS
  10911. - test -z "$as_dir" && as_dir=.
  10912. - for ac_exec_ext in '' $ac_executable_extensions; do
  10913. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10914. - ac_cv_prog_ac_ct_STRIP="strip"
  10915. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  10916. - break 2
  10917. - fi
  10918. -done
  10919. -done
  10920. -IFS=$as_save_IFS
  10921. -
  10922. -fi
  10923. -fi
  10924. -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  10925. -if test -n "$ac_ct_STRIP"; then
  10926. - { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  10927. -$as_echo "$ac_ct_STRIP" >&6; }
  10928. -else
  10929. - { $as_echo "$as_me:$LINENO: result: no" >&5
  10930. -$as_echo "no" >&6; }
  10931. -fi
  10932. -
  10933. - if test "x$ac_ct_STRIP" = x; then
  10934. - STRIP=":"
  10935. - else
  10936. - case $cross_compiling:$ac_tool_warned in
  10937. -yes:)
  10938. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  10939. -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  10940. -ac_tool_warned=yes ;;
  10941. -esac
  10942. - STRIP=$ac_ct_STRIP
  10943. - fi
  10944. -else
  10945. - STRIP="$ac_cv_prog_STRIP"
  10946. -fi
  10947. -
  10948. -fi
  10949. -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  10950. -
  10951. # We need awk for the "check" target. The system "awk" is bad on
  10952. # some platforms.
  10953. # Always define AMTAR for backward compatibility.
  10954. @@ -2947,17 +3203,15 @@
  10955. # Process config.h.in
  10956. -
  10957. -
  10958. ac_config_headers="$ac_config_headers src/include/config.h"
  10959. # Extract the first word of "echo", so it can be a program name with args.
  10960. set dummy echo; ac_word=$2
  10961. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  10962. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10963. $as_echo_n "checking for $ac_word... " >&6; }
  10964. -if test "${ac_cv_path_ECHO+set}" = set; then
  10965. +if test "${ac_cv_path_ECHO+set}" = set; then :
  10966. $as_echo_n "(cached) " >&6
  10967. else
  10968. case $ECHO in
  10969. @@ -2970,14 +3224,14 @@
  10970. do
  10971. IFS=$as_save_IFS
  10972. test -z "$as_dir" && as_dir=.
  10973. - for ac_exec_ext in '' $ac_executable_extensions; do
  10974. + for ac_exec_ext in '' $ac_executable_extensions; do
  10975. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10976. ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
  10977. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  10978. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10979. break 2
  10980. fi
  10981. done
  10982. -done
  10983. + done
  10984. IFS=$as_save_IFS
  10985. test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="$PATH"
  10986. @@ -2986,18 +3240,18 @@
  10987. fi
  10988. ECHO=$ac_cv_path_ECHO
  10989. if test -n "$ECHO"; then
  10990. - { $as_echo "$as_me:$LINENO: result: $ECHO" >&5
  10991. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
  10992. $as_echo "$ECHO" >&6; }
  10993. else
  10994. - { $as_echo "$as_me:$LINENO: result: no" >&5
  10995. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10996. $as_echo "no" >&6; }
  10997. fi
  10998. # Extract the first word of "test", so it can be a program name with args.
  10999. set dummy test; ac_word=$2
  11000. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  11001. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11002. $as_echo_n "checking for $ac_word... " >&6; }
  11003. -if test "${ac_cv_path_TEST+set}" = set; then
  11004. +if test "${ac_cv_path_TEST+set}" = set; then :
  11005. $as_echo_n "(cached) " >&6
  11006. else
  11007. case $TEST in
  11008. @@ -3010,14 +3264,14 @@
  11009. do
  11010. IFS=$as_save_IFS
  11011. test -z "$as_dir" && as_dir=.
  11012. - for ac_exec_ext in '' $ac_executable_extensions; do
  11013. + for ac_exec_ext in '' $ac_executable_extensions; do
  11014. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11015. ac_cv_path_TEST="$as_dir/$ac_word$ac_exec_ext"
  11016. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  11017. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11018. break 2
  11019. fi
  11020. done
  11021. -done
  11022. + done
  11023. IFS=$as_save_IFS
  11024. test -z "$ac_cv_path_TEST" && ac_cv_path_TEST="$PATH"
  11025. @@ -3026,18 +3280,18 @@
  11026. fi
  11027. TEST=$ac_cv_path_TEST
  11028. if test -n "$TEST"; then
  11029. - { $as_echo "$as_me:$LINENO: result: $TEST" >&5
  11030. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEST" >&5
  11031. $as_echo "$TEST" >&6; }
  11032. else
  11033. - { $as_echo "$as_me:$LINENO: result: no" >&5
  11034. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11035. $as_echo "no" >&6; }
  11036. fi
  11037. # Extract the first word of "rm", so it can be a program name with args.
  11038. set dummy rm; ac_word=$2
  11039. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  11040. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11041. $as_echo_n "checking for $ac_word... " >&6; }
  11042. -if test "${ac_cv_path_RM+set}" = set; then
  11043. +if test "${ac_cv_path_RM+set}" = set; then :
  11044. $as_echo_n "(cached) " >&6
  11045. else
  11046. case $RM in
  11047. @@ -3050,14 +3304,14 @@
  11048. do
  11049. IFS=$as_save_IFS
  11050. test -z "$as_dir" && as_dir=.
  11051. - for ac_exec_ext in '' $ac_executable_extensions; do
  11052. + for ac_exec_ext in '' $ac_executable_extensions; do
  11053. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11054. ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
  11055. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  11056. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11057. break 2
  11058. fi
  11059. done
  11060. -done
  11061. + done
  11062. IFS=$as_save_IFS
  11063. test -z "$ac_cv_path_RM" && ac_cv_path_RM="$PATH"
  11064. @@ -3066,18 +3320,18 @@
  11065. fi
  11066. RM=$ac_cv_path_RM
  11067. if test -n "$RM"; then
  11068. - { $as_echo "$as_me:$LINENO: result: $RM" >&5
  11069. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
  11070. $as_echo "$RM" >&6; }
  11071. else
  11072. - { $as_echo "$as_me:$LINENO: result: no" >&5
  11073. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11074. $as_echo "no" >&6; }
  11075. fi
  11076. # Extract the first word of "rpm", so it can be a program name with args.
  11077. set dummy rpm; ac_word=$2
  11078. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  11079. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11080. $as_echo_n "checking for $ac_word... " >&6; }
  11081. -if test "${ac_cv_path_RPM+set}" = set; then
  11082. +if test "${ac_cv_path_RPM+set}" = set; then :
  11083. $as_echo_n "(cached) " >&6
  11084. else
  11085. case $RPM in
  11086. @@ -3090,14 +3344,14 @@
  11087. do
  11088. IFS=$as_save_IFS
  11089. test -z "$as_dir" && as_dir=.
  11090. - for ac_exec_ext in '' $ac_executable_extensions; do
  11091. + for ac_exec_ext in '' $ac_executable_extensions; do
  11092. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11093. ac_cv_path_RPM="$as_dir/$ac_word$ac_exec_ext"
  11094. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  11095. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11096. break 2
  11097. fi
  11098. done
  11099. -done
  11100. + done
  11101. IFS=$as_save_IFS
  11102. ;;
  11103. @@ -3105,18 +3359,18 @@
  11104. fi
  11105. RPM=$ac_cv_path_RPM
  11106. if test -n "$RPM"; then
  11107. - { $as_echo "$as_me:$LINENO: result: $RPM" >&5
  11108. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPM" >&5
  11109. $as_echo "$RPM" >&6; }
  11110. else
  11111. - { $as_echo "$as_me:$LINENO: result: no" >&5
  11112. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11113. $as_echo "no" >&6; }
  11114. fi
  11115. # Extract the first word of "rpmbuild", so it can be a program name with args.
  11116. set dummy rpmbuild; ac_word=$2
  11117. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  11118. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11119. $as_echo_n "checking for $ac_word... " >&6; }
  11120. -if test "${ac_cv_path_RPMBUILD+set}" = set; then
  11121. +if test "${ac_cv_path_RPMBUILD+set}" = set; then :
  11122. $as_echo_n "(cached) " >&6
  11123. else
  11124. case $RPMBUILD in
  11125. @@ -3129,14 +3383,14 @@
  11126. do
  11127. IFS=$as_save_IFS
  11128. test -z "$as_dir" && as_dir=.
  11129. - for ac_exec_ext in '' $ac_executable_extensions; do
  11130. + for ac_exec_ext in '' $ac_executable_extensions; do
  11131. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11132. ac_cv_path_RPMBUILD="$as_dir/$ac_word$ac_exec_ext"
  11133. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  11134. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11135. break 2
  11136. fi
  11137. done
  11138. -done
  11139. + done
  11140. IFS=$as_save_IFS
  11141. ;;
  11142. @@ -3144,18 +3398,18 @@
  11143. fi
  11144. RPMBUILD=$ac_cv_path_RPMBUILD
  11145. if test -n "$RPMBUILD"; then
  11146. - { $as_echo "$as_me:$LINENO: result: $RPMBUILD" >&5
  11147. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPMBUILD" >&5
  11148. $as_echo "$RPMBUILD" >&6; }
  11149. else
  11150. - { $as_echo "$as_me:$LINENO: result: no" >&5
  11151. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11152. $as_echo "no" >&6; }
  11153. fi
  11154. # Extract the first word of "swig", so it can be a program name with args.
  11155. set dummy swig; ac_word=$2
  11156. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  11157. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11158. $as_echo_n "checking for $ac_word... " >&6; }
  11159. -if test "${ac_cv_path_SWIG+set}" = set; then
  11160. +if test "${ac_cv_path_SWIG+set}" = set; then :
  11161. $as_echo_n "(cached) " >&6
  11162. else
  11163. case $SWIG in
  11164. @@ -3168,14 +3422,14 @@
  11165. do
  11166. IFS=$as_save_IFS
  11167. test -z "$as_dir" && as_dir=.
  11168. - for ac_exec_ext in '' $ac_executable_extensions; do
  11169. + for ac_exec_ext in '' $ac_executable_extensions; do
  11170. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11171. ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
  11172. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  11173. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11174. break 2
  11175. fi
  11176. done
  11177. -done
  11178. + done
  11179. IFS=$as_save_IFS
  11180. ;;
  11181. @@ -3183,10 +3437,10 @@
  11182. fi
  11183. SWIG=$ac_cv_path_SWIG
  11184. if test -n "$SWIG"; then
  11185. - { $as_echo "$as_me:$LINENO: result: $SWIG" >&5
  11186. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
  11187. $as_echo "$SWIG" >&6; }
  11188. else
  11189. - { $as_echo "$as_me:$LINENO: result: no" >&5
  11190. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11191. $as_echo "no" >&6; }
  11192. fi
  11193. @@ -3203,9 +3457,9 @@
  11194. if test -n "$ac_tool_prefix"; then
  11195. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  11196. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  11197. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  11198. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11199. $as_echo_n "checking for $ac_word... " >&6; }
  11200. -if test "${ac_cv_prog_CC+set}" = set; then
  11201. +if test "${ac_cv_prog_CC+set}" = set; then :
  11202. $as_echo_n "(cached) " >&6
  11203. else
  11204. if test -n "$CC"; then
  11205. @@ -3216,24 +3470,24 @@
  11206. do
  11207. IFS=$as_save_IFS
  11208. test -z "$as_dir" && as_dir=.
  11209. - for ac_exec_ext in '' $ac_executable_extensions; do
  11210. + for ac_exec_ext in '' $ac_executable_extensions; do
  11211. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11212. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  11213. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  11214. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11215. break 2
  11216. fi
  11217. done
  11218. -done
  11219. + done
  11220. IFS=$as_save_IFS
  11221. fi
  11222. fi
  11223. CC=$ac_cv_prog_CC
  11224. if test -n "$CC"; then
  11225. - { $as_echo "$as_me:$LINENO: result: $CC" >&5
  11226. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  11227. $as_echo "$CC" >&6; }
  11228. else
  11229. - { $as_echo "$as_me:$LINENO: result: no" >&5
  11230. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11231. $as_echo "no" >&6; }
  11232. fi
  11233. @@ -3243,9 +3497,9 @@
  11234. ac_ct_CC=$CC
  11235. # Extract the first word of "gcc", so it can be a program name with args.
  11236. set dummy gcc; ac_word=$2
  11237. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  11238. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11239. $as_echo_n "checking for $ac_word... " >&6; }
  11240. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  11241. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  11242. $as_echo_n "(cached) " >&6
  11243. else
  11244. if test -n "$ac_ct_CC"; then
  11245. @@ -3256,24 +3510,24 @@
  11246. do
  11247. IFS=$as_save_IFS
  11248. test -z "$as_dir" && as_dir=.
  11249. - for ac_exec_ext in '' $ac_executable_extensions; do
  11250. + for ac_exec_ext in '' $ac_executable_extensions; do
  11251. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11252. ac_cv_prog_ac_ct_CC="gcc"
  11253. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  11254. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11255. break 2
  11256. fi
  11257. done
  11258. -done
  11259. + done
  11260. IFS=$as_save_IFS
  11261. fi
  11262. fi
  11263. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  11264. if test -n "$ac_ct_CC"; then
  11265. - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  11266. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  11267. $as_echo "$ac_ct_CC" >&6; }
  11268. else
  11269. - { $as_echo "$as_me:$LINENO: result: no" >&5
  11270. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11271. $as_echo "no" >&6; }
  11272. fi
  11273. @@ -3282,7 +3536,7 @@
  11274. else
  11275. case $cross_compiling:$ac_tool_warned in
  11276. yes:)
  11277. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  11278. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11279. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11280. ac_tool_warned=yes ;;
  11281. esac
  11282. @@ -3296,9 +3550,9 @@
  11283. if test -n "$ac_tool_prefix"; then
  11284. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  11285. set dummy ${ac_tool_prefix}cc; ac_word=$2
  11286. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  11287. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11288. $as_echo_n "checking for $ac_word... " >&6; }
  11289. -if test "${ac_cv_prog_CC+set}" = set; then
  11290. +if test "${ac_cv_prog_CC+set}" = set; then :
  11291. $as_echo_n "(cached) " >&6
  11292. else
  11293. if test -n "$CC"; then
  11294. @@ -3309,24 +3563,24 @@
  11295. do
  11296. IFS=$as_save_IFS
  11297. test -z "$as_dir" && as_dir=.
  11298. - for ac_exec_ext in '' $ac_executable_extensions; do
  11299. + for ac_exec_ext in '' $ac_executable_extensions; do
  11300. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11301. ac_cv_prog_CC="${ac_tool_prefix}cc"
  11302. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  11303. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11304. break 2
  11305. fi
  11306. done
  11307. -done
  11308. + done
  11309. IFS=$as_save_IFS
  11310. fi
  11311. fi
  11312. CC=$ac_cv_prog_CC
  11313. if test -n "$CC"; then
  11314. - { $as_echo "$as_me:$LINENO: result: $CC" >&5
  11315. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  11316. $as_echo "$CC" >&6; }
  11317. else
  11318. - { $as_echo "$as_me:$LINENO: result: no" >&5
  11319. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11320. $as_echo "no" >&6; }
  11321. fi
  11322. @@ -3336,9 +3590,9 @@
  11323. if test -z "$CC"; then
  11324. # Extract the first word of "cc", so it can be a program name with args.
  11325. set dummy cc; ac_word=$2
  11326. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  11327. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11328. $as_echo_n "checking for $ac_word... " >&6; }
  11329. -if test "${ac_cv_prog_CC+set}" = set; then
  11330. +if test "${ac_cv_prog_CC+set}" = set; then :
  11331. $as_echo_n "(cached) " >&6
  11332. else
  11333. if test -n "$CC"; then
  11334. @@ -3350,18 +3604,18 @@
  11335. do
  11336. IFS=$as_save_IFS
  11337. test -z "$as_dir" && as_dir=.
  11338. - for ac_exec_ext in '' $ac_executable_extensions; do
  11339. + for ac_exec_ext in '' $ac_executable_extensions; do
  11340. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11341. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  11342. ac_prog_rejected=yes
  11343. continue
  11344. fi
  11345. ac_cv_prog_CC="cc"
  11346. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  11347. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11348. break 2
  11349. fi
  11350. done
  11351. -done
  11352. + done
  11353. IFS=$as_save_IFS
  11354. if test $ac_prog_rejected = yes; then
  11355. @@ -3380,10 +3634,10 @@
  11356. fi
  11357. CC=$ac_cv_prog_CC
  11358. if test -n "$CC"; then
  11359. - { $as_echo "$as_me:$LINENO: result: $CC" >&5
  11360. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  11361. $as_echo "$CC" >&6; }
  11362. else
  11363. - { $as_echo "$as_me:$LINENO: result: no" >&5
  11364. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11365. $as_echo "no" >&6; }
  11366. fi
  11367. @@ -3395,9 +3649,9 @@
  11368. do
  11369. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  11370. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  11371. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  11372. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11373. $as_echo_n "checking for $ac_word... " >&6; }
  11374. -if test "${ac_cv_prog_CC+set}" = set; then
  11375. +if test "${ac_cv_prog_CC+set}" = set; then :
  11376. $as_echo_n "(cached) " >&6
  11377. else
  11378. if test -n "$CC"; then
  11379. @@ -3408,24 +3662,24 @@
  11380. do
  11381. IFS=$as_save_IFS
  11382. test -z "$as_dir" && as_dir=.
  11383. - for ac_exec_ext in '' $ac_executable_extensions; do
  11384. + for ac_exec_ext in '' $ac_executable_extensions; do
  11385. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11386. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  11387. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  11388. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11389. break 2
  11390. fi
  11391. done
  11392. -done
  11393. + done
  11394. IFS=$as_save_IFS
  11395. fi
  11396. fi
  11397. CC=$ac_cv_prog_CC
  11398. if test -n "$CC"; then
  11399. - { $as_echo "$as_me:$LINENO: result: $CC" >&5
  11400. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  11401. $as_echo "$CC" >&6; }
  11402. else
  11403. - { $as_echo "$as_me:$LINENO: result: no" >&5
  11404. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11405. $as_echo "no" >&6; }
  11406. fi
  11407. @@ -3439,9 +3693,9 @@
  11408. do
  11409. # Extract the first word of "$ac_prog", so it can be a program name with args.
  11410. set dummy $ac_prog; ac_word=$2
  11411. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  11412. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11413. $as_echo_n "checking for $ac_word... " >&6; }
  11414. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  11415. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  11416. $as_echo_n "(cached) " >&6
  11417. else
  11418. if test -n "$ac_ct_CC"; then
  11419. @@ -3452,24 +3706,24 @@
  11420. do
  11421. IFS=$as_save_IFS
  11422. test -z "$as_dir" && as_dir=.
  11423. - for ac_exec_ext in '' $ac_executable_extensions; do
  11424. + for ac_exec_ext in '' $ac_executable_extensions; do
  11425. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11426. ac_cv_prog_ac_ct_CC="$ac_prog"
  11427. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  11428. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11429. break 2
  11430. fi
  11431. done
  11432. -done
  11433. + done
  11434. IFS=$as_save_IFS
  11435. fi
  11436. fi
  11437. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  11438. if test -n "$ac_ct_CC"; then
  11439. - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  11440. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  11441. $as_echo "$ac_ct_CC" >&6; }
  11442. else
  11443. - { $as_echo "$as_me:$LINENO: result: no" >&5
  11444. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11445. $as_echo "no" >&6; }
  11446. fi
  11447. @@ -3482,7 +3736,7 @@
  11448. else
  11449. case $cross_compiling:$ac_tool_warned in
  11450. yes:)
  11451. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  11452. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11453. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11454. ac_tool_warned=yes ;;
  11455. esac
  11456. @@ -3493,57 +3747,37 @@
  11457. fi
  11458. -test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  11459. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11460. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11461. -{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  11462. -See \`config.log' for more details." >&5
  11463. -$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  11464. -See \`config.log' for more details." >&2;}
  11465. - { (exit 1); exit 1; }; }; }
  11466. +as_fn_error "no acceptable C compiler found in \$PATH
  11467. +See \`config.log' for more details." "$LINENO" 5; }
  11468. # Provide some information about the compiler.
  11469. -$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  11470. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  11471. set X $ac_compile
  11472. ac_compiler=$2
  11473. -{ (ac_try="$ac_compiler --version >&5"
  11474. -case "(($ac_try" in
  11475. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11476. - *) ac_try_echo=$ac_try;;
  11477. -esac
  11478. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11479. -$as_echo "$ac_try_echo") >&5
  11480. - (eval "$ac_compiler --version >&5") 2>&5
  11481. - ac_status=$?
  11482. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11483. - (exit $ac_status); }
  11484. -{ (ac_try="$ac_compiler -v >&5"
  11485. -case "(($ac_try" in
  11486. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11487. - *) ac_try_echo=$ac_try;;
  11488. -esac
  11489. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11490. -$as_echo "$ac_try_echo") >&5
  11491. - (eval "$ac_compiler -v >&5") 2>&5
  11492. - ac_status=$?
  11493. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11494. - (exit $ac_status); }
  11495. -{ (ac_try="$ac_compiler -V >&5"
  11496. +for ac_option in --version -v -V -qversion; do
  11497. + { { ac_try="$ac_compiler $ac_option >&5"
  11498. case "(($ac_try" in
  11499. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11500. *) ac_try_echo=$ac_try;;
  11501. esac
  11502. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11503. -$as_echo "$ac_try_echo") >&5
  11504. - (eval "$ac_compiler -V >&5") 2>&5
  11505. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11506. +$as_echo "$ac_try_echo"; } >&5
  11507. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  11508. ac_status=$?
  11509. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11510. - (exit $ac_status); }
  11511. + if test -s conftest.err; then
  11512. + sed '10a\
  11513. +... rest of stderr output deleted ...
  11514. + 10q' conftest.err >conftest.er1
  11515. + cat conftest.er1 >&5
  11516. + fi
  11517. + rm -f conftest.er1 conftest.err
  11518. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11519. + test $ac_status = 0; }
  11520. +done
  11521. -cat >conftest.$ac_ext <<_ACEOF
  11522. -/* confdefs.h. */
  11523. -_ACEOF
  11524. -cat confdefs.h >>conftest.$ac_ext
  11525. -cat >>conftest.$ac_ext <<_ACEOF
  11526. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11527. /* end confdefs.h. */
  11528. int
  11529. @@ -3559,8 +3793,8 @@
  11530. # Try to create an executable without -o first, disregard a.out.
  11531. # It will help us diagnose broken compilers, and finding out an intuition
  11532. # of exeext.
  11533. -{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  11534. -$as_echo_n "checking for C compiler default output file name... " >&6; }
  11535. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  11536. +$as_echo_n "checking whether the C compiler works... " >&6; }
  11537. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  11538. # The possible output files:
  11539. @@ -3576,17 +3810,17 @@
  11540. done
  11541. rm -f $ac_rmfiles
  11542. -if { (ac_try="$ac_link_default"
  11543. +if { { ac_try="$ac_link_default"
  11544. case "(($ac_try" in
  11545. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11546. *) ac_try_echo=$ac_try;;
  11547. esac
  11548. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11549. -$as_echo "$ac_try_echo") >&5
  11550. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11551. +$as_echo "$ac_try_echo"; } >&5
  11552. (eval "$ac_link_default") 2>&5
  11553. ac_status=$?
  11554. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11555. - (exit $ac_status); }; then
  11556. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11557. + test $ac_status = 0; }; then :
  11558. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  11559. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  11560. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  11561. @@ -3603,7 +3837,7 @@
  11562. # certainly right.
  11563. break;;
  11564. *.* )
  11565. - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  11566. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  11567. then :; else
  11568. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  11569. fi
  11570. @@ -3622,84 +3856,42 @@
  11571. else
  11572. ac_file=''
  11573. fi
  11574. -
  11575. -{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  11576. -$as_echo "$ac_file" >&6; }
  11577. -if test -z "$ac_file"; then
  11578. - $as_echo "$as_me: failed program was:" >&5
  11579. +if test -z "$ac_file"; then :
  11580. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11581. +$as_echo "no" >&6; }
  11582. +$as_echo "$as_me: failed program was:" >&5
  11583. sed 's/^/| /' conftest.$ac_ext >&5
  11584. -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  11585. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11586. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11587. -{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  11588. -See \`config.log' for more details." >&5
  11589. -$as_echo "$as_me: error: C compiler cannot create executables
  11590. -See \`config.log' for more details." >&2;}
  11591. - { (exit 77); exit 77; }; }; }
  11592. +{ as_fn_set_status 77
  11593. +as_fn_error "C compiler cannot create executables
  11594. +See \`config.log' for more details." "$LINENO" 5; }; }
  11595. +else
  11596. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  11597. +$as_echo "yes" >&6; }
  11598. fi
  11599. -
  11600. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  11601. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  11602. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  11603. +$as_echo "$ac_file" >&6; }
  11604. ac_exeext=$ac_cv_exeext
  11605. -# Check that the compiler produces executables we can run. If not, either
  11606. -# the compiler is broken, or we cross compile.
  11607. -{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  11608. -$as_echo_n "checking whether the C compiler works... " >&6; }
  11609. -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  11610. -# If not cross compiling, check that we can run a simple program.
  11611. -if test "$cross_compiling" != yes; then
  11612. - if { ac_try='./$ac_file'
  11613. - { (case "(($ac_try" in
  11614. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11615. - *) ac_try_echo=$ac_try;;
  11616. -esac
  11617. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11618. -$as_echo "$ac_try_echo") >&5
  11619. - (eval "$ac_try") 2>&5
  11620. - ac_status=$?
  11621. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11622. - (exit $ac_status); }; }; then
  11623. - cross_compiling=no
  11624. - else
  11625. - if test "$cross_compiling" = maybe; then
  11626. - cross_compiling=yes
  11627. - else
  11628. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  11629. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11630. -{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  11631. -If you meant to cross compile, use \`--host'.
  11632. -See \`config.log' for more details." >&5
  11633. -$as_echo "$as_me: error: cannot run C compiled programs.
  11634. -If you meant to cross compile, use \`--host'.
  11635. -See \`config.log' for more details." >&2;}
  11636. - { (exit 1); exit 1; }; }; }
  11637. - fi
  11638. - fi
  11639. -fi
  11640. -{ $as_echo "$as_me:$LINENO: result: yes" >&5
  11641. -$as_echo "yes" >&6; }
  11642. -
  11643. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  11644. ac_clean_files=$ac_clean_files_save
  11645. -# Check that the compiler produces executables we can run. If not, either
  11646. -# the compiler is broken, or we cross compile.
  11647. -{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  11648. -$as_echo_n "checking whether we are cross compiling... " >&6; }
  11649. -{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  11650. -$as_echo "$cross_compiling" >&6; }
  11651. -
  11652. -{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  11653. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  11654. $as_echo_n "checking for suffix of executables... " >&6; }
  11655. -if { (ac_try="$ac_link"
  11656. +if { { ac_try="$ac_link"
  11657. case "(($ac_try" in
  11658. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11659. *) ac_try_echo=$ac_try;;
  11660. esac
  11661. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11662. -$as_echo "$ac_try_echo") >&5
  11663. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11664. +$as_echo "$ac_try_echo"; } >&5
  11665. (eval "$ac_link") 2>&5
  11666. ac_status=$?
  11667. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11668. - (exit $ac_status); }; then
  11669. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11670. + test $ac_status = 0; }; then :
  11671. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  11672. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  11673. # work properly (i.e., refer to `conftest.exe'), while it won't with
  11674. @@ -3714,32 +3906,83 @@
  11675. esac
  11676. done
  11677. else
  11678. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  11679. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11680. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11681. -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  11682. -See \`config.log' for more details." >&5
  11683. -$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  11684. -See \`config.log' for more details." >&2;}
  11685. - { (exit 1); exit 1; }; }; }
  11686. +as_fn_error "cannot compute suffix of executables: cannot compile and link
  11687. +See \`config.log' for more details." "$LINENO" 5; }
  11688. fi
  11689. -
  11690. -rm -f conftest$ac_cv_exeext
  11691. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  11692. +rm -f conftest conftest$ac_cv_exeext
  11693. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  11694. $as_echo "$ac_cv_exeext" >&6; }
  11695. rm -f conftest.$ac_ext
  11696. EXEEXT=$ac_cv_exeext
  11697. ac_exeext=$EXEEXT
  11698. -{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  11699. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11700. +/* end confdefs.h. */
  11701. +#include <stdio.h>
  11702. +int
  11703. +main ()
  11704. +{
  11705. +FILE *f = fopen ("conftest.out", "w");
  11706. + return ferror (f) || fclose (f) != 0;
  11707. +
  11708. + ;
  11709. + return 0;
  11710. +}
  11711. +_ACEOF
  11712. +ac_clean_files="$ac_clean_files conftest.out"
  11713. +# Check that the compiler produces executables we can run. If not, either
  11714. +# the compiler is broken, or we cross compile.
  11715. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  11716. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  11717. +if test "$cross_compiling" != yes; then
  11718. + { { ac_try="$ac_link"
  11719. +case "(($ac_try" in
  11720. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11721. + *) ac_try_echo=$ac_try;;
  11722. +esac
  11723. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11724. +$as_echo "$ac_try_echo"; } >&5
  11725. + (eval "$ac_link") 2>&5
  11726. + ac_status=$?
  11727. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11728. + test $ac_status = 0; }
  11729. + if { ac_try='./conftest$ac_cv_exeext'
  11730. + { { case "(($ac_try" in
  11731. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11732. + *) ac_try_echo=$ac_try;;
  11733. +esac
  11734. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11735. +$as_echo "$ac_try_echo"; } >&5
  11736. + (eval "$ac_try") 2>&5
  11737. + ac_status=$?
  11738. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11739. + test $ac_status = 0; }; }; then
  11740. + cross_compiling=no
  11741. + else
  11742. + if test "$cross_compiling" = maybe; then
  11743. + cross_compiling=yes
  11744. + else
  11745. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11746. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11747. +as_fn_error "cannot run C compiled programs.
  11748. +If you meant to cross compile, use \`--host'.
  11749. +See \`config.log' for more details." "$LINENO" 5; }
  11750. + fi
  11751. + fi
  11752. +fi
  11753. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  11754. +$as_echo "$cross_compiling" >&6; }
  11755. +
  11756. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  11757. +ac_clean_files=$ac_clean_files_save
  11758. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  11759. $as_echo_n "checking for suffix of object files... " >&6; }
  11760. -if test "${ac_cv_objext+set}" = set; then
  11761. +if test "${ac_cv_objext+set}" = set; then :
  11762. $as_echo_n "(cached) " >&6
  11763. else
  11764. - cat >conftest.$ac_ext <<_ACEOF
  11765. -/* confdefs.h. */
  11766. -_ACEOF
  11767. -cat confdefs.h >>conftest.$ac_ext
  11768. -cat >>conftest.$ac_ext <<_ACEOF
  11769. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11770. /* end confdefs.h. */
  11771. int
  11772. @@ -3751,17 +3994,17 @@
  11773. }
  11774. _ACEOF
  11775. rm -f conftest.o conftest.obj
  11776. -if { (ac_try="$ac_compile"
  11777. +if { { ac_try="$ac_compile"
  11778. case "(($ac_try" in
  11779. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11780. *) ac_try_echo=$ac_try;;
  11781. esac
  11782. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11783. -$as_echo "$ac_try_echo") >&5
  11784. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11785. +$as_echo "$ac_try_echo"; } >&5
  11786. (eval "$ac_compile") 2>&5
  11787. ac_status=$?
  11788. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11789. - (exit $ac_status); }; then
  11790. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11791. + test $ac_status = 0; }; then :
  11792. for ac_file in conftest.o conftest.obj conftest.*; do
  11793. test -f "$ac_file" || continue;
  11794. case $ac_file in
  11795. @@ -3774,31 +4017,23 @@
  11796. $as_echo "$as_me: failed program was:" >&5
  11797. sed 's/^/| /' conftest.$ac_ext >&5
  11798. -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  11799. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11800. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11801. -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  11802. -See \`config.log' for more details." >&5
  11803. -$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  11804. -See \`config.log' for more details." >&2;}
  11805. - { (exit 1); exit 1; }; }; }
  11806. +as_fn_error "cannot compute suffix of object files: cannot compile
  11807. +See \`config.log' for more details." "$LINENO" 5; }
  11808. fi
  11809. -
  11810. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  11811. fi
  11812. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  11813. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  11814. $as_echo "$ac_cv_objext" >&6; }
  11815. OBJEXT=$ac_cv_objext
  11816. ac_objext=$OBJEXT
  11817. -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  11818. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  11819. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  11820. -if test "${ac_cv_c_compiler_gnu+set}" = set; then
  11821. +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  11822. $as_echo_n "(cached) " >&6
  11823. else
  11824. - cat >conftest.$ac_ext <<_ACEOF
  11825. -/* confdefs.h. */
  11826. -_ACEOF
  11827. -cat confdefs.h >>conftest.$ac_ext
  11828. -cat >>conftest.$ac_ext <<_ACEOF
  11829. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11830. /* end confdefs.h. */
  11831. int
  11832. @@ -3812,37 +4047,16 @@
  11833. return 0;
  11834. }
  11835. _ACEOF
  11836. -rm -f conftest.$ac_objext
  11837. -if { (ac_try="$ac_compile"
  11838. -case "(($ac_try" in
  11839. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11840. - *) ac_try_echo=$ac_try;;
  11841. -esac
  11842. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11843. -$as_echo "$ac_try_echo") >&5
  11844. - (eval "$ac_compile") 2>conftest.er1
  11845. - ac_status=$?
  11846. - grep -v '^ *+' conftest.er1 >conftest.err
  11847. - rm -f conftest.er1
  11848. - cat conftest.err >&5
  11849. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11850. - (exit $ac_status); } && {
  11851. - test -z "$ac_c_werror_flag" ||
  11852. - test ! -s conftest.err
  11853. - } && test -s conftest.$ac_objext; then
  11854. +if ac_fn_c_try_compile "$LINENO"; then :
  11855. ac_compiler_gnu=yes
  11856. else
  11857. - $as_echo "$as_me: failed program was:" >&5
  11858. -sed 's/^/| /' conftest.$ac_ext >&5
  11859. -
  11860. - ac_compiler_gnu=no
  11861. + ac_compiler_gnu=no
  11862. fi
  11863. -
  11864. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11865. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  11866. fi
  11867. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  11868. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  11869. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  11870. if test $ac_compiler_gnu = yes; then
  11871. GCC=yes
  11872. @@ -3851,20 +4065,16 @@
  11873. fi
  11874. ac_test_CFLAGS=${CFLAGS+set}
  11875. ac_save_CFLAGS=$CFLAGS
  11876. -{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  11877. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  11878. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  11879. -if test "${ac_cv_prog_cc_g+set}" = set; then
  11880. +if test "${ac_cv_prog_cc_g+set}" = set; then :
  11881. $as_echo_n "(cached) " >&6
  11882. else
  11883. ac_save_c_werror_flag=$ac_c_werror_flag
  11884. ac_c_werror_flag=yes
  11885. ac_cv_prog_cc_g=no
  11886. CFLAGS="-g"
  11887. - cat >conftest.$ac_ext <<_ACEOF
  11888. -/* confdefs.h. */
  11889. -_ACEOF
  11890. -cat confdefs.h >>conftest.$ac_ext
  11891. -cat >>conftest.$ac_ext <<_ACEOF
  11892. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11893. /* end confdefs.h. */
  11894. int
  11895. @@ -3875,35 +4085,11 @@
  11896. return 0;
  11897. }
  11898. _ACEOF
  11899. -rm -f conftest.$ac_objext
  11900. -if { (ac_try="$ac_compile"
  11901. -case "(($ac_try" in
  11902. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11903. - *) ac_try_echo=$ac_try;;
  11904. -esac
  11905. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11906. -$as_echo "$ac_try_echo") >&5
  11907. - (eval "$ac_compile") 2>conftest.er1
  11908. - ac_status=$?
  11909. - grep -v '^ *+' conftest.er1 >conftest.err
  11910. - rm -f conftest.er1
  11911. - cat conftest.err >&5
  11912. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11913. - (exit $ac_status); } && {
  11914. - test -z "$ac_c_werror_flag" ||
  11915. - test ! -s conftest.err
  11916. - } && test -s conftest.$ac_objext; then
  11917. +if ac_fn_c_try_compile "$LINENO"; then :
  11918. ac_cv_prog_cc_g=yes
  11919. else
  11920. - $as_echo "$as_me: failed program was:" >&5
  11921. -sed 's/^/| /' conftest.$ac_ext >&5
  11922. -
  11923. - CFLAGS=""
  11924. - cat >conftest.$ac_ext <<_ACEOF
  11925. -/* confdefs.h. */
  11926. -_ACEOF
  11927. -cat confdefs.h >>conftest.$ac_ext
  11928. -cat >>conftest.$ac_ext <<_ACEOF
  11929. + CFLAGS=""
  11930. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11931. /* end confdefs.h. */
  11932. int
  11933. @@ -3914,36 +4100,12 @@
  11934. return 0;
  11935. }
  11936. _ACEOF
  11937. -rm -f conftest.$ac_objext
  11938. -if { (ac_try="$ac_compile"
  11939. -case "(($ac_try" in
  11940. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11941. - *) ac_try_echo=$ac_try;;
  11942. -esac
  11943. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11944. -$as_echo "$ac_try_echo") >&5
  11945. - (eval "$ac_compile") 2>conftest.er1
  11946. - ac_status=$?
  11947. - grep -v '^ *+' conftest.er1 >conftest.err
  11948. - rm -f conftest.er1
  11949. - cat conftest.err >&5
  11950. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11951. - (exit $ac_status); } && {
  11952. - test -z "$ac_c_werror_flag" ||
  11953. - test ! -s conftest.err
  11954. - } && test -s conftest.$ac_objext; then
  11955. - :
  11956. -else
  11957. - $as_echo "$as_me: failed program was:" >&5
  11958. -sed 's/^/| /' conftest.$ac_ext >&5
  11959. +if ac_fn_c_try_compile "$LINENO"; then :
  11960. - ac_c_werror_flag=$ac_save_c_werror_flag
  11961. +else
  11962. + ac_c_werror_flag=$ac_save_c_werror_flag
  11963. CFLAGS="-g"
  11964. - cat >conftest.$ac_ext <<_ACEOF
  11965. -/* confdefs.h. */
  11966. -_ACEOF
  11967. -cat confdefs.h >>conftest.$ac_ext
  11968. -cat >>conftest.$ac_ext <<_ACEOF
  11969. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11970. /* end confdefs.h. */
  11971. int
  11972. @@ -3954,42 +4116,17 @@
  11973. return 0;
  11974. }
  11975. _ACEOF
  11976. -rm -f conftest.$ac_objext
  11977. -if { (ac_try="$ac_compile"
  11978. -case "(($ac_try" in
  11979. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11980. - *) ac_try_echo=$ac_try;;
  11981. -esac
  11982. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11983. -$as_echo "$ac_try_echo") >&5
  11984. - (eval "$ac_compile") 2>conftest.er1
  11985. - ac_status=$?
  11986. - grep -v '^ *+' conftest.er1 >conftest.err
  11987. - rm -f conftest.er1
  11988. - cat conftest.err >&5
  11989. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11990. - (exit $ac_status); } && {
  11991. - test -z "$ac_c_werror_flag" ||
  11992. - test ! -s conftest.err
  11993. - } && test -s conftest.$ac_objext; then
  11994. +if ac_fn_c_try_compile "$LINENO"; then :
  11995. ac_cv_prog_cc_g=yes
  11996. -else
  11997. - $as_echo "$as_me: failed program was:" >&5
  11998. -sed 's/^/| /' conftest.$ac_ext >&5
  11999. -
  12000. -
  12001. fi
  12002. -
  12003. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12004. fi
  12005. -
  12006. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12007. fi
  12008. -
  12009. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12010. ac_c_werror_flag=$ac_save_c_werror_flag
  12011. fi
  12012. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  12013. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  12014. $as_echo "$ac_cv_prog_cc_g" >&6; }
  12015. if test "$ac_test_CFLAGS" = set; then
  12016. CFLAGS=$ac_save_CFLAGS
  12017. @@ -4006,18 +4143,14 @@
  12018. CFLAGS=
  12019. fi
  12020. fi
  12021. -{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  12022. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  12023. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  12024. -if test "${ac_cv_prog_cc_c89+set}" = set; then
  12025. +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  12026. $as_echo_n "(cached) " >&6
  12027. else
  12028. ac_cv_prog_cc_c89=no
  12029. ac_save_CC=$CC
  12030. -cat >conftest.$ac_ext <<_ACEOF
  12031. -/* confdefs.h. */
  12032. -_ACEOF
  12033. -cat confdefs.h >>conftest.$ac_ext
  12034. -cat >>conftest.$ac_ext <<_ACEOF
  12035. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12036. /* end confdefs.h. */
  12037. #include <stdarg.h>
  12038. #include <stdio.h>
  12039. @@ -4074,32 +4207,9 @@
  12040. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  12041. do
  12042. CC="$ac_save_CC $ac_arg"
  12043. - rm -f conftest.$ac_objext
  12044. -if { (ac_try="$ac_compile"
  12045. -case "(($ac_try" in
  12046. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12047. - *) ac_try_echo=$ac_try;;
  12048. -esac
  12049. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12050. -$as_echo "$ac_try_echo") >&5
  12051. - (eval "$ac_compile") 2>conftest.er1
  12052. - ac_status=$?
  12053. - grep -v '^ *+' conftest.er1 >conftest.err
  12054. - rm -f conftest.er1
  12055. - cat conftest.err >&5
  12056. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12057. - (exit $ac_status); } && {
  12058. - test -z "$ac_c_werror_flag" ||
  12059. - test ! -s conftest.err
  12060. - } && test -s conftest.$ac_objext; then
  12061. + if ac_fn_c_try_compile "$LINENO"; then :
  12062. ac_cv_prog_cc_c89=$ac_arg
  12063. -else
  12064. - $as_echo "$as_me: failed program was:" >&5
  12065. -sed 's/^/| /' conftest.$ac_ext >&5
  12066. -
  12067. -
  12068. fi
  12069. -
  12070. rm -f core conftest.err conftest.$ac_objext
  12071. test "x$ac_cv_prog_cc_c89" != "xno" && break
  12072. done
  12073. @@ -4110,17 +4220,19 @@
  12074. # AC_CACHE_VAL
  12075. case "x$ac_cv_prog_cc_c89" in
  12076. x)
  12077. - { $as_echo "$as_me:$LINENO: result: none needed" >&5
  12078. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  12079. $as_echo "none needed" >&6; } ;;
  12080. xno)
  12081. - { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  12082. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  12083. $as_echo "unsupported" >&6; } ;;
  12084. *)
  12085. CC="$CC $ac_cv_prog_cc_c89"
  12086. - { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  12087. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  12088. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  12089. esac
  12090. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  12091. +fi
  12092. ac_ext=c
  12093. ac_cpp='$CPP $CPPFLAGS'
  12094. @@ -4135,44 +4247,44 @@
  12095. am_make=${MAKE-make}
  12096. cat > confinc << 'END'
  12097. am__doit:
  12098. - @echo done
  12099. + @echo this is the am__doit target
  12100. .PHONY: am__doit
  12101. END
  12102. # If we don't find an include directive, just comment out the code.
  12103. -{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  12104. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  12105. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  12106. am__include="#"
  12107. am__quote=
  12108. _am_result=none
  12109. # First try GNU make style include.
  12110. echo "include confinc" > confmf
  12111. -# We grep out `Entering directory' and `Leaving directory'
  12112. -# messages which can occur if `w' ends up in MAKEFLAGS.
  12113. -# In particular we don't look at `^make:' because GNU make might
  12114. -# be invoked under some other name (usually "gmake"), in which
  12115. -# case it prints its new name instead of `make'.
  12116. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  12117. - am__include=include
  12118. - am__quote=
  12119. - _am_result=GNU
  12120. -fi
  12121. +# Ignore all kinds of additional output from `make'.
  12122. +case `$am_make -s -f confmf 2> /dev/null` in #(
  12123. +*the\ am__doit\ target*)
  12124. + am__include=include
  12125. + am__quote=
  12126. + _am_result=GNU
  12127. + ;;
  12128. +esac
  12129. # Now try BSD make style include.
  12130. if test "$am__include" = "#"; then
  12131. echo '.include "confinc"' > confmf
  12132. - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  12133. - am__include=.include
  12134. - am__quote="\""
  12135. - _am_result=BSD
  12136. - fi
  12137. + case `$am_make -s -f confmf 2> /dev/null` in #(
  12138. + *the\ am__doit\ target*)
  12139. + am__include=.include
  12140. + am__quote="\""
  12141. + _am_result=BSD
  12142. + ;;
  12143. + esac
  12144. fi
  12145. -{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  12146. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  12147. $as_echo "$_am_result" >&6; }
  12148. rm -f confinc confmf
  12149. # Check whether --enable-dependency-tracking was given.
  12150. -if test "${enable_dependency_tracking+set}" = set; then
  12151. +if test "${enable_dependency_tracking+set}" = set; then :
  12152. enableval=$enable_dependency_tracking;
  12153. fi
  12154. @@ -4192,9 +4304,9 @@
  12155. depcc="$CC" am_compiler_list=
  12156. -{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  12157. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  12158. $as_echo_n "checking dependency style of $depcc... " >&6; }
  12159. -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  12160. +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  12161. $as_echo_n "(cached) " >&6
  12162. else
  12163. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  12164. @@ -4220,6 +4332,11 @@
  12165. if test "$am_compiler_list" = ""; then
  12166. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  12167. fi
  12168. + am__universal=false
  12169. + case " $depcc " in #(
  12170. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  12171. + esac
  12172. +
  12173. for depmode in $am_compiler_list; do
  12174. # Setup a source with many dependencies, because some compilers
  12175. # like to wrap large dependency lists on column 80 (with \), and
  12176. @@ -4237,7 +4354,17 @@
  12177. done
  12178. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  12179. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  12180. + # mode. It turns out that the SunPro C++ compiler does not properly
  12181. + # handle `-M -o', and we need to detect this. Also, some Intel
  12182. + # versions had trouble with output in subdirs
  12183. + am__obj=sub/conftest.${OBJEXT-o}
  12184. + am__minus_obj="-o $am__obj"
  12185. case $depmode in
  12186. + gcc)
  12187. + # This depmode causes a compiler race in universal mode.
  12188. + test "$am__universal" = false || continue
  12189. + ;;
  12190. nosideeffect)
  12191. # after this tag, mechanisms are not by side-effect, so they'll
  12192. # only be used when explicitly requested
  12193. @@ -4247,19 +4374,23 @@
  12194. break
  12195. fi
  12196. ;;
  12197. + msvisualcpp | msvcmsys)
  12198. + # This compiler won't grok `-c -o', but also, the minuso test has
  12199. + # not run yet. These depmodes are late enough in the game, and
  12200. + # so weak that their functioning should not be impacted.
  12201. + am__obj=conftest.${OBJEXT-o}
  12202. + am__minus_obj=
  12203. + ;;
  12204. none) break ;;
  12205. esac
  12206. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  12207. - # mode. It turns out that the SunPro C++ compiler does not properly
  12208. - # handle `-M -o', and we need to detect this.
  12209. if depmode=$depmode \
  12210. - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  12211. + source=sub/conftest.c object=$am__obj \
  12212. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  12213. - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  12214. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  12215. >/dev/null 2>conftest.err &&
  12216. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  12217. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  12218. - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  12219. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  12220. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  12221. # icc doesn't choke on unknown options, it will just issue warnings
  12222. # or remarks (even with -Werror). So we grep stderr for any message
  12223. @@ -4283,7 +4414,7 @@
  12224. fi
  12225. fi
  12226. -{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  12227. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  12228. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  12229. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  12230. @@ -4303,14 +4434,14 @@
  12231. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12232. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12233. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12234. -{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  12235. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  12236. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  12237. # On Suns, sometimes $CPP names a directory.
  12238. if test -n "$CPP" && test -d "$CPP"; then
  12239. CPP=
  12240. fi
  12241. if test -z "$CPP"; then
  12242. - if test "${ac_cv_prog_CPP+set}" = set; then
  12243. + if test "${ac_cv_prog_CPP+set}" = set; then :
  12244. $as_echo_n "(cached) " >&6
  12245. else
  12246. # Double quotes because CPP needs to be expanded
  12247. @@ -4325,11 +4456,7 @@
  12248. # <limits.h> exists even on freestanding compilers.
  12249. # On the NeXT, cc -E runs the code through the compiler's parser,
  12250. # not just through cpp. "Syntax error" is here to catch this case.
  12251. - cat >conftest.$ac_ext <<_ACEOF
  12252. -/* confdefs.h. */
  12253. -_ACEOF
  12254. -cat confdefs.h >>conftest.$ac_ext
  12255. -cat >>conftest.$ac_ext <<_ACEOF
  12256. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12257. /* end confdefs.h. */
  12258. #ifdef __STDC__
  12259. # include <limits.h>
  12260. @@ -4338,78 +4465,34 @@
  12261. #endif
  12262. Syntax error
  12263. _ACEOF
  12264. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  12265. -case "(($ac_try" in
  12266. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12267. - *) ac_try_echo=$ac_try;;
  12268. -esac
  12269. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12270. -$as_echo "$ac_try_echo") >&5
  12271. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12272. - ac_status=$?
  12273. - grep -v '^ *+' conftest.er1 >conftest.err
  12274. - rm -f conftest.er1
  12275. - cat conftest.err >&5
  12276. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12277. - (exit $ac_status); } >/dev/null && {
  12278. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12279. - test ! -s conftest.err
  12280. - }; then
  12281. - :
  12282. -else
  12283. - $as_echo "$as_me: failed program was:" >&5
  12284. -sed 's/^/| /' conftest.$ac_ext >&5
  12285. +if ac_fn_c_try_cpp "$LINENO"; then :
  12286. +else
  12287. # Broken: fails on valid input.
  12288. continue
  12289. fi
  12290. -
  12291. rm -f conftest.err conftest.$ac_ext
  12292. # OK, works on sane cases. Now check whether nonexistent headers
  12293. # can be detected and how.
  12294. - cat >conftest.$ac_ext <<_ACEOF
  12295. -/* confdefs.h. */
  12296. -_ACEOF
  12297. -cat confdefs.h >>conftest.$ac_ext
  12298. -cat >>conftest.$ac_ext <<_ACEOF
  12299. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12300. /* end confdefs.h. */
  12301. #include <ac_nonexistent.h>
  12302. _ACEOF
  12303. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  12304. -case "(($ac_try" in
  12305. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12306. - *) ac_try_echo=$ac_try;;
  12307. -esac
  12308. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12309. -$as_echo "$ac_try_echo") >&5
  12310. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12311. - ac_status=$?
  12312. - grep -v '^ *+' conftest.er1 >conftest.err
  12313. - rm -f conftest.er1
  12314. - cat conftest.err >&5
  12315. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12316. - (exit $ac_status); } >/dev/null && {
  12317. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12318. - test ! -s conftest.err
  12319. - }; then
  12320. +if ac_fn_c_try_cpp "$LINENO"; then :
  12321. # Broken: success on invalid input.
  12322. continue
  12323. else
  12324. - $as_echo "$as_me: failed program was:" >&5
  12325. -sed 's/^/| /' conftest.$ac_ext >&5
  12326. -
  12327. # Passes both tests.
  12328. ac_preproc_ok=:
  12329. break
  12330. fi
  12331. -
  12332. rm -f conftest.err conftest.$ac_ext
  12333. done
  12334. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  12335. rm -f conftest.err conftest.$ac_ext
  12336. -if $ac_preproc_ok; then
  12337. +if $ac_preproc_ok; then :
  12338. break
  12339. fi
  12340. @@ -4421,7 +4504,7 @@
  12341. else
  12342. ac_cv_prog_CPP=$CPP
  12343. fi
  12344. -{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
  12345. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  12346. $as_echo "$CPP" >&6; }
  12347. ac_preproc_ok=false
  12348. for ac_c_preproc_warn_flag in '' yes
  12349. @@ -4432,11 +4515,7 @@
  12350. # <limits.h> exists even on freestanding compilers.
  12351. # On the NeXT, cc -E runs the code through the compiler's parser,
  12352. # not just through cpp. "Syntax error" is here to catch this case.
  12353. - cat >conftest.$ac_ext <<_ACEOF
  12354. -/* confdefs.h. */
  12355. -_ACEOF
  12356. -cat confdefs.h >>conftest.$ac_ext
  12357. -cat >>conftest.$ac_ext <<_ACEOF
  12358. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12359. /* end confdefs.h. */
  12360. #ifdef __STDC__
  12361. # include <limits.h>
  12362. @@ -4445,87 +4524,40 @@
  12363. #endif
  12364. Syntax error
  12365. _ACEOF
  12366. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  12367. -case "(($ac_try" in
  12368. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12369. - *) ac_try_echo=$ac_try;;
  12370. -esac
  12371. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12372. -$as_echo "$ac_try_echo") >&5
  12373. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12374. - ac_status=$?
  12375. - grep -v '^ *+' conftest.er1 >conftest.err
  12376. - rm -f conftest.er1
  12377. - cat conftest.err >&5
  12378. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12379. - (exit $ac_status); } >/dev/null && {
  12380. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12381. - test ! -s conftest.err
  12382. - }; then
  12383. - :
  12384. -else
  12385. - $as_echo "$as_me: failed program was:" >&5
  12386. -sed 's/^/| /' conftest.$ac_ext >&5
  12387. +if ac_fn_c_try_cpp "$LINENO"; then :
  12388. +else
  12389. # Broken: fails on valid input.
  12390. continue
  12391. fi
  12392. -
  12393. rm -f conftest.err conftest.$ac_ext
  12394. # OK, works on sane cases. Now check whether nonexistent headers
  12395. # can be detected and how.
  12396. - cat >conftest.$ac_ext <<_ACEOF
  12397. -/* confdefs.h. */
  12398. -_ACEOF
  12399. -cat confdefs.h >>conftest.$ac_ext
  12400. -cat >>conftest.$ac_ext <<_ACEOF
  12401. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12402. /* end confdefs.h. */
  12403. #include <ac_nonexistent.h>
  12404. _ACEOF
  12405. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  12406. -case "(($ac_try" in
  12407. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12408. - *) ac_try_echo=$ac_try;;
  12409. -esac
  12410. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12411. -$as_echo "$ac_try_echo") >&5
  12412. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12413. - ac_status=$?
  12414. - grep -v '^ *+' conftest.er1 >conftest.err
  12415. - rm -f conftest.er1
  12416. - cat conftest.err >&5
  12417. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12418. - (exit $ac_status); } >/dev/null && {
  12419. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12420. - test ! -s conftest.err
  12421. - }; then
  12422. +if ac_fn_c_try_cpp "$LINENO"; then :
  12423. # Broken: success on invalid input.
  12424. continue
  12425. else
  12426. - $as_echo "$as_me: failed program was:" >&5
  12427. -sed 's/^/| /' conftest.$ac_ext >&5
  12428. -
  12429. # Passes both tests.
  12430. ac_preproc_ok=:
  12431. break
  12432. fi
  12433. -
  12434. rm -f conftest.err conftest.$ac_ext
  12435. done
  12436. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  12437. rm -f conftest.err conftest.$ac_ext
  12438. -if $ac_preproc_ok; then
  12439. - :
  12440. +if $ac_preproc_ok; then :
  12441. +
  12442. else
  12443. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  12444. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12445. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  12446. -{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  12447. -See \`config.log' for more details." >&5
  12448. -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  12449. -See \`config.log' for more details." >&2;}
  12450. - { (exit 1); exit 1; }; }; }
  12451. +as_fn_error "C preprocessor \"$CPP\" fails sanity check
  12452. +See \`config.log' for more details." "$LINENO" 5; }
  12453. fi
  12454. ac_ext=c
  12455. @@ -4534,109 +4566,17 @@
  12456. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12457. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12458. -# Find a good install program. We prefer a C program (faster),
  12459. -# so one script is as good as another. But avoid the broken or
  12460. -# incompatible versions:
  12461. -# SysV /etc/install, /usr/sbin/install
  12462. -# SunOS /usr/etc/install
  12463. -# IRIX /sbin/install
  12464. -# AIX /bin/install
  12465. -# AmigaOS /C/install, which installs bootblocks on floppy discs
  12466. -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  12467. -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  12468. -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  12469. -# OS/2's system install, which has a completely different semantic
  12470. -# ./install, which can be erroneously created by make from ./install.sh.
  12471. -# Reject install programs that cannot install multiple files.
  12472. -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  12473. -$as_echo_n "checking for a BSD-compatible install... " >&6; }
  12474. -if test -z "$INSTALL"; then
  12475. -if test "${ac_cv_path_install+set}" = set; then
  12476. - $as_echo_n "(cached) " >&6
  12477. -else
  12478. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12479. -for as_dir in $PATH
  12480. -do
  12481. - IFS=$as_save_IFS
  12482. - test -z "$as_dir" && as_dir=.
  12483. - # Account for people who put trailing slashes in PATH elements.
  12484. -case $as_dir/ in
  12485. - ./ | .// | /cC/* | \
  12486. - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  12487. - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  12488. - /usr/ucb/* ) ;;
  12489. - *)
  12490. - # OSF1 and SCO ODT 3.0 have their own names for install.
  12491. - # Don't use installbsd from OSF since it installs stuff as root
  12492. - # by default.
  12493. - for ac_prog in ginstall scoinst install; do
  12494. - for ac_exec_ext in '' $ac_executable_extensions; do
  12495. - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  12496. - if test $ac_prog = install &&
  12497. - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  12498. - # AIX install. It has an incompatible calling convention.
  12499. - :
  12500. - elif test $ac_prog = install &&
  12501. - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  12502. - # program-specific install script used by HP pwplus--don't use.
  12503. - :
  12504. - else
  12505. - rm -rf conftest.one conftest.two conftest.dir
  12506. - echo one > conftest.one
  12507. - echo two > conftest.two
  12508. - mkdir conftest.dir
  12509. - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  12510. - test -s conftest.one && test -s conftest.two &&
  12511. - test -s conftest.dir/conftest.one &&
  12512. - test -s conftest.dir/conftest.two
  12513. - then
  12514. - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  12515. - break 3
  12516. - fi
  12517. - fi
  12518. - fi
  12519. - done
  12520. - done
  12521. - ;;
  12522. -esac
  12523. -
  12524. -done
  12525. -IFS=$as_save_IFS
  12526. -
  12527. -rm -rf conftest.one conftest.two conftest.dir
  12528. -
  12529. -fi
  12530. - if test "${ac_cv_path_install+set}" = set; then
  12531. - INSTALL=$ac_cv_path_install
  12532. - else
  12533. - # As a last resort, use the slow shell script. Don't cache a
  12534. - # value for INSTALL within a source directory, because that will
  12535. - # break other packages using the cache if that directory is
  12536. - # removed, or if the value is a relative name.
  12537. - INSTALL=$ac_install_sh
  12538. - fi
  12539. -fi
  12540. -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  12541. -$as_echo "$INSTALL" >&6; }
  12542. -
  12543. -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  12544. -# It thinks the first close brace ends the variable substitution.
  12545. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  12546. -
  12547. -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  12548. -
  12549. -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  12550. enable_win32_dll=yes
  12551. case $host in
  12552. -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  12553. +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
  12554. if test -n "$ac_tool_prefix"; then
  12555. # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  12556. set dummy ${ac_tool_prefix}as; ac_word=$2
  12557. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  12558. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12559. $as_echo_n "checking for $ac_word... " >&6; }
  12560. -if test "${ac_cv_prog_AS+set}" = set; then
  12561. +if test "${ac_cv_prog_AS+set}" = set; then :
  12562. $as_echo_n "(cached) " >&6
  12563. else
  12564. if test -n "$AS"; then
  12565. @@ -4647,24 +4587,24 @@
  12566. do
  12567. IFS=$as_save_IFS
  12568. test -z "$as_dir" && as_dir=.
  12569. - for ac_exec_ext in '' $ac_executable_extensions; do
  12570. + for ac_exec_ext in '' $ac_executable_extensions; do
  12571. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12572. ac_cv_prog_AS="${ac_tool_prefix}as"
  12573. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12574. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12575. break 2
  12576. fi
  12577. done
  12578. -done
  12579. + done
  12580. IFS=$as_save_IFS
  12581. fi
  12582. fi
  12583. AS=$ac_cv_prog_AS
  12584. if test -n "$AS"; then
  12585. - { $as_echo "$as_me:$LINENO: result: $AS" >&5
  12586. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
  12587. $as_echo "$AS" >&6; }
  12588. else
  12589. - { $as_echo "$as_me:$LINENO: result: no" >&5
  12590. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12591. $as_echo "no" >&6; }
  12592. fi
  12593. @@ -4674,9 +4614,9 @@
  12594. ac_ct_AS=$AS
  12595. # Extract the first word of "as", so it can be a program name with args.
  12596. set dummy as; ac_word=$2
  12597. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  12598. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12599. $as_echo_n "checking for $ac_word... " >&6; }
  12600. -if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
  12601. +if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
  12602. $as_echo_n "(cached) " >&6
  12603. else
  12604. if test -n "$ac_ct_AS"; then
  12605. @@ -4687,24 +4627,24 @@
  12606. do
  12607. IFS=$as_save_IFS
  12608. test -z "$as_dir" && as_dir=.
  12609. - for ac_exec_ext in '' $ac_executable_extensions; do
  12610. + for ac_exec_ext in '' $ac_executable_extensions; do
  12611. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12612. ac_cv_prog_ac_ct_AS="as"
  12613. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12614. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12615. break 2
  12616. fi
  12617. done
  12618. -done
  12619. + done
  12620. IFS=$as_save_IFS
  12621. fi
  12622. fi
  12623. ac_ct_AS=$ac_cv_prog_ac_ct_AS
  12624. if test -n "$ac_ct_AS"; then
  12625. - { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
  12626. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
  12627. $as_echo "$ac_ct_AS" >&6; }
  12628. else
  12629. - { $as_echo "$as_me:$LINENO: result: no" >&5
  12630. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12631. $as_echo "no" >&6; }
  12632. fi
  12633. @@ -4713,7 +4653,7 @@
  12634. else
  12635. case $cross_compiling:$ac_tool_warned in
  12636. yes:)
  12637. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  12638. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12639. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12640. ac_tool_warned=yes ;;
  12641. esac
  12642. @@ -4726,9 +4666,9 @@
  12643. if test -n "$ac_tool_prefix"; then
  12644. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  12645. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  12646. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  12647. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12648. $as_echo_n "checking for $ac_word... " >&6; }
  12649. -if test "${ac_cv_prog_DLLTOOL+set}" = set; then
  12650. +if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
  12651. $as_echo_n "(cached) " >&6
  12652. else
  12653. if test -n "$DLLTOOL"; then
  12654. @@ -4739,24 +4679,24 @@
  12655. do
  12656. IFS=$as_save_IFS
  12657. test -z "$as_dir" && as_dir=.
  12658. - for ac_exec_ext in '' $ac_executable_extensions; do
  12659. + for ac_exec_ext in '' $ac_executable_extensions; do
  12660. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12661. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  12662. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12663. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12664. break 2
  12665. fi
  12666. done
  12667. -done
  12668. + done
  12669. IFS=$as_save_IFS
  12670. fi
  12671. fi
  12672. DLLTOOL=$ac_cv_prog_DLLTOOL
  12673. if test -n "$DLLTOOL"; then
  12674. - { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
  12675. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  12676. $as_echo "$DLLTOOL" >&6; }
  12677. else
  12678. - { $as_echo "$as_me:$LINENO: result: no" >&5
  12679. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12680. $as_echo "no" >&6; }
  12681. fi
  12682. @@ -4766,9 +4706,9 @@
  12683. ac_ct_DLLTOOL=$DLLTOOL
  12684. # Extract the first word of "dlltool", so it can be a program name with args.
  12685. set dummy dlltool; ac_word=$2
  12686. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  12687. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12688. $as_echo_n "checking for $ac_word... " >&6; }
  12689. -if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
  12690. +if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
  12691. $as_echo_n "(cached) " >&6
  12692. else
  12693. if test -n "$ac_ct_DLLTOOL"; then
  12694. @@ -4779,24 +4719,24 @@
  12695. do
  12696. IFS=$as_save_IFS
  12697. test -z "$as_dir" && as_dir=.
  12698. - for ac_exec_ext in '' $ac_executable_extensions; do
  12699. + for ac_exec_ext in '' $ac_executable_extensions; do
  12700. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12701. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  12702. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12703. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12704. break 2
  12705. fi
  12706. done
  12707. -done
  12708. + done
  12709. IFS=$as_save_IFS
  12710. fi
  12711. fi
  12712. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  12713. if test -n "$ac_ct_DLLTOOL"; then
  12714. - { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
  12715. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  12716. $as_echo "$ac_ct_DLLTOOL" >&6; }
  12717. else
  12718. - { $as_echo "$as_me:$LINENO: result: no" >&5
  12719. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12720. $as_echo "no" >&6; }
  12721. fi
  12722. @@ -4805,7 +4745,7 @@
  12723. else
  12724. case $cross_compiling:$ac_tool_warned in
  12725. yes:)
  12726. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  12727. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12728. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12729. ac_tool_warned=yes ;;
  12730. esac
  12731. @@ -4818,9 +4758,9 @@
  12732. if test -n "$ac_tool_prefix"; then
  12733. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  12734. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  12735. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  12736. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12737. $as_echo_n "checking for $ac_word... " >&6; }
  12738. -if test "${ac_cv_prog_OBJDUMP+set}" = set; then
  12739. +if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  12740. $as_echo_n "(cached) " >&6
  12741. else
  12742. if test -n "$OBJDUMP"; then
  12743. @@ -4831,24 +4771,24 @@
  12744. do
  12745. IFS=$as_save_IFS
  12746. test -z "$as_dir" && as_dir=.
  12747. - for ac_exec_ext in '' $ac_executable_extensions; do
  12748. + for ac_exec_ext in '' $ac_executable_extensions; do
  12749. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12750. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  12751. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12752. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12753. break 2
  12754. fi
  12755. done
  12756. -done
  12757. + done
  12758. IFS=$as_save_IFS
  12759. fi
  12760. fi
  12761. OBJDUMP=$ac_cv_prog_OBJDUMP
  12762. if test -n "$OBJDUMP"; then
  12763. - { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
  12764. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  12765. $as_echo "$OBJDUMP" >&6; }
  12766. else
  12767. - { $as_echo "$as_me:$LINENO: result: no" >&5
  12768. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12769. $as_echo "no" >&6; }
  12770. fi
  12771. @@ -4858,9 +4798,9 @@
  12772. ac_ct_OBJDUMP=$OBJDUMP
  12773. # Extract the first word of "objdump", so it can be a program name with args.
  12774. set dummy objdump; ac_word=$2
  12775. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  12776. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12777. $as_echo_n "checking for $ac_word... " >&6; }
  12778. -if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
  12779. +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  12780. $as_echo_n "(cached) " >&6
  12781. else
  12782. if test -n "$ac_ct_OBJDUMP"; then
  12783. @@ -4871,24 +4811,24 @@
  12784. do
  12785. IFS=$as_save_IFS
  12786. test -z "$as_dir" && as_dir=.
  12787. - for ac_exec_ext in '' $ac_executable_extensions; do
  12788. + for ac_exec_ext in '' $ac_executable_extensions; do
  12789. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12790. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  12791. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12792. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12793. break 2
  12794. fi
  12795. done
  12796. -done
  12797. + done
  12798. IFS=$as_save_IFS
  12799. fi
  12800. fi
  12801. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  12802. if test -n "$ac_ct_OBJDUMP"; then
  12803. - { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
  12804. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  12805. $as_echo "$ac_ct_OBJDUMP" >&6; }
  12806. else
  12807. - { $as_echo "$as_me:$LINENO: result: no" >&5
  12808. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12809. $as_echo "no" >&6; }
  12810. fi
  12811. @@ -4897,7 +4837,7 @@
  12812. else
  12813. case $cross_compiling:$ac_tool_warned in
  12814. yes:)
  12815. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  12816. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12817. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12818. ac_tool_warned=yes ;;
  12819. esac
  12820. @@ -4930,22 +4870,22 @@
  12821. -{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
  12822. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  12823. $as_echo_n "checking whether ln -s works... " >&6; }
  12824. LN_S=$as_ln_s
  12825. if test "$LN_S" = "ln -s"; then
  12826. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  12827. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12828. $as_echo "yes" >&6; }
  12829. else
  12830. - { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  12831. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  12832. $as_echo "no, using $LN_S" >&6; }
  12833. fi
  12834. -{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  12835. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  12836. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  12837. set x ${MAKE-make}
  12838. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  12839. -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  12840. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  12841. $as_echo_n "(cached) " >&6
  12842. else
  12843. cat >conftest.make <<\_ACEOF
  12844. @@ -4963,114 +4903,22 @@
  12845. rm -f conftest.make
  12846. fi
  12847. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  12848. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  12849. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  12850. $as_echo "yes" >&6; }
  12851. SET_MAKE=
  12852. else
  12853. - { $as_echo "$as_me:$LINENO: result: no" >&5
  12854. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12855. $as_echo "no" >&6; }
  12856. SET_MAKE="MAKE=${MAKE-make}"
  12857. fi
  12858. -if test -n "$ac_tool_prefix"; then
  12859. - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  12860. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  12861. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  12862. -$as_echo_n "checking for $ac_word... " >&6; }
  12863. -if test "${ac_cv_prog_RANLIB+set}" = set; then
  12864. - $as_echo_n "(cached) " >&6
  12865. -else
  12866. - if test -n "$RANLIB"; then
  12867. - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  12868. -else
  12869. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12870. -for as_dir in $PATH
  12871. -do
  12872. - IFS=$as_save_IFS
  12873. - test -z "$as_dir" && as_dir=.
  12874. - for ac_exec_ext in '' $ac_executable_extensions; do
  12875. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12876. - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  12877. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12878. - break 2
  12879. - fi
  12880. -done
  12881. -done
  12882. -IFS=$as_save_IFS
  12883. -
  12884. -fi
  12885. -fi
  12886. -RANLIB=$ac_cv_prog_RANLIB
  12887. -if test -n "$RANLIB"; then
  12888. - { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
  12889. -$as_echo "$RANLIB" >&6; }
  12890. -else
  12891. - { $as_echo "$as_me:$LINENO: result: no" >&5
  12892. -$as_echo "no" >&6; }
  12893. -fi
  12894. -
  12895. -
  12896. -fi
  12897. -if test -z "$ac_cv_prog_RANLIB"; then
  12898. - ac_ct_RANLIB=$RANLIB
  12899. - # Extract the first word of "ranlib", so it can be a program name with args.
  12900. -set dummy ranlib; ac_word=$2
  12901. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  12902. -$as_echo_n "checking for $ac_word... " >&6; }
  12903. -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  12904. - $as_echo_n "(cached) " >&6
  12905. -else
  12906. - if test -n "$ac_ct_RANLIB"; then
  12907. - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  12908. -else
  12909. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12910. -for as_dir in $PATH
  12911. -do
  12912. - IFS=$as_save_IFS
  12913. - test -z "$as_dir" && as_dir=.
  12914. - for ac_exec_ext in '' $ac_executable_extensions; do
  12915. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12916. - ac_cv_prog_ac_ct_RANLIB="ranlib"
  12917. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12918. - break 2
  12919. - fi
  12920. -done
  12921. -done
  12922. -IFS=$as_save_IFS
  12923. -
  12924. -fi
  12925. -fi
  12926. -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  12927. -if test -n "$ac_ct_RANLIB"; then
  12928. - { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  12929. -$as_echo "$ac_ct_RANLIB" >&6; }
  12930. -else
  12931. - { $as_echo "$as_me:$LINENO: result: no" >&5
  12932. -$as_echo "no" >&6; }
  12933. -fi
  12934. -
  12935. - if test "x$ac_ct_RANLIB" = x; then
  12936. - RANLIB=":"
  12937. - else
  12938. - case $cross_compiling:$ac_tool_warned in
  12939. -yes:)
  12940. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  12941. -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12942. -ac_tool_warned=yes ;;
  12943. -esac
  12944. - RANLIB=$ac_ct_RANLIB
  12945. - fi
  12946. -else
  12947. - RANLIB="$ac_cv_prog_RANLIB"
  12948. -fi
  12949. -
  12950. for ac_prog in gawk mawk nawk awk
  12951. do
  12952. # Extract the first word of "$ac_prog", so it can be a program name with args.
  12953. set dummy $ac_prog; ac_word=$2
  12954. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  12955. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12956. $as_echo_n "checking for $ac_word... " >&6; }
  12957. -if test "${ac_cv_prog_AWK+set}" = set; then
  12958. +if test "${ac_cv_prog_AWK+set}" = set; then :
  12959. $as_echo_n "(cached) " >&6
  12960. else
  12961. if test -n "$AWK"; then
  12962. @@ -5081,24 +4929,24 @@
  12963. do
  12964. IFS=$as_save_IFS
  12965. test -z "$as_dir" && as_dir=.
  12966. - for ac_exec_ext in '' $ac_executable_extensions; do
  12967. + for ac_exec_ext in '' $ac_executable_extensions; do
  12968. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12969. ac_cv_prog_AWK="$ac_prog"
  12970. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  12971. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12972. break 2
  12973. fi
  12974. done
  12975. -done
  12976. + done
  12977. IFS=$as_save_IFS
  12978. fi
  12979. fi
  12980. AWK=$ac_cv_prog_AWK
  12981. if test -n "$AWK"; then
  12982. - { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  12983. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  12984. $as_echo "$AWK" >&6; }
  12985. else
  12986. - { $as_echo "$as_me:$LINENO: result: no" >&5
  12987. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12988. $as_echo "no" >&6; }
  12989. fi
  12990. @@ -5112,14 +4960,14 @@
  12991. case `pwd` in
  12992. *\ * | *\ *)
  12993. - { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  12994. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  12995. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  12996. esac
  12997. -macro_version='2.2.6'
  12998. -macro_revision='1.3012'
  12999. +macro_version='2.2.11a'
  13000. +macro_revision='1.3216'
  13001. @@ -5135,9 +4983,78 @@
  13002. ltmain="$ac_aux_dir/ltmain.sh"
  13003. -{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  13004. +# Backslashify metacharacters that are still active within
  13005. +# double-quoted strings.
  13006. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  13007. +
  13008. +# Same as above, but do not quote variable references.
  13009. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  13010. +
  13011. +# Sed substitution to delay expansion of an escaped shell variable in a
  13012. +# double_quote_subst'ed string.
  13013. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  13014. +
  13015. +# Sed substitution to delay expansion of an escaped single quote.
  13016. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  13017. +
  13018. +# Sed substitution to avoid accidental globbing in evaled expressions
  13019. +no_glob_subst='s/\*/\\\*/g'
  13020. +
  13021. +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  13022. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  13023. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  13024. +
  13025. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  13026. +$as_echo_n "checking how to print strings... " >&6; }
  13027. +# Test print first, because it will be a builtin if present.
  13028. +if test "X`print -r -- -n 2>/dev/null`" = X-n && \
  13029. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  13030. + ECHO='print -r --'
  13031. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  13032. + ECHO='printf %s\n'
  13033. +else
  13034. + # Use this function as a fallback that always works.
  13035. + func_fallback_echo ()
  13036. + {
  13037. + eval 'cat <<_LTECHO_EOF
  13038. +$1
  13039. +_LTECHO_EOF'
  13040. + }
  13041. + ECHO='func_fallback_echo'
  13042. +fi
  13043. +
  13044. +# func_echo_all arg...
  13045. +# Invoke $ECHO with all args, space-separated.
  13046. +func_echo_all ()
  13047. +{
  13048. + $ECHO ""
  13049. +}
  13050. +
  13051. +case "$ECHO" in
  13052. + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  13053. +$as_echo "printf" >&6; } ;;
  13054. + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  13055. +$as_echo "print -r" >&6; } ;;
  13056. + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  13057. +$as_echo "cat" >&6; } ;;
  13058. +esac
  13059. +
  13060. +
  13061. +
  13062. +
  13063. +
  13064. +
  13065. +
  13066. +
  13067. +
  13068. +
  13069. +
  13070. +
  13071. +
  13072. +
  13073. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  13074. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  13075. -if test "${ac_cv_path_SED+set}" = set; then
  13076. +if test "${ac_cv_path_SED+set}" = set; then :
  13077. $as_echo_n "(cached) " >&6
  13078. else
  13079. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  13080. @@ -5145,7 +5062,7 @@
  13081. ac_script="$ac_script$as_nl$ac_script"
  13082. done
  13083. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  13084. - $as_unset ac_script || ac_script=
  13085. + { ac_script=; unset ac_script;}
  13086. if test -z "$SED"; then
  13087. ac_path_SED_found=false
  13088. # Loop through the user's path and test for each of PROGNAME-LIST
  13089. @@ -5154,7 +5071,7 @@
  13090. do
  13091. IFS=$as_save_IFS
  13092. test -z "$as_dir" && as_dir=.
  13093. - for ac_prog in sed gsed; do
  13094. + for ac_prog in sed gsed; do
  13095. for ac_exec_ext in '' $ac_executable_extensions; do
  13096. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  13097. { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  13098. @@ -5174,7 +5091,7 @@
  13099. $as_echo '' >> "conftest.nl"
  13100. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13101. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13102. - ac_count=`expr $ac_count + 1`
  13103. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13104. if test $ac_count -gt ${ac_path_SED_max-0}; then
  13105. # Best one so far, save it but keep looking for a better one
  13106. ac_cv_path_SED="$ac_path_SED"
  13107. @@ -5189,19 +5106,17 @@
  13108. $ac_path_SED_found && break 3
  13109. done
  13110. done
  13111. -done
  13112. + done
  13113. IFS=$as_save_IFS
  13114. if test -z "$ac_cv_path_SED"; then
  13115. - { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
  13116. -$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
  13117. - { (exit 1); exit 1; }; }
  13118. + as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
  13119. fi
  13120. else
  13121. ac_cv_path_SED=$SED
  13122. fi
  13123. fi
  13124. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  13125. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  13126. $as_echo "$ac_cv_path_SED" >&6; }
  13127. SED="$ac_cv_path_SED"
  13128. rm -f conftest.sed
  13129. @@ -5219,9 +5134,9 @@
  13130. -{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  13131. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  13132. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  13133. -if test "${ac_cv_path_GREP+set}" = set; then
  13134. +if test "${ac_cv_path_GREP+set}" = set; then :
  13135. $as_echo_n "(cached) " >&6
  13136. else
  13137. if test -z "$GREP"; then
  13138. @@ -5232,7 +5147,7 @@
  13139. do
  13140. IFS=$as_save_IFS
  13141. test -z "$as_dir" && as_dir=.
  13142. - for ac_prog in grep ggrep; do
  13143. + for ac_prog in grep ggrep; do
  13144. for ac_exec_ext in '' $ac_executable_extensions; do
  13145. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  13146. { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  13147. @@ -5252,7 +5167,7 @@
  13148. $as_echo 'GREP' >> "conftest.nl"
  13149. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13150. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13151. - ac_count=`expr $ac_count + 1`
  13152. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13153. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  13154. # Best one so far, save it but keep looking for a better one
  13155. ac_cv_path_GREP="$ac_path_GREP"
  13156. @@ -5267,26 +5182,24 @@
  13157. $ac_path_GREP_found && break 3
  13158. done
  13159. done
  13160. -done
  13161. + done
  13162. IFS=$as_save_IFS
  13163. if test -z "$ac_cv_path_GREP"; then
  13164. - { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  13165. -$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  13166. - { (exit 1); exit 1; }; }
  13167. + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  13168. fi
  13169. else
  13170. ac_cv_path_GREP=$GREP
  13171. fi
  13172. fi
  13173. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  13174. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  13175. $as_echo "$ac_cv_path_GREP" >&6; }
  13176. GREP="$ac_cv_path_GREP"
  13177. -{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
  13178. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  13179. $as_echo_n "checking for egrep... " >&6; }
  13180. -if test "${ac_cv_path_EGREP+set}" = set; then
  13181. +if test "${ac_cv_path_EGREP+set}" = set; then :
  13182. $as_echo_n "(cached) " >&6
  13183. else
  13184. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  13185. @@ -5300,7 +5213,7 @@
  13186. do
  13187. IFS=$as_save_IFS
  13188. test -z "$as_dir" && as_dir=.
  13189. - for ac_prog in egrep; do
  13190. + for ac_prog in egrep; do
  13191. for ac_exec_ext in '' $ac_executable_extensions; do
  13192. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  13193. { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  13194. @@ -5320,7 +5233,7 @@
  13195. $as_echo 'EGREP' >> "conftest.nl"
  13196. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13197. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13198. - ac_count=`expr $ac_count + 1`
  13199. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13200. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  13201. # Best one so far, save it but keep looking for a better one
  13202. ac_cv_path_EGREP="$ac_path_EGREP"
  13203. @@ -5335,12 +5248,10 @@
  13204. $ac_path_EGREP_found && break 3
  13205. done
  13206. done
  13207. -done
  13208. + done
  13209. IFS=$as_save_IFS
  13210. if test -z "$ac_cv_path_EGREP"; then
  13211. - { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  13212. -$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  13213. - { (exit 1); exit 1; }; }
  13214. + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  13215. fi
  13216. else
  13217. ac_cv_path_EGREP=$EGREP
  13218. @@ -5348,14 +5259,14 @@
  13219. fi
  13220. fi
  13221. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  13222. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  13223. $as_echo "$ac_cv_path_EGREP" >&6; }
  13224. EGREP="$ac_cv_path_EGREP"
  13225. -{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
  13226. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  13227. $as_echo_n "checking for fgrep... " >&6; }
  13228. -if test "${ac_cv_path_FGREP+set}" = set; then
  13229. +if test "${ac_cv_path_FGREP+set}" = set; then :
  13230. $as_echo_n "(cached) " >&6
  13231. else
  13232. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  13233. @@ -5369,7 +5280,7 @@
  13234. do
  13235. IFS=$as_save_IFS
  13236. test -z "$as_dir" && as_dir=.
  13237. - for ac_prog in fgrep; do
  13238. + for ac_prog in fgrep; do
  13239. for ac_exec_ext in '' $ac_executable_extensions; do
  13240. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  13241. { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  13242. @@ -5389,7 +5300,7 @@
  13243. $as_echo 'FGREP' >> "conftest.nl"
  13244. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  13245. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  13246. - ac_count=`expr $ac_count + 1`
  13247. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  13248. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  13249. # Best one so far, save it but keep looking for a better one
  13250. ac_cv_path_FGREP="$ac_path_FGREP"
  13251. @@ -5404,12 +5315,10 @@
  13252. $ac_path_FGREP_found && break 3
  13253. done
  13254. done
  13255. -done
  13256. + done
  13257. IFS=$as_save_IFS
  13258. if test -z "$ac_cv_path_FGREP"; then
  13259. - { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  13260. -$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  13261. - { (exit 1); exit 1; }; }
  13262. + as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  13263. fi
  13264. else
  13265. ac_cv_path_FGREP=$FGREP
  13266. @@ -5417,7 +5326,7 @@
  13267. fi
  13268. fi
  13269. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
  13270. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  13271. $as_echo "$ac_cv_path_FGREP" >&6; }
  13272. FGREP="$ac_cv_path_FGREP"
  13273. @@ -5443,7 +5352,7 @@
  13274. # Check whether --with-gnu-ld was given.
  13275. -if test "${with_gnu_ld+set}" = set; then
  13276. +if test "${with_gnu_ld+set}" = set; then :
  13277. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  13278. else
  13279. with_gnu_ld=no
  13280. @@ -5452,7 +5361,7 @@
  13281. ac_prog=ld
  13282. if test "$GCC" = yes; then
  13283. # Check if gcc -print-prog-name=ld gives a path.
  13284. - { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  13285. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  13286. $as_echo_n "checking for ld used by $CC... " >&6; }
  13287. case $host in
  13288. *-*-mingw*)
  13289. @@ -5482,13 +5391,13 @@
  13290. ;;
  13291. esac
  13292. elif test "$with_gnu_ld" = yes; then
  13293. - { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
  13294. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  13295. $as_echo_n "checking for GNU ld... " >&6; }
  13296. else
  13297. - { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  13298. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  13299. $as_echo_n "checking for non-GNU ld... " >&6; }
  13300. fi
  13301. -if test "${lt_cv_path_LD+set}" = set; then
  13302. +if test "${lt_cv_path_LD+set}" = set; then :
  13303. $as_echo_n "(cached) " >&6
  13304. else
  13305. if test -z "$LD"; then
  13306. @@ -5519,18 +5428,16 @@
  13307. LD="$lt_cv_path_LD"
  13308. if test -n "$LD"; then
  13309. - { $as_echo "$as_me:$LINENO: result: $LD" >&5
  13310. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  13311. $as_echo "$LD" >&6; }
  13312. else
  13313. - { $as_echo "$as_me:$LINENO: result: no" >&5
  13314. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13315. $as_echo "no" >&6; }
  13316. fi
  13317. -test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  13318. -$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  13319. - { (exit 1); exit 1; }; }
  13320. -{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  13321. +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  13322. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  13323. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  13324. -if test "${lt_cv_prog_gnu_ld+set}" = set; then
  13325. +if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  13326. $as_echo_n "(cached) " >&6
  13327. else
  13328. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  13329. @@ -5543,7 +5450,7 @@
  13330. ;;
  13331. esac
  13332. fi
  13333. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  13334. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  13335. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  13336. with_gnu_ld=$lt_cv_prog_gnu_ld
  13337. @@ -5555,9 +5462,9 @@
  13338. -{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
  13339. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  13340. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  13341. -if test "${lt_cv_path_NM+set}" = set; then
  13342. +if test "${lt_cv_path_NM+set}" = set; then :
  13343. $as_echo_n "(cached) " >&6
  13344. else
  13345. if test -n "$NM"; then
  13346. @@ -5604,20 +5511,23 @@
  13347. : ${lt_cv_path_NM=no}
  13348. fi
  13349. fi
  13350. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  13351. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  13352. $as_echo "$lt_cv_path_NM" >&6; }
  13353. if test "$lt_cv_path_NM" != "no"; then
  13354. NM="$lt_cv_path_NM"
  13355. else
  13356. # Didn't find any BSD compatible name lister, look for dumpbin.
  13357. - if test -n "$ac_tool_prefix"; then
  13358. - for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  13359. + if test -n "$DUMPBIN"; then :
  13360. + # Let the user override the test.
  13361. + else
  13362. + if test -n "$ac_tool_prefix"; then
  13363. + for ac_prog in dumpbin "link -dump"
  13364. do
  13365. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  13366. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  13367. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  13368. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13369. $as_echo_n "checking for $ac_word... " >&6; }
  13370. -if test "${ac_cv_prog_DUMPBIN+set}" = set; then
  13371. +if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
  13372. $as_echo_n "(cached) " >&6
  13373. else
  13374. if test -n "$DUMPBIN"; then
  13375. @@ -5628,24 +5538,24 @@
  13376. do
  13377. IFS=$as_save_IFS
  13378. test -z "$as_dir" && as_dir=.
  13379. - for ac_exec_ext in '' $ac_executable_extensions; do
  13380. + for ac_exec_ext in '' $ac_executable_extensions; do
  13381. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13382. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  13383. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  13384. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13385. break 2
  13386. fi
  13387. done
  13388. -done
  13389. + done
  13390. IFS=$as_save_IFS
  13391. fi
  13392. fi
  13393. DUMPBIN=$ac_cv_prog_DUMPBIN
  13394. if test -n "$DUMPBIN"; then
  13395. - { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
  13396. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  13397. $as_echo "$DUMPBIN" >&6; }
  13398. else
  13399. - { $as_echo "$as_me:$LINENO: result: no" >&5
  13400. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13401. $as_echo "no" >&6; }
  13402. fi
  13403. @@ -5655,13 +5565,13 @@
  13404. fi
  13405. if test -z "$DUMPBIN"; then
  13406. ac_ct_DUMPBIN=$DUMPBIN
  13407. - for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  13408. + for ac_prog in dumpbin "link -dump"
  13409. do
  13410. # Extract the first word of "$ac_prog", so it can be a program name with args.
  13411. set dummy $ac_prog; ac_word=$2
  13412. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  13413. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13414. $as_echo_n "checking for $ac_word... " >&6; }
  13415. -if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
  13416. +if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
  13417. $as_echo_n "(cached) " >&6
  13418. else
  13419. if test -n "$ac_ct_DUMPBIN"; then
  13420. @@ -5672,24 +5582,24 @@
  13421. do
  13422. IFS=$as_save_IFS
  13423. test -z "$as_dir" && as_dir=.
  13424. - for ac_exec_ext in '' $ac_executable_extensions; do
  13425. + for ac_exec_ext in '' $ac_executable_extensions; do
  13426. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13427. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  13428. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  13429. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13430. break 2
  13431. fi
  13432. done
  13433. -done
  13434. + done
  13435. IFS=$as_save_IFS
  13436. fi
  13437. fi
  13438. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  13439. if test -n "$ac_ct_DUMPBIN"; then
  13440. - { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
  13441. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  13442. $as_echo "$ac_ct_DUMPBIN" >&6; }
  13443. else
  13444. - { $as_echo "$as_me:$LINENO: result: no" >&5
  13445. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13446. $as_echo "no" >&6; }
  13447. fi
  13448. @@ -5702,7 +5612,7 @@
  13449. else
  13450. case $cross_compiling:$ac_tool_warned in
  13451. yes:)
  13452. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  13453. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13454. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13455. ac_tool_warned=yes ;;
  13456. esac
  13457. @@ -5710,6 +5620,15 @@
  13458. fi
  13459. fi
  13460. + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  13461. + *COFF*)
  13462. + DUMPBIN="$DUMPBIN -symbols"
  13463. + ;;
  13464. + *)
  13465. + DUMPBIN=:
  13466. + ;;
  13467. + esac
  13468. + fi
  13469. if test "$DUMPBIN" != ":"; then
  13470. NM="$DUMPBIN"
  13471. @@ -5722,33 +5641,33 @@
  13472. -{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
  13473. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  13474. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  13475. -if test "${lt_cv_nm_interface+set}" = set; then
  13476. +if test "${lt_cv_nm_interface+set}" = set; then :
  13477. $as_echo_n "(cached) " >&6
  13478. else
  13479. lt_cv_nm_interface="BSD nm"
  13480. echo "int some_variable = 0;" > conftest.$ac_ext
  13481. - (eval echo "\"\$as_me:5732: $ac_compile\"" >&5)
  13482. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  13483. (eval "$ac_compile" 2>conftest.err)
  13484. cat conftest.err >&5
  13485. - (eval echo "\"\$as_me:5735: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  13486. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  13487. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  13488. cat conftest.err >&5
  13489. - (eval echo "\"\$as_me:5738: output\"" >&5)
  13490. + (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  13491. cat conftest.out >&5
  13492. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  13493. lt_cv_nm_interface="MS dumpbin"
  13494. fi
  13495. rm -f conftest*
  13496. fi
  13497. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
  13498. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  13499. $as_echo "$lt_cv_nm_interface" >&6; }
  13500. # find the maximum length of command line arguments
  13501. -{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  13502. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  13503. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  13504. -if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  13505. +if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
  13506. $as_echo_n "(cached) " >&6
  13507. else
  13508. i=0
  13509. @@ -5781,6 +5700,11 @@
  13510. lt_cv_sys_max_cmd_len=8192;
  13511. ;;
  13512. + mint*)
  13513. + # On MiNT this can take a long time and run out of memory.
  13514. + lt_cv_sys_max_cmd_len=8192;
  13515. + ;;
  13516. +
  13517. amigaos*)
  13518. # On AmigaOS with pdksh, this test takes hours, literally.
  13519. # So we just punt and use a minimum line length of 8192.
  13520. @@ -5845,8 +5769,8 @@
  13521. # If test is not a shell built-in, we'll probably end up computing a
  13522. # maximum length that is only half of the actual maximum length, but
  13523. # we can't tell.
  13524. - while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  13525. - = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  13526. + while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  13527. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  13528. test $i != 17 # 1/2 MB should be enough
  13529. do
  13530. i=`expr $i + 1`
  13531. @@ -5866,10 +5790,10 @@
  13532. fi
  13533. if test -n $lt_cv_sys_max_cmd_len ; then
  13534. - { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  13535. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  13536. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  13537. else
  13538. - { $as_echo "$as_me:$LINENO: result: none" >&5
  13539. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  13540. $as_echo "none" >&6; }
  13541. fi
  13542. max_cmd_len=$lt_cv_sys_max_cmd_len
  13543. @@ -5883,27 +5807,27 @@
  13544. : ${MV="mv -f"}
  13545. : ${RM="rm -f"}
  13546. -{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
  13547. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  13548. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  13549. # Try some XSI features
  13550. xsi_shell=no
  13551. ( _lt_dummy="a/b/c"
  13552. - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  13553. - = c,a/b,, \
  13554. + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  13555. + = c,a/b,b/c, \
  13556. && eval 'test $(( 1 + 1 )) -eq 2 \
  13557. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  13558. && xsi_shell=yes
  13559. -{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
  13560. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  13561. $as_echo "$xsi_shell" >&6; }
  13562. -{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
  13563. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  13564. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  13565. lt_shell_append=no
  13566. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  13567. >/dev/null 2>&1 \
  13568. && lt_shell_append=yes
  13569. -{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
  13570. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  13571. $as_echo "$lt_shell_append" >&6; }
  13572. @@ -5938,14 +5862,14 @@
  13573. -{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  13574. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  13575. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  13576. -if test "${lt_cv_ld_reload_flag+set}" = set; then
  13577. +if test "${lt_cv_ld_reload_flag+set}" = set; then :
  13578. $as_echo_n "(cached) " >&6
  13579. else
  13580. lt_cv_ld_reload_flag='-r'
  13581. fi
  13582. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  13583. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  13584. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  13585. reload_flag=$lt_cv_ld_reload_flag
  13586. case $reload_flag in
  13587. @@ -5974,9 +5898,9 @@
  13588. if test -n "$ac_tool_prefix"; then
  13589. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  13590. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  13591. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  13592. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13593. $as_echo_n "checking for $ac_word... " >&6; }
  13594. -if test "${ac_cv_prog_OBJDUMP+set}" = set; then
  13595. +if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  13596. $as_echo_n "(cached) " >&6
  13597. else
  13598. if test -n "$OBJDUMP"; then
  13599. @@ -5987,24 +5911,24 @@
  13600. do
  13601. IFS=$as_save_IFS
  13602. test -z "$as_dir" && as_dir=.
  13603. - for ac_exec_ext in '' $ac_executable_extensions; do
  13604. + for ac_exec_ext in '' $ac_executable_extensions; do
  13605. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13606. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  13607. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  13608. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13609. break 2
  13610. fi
  13611. done
  13612. -done
  13613. + done
  13614. IFS=$as_save_IFS
  13615. fi
  13616. fi
  13617. OBJDUMP=$ac_cv_prog_OBJDUMP
  13618. if test -n "$OBJDUMP"; then
  13619. - { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
  13620. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  13621. $as_echo "$OBJDUMP" >&6; }
  13622. else
  13623. - { $as_echo "$as_me:$LINENO: result: no" >&5
  13624. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13625. $as_echo "no" >&6; }
  13626. fi
  13627. @@ -6014,9 +5938,9 @@
  13628. ac_ct_OBJDUMP=$OBJDUMP
  13629. # Extract the first word of "objdump", so it can be a program name with args.
  13630. set dummy objdump; ac_word=$2
  13631. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  13632. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13633. $as_echo_n "checking for $ac_word... " >&6; }
  13634. -if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
  13635. +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  13636. $as_echo_n "(cached) " >&6
  13637. else
  13638. if test -n "$ac_ct_OBJDUMP"; then
  13639. @@ -6027,24 +5951,24 @@
  13640. do
  13641. IFS=$as_save_IFS
  13642. test -z "$as_dir" && as_dir=.
  13643. - for ac_exec_ext in '' $ac_executable_extensions; do
  13644. + for ac_exec_ext in '' $ac_executable_extensions; do
  13645. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13646. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  13647. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  13648. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13649. break 2
  13650. fi
  13651. done
  13652. -done
  13653. + done
  13654. IFS=$as_save_IFS
  13655. fi
  13656. fi
  13657. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  13658. if test -n "$ac_ct_OBJDUMP"; then
  13659. - { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
  13660. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  13661. $as_echo "$ac_ct_OBJDUMP" >&6; }
  13662. else
  13663. - { $as_echo "$as_me:$LINENO: result: no" >&5
  13664. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13665. $as_echo "no" >&6; }
  13666. fi
  13667. @@ -6053,7 +5977,7 @@
  13668. else
  13669. case $cross_compiling:$ac_tool_warned in
  13670. yes:)
  13671. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  13672. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13673. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13674. ac_tool_warned=yes ;;
  13675. esac
  13676. @@ -6070,9 +5994,9 @@
  13677. -{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
  13678. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  13679. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  13680. -if test "${lt_cv_deplibs_check_method+set}" = set; then
  13681. +if test "${lt_cv_deplibs_check_method+set}" = set; then :
  13682. $as_echo_n "(cached) " >&6
  13683. else
  13684. lt_cv_file_magic_cmd='$MAGIC_CMD'
  13685. @@ -6114,16 +6038,18 @@
  13686. # Base MSYS/MinGW do not provide the 'file' command needed by
  13687. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  13688. # unless we find 'file', for example because we are cross-compiling.
  13689. - if ( file / ) >/dev/null 2>&1; then
  13690. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  13691. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  13692. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  13693. lt_cv_file_magic_cmd='func_win32_libid'
  13694. else
  13695. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  13696. + # Keep this pattern in sync with the one in func_win32_libid.
  13697. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  13698. lt_cv_file_magic_cmd='$OBJDUMP -f'
  13699. fi
  13700. ;;
  13701. -cegcc)
  13702. +cegcc*)
  13703. # use the weaker test based on 'objdump'. See mingw*.
  13704. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  13705. lt_cv_file_magic_cmd='$OBJDUMP -f'
  13706. @@ -6153,6 +6079,10 @@
  13707. lt_cv_deplibs_check_method=pass_all
  13708. ;;
  13709. +haiku*)
  13710. + lt_cv_deplibs_check_method=pass_all
  13711. + ;;
  13712. +
  13713. hpux10.20* | hpux11*)
  13714. lt_cv_file_magic_cmd=/usr/bin/file
  13715. case $host_cpu in
  13716. @@ -6161,11 +6091,11 @@
  13717. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  13718. ;;
  13719. hppa*64*)
  13720. - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
  13721. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  13722. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  13723. ;;
  13724. *)
  13725. - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  13726. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  13727. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  13728. ;;
  13729. esac
  13730. @@ -6187,11 +6117,11 @@
  13731. ;;
  13732. # This must be Linux ELF.
  13733. -linux* | k*bsd*-gnu)
  13734. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  13735. lt_cv_deplibs_check_method=pass_all
  13736. ;;
  13737. -netbsd* | netbsdelf*-gnu)
  13738. +netbsd*)
  13739. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  13740. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  13741. else
  13742. @@ -6266,8 +6196,23 @@
  13743. esac
  13744. fi
  13745. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  13746. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  13747. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  13748. +
  13749. +file_magic_glob=
  13750. +want_nocaseglob=no
  13751. +if test "$build" = "$host"; then
  13752. + case $host_os in
  13753. + mingw* | pw32*)
  13754. + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  13755. + want_nocaseglob=yes
  13756. + else
  13757. + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  13758. + fi
  13759. + ;;
  13760. + esac
  13761. +fi
  13762. +
  13763. file_magic_cmd=$lt_cv_file_magic_cmd
  13764. deplibs_check_method=$lt_cv_deplibs_check_method
  13765. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  13766. @@ -6283,12 +6228,160 @@
  13767. -if test -n "$ac_tool_prefix"; then
  13768. - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  13769. -set dummy ${ac_tool_prefix}ar; ac_word=$2
  13770. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  13771. -$as_echo_n "checking for $ac_word... " >&6; }
  13772. -if test "${ac_cv_prog_AR+set}" = set; then
  13773. +
  13774. +
  13775. +
  13776. +
  13777. +
  13778. +
  13779. +
  13780. +
  13781. +
  13782. +
  13783. +if test -n "$ac_tool_prefix"; then
  13784. + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  13785. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  13786. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13787. +$as_echo_n "checking for $ac_word... " >&6; }
  13788. +if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
  13789. + $as_echo_n "(cached) " >&6
  13790. +else
  13791. + if test -n "$DLLTOOL"; then
  13792. + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  13793. +else
  13794. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13795. +for as_dir in $PATH
  13796. +do
  13797. + IFS=$as_save_IFS
  13798. + test -z "$as_dir" && as_dir=.
  13799. + for ac_exec_ext in '' $ac_executable_extensions; do
  13800. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13801. + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  13802. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13803. + break 2
  13804. + fi
  13805. +done
  13806. + done
  13807. +IFS=$as_save_IFS
  13808. +
  13809. +fi
  13810. +fi
  13811. +DLLTOOL=$ac_cv_prog_DLLTOOL
  13812. +if test -n "$DLLTOOL"; then
  13813. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  13814. +$as_echo "$DLLTOOL" >&6; }
  13815. +else
  13816. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13817. +$as_echo "no" >&6; }
  13818. +fi
  13819. +
  13820. +
  13821. +fi
  13822. +if test -z "$ac_cv_prog_DLLTOOL"; then
  13823. + ac_ct_DLLTOOL=$DLLTOOL
  13824. + # Extract the first word of "dlltool", so it can be a program name with args.
  13825. +set dummy dlltool; ac_word=$2
  13826. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13827. +$as_echo_n "checking for $ac_word... " >&6; }
  13828. +if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
  13829. + $as_echo_n "(cached) " >&6
  13830. +else
  13831. + if test -n "$ac_ct_DLLTOOL"; then
  13832. + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  13833. +else
  13834. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13835. +for as_dir in $PATH
  13836. +do
  13837. + IFS=$as_save_IFS
  13838. + test -z "$as_dir" && as_dir=.
  13839. + for ac_exec_ext in '' $ac_executable_extensions; do
  13840. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13841. + ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  13842. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13843. + break 2
  13844. + fi
  13845. +done
  13846. + done
  13847. +IFS=$as_save_IFS
  13848. +
  13849. +fi
  13850. +fi
  13851. +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  13852. +if test -n "$ac_ct_DLLTOOL"; then
  13853. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  13854. +$as_echo "$ac_ct_DLLTOOL" >&6; }
  13855. +else
  13856. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13857. +$as_echo "no" >&6; }
  13858. +fi
  13859. +
  13860. + if test "x$ac_ct_DLLTOOL" = x; then
  13861. + DLLTOOL="false"
  13862. + else
  13863. + case $cross_compiling:$ac_tool_warned in
  13864. +yes:)
  13865. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13866. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13867. +ac_tool_warned=yes ;;
  13868. +esac
  13869. + DLLTOOL=$ac_ct_DLLTOOL
  13870. + fi
  13871. +else
  13872. + DLLTOOL="$ac_cv_prog_DLLTOOL"
  13873. +fi
  13874. +
  13875. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  13876. +
  13877. +
  13878. +
  13879. +
  13880. +
  13881. +
  13882. +
  13883. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  13884. +$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  13885. +if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
  13886. + $as_echo_n "(cached) " >&6
  13887. +else
  13888. + lt_cv_sharedlib_from_linklib_cmd='unknown'
  13889. +
  13890. +case $host_os in
  13891. +cygwin* | mingw* | pw32* | cegcc*)
  13892. + # two different shell functions defined in ltmain.sh
  13893. + # decide which to use based on capabilities of $DLLTOOL
  13894. + case `$DLLTOOL --help 2>&1` in
  13895. + *--identify-strict*)
  13896. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  13897. + ;;
  13898. + *)
  13899. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  13900. + ;;
  13901. + esac
  13902. + ;;
  13903. +*)
  13904. + # fallback: assume linklib IS sharedlib
  13905. + lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  13906. + ;;
  13907. +esac
  13908. +
  13909. +fi
  13910. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  13911. +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  13912. +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  13913. +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  13914. +
  13915. +
  13916. +
  13917. +
  13918. +
  13919. +
  13920. +
  13921. +if test -n "$ac_tool_prefix"; then
  13922. + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  13923. +set dummy ${ac_tool_prefix}ar; ac_word=$2
  13924. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13925. +$as_echo_n "checking for $ac_word... " >&6; }
  13926. +if test "${ac_cv_prog_AR+set}" = set; then :
  13927. $as_echo_n "(cached) " >&6
  13928. else
  13929. if test -n "$AR"; then
  13930. @@ -6299,24 +6392,24 @@
  13931. do
  13932. IFS=$as_save_IFS
  13933. test -z "$as_dir" && as_dir=.
  13934. - for ac_exec_ext in '' $ac_executable_extensions; do
  13935. + for ac_exec_ext in '' $ac_executable_extensions; do
  13936. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13937. ac_cv_prog_AR="${ac_tool_prefix}ar"
  13938. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  13939. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13940. break 2
  13941. fi
  13942. done
  13943. -done
  13944. + done
  13945. IFS=$as_save_IFS
  13946. fi
  13947. fi
  13948. AR=$ac_cv_prog_AR
  13949. if test -n "$AR"; then
  13950. - { $as_echo "$as_me:$LINENO: result: $AR" >&5
  13951. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  13952. $as_echo "$AR" >&6; }
  13953. else
  13954. - { $as_echo "$as_me:$LINENO: result: no" >&5
  13955. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13956. $as_echo "no" >&6; }
  13957. fi
  13958. @@ -6326,9 +6419,9 @@
  13959. ac_ct_AR=$AR
  13960. # Extract the first word of "ar", so it can be a program name with args.
  13961. set dummy ar; ac_word=$2
  13962. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  13963. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13964. $as_echo_n "checking for $ac_word... " >&6; }
  13965. -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  13966. +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  13967. $as_echo_n "(cached) " >&6
  13968. else
  13969. if test -n "$ac_ct_AR"; then
  13970. @@ -6339,24 +6432,24 @@
  13971. do
  13972. IFS=$as_save_IFS
  13973. test -z "$as_dir" && as_dir=.
  13974. - for ac_exec_ext in '' $ac_executable_extensions; do
  13975. + for ac_exec_ext in '' $ac_executable_extensions; do
  13976. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  13977. ac_cv_prog_ac_ct_AR="ar"
  13978. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  13979. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13980. break 2
  13981. fi
  13982. done
  13983. -done
  13984. + done
  13985. IFS=$as_save_IFS
  13986. fi
  13987. fi
  13988. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  13989. if test -n "$ac_ct_AR"; then
  13990. - { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  13991. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  13992. $as_echo "$ac_ct_AR" >&6; }
  13993. else
  13994. - { $as_echo "$as_me:$LINENO: result: no" >&5
  13995. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13996. $as_echo "no" >&6; }
  13997. fi
  13998. @@ -6365,7 +6458,7 @@
  13999. else
  14000. case $cross_compiling:$ac_tool_warned in
  14001. yes:)
  14002. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  14003. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14004. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14005. ac_tool_warned=yes ;;
  14006. esac
  14007. @@ -6391,9 +6484,9 @@
  14008. if test -n "$ac_tool_prefix"; then
  14009. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  14010. set dummy ${ac_tool_prefix}strip; ac_word=$2
  14011. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  14012. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14013. $as_echo_n "checking for $ac_word... " >&6; }
  14014. -if test "${ac_cv_prog_STRIP+set}" = set; then
  14015. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  14016. $as_echo_n "(cached) " >&6
  14017. else
  14018. if test -n "$STRIP"; then
  14019. @@ -6404,24 +6497,24 @@
  14020. do
  14021. IFS=$as_save_IFS
  14022. test -z "$as_dir" && as_dir=.
  14023. - for ac_exec_ext in '' $ac_executable_extensions; do
  14024. + for ac_exec_ext in '' $ac_executable_extensions; do
  14025. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14026. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  14027. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14028. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14029. break 2
  14030. fi
  14031. done
  14032. -done
  14033. + done
  14034. IFS=$as_save_IFS
  14035. fi
  14036. fi
  14037. STRIP=$ac_cv_prog_STRIP
  14038. if test -n "$STRIP"; then
  14039. - { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  14040. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  14041. $as_echo "$STRIP" >&6; }
  14042. else
  14043. - { $as_echo "$as_me:$LINENO: result: no" >&5
  14044. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14045. $as_echo "no" >&6; }
  14046. fi
  14047. @@ -6431,9 +6524,9 @@
  14048. ac_ct_STRIP=$STRIP
  14049. # Extract the first word of "strip", so it can be a program name with args.
  14050. set dummy strip; ac_word=$2
  14051. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  14052. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14053. $as_echo_n "checking for $ac_word... " >&6; }
  14054. -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  14055. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  14056. $as_echo_n "(cached) " >&6
  14057. else
  14058. if test -n "$ac_ct_STRIP"; then
  14059. @@ -6444,24 +6537,24 @@
  14060. do
  14061. IFS=$as_save_IFS
  14062. test -z "$as_dir" && as_dir=.
  14063. - for ac_exec_ext in '' $ac_executable_extensions; do
  14064. + for ac_exec_ext in '' $ac_executable_extensions; do
  14065. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14066. ac_cv_prog_ac_ct_STRIP="strip"
  14067. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14068. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14069. break 2
  14070. fi
  14071. done
  14072. -done
  14073. + done
  14074. IFS=$as_save_IFS
  14075. fi
  14076. fi
  14077. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  14078. if test -n "$ac_ct_STRIP"; then
  14079. - { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  14080. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  14081. $as_echo "$ac_ct_STRIP" >&6; }
  14082. else
  14083. - { $as_echo "$as_me:$LINENO: result: no" >&5
  14084. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14085. $as_echo "no" >&6; }
  14086. fi
  14087. @@ -6470,7 +6563,7 @@
  14088. else
  14089. case $cross_compiling:$ac_tool_warned in
  14090. yes:)
  14091. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  14092. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14093. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14094. ac_tool_warned=yes ;;
  14095. esac
  14096. @@ -6490,9 +6583,9 @@
  14097. if test -n "$ac_tool_prefix"; then
  14098. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  14099. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  14100. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  14101. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14102. $as_echo_n "checking for $ac_word... " >&6; }
  14103. -if test "${ac_cv_prog_RANLIB+set}" = set; then
  14104. +if test "${ac_cv_prog_RANLIB+set}" = set; then :
  14105. $as_echo_n "(cached) " >&6
  14106. else
  14107. if test -n "$RANLIB"; then
  14108. @@ -6503,24 +6596,24 @@
  14109. do
  14110. IFS=$as_save_IFS
  14111. test -z "$as_dir" && as_dir=.
  14112. - for ac_exec_ext in '' $ac_executable_extensions; do
  14113. + for ac_exec_ext in '' $ac_executable_extensions; do
  14114. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14115. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  14116. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14117. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14118. break 2
  14119. fi
  14120. done
  14121. -done
  14122. + done
  14123. IFS=$as_save_IFS
  14124. fi
  14125. fi
  14126. RANLIB=$ac_cv_prog_RANLIB
  14127. if test -n "$RANLIB"; then
  14128. - { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
  14129. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  14130. $as_echo "$RANLIB" >&6; }
  14131. else
  14132. - { $as_echo "$as_me:$LINENO: result: no" >&5
  14133. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14134. $as_echo "no" >&6; }
  14135. fi
  14136. @@ -6530,9 +6623,9 @@
  14137. ac_ct_RANLIB=$RANLIB
  14138. # Extract the first word of "ranlib", so it can be a program name with args.
  14139. set dummy ranlib; ac_word=$2
  14140. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  14141. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14142. $as_echo_n "checking for $ac_word... " >&6; }
  14143. -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  14144. +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  14145. $as_echo_n "(cached) " >&6
  14146. else
  14147. if test -n "$ac_ct_RANLIB"; then
  14148. @@ -6543,24 +6636,24 @@
  14149. do
  14150. IFS=$as_save_IFS
  14151. test -z "$as_dir" && as_dir=.
  14152. - for ac_exec_ext in '' $ac_executable_extensions; do
  14153. + for ac_exec_ext in '' $ac_executable_extensions; do
  14154. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14155. ac_cv_prog_ac_ct_RANLIB="ranlib"
  14156. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14157. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14158. break 2
  14159. fi
  14160. done
  14161. -done
  14162. + done
  14163. IFS=$as_save_IFS
  14164. fi
  14165. fi
  14166. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  14167. if test -n "$ac_ct_RANLIB"; then
  14168. - { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  14169. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  14170. $as_echo "$ac_ct_RANLIB" >&6; }
  14171. else
  14172. - { $as_echo "$as_me:$LINENO: result: no" >&5
  14173. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14174. $as_echo "no" >&6; }
  14175. fi
  14176. @@ -6569,7 +6662,7 @@
  14177. else
  14178. case $cross_compiling:$ac_tool_warned in
  14179. yes:)
  14180. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  14181. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14182. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14183. ac_tool_warned=yes ;;
  14184. esac
  14185. @@ -6603,6 +6696,18 @@
  14186. old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  14187. fi
  14188. +case $host_os in
  14189. + darwin*)
  14190. + lock_old_archive_extraction=yes ;;
  14191. + *)
  14192. + lock_old_archive_extraction=no ;;
  14193. +esac
  14194. +
  14195. +
  14196. +
  14197. +
  14198. +
  14199. +
  14200. @@ -6647,9 +6752,9 @@
  14201. # Check for command to grab the raw symbol name followed by C symbol from nm.
  14202. -{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  14203. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  14204. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  14205. -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  14206. +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
  14207. $as_echo_n "(cached) " >&6
  14208. else
  14209. @@ -6710,8 +6815,8 @@
  14210. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  14211. # Transform an extracted symbol line into symbol name and symbol address
  14212. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  14213. -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
  14214. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  14215. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
  14216. # Handle CRLF in mingw tool chain
  14217. opt_cr=
  14218. @@ -6765,18 +6870,18 @@
  14219. int main(){nm_test_var='a';nm_test_func();return(0);}
  14220. _LT_EOF
  14221. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14222. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  14223. (eval $ac_compile) 2>&5
  14224. ac_status=$?
  14225. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14226. - (exit $ac_status); }; then
  14227. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14228. + test $ac_status = 0; }; then
  14229. # Now try to grab the symbols.
  14230. nlist=conftest.nm
  14231. - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  14232. - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  14233. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  14234. + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  14235. ac_status=$?
  14236. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14237. - (exit $ac_status); } && test -s "$nlist"; then
  14238. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14239. + test $ac_status = 0; } && test -s "$nlist"; then
  14240. # Try sorting and uniquifying the output.
  14241. if sort "$nlist" | uniq > "$nlist"T; then
  14242. mv -f "$nlist"T "$nlist"
  14243. @@ -6829,11 +6934,11 @@
  14244. lt_save_CFLAGS="$CFLAGS"
  14245. LIBS="conftstm.$ac_objext"
  14246. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  14247. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  14248. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  14249. (eval $ac_link) 2>&5
  14250. ac_status=$?
  14251. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14252. - (exit $ac_status); } && test -s conftest${ac_exeext}; then
  14253. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14254. + test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  14255. pipe_works=yes
  14256. fi
  14257. LIBS="$lt_save_LIBS"
  14258. @@ -6867,13 +6972,25 @@
  14259. lt_cv_sys_global_symbol_to_cdecl=
  14260. fi
  14261. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  14262. - { $as_echo "$as_me:$LINENO: result: failed" >&5
  14263. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  14264. $as_echo "failed" >&6; }
  14265. else
  14266. - { $as_echo "$as_me:$LINENO: result: ok" >&5
  14267. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  14268. $as_echo "ok" >&6; }
  14269. fi
  14270. +# Response file support.
  14271. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  14272. + nm_file_list_spec='@'
  14273. +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  14274. + nm_file_list_spec='@'
  14275. +fi
  14276. +
  14277. +
  14278. +
  14279. +
  14280. +
  14281. +
  14282. @@ -6897,7 +7014,7 @@
  14283. # Check whether --enable-libtool-lock was given.
  14284. -if test "${enable_libtool_lock+set}" = set; then
  14285. +if test "${enable_libtool_lock+set}" = set; then :
  14286. enableval=$enable_libtool_lock;
  14287. fi
  14288. @@ -6909,11 +7026,11 @@
  14289. ia64-*-hpux*)
  14290. # Find out which ABI we are using.
  14291. echo 'int i;' > conftest.$ac_ext
  14292. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14293. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  14294. (eval $ac_compile) 2>&5
  14295. ac_status=$?
  14296. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14297. - (exit $ac_status); }; then
  14298. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14299. + test $ac_status = 0; }; then
  14300. case `/usr/bin/file conftest.$ac_objext` in
  14301. *ELF-32*)
  14302. HPUX_IA64_MODE="32"
  14303. @@ -6927,12 +7044,12 @@
  14304. ;;
  14305. *-*-irix6*)
  14306. # Find out which ABI we are using.
  14307. - echo '#line 6930 "configure"' > conftest.$ac_ext
  14308. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14309. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  14310. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  14311. (eval $ac_compile) 2>&5
  14312. ac_status=$?
  14313. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14314. - (exit $ac_status); }; then
  14315. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14316. + test $ac_status = 0; }; then
  14317. if test "$lt_cv_prog_gnu_ld" = yes; then
  14318. case `/usr/bin/file conftest.$ac_objext` in
  14319. *32-bit*)
  14320. @@ -6966,11 +7083,11 @@
  14321. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  14322. # Find out which ABI we are using.
  14323. echo 'int i;' > conftest.$ac_ext
  14324. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14325. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  14326. (eval $ac_compile) 2>&5
  14327. ac_status=$?
  14328. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14329. - (exit $ac_status); }; then
  14330. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14331. + test $ac_status = 0; }; then
  14332. case `/usr/bin/file conftest.o` in
  14333. *32-bit*)
  14334. case $host in
  14335. @@ -7019,9 +7136,9 @@
  14336. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  14337. SAVE_CFLAGS="$CFLAGS"
  14338. CFLAGS="$CFLAGS -belf"
  14339. - { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  14340. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  14341. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  14342. -if test "${lt_cv_cc_needs_belf+set}" = set; then
  14343. +if test "${lt_cv_cc_needs_belf+set}" = set; then :
  14344. $as_echo_n "(cached) " >&6
  14345. else
  14346. ac_ext=c
  14347. @@ -7030,11 +7147,7 @@
  14348. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14349. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14350. - cat >conftest.$ac_ext <<_ACEOF
  14351. -/* confdefs.h. */
  14352. -_ACEOF
  14353. -cat confdefs.h >>conftest.$ac_ext
  14354. -cat >>conftest.$ac_ext <<_ACEOF
  14355. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14356. /* end confdefs.h. */
  14357. int
  14358. @@ -7045,38 +7158,13 @@
  14359. return 0;
  14360. }
  14361. _ACEOF
  14362. -rm -f conftest.$ac_objext conftest$ac_exeext
  14363. -if { (ac_try="$ac_link"
  14364. -case "(($ac_try" in
  14365. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14366. - *) ac_try_echo=$ac_try;;
  14367. -esac
  14368. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14369. -$as_echo "$ac_try_echo") >&5
  14370. - (eval "$ac_link") 2>conftest.er1
  14371. - ac_status=$?
  14372. - grep -v '^ *+' conftest.er1 >conftest.err
  14373. - rm -f conftest.er1
  14374. - cat conftest.err >&5
  14375. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14376. - (exit $ac_status); } && {
  14377. - test -z "$ac_c_werror_flag" ||
  14378. - test ! -s conftest.err
  14379. - } && test -s conftest$ac_exeext && {
  14380. - test "$cross_compiling" = yes ||
  14381. - $as_test_x conftest$ac_exeext
  14382. - }; then
  14383. +if ac_fn_c_try_link "$LINENO"; then :
  14384. lt_cv_cc_needs_belf=yes
  14385. else
  14386. - $as_echo "$as_me: failed program was:" >&5
  14387. -sed 's/^/| /' conftest.$ac_ext >&5
  14388. -
  14389. - lt_cv_cc_needs_belf=no
  14390. + lt_cv_cc_needs_belf=no
  14391. fi
  14392. -
  14393. -rm -rf conftest.dSYM
  14394. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  14395. - conftest$ac_exeext conftest.$ac_ext
  14396. +rm -f core conftest.err conftest.$ac_objext \
  14397. + conftest$ac_exeext conftest.$ac_ext
  14398. ac_ext=c
  14399. ac_cpp='$CPP $CPPFLAGS'
  14400. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14401. @@ -7084,7 +7172,7 @@
  14402. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14403. fi
  14404. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  14405. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  14406. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  14407. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  14408. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  14409. @@ -7094,11 +7182,11 @@
  14410. sparc*-*solaris*)
  14411. # Find out which ABI we are using.
  14412. echo 'int i;' > conftest.$ac_ext
  14413. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  14414. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  14415. (eval $ac_compile) 2>&5
  14416. ac_status=$?
  14417. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14418. - (exit $ac_status); }; then
  14419. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14420. + test $ac_status = 0; }; then
  14421. case `/usr/bin/file conftest.o` in
  14422. *64-bit*)
  14423. case $lt_cv_prog_gnu_ld in
  14424. @@ -7118,15 +7206,132 @@
  14425. need_locks="$enable_libtool_lock"
  14426. +if test -n "$ac_tool_prefix"; then
  14427. + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  14428. +set dummy ${ac_tool_prefix}mt; ac_word=$2
  14429. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14430. +$as_echo_n "checking for $ac_word... " >&6; }
  14431. +if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
  14432. + $as_echo_n "(cached) " >&6
  14433. +else
  14434. + if test -n "$MANIFEST_TOOL"; then
  14435. + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  14436. +else
  14437. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14438. +for as_dir in $PATH
  14439. +do
  14440. + IFS=$as_save_IFS
  14441. + test -z "$as_dir" && as_dir=.
  14442. + for ac_exec_ext in '' $ac_executable_extensions; do
  14443. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14444. + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  14445. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14446. + break 2
  14447. + fi
  14448. +done
  14449. + done
  14450. +IFS=$as_save_IFS
  14451. +
  14452. +fi
  14453. +fi
  14454. +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  14455. +if test -n "$MANIFEST_TOOL"; then
  14456. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  14457. +$as_echo "$MANIFEST_TOOL" >&6; }
  14458. +else
  14459. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14460. +$as_echo "no" >&6; }
  14461. +fi
  14462. +
  14463. +
  14464. +fi
  14465. +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  14466. + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  14467. + # Extract the first word of "mt", so it can be a program name with args.
  14468. +set dummy mt; ac_word=$2
  14469. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14470. +$as_echo_n "checking for $ac_word... " >&6; }
  14471. +if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
  14472. + $as_echo_n "(cached) " >&6
  14473. +else
  14474. + if test -n "$ac_ct_MANIFEST_TOOL"; then
  14475. + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  14476. +else
  14477. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14478. +for as_dir in $PATH
  14479. +do
  14480. + IFS=$as_save_IFS
  14481. + test -z "$as_dir" && as_dir=.
  14482. + for ac_exec_ext in '' $ac_executable_extensions; do
  14483. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14484. + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  14485. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14486. + break 2
  14487. + fi
  14488. +done
  14489. + done
  14490. +IFS=$as_save_IFS
  14491. +
  14492. +fi
  14493. +fi
  14494. +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  14495. +if test -n "$ac_ct_MANIFEST_TOOL"; then
  14496. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  14497. +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  14498. +else
  14499. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14500. +$as_echo "no" >&6; }
  14501. +fi
  14502. +
  14503. + if test "x$ac_ct_MANIFEST_TOOL" = x; then
  14504. + MANIFEST_TOOL=":"
  14505. + else
  14506. + case $cross_compiling:$ac_tool_warned in
  14507. +yes:)
  14508. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14509. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14510. +ac_tool_warned=yes ;;
  14511. +esac
  14512. + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  14513. + fi
  14514. +else
  14515. + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  14516. +fi
  14517. +
  14518. +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  14519. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  14520. +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  14521. +if test "${lt_cv_path_mainfest_tool+set}" = set; then :
  14522. + $as_echo_n "(cached) " >&6
  14523. +else
  14524. + lt_cv_path_mainfest_tool=no
  14525. + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  14526. + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  14527. + cat conftest.err >&5
  14528. + if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  14529. + lt_cv_path_mainfest_tool=yes
  14530. + fi
  14531. + rm -f conftest*
  14532. +fi
  14533. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  14534. +$as_echo "$lt_cv_path_mainfest_tool" >&6; }
  14535. +if test "x$lt_cv_path_mainfest_tool" != xyes; then
  14536. + MANIFEST_TOOL=:
  14537. +fi
  14538. +
  14539. +
  14540. +
  14541. +
  14542. +
  14543. case $host_os in
  14544. rhapsody* | darwin*)
  14545. if test -n "$ac_tool_prefix"; then
  14546. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  14547. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  14548. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  14549. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14550. $as_echo_n "checking for $ac_word... " >&6; }
  14551. -if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
  14552. +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
  14553. $as_echo_n "(cached) " >&6
  14554. else
  14555. if test -n "$DSYMUTIL"; then
  14556. @@ -7137,24 +7342,24 @@
  14557. do
  14558. IFS=$as_save_IFS
  14559. test -z "$as_dir" && as_dir=.
  14560. - for ac_exec_ext in '' $ac_executable_extensions; do
  14561. + for ac_exec_ext in '' $ac_executable_extensions; do
  14562. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14563. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  14564. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14565. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14566. break 2
  14567. fi
  14568. done
  14569. -done
  14570. + done
  14571. IFS=$as_save_IFS
  14572. fi
  14573. fi
  14574. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  14575. if test -n "$DSYMUTIL"; then
  14576. - { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
  14577. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  14578. $as_echo "$DSYMUTIL" >&6; }
  14579. else
  14580. - { $as_echo "$as_me:$LINENO: result: no" >&5
  14581. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14582. $as_echo "no" >&6; }
  14583. fi
  14584. @@ -7164,9 +7369,9 @@
  14585. ac_ct_DSYMUTIL=$DSYMUTIL
  14586. # Extract the first word of "dsymutil", so it can be a program name with args.
  14587. set dummy dsymutil; ac_word=$2
  14588. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  14589. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14590. $as_echo_n "checking for $ac_word... " >&6; }
  14591. -if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
  14592. +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
  14593. $as_echo_n "(cached) " >&6
  14594. else
  14595. if test -n "$ac_ct_DSYMUTIL"; then
  14596. @@ -7177,24 +7382,24 @@
  14597. do
  14598. IFS=$as_save_IFS
  14599. test -z "$as_dir" && as_dir=.
  14600. - for ac_exec_ext in '' $ac_executable_extensions; do
  14601. + for ac_exec_ext in '' $ac_executable_extensions; do
  14602. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14603. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  14604. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14605. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14606. break 2
  14607. fi
  14608. done
  14609. -done
  14610. + done
  14611. IFS=$as_save_IFS
  14612. fi
  14613. fi
  14614. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  14615. if test -n "$ac_ct_DSYMUTIL"; then
  14616. - { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
  14617. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  14618. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  14619. else
  14620. - { $as_echo "$as_me:$LINENO: result: no" >&5
  14621. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14622. $as_echo "no" >&6; }
  14623. fi
  14624. @@ -7203,7 +7408,7 @@
  14625. else
  14626. case $cross_compiling:$ac_tool_warned in
  14627. yes:)
  14628. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  14629. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14630. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14631. ac_tool_warned=yes ;;
  14632. esac
  14633. @@ -7216,9 +7421,9 @@
  14634. if test -n "$ac_tool_prefix"; then
  14635. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  14636. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  14637. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  14638. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14639. $as_echo_n "checking for $ac_word... " >&6; }
  14640. -if test "${ac_cv_prog_NMEDIT+set}" = set; then
  14641. +if test "${ac_cv_prog_NMEDIT+set}" = set; then :
  14642. $as_echo_n "(cached) " >&6
  14643. else
  14644. if test -n "$NMEDIT"; then
  14645. @@ -7229,24 +7434,24 @@
  14646. do
  14647. IFS=$as_save_IFS
  14648. test -z "$as_dir" && as_dir=.
  14649. - for ac_exec_ext in '' $ac_executable_extensions; do
  14650. + for ac_exec_ext in '' $ac_executable_extensions; do
  14651. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14652. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  14653. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14654. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14655. break 2
  14656. fi
  14657. done
  14658. -done
  14659. + done
  14660. IFS=$as_save_IFS
  14661. fi
  14662. fi
  14663. NMEDIT=$ac_cv_prog_NMEDIT
  14664. if test -n "$NMEDIT"; then
  14665. - { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
  14666. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  14667. $as_echo "$NMEDIT" >&6; }
  14668. else
  14669. - { $as_echo "$as_me:$LINENO: result: no" >&5
  14670. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14671. $as_echo "no" >&6; }
  14672. fi
  14673. @@ -7256,9 +7461,9 @@
  14674. ac_ct_NMEDIT=$NMEDIT
  14675. # Extract the first word of "nmedit", so it can be a program name with args.
  14676. set dummy nmedit; ac_word=$2
  14677. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  14678. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14679. $as_echo_n "checking for $ac_word... " >&6; }
  14680. -if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
  14681. +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
  14682. $as_echo_n "(cached) " >&6
  14683. else
  14684. if test -n "$ac_ct_NMEDIT"; then
  14685. @@ -7269,24 +7474,24 @@
  14686. do
  14687. IFS=$as_save_IFS
  14688. test -z "$as_dir" && as_dir=.
  14689. - for ac_exec_ext in '' $ac_executable_extensions; do
  14690. + for ac_exec_ext in '' $ac_executable_extensions; do
  14691. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14692. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  14693. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14694. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14695. break 2
  14696. fi
  14697. done
  14698. -done
  14699. + done
  14700. IFS=$as_save_IFS
  14701. fi
  14702. fi
  14703. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  14704. if test -n "$ac_ct_NMEDIT"; then
  14705. - { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
  14706. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  14707. $as_echo "$ac_ct_NMEDIT" >&6; }
  14708. else
  14709. - { $as_echo "$as_me:$LINENO: result: no" >&5
  14710. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14711. $as_echo "no" >&6; }
  14712. fi
  14713. @@ -7295,7 +7500,7 @@
  14714. else
  14715. case $cross_compiling:$ac_tool_warned in
  14716. yes:)
  14717. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  14718. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14719. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14720. ac_tool_warned=yes ;;
  14721. esac
  14722. @@ -7308,9 +7513,9 @@
  14723. if test -n "$ac_tool_prefix"; then
  14724. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  14725. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  14726. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  14727. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14728. $as_echo_n "checking for $ac_word... " >&6; }
  14729. -if test "${ac_cv_prog_LIPO+set}" = set; then
  14730. +if test "${ac_cv_prog_LIPO+set}" = set; then :
  14731. $as_echo_n "(cached) " >&6
  14732. else
  14733. if test -n "$LIPO"; then
  14734. @@ -7321,24 +7526,24 @@
  14735. do
  14736. IFS=$as_save_IFS
  14737. test -z "$as_dir" && as_dir=.
  14738. - for ac_exec_ext in '' $ac_executable_extensions; do
  14739. + for ac_exec_ext in '' $ac_executable_extensions; do
  14740. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14741. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  14742. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14743. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14744. break 2
  14745. fi
  14746. done
  14747. -done
  14748. + done
  14749. IFS=$as_save_IFS
  14750. fi
  14751. fi
  14752. LIPO=$ac_cv_prog_LIPO
  14753. if test -n "$LIPO"; then
  14754. - { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
  14755. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  14756. $as_echo "$LIPO" >&6; }
  14757. else
  14758. - { $as_echo "$as_me:$LINENO: result: no" >&5
  14759. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14760. $as_echo "no" >&6; }
  14761. fi
  14762. @@ -7348,9 +7553,9 @@
  14763. ac_ct_LIPO=$LIPO
  14764. # Extract the first word of "lipo", so it can be a program name with args.
  14765. set dummy lipo; ac_word=$2
  14766. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  14767. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14768. $as_echo_n "checking for $ac_word... " >&6; }
  14769. -if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
  14770. +if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
  14771. $as_echo_n "(cached) " >&6
  14772. else
  14773. if test -n "$ac_ct_LIPO"; then
  14774. @@ -7361,24 +7566,24 @@
  14775. do
  14776. IFS=$as_save_IFS
  14777. test -z "$as_dir" && as_dir=.
  14778. - for ac_exec_ext in '' $ac_executable_extensions; do
  14779. + for ac_exec_ext in '' $ac_executable_extensions; do
  14780. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14781. ac_cv_prog_ac_ct_LIPO="lipo"
  14782. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14783. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14784. break 2
  14785. fi
  14786. done
  14787. -done
  14788. + done
  14789. IFS=$as_save_IFS
  14790. fi
  14791. fi
  14792. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  14793. if test -n "$ac_ct_LIPO"; then
  14794. - { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
  14795. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  14796. $as_echo "$ac_ct_LIPO" >&6; }
  14797. else
  14798. - { $as_echo "$as_me:$LINENO: result: no" >&5
  14799. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14800. $as_echo "no" >&6; }
  14801. fi
  14802. @@ -7387,7 +7592,7 @@
  14803. else
  14804. case $cross_compiling:$ac_tool_warned in
  14805. yes:)
  14806. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  14807. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14808. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14809. ac_tool_warned=yes ;;
  14810. esac
  14811. @@ -7400,9 +7605,9 @@
  14812. if test -n "$ac_tool_prefix"; then
  14813. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  14814. set dummy ${ac_tool_prefix}otool; ac_word=$2
  14815. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  14816. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14817. $as_echo_n "checking for $ac_word... " >&6; }
  14818. -if test "${ac_cv_prog_OTOOL+set}" = set; then
  14819. +if test "${ac_cv_prog_OTOOL+set}" = set; then :
  14820. $as_echo_n "(cached) " >&6
  14821. else
  14822. if test -n "$OTOOL"; then
  14823. @@ -7413,24 +7618,24 @@
  14824. do
  14825. IFS=$as_save_IFS
  14826. test -z "$as_dir" && as_dir=.
  14827. - for ac_exec_ext in '' $ac_executable_extensions; do
  14828. + for ac_exec_ext in '' $ac_executable_extensions; do
  14829. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14830. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  14831. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14832. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14833. break 2
  14834. fi
  14835. done
  14836. -done
  14837. + done
  14838. IFS=$as_save_IFS
  14839. fi
  14840. fi
  14841. OTOOL=$ac_cv_prog_OTOOL
  14842. if test -n "$OTOOL"; then
  14843. - { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
  14844. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  14845. $as_echo "$OTOOL" >&6; }
  14846. else
  14847. - { $as_echo "$as_me:$LINENO: result: no" >&5
  14848. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14849. $as_echo "no" >&6; }
  14850. fi
  14851. @@ -7440,9 +7645,9 @@
  14852. ac_ct_OTOOL=$OTOOL
  14853. # Extract the first word of "otool", so it can be a program name with args.
  14854. set dummy otool; ac_word=$2
  14855. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  14856. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14857. $as_echo_n "checking for $ac_word... " >&6; }
  14858. -if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
  14859. +if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
  14860. $as_echo_n "(cached) " >&6
  14861. else
  14862. if test -n "$ac_ct_OTOOL"; then
  14863. @@ -7453,24 +7658,24 @@
  14864. do
  14865. IFS=$as_save_IFS
  14866. test -z "$as_dir" && as_dir=.
  14867. - for ac_exec_ext in '' $ac_executable_extensions; do
  14868. + for ac_exec_ext in '' $ac_executable_extensions; do
  14869. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14870. ac_cv_prog_ac_ct_OTOOL="otool"
  14871. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14872. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14873. break 2
  14874. fi
  14875. done
  14876. -done
  14877. + done
  14878. IFS=$as_save_IFS
  14879. fi
  14880. fi
  14881. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  14882. if test -n "$ac_ct_OTOOL"; then
  14883. - { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
  14884. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  14885. $as_echo "$ac_ct_OTOOL" >&6; }
  14886. else
  14887. - { $as_echo "$as_me:$LINENO: result: no" >&5
  14888. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14889. $as_echo "no" >&6; }
  14890. fi
  14891. @@ -7479,7 +7684,7 @@
  14892. else
  14893. case $cross_compiling:$ac_tool_warned in
  14894. yes:)
  14895. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  14896. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14897. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14898. ac_tool_warned=yes ;;
  14899. esac
  14900. @@ -7492,9 +7697,9 @@
  14901. if test -n "$ac_tool_prefix"; then
  14902. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  14903. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  14904. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  14905. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14906. $as_echo_n "checking for $ac_word... " >&6; }
  14907. -if test "${ac_cv_prog_OTOOL64+set}" = set; then
  14908. +if test "${ac_cv_prog_OTOOL64+set}" = set; then :
  14909. $as_echo_n "(cached) " >&6
  14910. else
  14911. if test -n "$OTOOL64"; then
  14912. @@ -7505,24 +7710,24 @@
  14913. do
  14914. IFS=$as_save_IFS
  14915. test -z "$as_dir" && as_dir=.
  14916. - for ac_exec_ext in '' $ac_executable_extensions; do
  14917. + for ac_exec_ext in '' $ac_executable_extensions; do
  14918. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14919. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  14920. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14921. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14922. break 2
  14923. fi
  14924. done
  14925. -done
  14926. + done
  14927. IFS=$as_save_IFS
  14928. fi
  14929. fi
  14930. OTOOL64=$ac_cv_prog_OTOOL64
  14931. if test -n "$OTOOL64"; then
  14932. - { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
  14933. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  14934. $as_echo "$OTOOL64" >&6; }
  14935. else
  14936. - { $as_echo "$as_me:$LINENO: result: no" >&5
  14937. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14938. $as_echo "no" >&6; }
  14939. fi
  14940. @@ -7532,9 +7737,9 @@
  14941. ac_ct_OTOOL64=$OTOOL64
  14942. # Extract the first word of "otool64", so it can be a program name with args.
  14943. set dummy otool64; ac_word=$2
  14944. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  14945. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14946. $as_echo_n "checking for $ac_word... " >&6; }
  14947. -if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
  14948. +if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
  14949. $as_echo_n "(cached) " >&6
  14950. else
  14951. if test -n "$ac_ct_OTOOL64"; then
  14952. @@ -7545,24 +7750,24 @@
  14953. do
  14954. IFS=$as_save_IFS
  14955. test -z "$as_dir" && as_dir=.
  14956. - for ac_exec_ext in '' $ac_executable_extensions; do
  14957. + for ac_exec_ext in '' $ac_executable_extensions; do
  14958. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  14959. ac_cv_prog_ac_ct_OTOOL64="otool64"
  14960. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  14961. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14962. break 2
  14963. fi
  14964. done
  14965. -done
  14966. + done
  14967. IFS=$as_save_IFS
  14968. fi
  14969. fi
  14970. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  14971. if test -n "$ac_ct_OTOOL64"; then
  14972. - { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
  14973. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  14974. $as_echo "$ac_ct_OTOOL64" >&6; }
  14975. else
  14976. - { $as_echo "$as_me:$LINENO: result: no" >&5
  14977. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14978. $as_echo "no" >&6; }
  14979. fi
  14980. @@ -7571,7 +7776,7 @@
  14981. else
  14982. case $cross_compiling:$ac_tool_warned in
  14983. yes:)
  14984. -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  14985. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14986. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14987. ac_tool_warned=yes ;;
  14988. esac
  14989. @@ -7607,9 +7812,9 @@
  14990. - { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
  14991. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  14992. $as_echo_n "checking for -single_module linker flag... " >&6; }
  14993. -if test "${lt_cv_apple_cc_single_mod+set}" = set; then
  14994. +if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
  14995. $as_echo_n "(cached) " >&6
  14996. else
  14997. lt_cv_apple_cc_single_mod=no
  14998. @@ -7634,22 +7839,18 @@
  14999. rm -f conftest.*
  15000. fi
  15001. fi
  15002. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
  15003. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  15004. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  15005. - { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
  15006. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  15007. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  15008. -if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
  15009. +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
  15010. $as_echo_n "(cached) " >&6
  15011. else
  15012. lt_cv_ld_exported_symbols_list=no
  15013. save_LDFLAGS=$LDFLAGS
  15014. echo "_main" > conftest.sym
  15015. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  15016. - cat >conftest.$ac_ext <<_ACEOF
  15017. -/* confdefs.h. */
  15018. -_ACEOF
  15019. -cat confdefs.h >>conftest.$ac_ext
  15020. -cat >>conftest.$ac_ext <<_ACEOF
  15021. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15022. /* end confdefs.h. */
  15023. int
  15024. @@ -7660,43 +7861,50 @@
  15025. return 0;
  15026. }
  15027. _ACEOF
  15028. -rm -f conftest.$ac_objext conftest$ac_exeext
  15029. -if { (ac_try="$ac_link"
  15030. -case "(($ac_try" in
  15031. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15032. - *) ac_try_echo=$ac_try;;
  15033. -esac
  15034. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15035. -$as_echo "$ac_try_echo") >&5
  15036. - (eval "$ac_link") 2>conftest.er1
  15037. - ac_status=$?
  15038. - grep -v '^ *+' conftest.er1 >conftest.err
  15039. - rm -f conftest.er1
  15040. - cat conftest.err >&5
  15041. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15042. - (exit $ac_status); } && {
  15043. - test -z "$ac_c_werror_flag" ||
  15044. - test ! -s conftest.err
  15045. - } && test -s conftest$ac_exeext && {
  15046. - test "$cross_compiling" = yes ||
  15047. - $as_test_x conftest$ac_exeext
  15048. - }; then
  15049. +if ac_fn_c_try_link "$LINENO"; then :
  15050. lt_cv_ld_exported_symbols_list=yes
  15051. else
  15052. - $as_echo "$as_me: failed program was:" >&5
  15053. -sed 's/^/| /' conftest.$ac_ext >&5
  15054. -
  15055. - lt_cv_ld_exported_symbols_list=no
  15056. + lt_cv_ld_exported_symbols_list=no
  15057. fi
  15058. -
  15059. -rm -rf conftest.dSYM
  15060. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15061. - conftest$ac_exeext conftest.$ac_ext
  15062. +rm -f core conftest.err conftest.$ac_objext \
  15063. + conftest$ac_exeext conftest.$ac_ext
  15064. LDFLAGS="$save_LDFLAGS"
  15065. fi
  15066. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
  15067. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  15068. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  15069. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  15070. +$as_echo_n "checking for -force_load linker flag... " >&6; }
  15071. +if test "${lt_cv_ld_force_load+set}" = set; then :
  15072. + $as_echo_n "(cached) " >&6
  15073. +else
  15074. + lt_cv_ld_force_load=no
  15075. + cat > conftest.c << _LT_EOF
  15076. +int forced_loaded() { return 2;}
  15077. +_LT_EOF
  15078. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  15079. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  15080. + echo "$AR cru libconftest.a conftest.o" >&5
  15081. + $AR cru libconftest.a conftest.o 2>&5
  15082. + echo "$RANLIB libconftest.a" >&5
  15083. + $RANLIB libconftest.a 2>&5
  15084. + cat > conftest.c << _LT_EOF
  15085. +int main() { return 0;}
  15086. +_LT_EOF
  15087. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  15088. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  15089. + _lt_result=$?
  15090. + if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  15091. + lt_cv_ld_force_load=yes
  15092. + else
  15093. + cat conftest.err >&5
  15094. + fi
  15095. + rm -f conftest.err libconftest.a conftest conftest.c
  15096. + rm -rf conftest.dSYM
  15097. +
  15098. +fi
  15099. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  15100. +$as_echo "$lt_cv_ld_force_load" >&6; }
  15101. case $host_os in
  15102. rhapsody* | darwin1.[012])
  15103. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  15104. @@ -7724,7 +7932,7 @@
  15105. else
  15106. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  15107. fi
  15108. - if test "$DSYMUTIL" != ":"; then
  15109. + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  15110. _lt_dsymutil='~$DSYMUTIL $lib || :'
  15111. else
  15112. _lt_dsymutil=
  15113. @@ -7733,16 +7941,12 @@
  15114. esac
  15115. -{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  15116. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  15117. $as_echo_n "checking for ANSI C header files... " >&6; }
  15118. -if test "${ac_cv_header_stdc+set}" = set; then
  15119. +if test "${ac_cv_header_stdc+set}" = set; then :
  15120. $as_echo_n "(cached) " >&6
  15121. else
  15122. - cat >conftest.$ac_ext <<_ACEOF
  15123. -/* confdefs.h. */
  15124. -_ACEOF
  15125. -cat confdefs.h >>conftest.$ac_ext
  15126. -cat >>conftest.$ac_ext <<_ACEOF
  15127. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15128. /* end confdefs.h. */
  15129. #include <stdlib.h>
  15130. #include <stdarg.h>
  15131. @@ -7757,48 +7961,23 @@
  15132. return 0;
  15133. }
  15134. _ACEOF
  15135. -rm -f conftest.$ac_objext
  15136. -if { (ac_try="$ac_compile"
  15137. -case "(($ac_try" in
  15138. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15139. - *) ac_try_echo=$ac_try;;
  15140. -esac
  15141. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15142. -$as_echo "$ac_try_echo") >&5
  15143. - (eval "$ac_compile") 2>conftest.er1
  15144. - ac_status=$?
  15145. - grep -v '^ *+' conftest.er1 >conftest.err
  15146. - rm -f conftest.er1
  15147. - cat conftest.err >&5
  15148. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15149. - (exit $ac_status); } && {
  15150. - test -z "$ac_c_werror_flag" ||
  15151. - test ! -s conftest.err
  15152. - } && test -s conftest.$ac_objext; then
  15153. +if ac_fn_c_try_compile "$LINENO"; then :
  15154. ac_cv_header_stdc=yes
  15155. else
  15156. - $as_echo "$as_me: failed program was:" >&5
  15157. -sed 's/^/| /' conftest.$ac_ext >&5
  15158. -
  15159. - ac_cv_header_stdc=no
  15160. + ac_cv_header_stdc=no
  15161. fi
  15162. -
  15163. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15164. if test $ac_cv_header_stdc = yes; then
  15165. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  15166. - cat >conftest.$ac_ext <<_ACEOF
  15167. -/* confdefs.h. */
  15168. -_ACEOF
  15169. -cat confdefs.h >>conftest.$ac_ext
  15170. -cat >>conftest.$ac_ext <<_ACEOF
  15171. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15172. /* end confdefs.h. */
  15173. #include <string.h>
  15174. _ACEOF
  15175. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  15176. - $EGREP "memchr" >/dev/null 2>&1; then
  15177. - :
  15178. + $EGREP "memchr" >/dev/null 2>&1; then :
  15179. +
  15180. else
  15181. ac_cv_header_stdc=no
  15182. fi
  15183. @@ -7808,18 +7987,14 @@
  15184. if test $ac_cv_header_stdc = yes; then
  15185. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  15186. - cat >conftest.$ac_ext <<_ACEOF
  15187. -/* confdefs.h. */
  15188. -_ACEOF
  15189. -cat confdefs.h >>conftest.$ac_ext
  15190. -cat >>conftest.$ac_ext <<_ACEOF
  15191. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15192. /* end confdefs.h. */
  15193. #include <stdlib.h>
  15194. _ACEOF
  15195. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  15196. - $EGREP "free" >/dev/null 2>&1; then
  15197. - :
  15198. + $EGREP "free" >/dev/null 2>&1; then :
  15199. +
  15200. else
  15201. ac_cv_header_stdc=no
  15202. fi
  15203. @@ -7829,14 +8004,10 @@
  15204. if test $ac_cv_header_stdc = yes; then
  15205. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  15206. - if test "$cross_compiling" = yes; then
  15207. + if test "$cross_compiling" = yes; then :
  15208. :
  15209. else
  15210. - cat >conftest.$ac_ext <<_ACEOF
  15211. -/* confdefs.h. */
  15212. -_ACEOF
  15213. -cat confdefs.h >>conftest.$ac_ext
  15214. -cat >>conftest.$ac_ext <<_ACEOF
  15215. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15216. /* end confdefs.h. */
  15217. #include <ctype.h>
  15218. #include <stdlib.h>
  15219. @@ -7863,118 +8034,34 @@
  15220. return 0;
  15221. }
  15222. _ACEOF
  15223. -rm -f conftest$ac_exeext
  15224. -if { (ac_try="$ac_link"
  15225. -case "(($ac_try" in
  15226. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15227. - *) ac_try_echo=$ac_try;;
  15228. -esac
  15229. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15230. -$as_echo "$ac_try_echo") >&5
  15231. - (eval "$ac_link") 2>&5
  15232. - ac_status=$?
  15233. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15234. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  15235. - { (case "(($ac_try" in
  15236. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15237. - *) ac_try_echo=$ac_try;;
  15238. -esac
  15239. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15240. -$as_echo "$ac_try_echo") >&5
  15241. - (eval "$ac_try") 2>&5
  15242. - ac_status=$?
  15243. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15244. - (exit $ac_status); }; }; then
  15245. - :
  15246. -else
  15247. - $as_echo "$as_me: program exited with status $ac_status" >&5
  15248. -$as_echo "$as_me: failed program was:" >&5
  15249. -sed 's/^/| /' conftest.$ac_ext >&5
  15250. +if ac_fn_c_try_run "$LINENO"; then :
  15251. -( exit $ac_status )
  15252. -ac_cv_header_stdc=no
  15253. +else
  15254. + ac_cv_header_stdc=no
  15255. fi
  15256. -rm -rf conftest.dSYM
  15257. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  15258. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  15259. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  15260. fi
  15261. -
  15262. fi
  15263. fi
  15264. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  15265. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  15266. $as_echo "$ac_cv_header_stdc" >&6; }
  15267. if test $ac_cv_header_stdc = yes; then
  15268. -cat >>confdefs.h <<\_ACEOF
  15269. -#define STDC_HEADERS 1
  15270. -_ACEOF
  15271. +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  15272. fi
  15273. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  15274. -
  15275. -
  15276. -
  15277. -
  15278. -
  15279. -
  15280. -
  15281. -
  15282. -
  15283. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  15284. inttypes.h stdint.h unistd.h
  15285. -do
  15286. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15287. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15288. -$as_echo_n "checking for $ac_header... " >&6; }
  15289. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15290. - $as_echo_n "(cached) " >&6
  15291. -else
  15292. - cat >conftest.$ac_ext <<_ACEOF
  15293. -/* confdefs.h. */
  15294. -_ACEOF
  15295. -cat confdefs.h >>conftest.$ac_ext
  15296. -cat >>conftest.$ac_ext <<_ACEOF
  15297. -/* end confdefs.h. */
  15298. -$ac_includes_default
  15299. -
  15300. -#include <$ac_header>
  15301. -_ACEOF
  15302. -rm -f conftest.$ac_objext
  15303. -if { (ac_try="$ac_compile"
  15304. -case "(($ac_try" in
  15305. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15306. - *) ac_try_echo=$ac_try;;
  15307. -esac
  15308. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15309. -$as_echo "$ac_try_echo") >&5
  15310. - (eval "$ac_compile") 2>conftest.er1
  15311. - ac_status=$?
  15312. - grep -v '^ *+' conftest.er1 >conftest.err
  15313. - rm -f conftest.er1
  15314. - cat conftest.err >&5
  15315. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15316. - (exit $ac_status); } && {
  15317. - test -z "$ac_c_werror_flag" ||
  15318. - test ! -s conftest.err
  15319. - } && test -s conftest.$ac_objext; then
  15320. - eval "$as_ac_Header=yes"
  15321. -else
  15322. - $as_echo "$as_me: failed program was:" >&5
  15323. -sed 's/^/| /' conftest.$ac_ext >&5
  15324. -
  15325. - eval "$as_ac_Header=no"
  15326. -fi
  15327. -
  15328. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15329. -fi
  15330. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  15331. - $as_echo "$as_val"'`
  15332. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15333. -$as_echo "$ac_res" >&6; }
  15334. -as_val=`eval 'as_val=${'$as_ac_Header'}
  15335. - $as_echo "$as_val"'`
  15336. - if test "x$as_val" = x""yes; then
  15337. +do :
  15338. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15339. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  15340. +"
  15341. +eval as_val=\$$as_ac_Header
  15342. + if test "x$as_val" = x""yes; then :
  15343. cat >>confdefs.h <<_ACEOF
  15344. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15345. _ACEOF
  15346. @@ -7984,62 +8071,13 @@
  15347. done
  15348. -
  15349. for ac_header in dlfcn.h
  15350. -do
  15351. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15352. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15353. -$as_echo_n "checking for $ac_header... " >&6; }
  15354. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15355. - $as_echo_n "(cached) " >&6
  15356. -else
  15357. - cat >conftest.$ac_ext <<_ACEOF
  15358. -/* confdefs.h. */
  15359. -_ACEOF
  15360. -cat confdefs.h >>conftest.$ac_ext
  15361. -cat >>conftest.$ac_ext <<_ACEOF
  15362. -/* end confdefs.h. */
  15363. -$ac_includes_default
  15364. -
  15365. -#include <$ac_header>
  15366. -_ACEOF
  15367. -rm -f conftest.$ac_objext
  15368. -if { (ac_try="$ac_compile"
  15369. -case "(($ac_try" in
  15370. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15371. - *) ac_try_echo=$ac_try;;
  15372. -esac
  15373. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15374. -$as_echo "$ac_try_echo") >&5
  15375. - (eval "$ac_compile") 2>conftest.er1
  15376. - ac_status=$?
  15377. - grep -v '^ *+' conftest.er1 >conftest.err
  15378. - rm -f conftest.er1
  15379. - cat conftest.err >&5
  15380. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15381. - (exit $ac_status); } && {
  15382. - test -z "$ac_c_werror_flag" ||
  15383. - test ! -s conftest.err
  15384. - } && test -s conftest.$ac_objext; then
  15385. - eval "$as_ac_Header=yes"
  15386. -else
  15387. - $as_echo "$as_me: failed program was:" >&5
  15388. -sed 's/^/| /' conftest.$ac_ext >&5
  15389. -
  15390. - eval "$as_ac_Header=no"
  15391. -fi
  15392. -
  15393. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15394. -fi
  15395. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  15396. - $as_echo "$as_val"'`
  15397. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15398. -$as_echo "$ac_res" >&6; }
  15399. -as_val=`eval 'as_val=${'$as_ac_Header'}
  15400. - $as_echo "$as_val"'`
  15401. - if test "x$as_val" = x""yes; then
  15402. +do :
  15403. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  15404. +"
  15405. +if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
  15406. cat >>confdefs.h <<_ACEOF
  15407. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15408. +#define HAVE_DLFCN_H 1
  15409. _ACEOF
  15410. fi
  15411. @@ -8048,6 +8086,8 @@
  15412. +
  15413. +
  15414. # Set options
  15415. @@ -8055,7 +8095,7 @@
  15416. # Check whether --enable-shared was given.
  15417. -if test "${enable_shared+set}" = set; then
  15418. +if test "${enable_shared+set}" = set; then :
  15419. enableval=$enable_shared; p=${PACKAGE-default}
  15420. case $enableval in
  15421. yes) enable_shared=yes ;;
  15422. @@ -8086,7 +8126,7 @@
  15423. # Check whether --enable-static was given.
  15424. -if test "${enable_static+set}" = set; then
  15425. +if test "${enable_static+set}" = set; then :
  15426. enableval=$enable_static; p=${PACKAGE-default}
  15427. case $enableval in
  15428. yes) enable_static=yes ;;
  15429. @@ -8118,7 +8158,7 @@
  15430. # Check whether --with-pic was given.
  15431. -if test "${with_pic+set}" = set; then
  15432. +if test "${with_pic+set}" = set; then :
  15433. withval=$with_pic; pic_mode="$withval"
  15434. else
  15435. pic_mode=default
  15436. @@ -8134,7 +8174,7 @@
  15437. # Check whether --enable-fast-install was given.
  15438. -if test "${enable_fast_install+set}" = set; then
  15439. +if test "${enable_fast_install+set}" = set; then :
  15440. enableval=$enable_fast_install; p=${PACKAGE-default}
  15441. case $enableval in
  15442. yes) enable_fast_install=yes ;;
  15443. @@ -8196,6 +8236,7 @@
  15444. +
  15445. test -z "$LN_S" && LN_S="ln -s"
  15446. @@ -8215,9 +8256,9 @@
  15447. setopt NO_GLOB_SUBST
  15448. fi
  15449. -{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
  15450. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  15451. $as_echo_n "checking for objdir... " >&6; }
  15452. -if test "${lt_cv_objdir+set}" = set; then
  15453. +if test "${lt_cv_objdir+set}" = set; then :
  15454. $as_echo_n "(cached) " >&6
  15455. else
  15456. rm -f .libs 2>/dev/null
  15457. @@ -8230,7 +8271,7 @@
  15458. fi
  15459. rmdir .libs 2>/dev/null
  15460. fi
  15461. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
  15462. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  15463. $as_echo "$lt_cv_objdir" >&6; }
  15464. objdir=$lt_cv_objdir
  15465. @@ -8245,19 +8286,6 @@
  15466. -
  15467. -
  15468. -
  15469. -
  15470. -
  15471. -
  15472. -
  15473. -
  15474. -
  15475. -
  15476. -
  15477. -
  15478. -
  15479. case $host_os in
  15480. aix3*)
  15481. # AIX sometimes has problems with the GCC collect2 program. For some
  15482. @@ -8270,23 +8298,6 @@
  15483. ;;
  15484. esac
  15485. -# Sed substitution that helps us do robust quoting. It backslashifies
  15486. -# metacharacters that are still active within double-quoted strings.
  15487. -sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  15488. -
  15489. -# Same as above, but do not quote variable references.
  15490. -double_quote_subst='s/\(["`\\]\)/\\\1/g'
  15491. -
  15492. -# Sed substitution to delay expansion of an escaped shell variable in a
  15493. -# double_quote_subst'ed string.
  15494. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  15495. -
  15496. -# Sed substitution to delay expansion of an escaped single quote.
  15497. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  15498. -
  15499. -# Sed substitution to avoid accidental globbing in evaled expressions
  15500. -no_glob_subst='s/\*/\\\*/g'
  15501. -
  15502. # Global variables:
  15503. ofile=libtool
  15504. can_build_shared=yes
  15505. @@ -8315,7 +8326,7 @@
  15506. *) break;;
  15507. esac
  15508. done
  15509. -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  15510. +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  15511. # Only perform the check for file, if the check method requires it
  15512. @@ -8323,9 +8334,9 @@
  15513. case $deplibs_check_method in
  15514. file_magic*)
  15515. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  15516. - { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
  15517. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  15518. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  15519. -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  15520. +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  15521. $as_echo_n "(cached) " >&6
  15522. else
  15523. case $MAGIC_CMD in
  15524. @@ -8376,10 +8387,10 @@
  15525. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  15526. if test -n "$MAGIC_CMD"; then
  15527. - { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  15528. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  15529. $as_echo "$MAGIC_CMD" >&6; }
  15530. else
  15531. - { $as_echo "$as_me:$LINENO: result: no" >&5
  15532. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15533. $as_echo "no" >&6; }
  15534. fi
  15535. @@ -8389,9 +8400,9 @@
  15536. if test -z "$lt_cv_path_MAGIC_CMD"; then
  15537. if test -n "$ac_tool_prefix"; then
  15538. - { $as_echo "$as_me:$LINENO: checking for file" >&5
  15539. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  15540. $as_echo_n "checking for file... " >&6; }
  15541. -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  15542. +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  15543. $as_echo_n "(cached) " >&6
  15544. else
  15545. case $MAGIC_CMD in
  15546. @@ -8442,10 +8453,10 @@
  15547. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  15548. if test -n "$MAGIC_CMD"; then
  15549. - { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  15550. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  15551. $as_echo "$MAGIC_CMD" >&6; }
  15552. else
  15553. - { $as_echo "$as_me:$LINENO: result: no" >&5
  15554. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15555. $as_echo "no" >&6; }
  15556. fi
  15557. @@ -8515,16 +8526,25 @@
  15558. $RM -r conftest*
  15559. +## CAVEAT EMPTOR:
  15560. +## There is no encapsulation within the following macros, do not change
  15561. +## the running order or otherwise move them around unless you know exactly
  15562. +## what you are doing...
  15563. if test -n "$compiler"; then
  15564. lt_prog_compiler_no_builtin_flag=
  15565. if test "$GCC" = yes; then
  15566. - lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  15567. + case $cc_basename in
  15568. + nvcc*)
  15569. + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  15570. + *)
  15571. + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  15572. + esac
  15573. - { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  15574. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  15575. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  15576. -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  15577. +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
  15578. $as_echo_n "(cached) " >&6
  15579. else
  15580. lt_cv_prog_compiler_rtti_exceptions=no
  15581. @@ -8540,15 +8560,15 @@
  15582. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  15583. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  15584. -e 's:$: $lt_compiler_flag:'`
  15585. - (eval echo "\"\$as_me:8543: $lt_compile\"" >&5)
  15586. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  15587. (eval "$lt_compile" 2>conftest.err)
  15588. ac_status=$?
  15589. cat conftest.err >&5
  15590. - echo "$as_me:8547: \$? = $ac_status" >&5
  15591. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15592. if (exit $ac_status) && test -s "$ac_outfile"; then
  15593. # The compiler can only warn and ignore the option if not recognized
  15594. # So say no if there are warnings other than the usual output.
  15595. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  15596. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  15597. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  15598. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  15599. lt_cv_prog_compiler_rtti_exceptions=yes
  15600. @@ -8557,7 +8577,7 @@
  15601. $RM conftest*
  15602. fi
  15603. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  15604. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  15605. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  15606. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  15607. @@ -8577,8 +8597,6 @@
  15608. lt_prog_compiler_pic=
  15609. lt_prog_compiler_static=
  15610. -{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  15611. -$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  15612. if test "$GCC" = yes; then
  15613. lt_prog_compiler_wl='-Wl,'
  15614. @@ -8626,6 +8644,12 @@
  15615. lt_prog_compiler_pic='-fno-common'
  15616. ;;
  15617. + haiku*)
  15618. + # PIC is the default for Haiku.
  15619. + # The "-static" flag exists, but is broken.
  15620. + lt_prog_compiler_static=
  15621. + ;;
  15622. +
  15623. hpux*)
  15624. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  15625. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  15626. @@ -8668,6 +8692,13 @@
  15627. lt_prog_compiler_pic='-fPIC'
  15628. ;;
  15629. esac
  15630. +
  15631. + case $cc_basename in
  15632. + nvcc*) # Cuda Compiler Driver 2.2
  15633. + lt_prog_compiler_wl='-Xlinker '
  15634. + lt_prog_compiler_pic='-Xcompiler -fPIC'
  15635. + ;;
  15636. + esac
  15637. else
  15638. # PORTME Check for flag to pass linker flags through the system compiler.
  15639. case $host_os in
  15640. @@ -8709,7 +8740,7 @@
  15641. lt_prog_compiler_static='-non_shared'
  15642. ;;
  15643. - linux* | k*bsd*-gnu)
  15644. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  15645. case $cc_basename in
  15646. # old Intel for x86_64 which still supported -KPIC.
  15647. ecc*)
  15648. @@ -8730,7 +8761,7 @@
  15649. lt_prog_compiler_pic='--shared'
  15650. lt_prog_compiler_static='--static'
  15651. ;;
  15652. - pgcc* | pgf77* | pgf90* | pgf95*)
  15653. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  15654. # Portland Group compilers (*not* the Pentium gcc compiler,
  15655. # which looks to be a dead project)
  15656. lt_prog_compiler_wl='-Wl,'
  15657. @@ -8742,25 +8773,25 @@
  15658. # All Alpha code is PIC.
  15659. lt_prog_compiler_static='-non_shared'
  15660. ;;
  15661. - xl*)
  15662. - # IBM XL C 8.0/Fortran 10.1 on PPC
  15663. + xl* | bgxl* | bgf* | mpixl*)
  15664. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  15665. lt_prog_compiler_wl='-Wl,'
  15666. lt_prog_compiler_pic='-qpic'
  15667. lt_prog_compiler_static='-qstaticlink'
  15668. ;;
  15669. *)
  15670. case `$CC -V 2>&1 | sed 5q` in
  15671. - *Sun\ C*)
  15672. - # Sun C 5.9
  15673. + *Sun\ F* | *Sun*Fortran*)
  15674. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  15675. lt_prog_compiler_pic='-KPIC'
  15676. lt_prog_compiler_static='-Bstatic'
  15677. - lt_prog_compiler_wl='-Wl,'
  15678. + lt_prog_compiler_wl=''
  15679. ;;
  15680. - *Sun\ F*)
  15681. - # Sun Fortran 8.3 passes all unrecognized flags to the linker
  15682. + *Sun\ C*)
  15683. + # Sun C 5.9
  15684. lt_prog_compiler_pic='-KPIC'
  15685. lt_prog_compiler_static='-Bstatic'
  15686. - lt_prog_compiler_wl=''
  15687. + lt_prog_compiler_wl='-Wl,'
  15688. ;;
  15689. esac
  15690. ;;
  15691. @@ -8792,7 +8823,7 @@
  15692. lt_prog_compiler_pic='-KPIC'
  15693. lt_prog_compiler_static='-Bstatic'
  15694. case $cc_basename in
  15695. - f77* | f90* | f95*)
  15696. + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  15697. lt_prog_compiler_wl='-Qoption ld ';;
  15698. *)
  15699. lt_prog_compiler_wl='-Wl,';;
  15700. @@ -8849,21 +8880,25 @@
  15701. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  15702. ;;
  15703. esac
  15704. -{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  15705. -$as_echo "$lt_prog_compiler_pic" >&6; }
  15706. -
  15707. -
  15708. -
  15709. -
  15710. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  15711. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  15712. +if test "${lt_cv_prog_compiler_pic+set}" = set; then :
  15713. + $as_echo_n "(cached) " >&6
  15714. +else
  15715. + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  15716. +fi
  15717. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  15718. +$as_echo "$lt_cv_prog_compiler_pic" >&6; }
  15719. +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  15720. #
  15721. # Check to make sure the PIC flag actually works.
  15722. #
  15723. if test -n "$lt_prog_compiler_pic"; then
  15724. - { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  15725. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  15726. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  15727. -if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
  15728. +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
  15729. $as_echo_n "(cached) " >&6
  15730. else
  15731. lt_cv_prog_compiler_pic_works=no
  15732. @@ -8879,15 +8914,15 @@
  15733. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  15734. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  15735. -e 's:$: $lt_compiler_flag:'`
  15736. - (eval echo "\"\$as_me:8882: $lt_compile\"" >&5)
  15737. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  15738. (eval "$lt_compile" 2>conftest.err)
  15739. ac_status=$?
  15740. cat conftest.err >&5
  15741. - echo "$as_me:8886: \$? = $ac_status" >&5
  15742. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15743. if (exit $ac_status) && test -s "$ac_outfile"; then
  15744. # The compiler can only warn and ignore the option if not recognized
  15745. # So say no if there are warnings other than the usual output.
  15746. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  15747. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  15748. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  15749. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  15750. lt_cv_prog_compiler_pic_works=yes
  15751. @@ -8896,7 +8931,7 @@
  15752. $RM conftest*
  15753. fi
  15754. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
  15755. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  15756. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  15757. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  15758. @@ -8916,13 +8951,18 @@
  15759. +
  15760. +
  15761. +
  15762. +
  15763. +
  15764. #
  15765. # Check to make sure the static flag actually works.
  15766. #
  15767. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  15768. -{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  15769. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  15770. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  15771. -if test "${lt_cv_prog_compiler_static_works+set}" = set; then
  15772. +if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
  15773. $as_echo_n "(cached) " >&6
  15774. else
  15775. lt_cv_prog_compiler_static_works=no
  15776. @@ -8935,7 +8975,7 @@
  15777. if test -s conftest.err; then
  15778. # Append any errors to the config.log.
  15779. cat conftest.err 1>&5
  15780. - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  15781. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  15782. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  15783. if diff conftest.exp conftest.er2 >/dev/null; then
  15784. lt_cv_prog_compiler_static_works=yes
  15785. @@ -8948,7 +8988,7 @@
  15786. LDFLAGS="$save_LDFLAGS"
  15787. fi
  15788. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
  15789. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  15790. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  15791. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  15792. @@ -8963,9 +9003,9 @@
  15793. - { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  15794. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  15795. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  15796. -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  15797. +if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  15798. $as_echo_n "(cached) " >&6
  15799. else
  15800. lt_cv_prog_compiler_c_o=no
  15801. @@ -8984,16 +9024,16 @@
  15802. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  15803. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  15804. -e 's:$: $lt_compiler_flag:'`
  15805. - (eval echo "\"\$as_me:8987: $lt_compile\"" >&5)
  15806. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  15807. (eval "$lt_compile" 2>out/conftest.err)
  15808. ac_status=$?
  15809. cat out/conftest.err >&5
  15810. - echo "$as_me:8991: \$? = $ac_status" >&5
  15811. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15812. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  15813. then
  15814. # The compiler can only warn and ignore the option if not recognized
  15815. # So say no if there are warnings
  15816. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  15817. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  15818. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  15819. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  15820. lt_cv_prog_compiler_c_o=yes
  15821. @@ -9010,7 +9050,7 @@
  15822. $RM conftest*
  15823. fi
  15824. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  15825. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  15826. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  15827. @@ -9018,9 +9058,9 @@
  15828. - { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  15829. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  15830. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  15831. -if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  15832. +if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  15833. $as_echo_n "(cached) " >&6
  15834. else
  15835. lt_cv_prog_compiler_c_o=no
  15836. @@ -9039,16 +9079,16 @@
  15837. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  15838. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  15839. -e 's:$: $lt_compiler_flag:'`
  15840. - (eval echo "\"\$as_me:9042: $lt_compile\"" >&5)
  15841. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  15842. (eval "$lt_compile" 2>out/conftest.err)
  15843. ac_status=$?
  15844. cat out/conftest.err >&5
  15845. - echo "$as_me:9046: \$? = $ac_status" >&5
  15846. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15847. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  15848. then
  15849. # The compiler can only warn and ignore the option if not recognized
  15850. # So say no if there are warnings
  15851. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  15852. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  15853. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  15854. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  15855. lt_cv_prog_compiler_c_o=yes
  15856. @@ -9065,7 +9105,7 @@
  15857. $RM conftest*
  15858. fi
  15859. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  15860. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  15861. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  15862. @@ -9074,7 +9114,7 @@
  15863. hard_links="nottested"
  15864. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  15865. # do not overwrite the value of need_locks provided by the user
  15866. - { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  15867. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  15868. $as_echo_n "checking if we can lock with hard links... " >&6; }
  15869. hard_links=yes
  15870. $RM conftest*
  15871. @@ -9082,10 +9122,10 @@
  15872. touch conftest.a
  15873. ln conftest.a conftest.b 2>&5 || hard_links=no
  15874. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  15875. - { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
  15876. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  15877. $as_echo "$hard_links" >&6; }
  15878. if test "$hard_links" = no; then
  15879. - { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  15880. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  15881. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  15882. need_locks=warn
  15883. fi
  15884. @@ -9098,7 +9138,7 @@
  15885. - { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  15886. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  15887. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  15888. runpath_var=
  15889. @@ -9161,7 +9201,33 @@
  15890. esac
  15891. ld_shlibs=yes
  15892. +
  15893. + # On some targets, GNU ld is compatible enough with the native linker
  15894. + # that we're better off using the native interface for both.
  15895. + lt_use_gnu_ld_interface=no
  15896. if test "$with_gnu_ld" = yes; then
  15897. + case $host_os in
  15898. + aix*)
  15899. + # The AIX port of GNU ld has always aspired to compatibility
  15900. + # with the native linker. However, as the warning in the GNU ld
  15901. + # block says, versions before 2.19.5* couldn't really create working
  15902. + # shared libraries, regardless of the interface used.
  15903. + case `$LD -v 2>&1` in
  15904. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  15905. + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  15906. + *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  15907. + *)
  15908. + lt_use_gnu_ld_interface=yes
  15909. + ;;
  15910. + esac
  15911. + ;;
  15912. + *)
  15913. + lt_use_gnu_ld_interface=yes
  15914. + ;;
  15915. + esac
  15916. + fi
  15917. +
  15918. + if test "$lt_use_gnu_ld_interface" = yes; then
  15919. # If archive_cmds runs LD, not CC, wlarc should be empty
  15920. wlarc='${wl}'
  15921. @@ -9179,6 +9245,7 @@
  15922. fi
  15923. supports_anon_versioning=no
  15924. case `$LD -v 2>&1` in
  15925. + *GNU\ gold*) supports_anon_versioning=yes ;;
  15926. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  15927. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  15928. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  15929. @@ -9194,11 +9261,12 @@
  15930. ld_shlibs=no
  15931. cat <<_LT_EOF 1>&2
  15932. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  15933. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  15934. *** to be unable to reliably create shared libraries on AIX.
  15935. *** Therefore, libtool is disabling shared libraries support. If you
  15936. -*** really care for shared libraries, you may want to modify your PATH
  15937. -*** so that a non-GNU linker is found, and then restart.
  15938. +*** really care for shared libraries, you may want to install binutils
  15939. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  15940. +*** You will then need to restart the configuration process.
  15941. _LT_EOF
  15942. fi
  15943. @@ -9234,10 +9302,12 @@
  15944. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  15945. # as there is no search path for DLLs.
  15946. hardcode_libdir_flag_spec='-L$libdir'
  15947. + export_dynamic_flag_spec='${wl}--export-all-symbols'
  15948. allow_undefined_flag=unsupported
  15949. always_export_symbols=no
  15950. enable_shared_with_static_runtimes=yes
  15951. - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  15952. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  15953. + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  15954. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  15955. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  15956. @@ -9255,6 +9325,11 @@
  15957. fi
  15958. ;;
  15959. + haiku*)
  15960. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  15961. + link_all_deplibs=yes
  15962. + ;;
  15963. +
  15964. interix[3-9]*)
  15965. hardcode_direct=no
  15966. hardcode_shlibpath_var=no
  15967. @@ -9270,7 +9345,7 @@
  15968. 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'
  15969. ;;
  15970. - gnu* | linux* | tpf* | k*bsd*-gnu)
  15971. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  15972. tmp_diet=no
  15973. if test "$host_os" = linux-dietlibc; then
  15974. case $cc_basename in
  15975. @@ -9284,11 +9359,12 @@
  15976. tmp_sharedflag='-shared'
  15977. case $cc_basename,$host_cpu in
  15978. pgcc*) # Portland Group C compiler
  15979. - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  15980. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  15981. tmp_addflag=' $pic_flag'
  15982. ;;
  15983. - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  15984. - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  15985. + pgf77* | pgf90* | pgf95* | pgfortran*)
  15986. + # Portland Group f77 and f90 compilers
  15987. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  15988. tmp_addflag=' $pic_flag -Mnomain' ;;
  15989. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  15990. tmp_addflag=' -i_dynamic' ;;
  15991. @@ -9299,13 +9375,17 @@
  15992. lf95*) # Lahey Fortran 8.1
  15993. whole_archive_flag_spec=
  15994. tmp_sharedflag='--shared' ;;
  15995. - xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  15996. + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  15997. tmp_sharedflag='-qmkshrobj'
  15998. tmp_addflag= ;;
  15999. + nvcc*) # Cuda Compiler Driver 2.2
  16000. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  16001. + compiler_needs_object=yes
  16002. + ;;
  16003. esac
  16004. case `$CC -V 2>&1 | sed 5q` in
  16005. *Sun\ C*) # Sun C 5.9
  16006. - whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  16007. + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  16008. compiler_needs_object=yes
  16009. tmp_sharedflag='-G' ;;
  16010. *Sun\ F*) # Sun Fortran 8.3
  16011. @@ -9321,17 +9401,17 @@
  16012. fi
  16013. case $cc_basename in
  16014. - xlf*)
  16015. + xlf* | bgf* | bgxlf* | mpixlf*)
  16016. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  16017. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  16018. hardcode_libdir_flag_spec=
  16019. hardcode_libdir_flag_spec_ld='-rpath $libdir'
  16020. - archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  16021. + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  16022. if test "x$supports_anon_versioning" = xyes; then
  16023. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  16024. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  16025. echo "local: *; };" >> $output_objdir/$libname.ver~
  16026. - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  16027. + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  16028. fi
  16029. ;;
  16030. esac
  16031. @@ -9340,7 +9420,7 @@
  16032. fi
  16033. ;;
  16034. - netbsd* | netbsdelf*-gnu)
  16035. + netbsd*)
  16036. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  16037. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  16038. wlarc=
  16039. @@ -9452,8 +9532,10 @@
  16040. else
  16041. # If we're using GNU nm, then we don't want the "-C" option.
  16042. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  16043. + # Also, AIX nm treats weak defined symbols like other global
  16044. + # defined symbols, whereas GNU nm marks them as "W".
  16045. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  16046. - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  16047. + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  16048. else
  16049. export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  16050. fi
  16051. @@ -9515,7 +9597,6 @@
  16052. if test "$aix_use_runtimelinking" = yes; then
  16053. shared_flag="$shared_flag "'${wl}-G'
  16054. fi
  16055. - link_all_deplibs=no
  16056. else
  16057. # not using gcc
  16058. if test "$host_cpu" = ia64; then
  16059. @@ -9541,11 +9622,7 @@
  16060. allow_undefined_flag='-berok'
  16061. # Determine the default libpath from the value encoded in an
  16062. # empty executable.
  16063. - cat >conftest.$ac_ext <<_ACEOF
  16064. -/* confdefs.h. */
  16065. -_ACEOF
  16066. -cat confdefs.h >>conftest.$ac_ext
  16067. -cat >>conftest.$ac_ext <<_ACEOF
  16068. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16069. /* end confdefs.h. */
  16070. int
  16071. @@ -9556,27 +9633,7 @@
  16072. return 0;
  16073. }
  16074. _ACEOF
  16075. -rm -f conftest.$ac_objext conftest$ac_exeext
  16076. -if { (ac_try="$ac_link"
  16077. -case "(($ac_try" in
  16078. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16079. - *) ac_try_echo=$ac_try;;
  16080. -esac
  16081. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16082. -$as_echo "$ac_try_echo") >&5
  16083. - (eval "$ac_link") 2>conftest.er1
  16084. - ac_status=$?
  16085. - grep -v '^ *+' conftest.er1 >conftest.err
  16086. - rm -f conftest.er1
  16087. - cat conftest.err >&5
  16088. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16089. - (exit $ac_status); } && {
  16090. - test -z "$ac_c_werror_flag" ||
  16091. - test ! -s conftest.err
  16092. - } && test -s conftest$ac_exeext && {
  16093. - test "$cross_compiling" = yes ||
  16094. - $as_test_x conftest$ac_exeext
  16095. - }; then
  16096. +if ac_fn_c_try_link "$LINENO"; then :
  16097. lt_aix_libpath_sed='
  16098. /Import File Strings/,/^$/ {
  16099. @@ -9590,20 +9647,13 @@
  16100. if test -z "$aix_libpath"; then
  16101. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  16102. fi
  16103. -else
  16104. - $as_echo "$as_me: failed program was:" >&5
  16105. -sed 's/^/| /' conftest.$ac_ext >&5
  16106. -
  16107. -
  16108. fi
  16109. -
  16110. -rm -rf conftest.dSYM
  16111. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16112. - conftest$ac_exeext conftest.$ac_ext
  16113. +rm -f core conftest.err conftest.$ac_objext \
  16114. + conftest$ac_exeext conftest.$ac_ext
  16115. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  16116. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  16117. - archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  16118. + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  16119. else
  16120. if test "$host_cpu" = ia64; then
  16121. hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  16122. @@ -9612,11 +9662,7 @@
  16123. else
  16124. # Determine the default libpath from the value encoded in an
  16125. # empty executable.
  16126. - cat >conftest.$ac_ext <<_ACEOF
  16127. -/* confdefs.h. */
  16128. -_ACEOF
  16129. -cat confdefs.h >>conftest.$ac_ext
  16130. -cat >>conftest.$ac_ext <<_ACEOF
  16131. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16132. /* end confdefs.h. */
  16133. int
  16134. @@ -9627,27 +9673,7 @@
  16135. return 0;
  16136. }
  16137. _ACEOF
  16138. -rm -f conftest.$ac_objext conftest$ac_exeext
  16139. -if { (ac_try="$ac_link"
  16140. -case "(($ac_try" in
  16141. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16142. - *) ac_try_echo=$ac_try;;
  16143. -esac
  16144. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16145. -$as_echo "$ac_try_echo") >&5
  16146. - (eval "$ac_link") 2>conftest.er1
  16147. - ac_status=$?
  16148. - grep -v '^ *+' conftest.er1 >conftest.err
  16149. - rm -f conftest.er1
  16150. - cat conftest.err >&5
  16151. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16152. - (exit $ac_status); } && {
  16153. - test -z "$ac_c_werror_flag" ||
  16154. - test ! -s conftest.err
  16155. - } && test -s conftest$ac_exeext && {
  16156. - test "$cross_compiling" = yes ||
  16157. - $as_test_x conftest$ac_exeext
  16158. - }; then
  16159. +if ac_fn_c_try_link "$LINENO"; then :
  16160. lt_aix_libpath_sed='
  16161. /Import File Strings/,/^$/ {
  16162. @@ -9661,16 +9687,9 @@
  16163. if test -z "$aix_libpath"; then
  16164. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  16165. fi
  16166. -else
  16167. - $as_echo "$as_me: failed program was:" >&5
  16168. -sed 's/^/| /' conftest.$ac_ext >&5
  16169. -
  16170. -
  16171. fi
  16172. -
  16173. -rm -rf conftest.dSYM
  16174. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16175. - conftest$ac_exeext conftest.$ac_ext
  16176. +rm -f core conftest.err conftest.$ac_objext \
  16177. + conftest$ac_exeext conftest.$ac_ext
  16178. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  16179. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  16180. @@ -9678,8 +9697,13 @@
  16181. # -berok will link without error, but may produce a broken library.
  16182. no_undefined_flag=' ${wl}-bernotok'
  16183. allow_undefined_flag=' ${wl}-berok'
  16184. - # Exported symbols can be pulled into shared objects from archives
  16185. - whole_archive_flag_spec='$convenience'
  16186. + if test "$with_gnu_ld" = yes; then
  16187. + # We only use this code for GNU lds that support --whole-archive.
  16188. + whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  16189. + else
  16190. + # Exported symbols can be pulled into shared objects from archives
  16191. + whole_archive_flag_spec='$convenience'
  16192. + fi
  16193. archive_cmds_need_lc=yes
  16194. # This is similar to how AIX traditionally builds its shared libraries.
  16195. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  16196. @@ -9711,20 +9735,60 @@
  16197. # Microsoft Visual C++.
  16198. # hardcode_libdir_flag_spec is actually meaningless, as there is
  16199. # no search path for DLLs.
  16200. - hardcode_libdir_flag_spec=' '
  16201. - allow_undefined_flag=unsupported
  16202. - # Tell ltmain to make .lib files, not .a files.
  16203. - libext=lib
  16204. - # Tell ltmain to make .dll files, not .so files.
  16205. - shrext_cmds=".dll"
  16206. - # FIXME: Setting linknames here is a bad hack.
  16207. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  16208. - # The linker will automatically build a .lib file if we build a DLL.
  16209. - old_archive_from_new_cmds='true'
  16210. - # FIXME: Should let the user specify the lib program.
  16211. - old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  16212. - fix_srcfile_path='`cygpath -w "$srcfile"`'
  16213. - enable_shared_with_static_runtimes=yes
  16214. + case $cc_basename in
  16215. + cl*)
  16216. + # Native MSVC
  16217. + hardcode_libdir_flag_spec=' '
  16218. + allow_undefined_flag=unsupported
  16219. + always_export_symbols=yes
  16220. + file_list_spec='@'
  16221. + # Tell ltmain to make .lib files, not .a files.
  16222. + libext=lib
  16223. + # Tell ltmain to make .dll files, not .so files.
  16224. + shrext_cmds=".dll"
  16225. + # FIXME: Setting linknames here is a bad hack.
  16226. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  16227. + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  16228. + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  16229. + else
  16230. + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  16231. + fi~
  16232. + $CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs @$output_objdir/$soname.exp -Wl,-DLL~
  16233. + linknames='
  16234. + # The linker will not automatically build a static lib if we build a DLL.
  16235. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  16236. + enable_shared_with_static_runtimes=yes
  16237. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  16238. + # Don't use ranlib
  16239. + old_postinstall_cmds='chmod 644 $oldlib'
  16240. + postlink_cmds='lt_outputfile="@OUTPUT@"~
  16241. + case $lt_outputfile in
  16242. + *.exe|*.EXE) ;;
  16243. + *) lt_outputfile="$lt_outputfile.exe" ;;
  16244. + esac~
  16245. + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  16246. + $MANIFEST_TOOL -manifest "$lt_outputfile.manifest" -outputresource:"$lt_outputfile" || exit 1;
  16247. + $RM "$lt_outputfile.manifest";
  16248. + fi'
  16249. + ;;
  16250. + *)
  16251. + # Assume MSVC wrapper
  16252. + hardcode_libdir_flag_spec=' '
  16253. + allow_undefined_flag=unsupported
  16254. + # Tell ltmain to make .lib files, not .a files.
  16255. + libext=lib
  16256. + # Tell ltmain to make .dll files, not .so files.
  16257. + shrext_cmds=".dll"
  16258. + # FIXME: Setting linknames here is a bad hack.
  16259. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  16260. + # The linker will automatically build a .lib file if we build a DLL.
  16261. + old_archive_from_new_cmds='true'
  16262. + # FIXME: Should let the user specify the lib program.
  16263. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  16264. + fix_srcfile_path='`cygpath -w "$srcfile"`'
  16265. + enable_shared_with_static_runtimes=yes
  16266. + ;;
  16267. + esac
  16268. ;;
  16269. darwin* | rhapsody*)
  16270. @@ -9734,7 +9798,11 @@
  16271. hardcode_direct=no
  16272. hardcode_automatic=yes
  16273. hardcode_shlibpath_var=unsupported
  16274. - whole_archive_flag_spec=''
  16275. + if test "$lt_cv_ld_force_load" = "yes"; then
  16276. + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  16277. + else
  16278. + whole_archive_flag_spec=''
  16279. + fi
  16280. link_all_deplibs=yes
  16281. allow_undefined_flag="$_lt_dar_allow_undefined"
  16282. case $cc_basename in
  16283. @@ -9742,7 +9810,7 @@
  16284. *) _lt_dar_can_shared=$GCC ;;
  16285. esac
  16286. if test "$_lt_dar_can_shared" = "yes"; then
  16287. - output_verbose_link_cmd=echo
  16288. + output_verbose_link_cmd=func_echo_all
  16289. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  16290. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  16291. archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  16292. @@ -9808,7 +9876,7 @@
  16293. ;;
  16294. hpux10*)
  16295. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  16296. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  16297. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  16298. else
  16299. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  16300. @@ -9827,7 +9895,7 @@
  16301. ;;
  16302. hpux11*)
  16303. - if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  16304. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  16305. case $host_cpu in
  16306. hppa*64*)
  16307. archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  16308. @@ -9848,7 +9916,46 @@
  16309. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  16310. ;;
  16311. *)
  16312. - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  16313. +
  16314. + # Older versions of the 11.00 compiler do not understand -b yet
  16315. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  16316. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  16317. +$as_echo_n "checking if $CC understands -b... " >&6; }
  16318. +if test "${lt_cv_prog_compiler__b+set}" = set; then :
  16319. + $as_echo_n "(cached) " >&6
  16320. +else
  16321. + lt_cv_prog_compiler__b=no
  16322. + save_LDFLAGS="$LDFLAGS"
  16323. + LDFLAGS="$LDFLAGS -b"
  16324. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  16325. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  16326. + # The linker can only warn and ignore the option if not recognized
  16327. + # So say no if there are warnings
  16328. + if test -s conftest.err; then
  16329. + # Append any errors to the config.log.
  16330. + cat conftest.err 1>&5
  16331. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  16332. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  16333. + if diff conftest.exp conftest.er2 >/dev/null; then
  16334. + lt_cv_prog_compiler__b=yes
  16335. + fi
  16336. + else
  16337. + lt_cv_prog_compiler__b=yes
  16338. + fi
  16339. + fi
  16340. + $RM -r conftest*
  16341. + LDFLAGS="$save_LDFLAGS"
  16342. +
  16343. +fi
  16344. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  16345. +$as_echo "$lt_cv_prog_compiler__b" >&6; }
  16346. +
  16347. +if test x"$lt_cv_prog_compiler__b" = xyes; then
  16348. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  16349. +else
  16350. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  16351. +fi
  16352. +
  16353. ;;
  16354. esac
  16355. fi
  16356. @@ -9876,52 +9983,26 @@
  16357. irix5* | irix6* | nonstopux*)
  16358. if test "$GCC" = yes; then
  16359. - archive_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 -o $lib'
  16360. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  16361. # Try to use the -exported_symbol ld option, if it does not
  16362. # work, assume that -exports_file does not work either and
  16363. # implicitly export all symbols.
  16364. save_LDFLAGS="$LDFLAGS"
  16365. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  16366. - cat >conftest.$ac_ext <<_ACEOF
  16367. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16368. +/* end confdefs.h. */
  16369. int foo(void) {}
  16370. _ACEOF
  16371. -rm -f conftest.$ac_objext conftest$ac_exeext
  16372. -if { (ac_try="$ac_link"
  16373. -case "(($ac_try" in
  16374. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16375. - *) ac_try_echo=$ac_try;;
  16376. -esac
  16377. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16378. -$as_echo "$ac_try_echo") >&5
  16379. - (eval "$ac_link") 2>conftest.er1
  16380. - ac_status=$?
  16381. - grep -v '^ *+' conftest.er1 >conftest.err
  16382. - rm -f conftest.er1
  16383. - cat conftest.err >&5
  16384. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16385. - (exit $ac_status); } && {
  16386. - test -z "$ac_c_werror_flag" ||
  16387. - test ! -s conftest.err
  16388. - } && test -s conftest$ac_exeext && {
  16389. - test "$cross_compiling" = yes ||
  16390. - $as_test_x conftest$ac_exeext
  16391. - }; then
  16392. - 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'
  16393. -
  16394. -else
  16395. - $as_echo "$as_me: failed program was:" >&5
  16396. -sed 's/^/| /' conftest.$ac_ext >&5
  16397. -
  16398. +if ac_fn_c_try_link "$LINENO"; then :
  16399. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  16400. fi
  16401. -
  16402. -rm -rf conftest.dSYM
  16403. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16404. - conftest$ac_exeext conftest.$ac_ext
  16405. +rm -f core conftest.err conftest.$ac_objext \
  16406. + conftest$ac_exeext conftest.$ac_ext
  16407. LDFLAGS="$save_LDFLAGS"
  16408. else
  16409. - 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'
  16410. - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  16411. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  16412. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  16413. fi
  16414. archive_cmds_need_lc='no'
  16415. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  16416. @@ -9930,7 +10011,7 @@
  16417. link_all_deplibs=yes
  16418. ;;
  16419. - netbsd* | netbsdelf*-gnu)
  16420. + netbsd*)
  16421. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  16422. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  16423. else
  16424. @@ -9983,17 +10064,17 @@
  16425. hardcode_libdir_flag_spec='-L$libdir'
  16426. hardcode_minus_L=yes
  16427. allow_undefined_flag=unsupported
  16428. - archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  16429. + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  16430. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  16431. ;;
  16432. osf3*)
  16433. if test "$GCC" = yes; then
  16434. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  16435. - archive_cmds='$CC -shared${allow_undefined_flag} $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 -o $lib'
  16436. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  16437. else
  16438. allow_undefined_flag=' -expect_unresolved \*'
  16439. - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  16440. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  16441. fi
  16442. archive_cmds_need_lc='no'
  16443. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  16444. @@ -10003,13 +10084,13 @@
  16445. osf4* | osf5*) # as osf3* with the addition of -msym flag
  16446. if test "$GCC" = yes; then
  16447. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  16448. - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  16449. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  16450. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  16451. else
  16452. allow_undefined_flag=' -expect_unresolved \*'
  16453. - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  16454. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  16455. archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  16456. - $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  16457. + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  16458. # Both c and cxx compiler support -rpath directly
  16459. hardcode_libdir_flag_spec='-rpath $libdir'
  16460. @@ -10173,7 +10254,7 @@
  16461. fi
  16462. fi
  16463. -{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
  16464. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  16465. $as_echo "$ld_shlibs" >&6; }
  16466. test "$ld_shlibs" = no && can_build_shared=no
  16467. @@ -10210,46 +10291,52 @@
  16468. # Test whether the compiler implicitly links with -lc since on some
  16469. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  16470. # to ld, don't add -lc before -lgcc.
  16471. - { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  16472. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  16473. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  16474. - $RM conftest*
  16475. - echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  16476. +if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
  16477. + $as_echo_n "(cached) " >&6
  16478. +else
  16479. + $RM conftest*
  16480. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  16481. - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  16482. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  16483. (eval $ac_compile) 2>&5
  16484. ac_status=$?
  16485. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16486. - (exit $ac_status); } 2>conftest.err; then
  16487. - soname=conftest
  16488. - lib=conftest
  16489. - libobjs=conftest.$ac_objext
  16490. - deplibs=
  16491. - wl=$lt_prog_compiler_wl
  16492. - pic_flag=$lt_prog_compiler_pic
  16493. - compiler_flags=-v
  16494. - linker_flags=-v
  16495. - verstring=
  16496. - output_objdir=.
  16497. - libname=conftest
  16498. - lt_save_allow_undefined_flag=$allow_undefined_flag
  16499. - allow_undefined_flag=
  16500. - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
  16501. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  16502. + test $ac_status = 0; } 2>conftest.err; then
  16503. + soname=conftest
  16504. + lib=conftest
  16505. + libobjs=conftest.$ac_objext
  16506. + deplibs=
  16507. + wl=$lt_prog_compiler_wl
  16508. + pic_flag=$lt_prog_compiler_pic
  16509. + compiler_flags=-v
  16510. + linker_flags=-v
  16511. + verstring=
  16512. + output_objdir=.
  16513. + libname=conftest
  16514. + lt_save_allow_undefined_flag=$allow_undefined_flag
  16515. + allow_undefined_flag=
  16516. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  16517. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  16518. ac_status=$?
  16519. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16520. - (exit $ac_status); }
  16521. - then
  16522. - archive_cmds_need_lc=no
  16523. - else
  16524. - archive_cmds_need_lc=yes
  16525. - fi
  16526. - allow_undefined_flag=$lt_save_allow_undefined_flag
  16527. - else
  16528. - cat conftest.err 1>&5
  16529. - fi
  16530. - $RM conftest*
  16531. - { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
  16532. -$as_echo "$archive_cmds_need_lc" >&6; }
  16533. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  16534. + test $ac_status = 0; }
  16535. + then
  16536. + lt_cv_archive_cmds_need_lc=no
  16537. + else
  16538. + lt_cv_archive_cmds_need_lc=yes
  16539. + fi
  16540. + allow_undefined_flag=$lt_save_allow_undefined_flag
  16541. + else
  16542. + cat conftest.err 1>&5
  16543. + fi
  16544. + $RM conftest*
  16545. +
  16546. +fi
  16547. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  16548. +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  16549. + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  16550. ;;
  16551. esac
  16552. fi
  16553. @@ -10412,7 +10499,12 @@
  16554. - { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  16555. +
  16556. +
  16557. +
  16558. +
  16559. +
  16560. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  16561. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  16562. if test "$GCC" = yes; then
  16563. @@ -10420,16 +10512,23 @@
  16564. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  16565. *) lt_awk_arg="/^libraries:/" ;;
  16566. esac
  16567. - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  16568. - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  16569. + case $host_os in
  16570. + mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  16571. + *) lt_sed_strip_eq="s,=/,/,g" ;;
  16572. + esac
  16573. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  16574. + case $lt_search_path_spec in
  16575. + *\;*)
  16576. # if the path contains ";" then we assume it to be the separator
  16577. # otherwise default to the standard path separator (i.e. ":") - it is
  16578. # assumed that no part of a normal pathname contains ";" but that should
  16579. # okay in the real world where ";" in dirpaths is itself problematic.
  16580. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  16581. - else
  16582. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  16583. - fi
  16584. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  16585. + ;;
  16586. + *)
  16587. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  16588. + ;;
  16589. + esac
  16590. # Ok, now we have the path, separated by spaces, we can step through it
  16591. # and add multilib dir if necessary.
  16592. lt_tmp_lt_search_path_spec=
  16593. @@ -10442,7 +10541,7 @@
  16594. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  16595. fi
  16596. done
  16597. - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  16598. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  16599. BEGIN {RS=" "; FS="/|\n";} {
  16600. lt_foo="";
  16601. lt_count=0;
  16602. @@ -10462,7 +10561,13 @@
  16603. if (lt_foo != "") { lt_freq[lt_foo]++; }
  16604. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  16605. }'`
  16606. - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  16607. + # AWK program above erroneously prepends '/' to C:/dos/paths
  16608. + # for these hosts.
  16609. + case $host_os in
  16610. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  16611. + $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  16612. + esac
  16613. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  16614. else
  16615. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  16616. fi
  16617. @@ -10550,7 +10655,7 @@
  16618. m68k)
  16619. library_names_spec='$libname.ixlibrary $libname.a'
  16620. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  16621. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  16622. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  16623. ;;
  16624. esac
  16625. ;;
  16626. @@ -10581,8 +10686,9 @@
  16627. need_version=no
  16628. need_lib_prefix=no
  16629. - case $GCC,$host_os in
  16630. - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  16631. + case $GCC,$cc_basename in
  16632. + yes,*)
  16633. + # gcc
  16634. library_names_spec='$libname.dll.a'
  16635. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  16636. postinstall_cmds='base_file=`basename \${file}`~
  16637. @@ -10603,36 +10709,54 @@
  16638. cygwin*)
  16639. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  16640. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  16641. - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  16642. +
  16643. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  16644. ;;
  16645. mingw* | cegcc*)
  16646. # MinGW DLLs use traditional 'lib' prefix
  16647. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  16648. - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  16649. - if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  16650. - # It is most probably a Windows format PATH printed by
  16651. - # mingw gcc, but we are running on Cygwin. Gcc prints its search
  16652. - # path with ; separators, and with drive letters. We can handle the
  16653. - # drive letters (cygwin fileutils understands them), so leave them,
  16654. - # especially as we might pass files found there to a mingw objdump,
  16655. - # which wouldn't understand a cygwinified path. Ahh.
  16656. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  16657. - else
  16658. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  16659. - fi
  16660. ;;
  16661. pw32*)
  16662. # pw32 DLLs use 'pw' prefix rather than 'lib'
  16663. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  16664. ;;
  16665. esac
  16666. + dynamic_linker='Win32 ld.exe'
  16667. + ;;
  16668. +
  16669. + *,cl*)
  16670. + # Native MSVC
  16671. + libname_spec='$name'
  16672. + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  16673. + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}.lib'
  16674. + sys_lib_search_path_spec="$LIB"
  16675. + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  16676. + # It is most probably a Windows format PATH.
  16677. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  16678. + else
  16679. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  16680. + fi
  16681. + # FIXME: find the short name or the path components, as spaces are
  16682. + # common. (e.g. "Program Files" -> "PROGRA~1")
  16683. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  16684. + postinstall_cmds='base_file=`basename \${file}`~
  16685. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  16686. + dldir=$destdir/`dirname \$dlpath`~
  16687. + test -d \$dldir || mkdir -p \$dldir~
  16688. + $install_prog $dir/$dlname \$dldir/$dlname'
  16689. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  16690. + dlpath=$dir/\$dldll~
  16691. + $RM \$dlpath'
  16692. + shlibpath_overrides_runpath=yes
  16693. + dynamic_linker='Win32 link.exe'
  16694. ;;
  16695. *)
  16696. + # Assume MSVC wrapper
  16697. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  16698. + dynamic_linker='Win32 ld.exe'
  16699. ;;
  16700. esac
  16701. - dynamic_linker='Win32 ld.exe'
  16702. # FIXME: first we should search . and the directory the executable is in
  16703. shlibpath_var=PATH
  16704. ;;
  16705. @@ -10719,6 +10843,19 @@
  16706. hardcode_into_libs=yes
  16707. ;;
  16708. +haiku*)
  16709. + version_type=linux
  16710. + need_lib_prefix=no
  16711. + need_version=no
  16712. + dynamic_linker="$host_os runtime_loader"
  16713. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  16714. + soname_spec='${libname}${release}${shared_ext}$major'
  16715. + shlibpath_var=LIBRARY_PATH
  16716. + shlibpath_overrides_runpath=yes
  16717. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  16718. + hardcode_into_libs=yes
  16719. + ;;
  16720. +
  16721. hpux9* | hpux10* | hpux11*)
  16722. # Give a soname corresponding to the major version so that dld.sl refuses to
  16723. # link against other versions.
  16724. @@ -10761,8 +10898,10 @@
  16725. soname_spec='${libname}${release}${shared_ext}$major'
  16726. ;;
  16727. esac
  16728. - # HP-UX runs *really* slowly unless shared libraries are mode 555.
  16729. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  16730. postinstall_cmds='chmod 555 $lib'
  16731. + # or fails outright, so override atomically:
  16732. + install_override_mode=555
  16733. ;;
  16734. interix[3-9]*)
  16735. @@ -10820,7 +10959,7 @@
  16736. ;;
  16737. # This must be Linux ELF.
  16738. -linux* | k*bsd*-gnu)
  16739. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  16740. version_type=linux
  16741. need_lib_prefix=no
  16742. need_version=no
  16743. @@ -10829,16 +10968,17 @@
  16744. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  16745. shlibpath_var=LD_LIBRARY_PATH
  16746. shlibpath_overrides_runpath=no
  16747. +
  16748. # Some binutils ld are patched to set DT_RUNPATH
  16749. - save_LDFLAGS=$LDFLAGS
  16750. - save_libdir=$libdir
  16751. - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  16752. - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  16753. - cat >conftest.$ac_ext <<_ACEOF
  16754. -/* confdefs.h. */
  16755. -_ACEOF
  16756. -cat confdefs.h >>conftest.$ac_ext
  16757. -cat >>conftest.$ac_ext <<_ACEOF
  16758. + if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
  16759. + $as_echo_n "(cached) " >&6
  16760. +else
  16761. + lt_cv_shlibpath_overrides_runpath=no
  16762. + save_LDFLAGS=$LDFLAGS
  16763. + save_libdir=$libdir
  16764. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  16765. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  16766. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16767. /* end confdefs.h. */
  16768. int
  16769. @@ -10849,43 +10989,19 @@
  16770. return 0;
  16771. }
  16772. _ACEOF
  16773. -rm -f conftest.$ac_objext conftest$ac_exeext
  16774. -if { (ac_try="$ac_link"
  16775. -case "(($ac_try" in
  16776. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16777. - *) ac_try_echo=$ac_try;;
  16778. -esac
  16779. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16780. -$as_echo "$ac_try_echo") >&5
  16781. - (eval "$ac_link") 2>conftest.er1
  16782. - ac_status=$?
  16783. - grep -v '^ *+' conftest.er1 >conftest.err
  16784. - rm -f conftest.er1
  16785. - cat conftest.err >&5
  16786. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16787. - (exit $ac_status); } && {
  16788. - test -z "$ac_c_werror_flag" ||
  16789. - test ! -s conftest.err
  16790. - } && test -s conftest$ac_exeext && {
  16791. - test "$cross_compiling" = yes ||
  16792. - $as_test_x conftest$ac_exeext
  16793. - }; then
  16794. - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
  16795. - shlibpath_overrides_runpath=yes
  16796. +if ac_fn_c_try_link "$LINENO"; then :
  16797. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  16798. + lt_cv_shlibpath_overrides_runpath=yes
  16799. fi
  16800. -
  16801. -else
  16802. - $as_echo "$as_me: failed program was:" >&5
  16803. -sed 's/^/| /' conftest.$ac_ext >&5
  16804. -
  16805. +fi
  16806. +rm -f core conftest.err conftest.$ac_objext \
  16807. + conftest$ac_exeext conftest.$ac_ext
  16808. + LDFLAGS=$save_LDFLAGS
  16809. + libdir=$save_libdir
  16810. fi
  16811. -rm -rf conftest.dSYM
  16812. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16813. - conftest$ac_exeext conftest.$ac_ext
  16814. - LDFLAGS=$save_LDFLAGS
  16815. - libdir=$save_libdir
  16816. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  16817. # This implies no fast_install, which is unacceptable.
  16818. # Some rework will be needed to allow for fast_install
  16819. @@ -10894,7 +11010,7 @@
  16820. # Append ld.so.conf contents to the search path
  16821. if test -f /etc/ld.so.conf; then
  16822. - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  16823. + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  16824. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  16825. fi
  16826. @@ -10907,18 +11023,6 @@
  16827. dynamic_linker='GNU/Linux ld.so'
  16828. ;;
  16829. -netbsdelf*-gnu)
  16830. - version_type=linux
  16831. - need_lib_prefix=no
  16832. - need_version=no
  16833. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  16834. - soname_spec='${libname}${release}${shared_ext}$major'
  16835. - shlibpath_var=LD_LIBRARY_PATH
  16836. - shlibpath_overrides_runpath=no
  16837. - hardcode_into_libs=yes
  16838. - dynamic_linker='NetBSD ld.elf_so'
  16839. - ;;
  16840. -
  16841. netbsd*)
  16842. version_type=sunos
  16843. need_lib_prefix=no
  16844. @@ -11107,7 +11211,7 @@
  16845. dynamic_linker=no
  16846. ;;
  16847. esac
  16848. -{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  16849. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  16850. $as_echo "$dynamic_linker" >&6; }
  16851. test "$dynamic_linker" = no && can_build_shared=no
  16852. @@ -11209,7 +11313,12 @@
  16853. - { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  16854. +
  16855. +
  16856. +
  16857. +
  16858. +
  16859. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  16860. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  16861. hardcode_action=
  16862. if test -n "$hardcode_libdir_flag_spec" ||
  16863. @@ -11234,7 +11343,7 @@
  16864. # directories.
  16865. hardcode_action=unsupported
  16866. fi
  16867. -{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
  16868. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  16869. $as_echo "$hardcode_action" >&6; }
  16870. if test "$hardcode_action" = relink ||
  16871. @@ -11279,18 +11388,14 @@
  16872. darwin*)
  16873. # if libdl is installed we need to link against it
  16874. - { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  16875. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  16876. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  16877. -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  16878. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  16879. $as_echo_n "(cached) " >&6
  16880. else
  16881. ac_check_lib_save_LIBS=$LIBS
  16882. LIBS="-ldl $LIBS"
  16883. -cat >conftest.$ac_ext <<_ACEOF
  16884. -/* confdefs.h. */
  16885. -_ACEOF
  16886. -cat confdefs.h >>conftest.$ac_ext
  16887. -cat >>conftest.$ac_ext <<_ACEOF
  16888. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16889. /* end confdefs.h. */
  16890. /* Override any GCC internal prototype to avoid an error.
  16891. @@ -11308,43 +11413,18 @@
  16892. return 0;
  16893. }
  16894. _ACEOF
  16895. -rm -f conftest.$ac_objext conftest$ac_exeext
  16896. -if { (ac_try="$ac_link"
  16897. -case "(($ac_try" in
  16898. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16899. - *) ac_try_echo=$ac_try;;
  16900. -esac
  16901. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16902. -$as_echo "$ac_try_echo") >&5
  16903. - (eval "$ac_link") 2>conftest.er1
  16904. - ac_status=$?
  16905. - grep -v '^ *+' conftest.er1 >conftest.err
  16906. - rm -f conftest.er1
  16907. - cat conftest.err >&5
  16908. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16909. - (exit $ac_status); } && {
  16910. - test -z "$ac_c_werror_flag" ||
  16911. - test ! -s conftest.err
  16912. - } && test -s conftest$ac_exeext && {
  16913. - test "$cross_compiling" = yes ||
  16914. - $as_test_x conftest$ac_exeext
  16915. - }; then
  16916. +if ac_fn_c_try_link "$LINENO"; then :
  16917. ac_cv_lib_dl_dlopen=yes
  16918. else
  16919. - $as_echo "$as_me: failed program was:" >&5
  16920. -sed 's/^/| /' conftest.$ac_ext >&5
  16921. -
  16922. - ac_cv_lib_dl_dlopen=no
  16923. + ac_cv_lib_dl_dlopen=no
  16924. fi
  16925. -
  16926. -rm -rf conftest.dSYM
  16927. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16928. - conftest$ac_exeext conftest.$ac_ext
  16929. +rm -f core conftest.err conftest.$ac_objext \
  16930. + conftest$ac_exeext conftest.$ac_ext
  16931. LIBS=$ac_check_lib_save_LIBS
  16932. fi
  16933. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  16934. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  16935. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  16936. -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
  16937. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  16938. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  16939. else
  16940. @@ -11357,33 +11437,19 @@
  16941. ;;
  16942. *)
  16943. - { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
  16944. -$as_echo_n "checking for shl_load... " >&6; }
  16945. -if test "${ac_cv_func_shl_load+set}" = set; then
  16946. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  16947. +if test "x$ac_cv_func_shl_load" = x""yes; then :
  16948. + lt_cv_dlopen="shl_load"
  16949. +else
  16950. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  16951. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  16952. +if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
  16953. $as_echo_n "(cached) " >&6
  16954. else
  16955. - cat >conftest.$ac_ext <<_ACEOF
  16956. -/* confdefs.h. */
  16957. -_ACEOF
  16958. -cat confdefs.h >>conftest.$ac_ext
  16959. -cat >>conftest.$ac_ext <<_ACEOF
  16960. + ac_check_lib_save_LIBS=$LIBS
  16961. +LIBS="-ldld $LIBS"
  16962. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16963. /* end confdefs.h. */
  16964. -/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  16965. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  16966. -#define shl_load innocuous_shl_load
  16967. -
  16968. -/* System header to define __stub macros and hopefully few prototypes,
  16969. - which can conflict with char shl_load (); below.
  16970. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16971. - <limits.h> exists even on freestanding compilers. */
  16972. -
  16973. -#ifdef __STDC__
  16974. -# include <limits.h>
  16975. -#else
  16976. -# include <assert.h>
  16977. -#endif
  16978. -
  16979. -#undef shl_load
  16980. /* Override any GCC internal prototype to avoid an error.
  16981. Use char because int might match the return type of a GCC
  16982. @@ -11392,13 +11458,6 @@
  16983. extern "C"
  16984. #endif
  16985. char shl_load ();
  16986. -/* The GNU C library defines this for functions which it implements
  16987. - to always fail with ENOSYS. Some functions are actually named
  16988. - something starting with __ and the normal name is an alias. */
  16989. -#if defined __stub_shl_load || defined __stub___shl_load
  16990. -choke me
  16991. -#endif
  16992. -
  16993. int
  16994. main ()
  16995. {
  16996. @@ -11407,56 +11466,32 @@
  16997. return 0;
  16998. }
  16999. _ACEOF
  17000. -rm -f conftest.$ac_objext conftest$ac_exeext
  17001. -if { (ac_try="$ac_link"
  17002. -case "(($ac_try" in
  17003. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17004. - *) ac_try_echo=$ac_try;;
  17005. -esac
  17006. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17007. -$as_echo "$ac_try_echo") >&5
  17008. - (eval "$ac_link") 2>conftest.er1
  17009. - ac_status=$?
  17010. - grep -v '^ *+' conftest.er1 >conftest.err
  17011. - rm -f conftest.er1
  17012. - cat conftest.err >&5
  17013. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17014. - (exit $ac_status); } && {
  17015. - test -z "$ac_c_werror_flag" ||
  17016. - test ! -s conftest.err
  17017. - } && test -s conftest$ac_exeext && {
  17018. - test "$cross_compiling" = yes ||
  17019. - $as_test_x conftest$ac_exeext
  17020. - }; then
  17021. - ac_cv_func_shl_load=yes
  17022. +if ac_fn_c_try_link "$LINENO"; then :
  17023. + ac_cv_lib_dld_shl_load=yes
  17024. else
  17025. - $as_echo "$as_me: failed program was:" >&5
  17026. -sed 's/^/| /' conftest.$ac_ext >&5
  17027. -
  17028. - ac_cv_func_shl_load=no
  17029. + ac_cv_lib_dld_shl_load=no
  17030. fi
  17031. -
  17032. -rm -rf conftest.dSYM
  17033. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17034. - conftest$ac_exeext conftest.$ac_ext
  17035. +rm -f core conftest.err conftest.$ac_objext \
  17036. + conftest$ac_exeext conftest.$ac_ext
  17037. +LIBS=$ac_check_lib_save_LIBS
  17038. fi
  17039. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  17040. -$as_echo "$ac_cv_func_shl_load" >&6; }
  17041. -if test "x$ac_cv_func_shl_load" = x""yes; then
  17042. - lt_cv_dlopen="shl_load"
  17043. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  17044. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  17045. +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
  17046. + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  17047. else
  17048. - { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  17049. -$as_echo_n "checking for shl_load in -ldld... " >&6; }
  17050. -if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  17051. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  17052. +if test "x$ac_cv_func_dlopen" = x""yes; then :
  17053. + lt_cv_dlopen="dlopen"
  17054. +else
  17055. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  17056. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  17057. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  17058. $as_echo_n "(cached) " >&6
  17059. else
  17060. ac_check_lib_save_LIBS=$LIBS
  17061. -LIBS="-ldld $LIBS"
  17062. -cat >conftest.$ac_ext <<_ACEOF
  17063. -/* confdefs.h. */
  17064. -_ACEOF
  17065. -cat confdefs.h >>conftest.$ac_ext
  17066. -cat >>conftest.$ac_ext <<_ACEOF
  17067. +LIBS="-ldl $LIBS"
  17068. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17069. /* end confdefs.h. */
  17070. /* Override any GCC internal prototype to avoid an error.
  17071. @@ -11465,222 +11500,37 @@
  17072. #ifdef __cplusplus
  17073. extern "C"
  17074. #endif
  17075. -char shl_load ();
  17076. +char dlopen ();
  17077. int
  17078. main ()
  17079. {
  17080. -return shl_load ();
  17081. +return dlopen ();
  17082. ;
  17083. return 0;
  17084. }
  17085. _ACEOF
  17086. -rm -f conftest.$ac_objext conftest$ac_exeext
  17087. -if { (ac_try="$ac_link"
  17088. -case "(($ac_try" in
  17089. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17090. - *) ac_try_echo=$ac_try;;
  17091. -esac
  17092. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17093. -$as_echo "$ac_try_echo") >&5
  17094. - (eval "$ac_link") 2>conftest.er1
  17095. - ac_status=$?
  17096. - grep -v '^ *+' conftest.er1 >conftest.err
  17097. - rm -f conftest.er1
  17098. - cat conftest.err >&5
  17099. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17100. - (exit $ac_status); } && {
  17101. - test -z "$ac_c_werror_flag" ||
  17102. - test ! -s conftest.err
  17103. - } && test -s conftest$ac_exeext && {
  17104. - test "$cross_compiling" = yes ||
  17105. - $as_test_x conftest$ac_exeext
  17106. - }; then
  17107. - ac_cv_lib_dld_shl_load=yes
  17108. +if ac_fn_c_try_link "$LINENO"; then :
  17109. + ac_cv_lib_dl_dlopen=yes
  17110. else
  17111. - $as_echo "$as_me: failed program was:" >&5
  17112. -sed 's/^/| /' conftest.$ac_ext >&5
  17113. -
  17114. - ac_cv_lib_dld_shl_load=no
  17115. + ac_cv_lib_dl_dlopen=no
  17116. fi
  17117. -
  17118. -rm -rf conftest.dSYM
  17119. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17120. - conftest$ac_exeext conftest.$ac_ext
  17121. +rm -f core conftest.err conftest.$ac_objext \
  17122. + conftest$ac_exeext conftest.$ac_ext
  17123. LIBS=$ac_check_lib_save_LIBS
  17124. fi
  17125. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  17126. -$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  17127. -if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
  17128. - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  17129. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  17130. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  17131. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  17132. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  17133. else
  17134. - { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
  17135. -$as_echo_n "checking for dlopen... " >&6; }
  17136. -if test "${ac_cv_func_dlopen+set}" = set; then
  17137. - $as_echo_n "(cached) " >&6
  17138. -else
  17139. - cat >conftest.$ac_ext <<_ACEOF
  17140. -/* confdefs.h. */
  17141. -_ACEOF
  17142. -cat confdefs.h >>conftest.$ac_ext
  17143. -cat >>conftest.$ac_ext <<_ACEOF
  17144. -/* end confdefs.h. */
  17145. -/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  17146. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  17147. -#define dlopen innocuous_dlopen
  17148. -
  17149. -/* System header to define __stub macros and hopefully few prototypes,
  17150. - which can conflict with char dlopen (); below.
  17151. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  17152. - <limits.h> exists even on freestanding compilers. */
  17153. -
  17154. -#ifdef __STDC__
  17155. -# include <limits.h>
  17156. -#else
  17157. -# include <assert.h>
  17158. -#endif
  17159. -
  17160. -#undef dlopen
  17161. -
  17162. -/* Override any GCC internal prototype to avoid an error.
  17163. - Use char because int might match the return type of a GCC
  17164. - builtin and then its argument prototype would still apply. */
  17165. -#ifdef __cplusplus
  17166. -extern "C"
  17167. -#endif
  17168. -char dlopen ();
  17169. -/* The GNU C library defines this for functions which it implements
  17170. - to always fail with ENOSYS. Some functions are actually named
  17171. - something starting with __ and the normal name is an alias. */
  17172. -#if defined __stub_dlopen || defined __stub___dlopen
  17173. -choke me
  17174. -#endif
  17175. -
  17176. -int
  17177. -main ()
  17178. -{
  17179. -return dlopen ();
  17180. - ;
  17181. - return 0;
  17182. -}
  17183. -_ACEOF
  17184. -rm -f conftest.$ac_objext conftest$ac_exeext
  17185. -if { (ac_try="$ac_link"
  17186. -case "(($ac_try" in
  17187. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17188. - *) ac_try_echo=$ac_try;;
  17189. -esac
  17190. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17191. -$as_echo "$ac_try_echo") >&5
  17192. - (eval "$ac_link") 2>conftest.er1
  17193. - ac_status=$?
  17194. - grep -v '^ *+' conftest.er1 >conftest.err
  17195. - rm -f conftest.er1
  17196. - cat conftest.err >&5
  17197. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17198. - (exit $ac_status); } && {
  17199. - test -z "$ac_c_werror_flag" ||
  17200. - test ! -s conftest.err
  17201. - } && test -s conftest$ac_exeext && {
  17202. - test "$cross_compiling" = yes ||
  17203. - $as_test_x conftest$ac_exeext
  17204. - }; then
  17205. - ac_cv_func_dlopen=yes
  17206. -else
  17207. - $as_echo "$as_me: failed program was:" >&5
  17208. -sed 's/^/| /' conftest.$ac_ext >&5
  17209. -
  17210. - ac_cv_func_dlopen=no
  17211. -fi
  17212. -
  17213. -rm -rf conftest.dSYM
  17214. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17215. - conftest$ac_exeext conftest.$ac_ext
  17216. -fi
  17217. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  17218. -$as_echo "$ac_cv_func_dlopen" >&6; }
  17219. -if test "x$ac_cv_func_dlopen" = x""yes; then
  17220. - lt_cv_dlopen="dlopen"
  17221. -else
  17222. - { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  17223. -$as_echo_n "checking for dlopen in -ldl... " >&6; }
  17224. -if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  17225. - $as_echo_n "(cached) " >&6
  17226. -else
  17227. - ac_check_lib_save_LIBS=$LIBS
  17228. -LIBS="-ldl $LIBS"
  17229. -cat >conftest.$ac_ext <<_ACEOF
  17230. -/* confdefs.h. */
  17231. -_ACEOF
  17232. -cat confdefs.h >>conftest.$ac_ext
  17233. -cat >>conftest.$ac_ext <<_ACEOF
  17234. -/* end confdefs.h. */
  17235. -
  17236. -/* Override any GCC internal prototype to avoid an error.
  17237. - Use char because int might match the return type of a GCC
  17238. - builtin and then its argument prototype would still apply. */
  17239. -#ifdef __cplusplus
  17240. -extern "C"
  17241. -#endif
  17242. -char dlopen ();
  17243. -int
  17244. -main ()
  17245. -{
  17246. -return dlopen ();
  17247. - ;
  17248. - return 0;
  17249. -}
  17250. -_ACEOF
  17251. -rm -f conftest.$ac_objext conftest$ac_exeext
  17252. -if { (ac_try="$ac_link"
  17253. -case "(($ac_try" in
  17254. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17255. - *) ac_try_echo=$ac_try;;
  17256. -esac
  17257. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17258. -$as_echo "$ac_try_echo") >&5
  17259. - (eval "$ac_link") 2>conftest.er1
  17260. - ac_status=$?
  17261. - grep -v '^ *+' conftest.er1 >conftest.err
  17262. - rm -f conftest.er1
  17263. - cat conftest.err >&5
  17264. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17265. - (exit $ac_status); } && {
  17266. - test -z "$ac_c_werror_flag" ||
  17267. - test ! -s conftest.err
  17268. - } && test -s conftest$ac_exeext && {
  17269. - test "$cross_compiling" = yes ||
  17270. - $as_test_x conftest$ac_exeext
  17271. - }; then
  17272. - ac_cv_lib_dl_dlopen=yes
  17273. -else
  17274. - $as_echo "$as_me: failed program was:" >&5
  17275. -sed 's/^/| /' conftest.$ac_ext >&5
  17276. -
  17277. - ac_cv_lib_dl_dlopen=no
  17278. -fi
  17279. -
  17280. -rm -rf conftest.dSYM
  17281. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17282. - conftest$ac_exeext conftest.$ac_ext
  17283. -LIBS=$ac_check_lib_save_LIBS
  17284. -fi
  17285. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  17286. -$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  17287. -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
  17288. - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  17289. -else
  17290. - { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
  17291. -$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  17292. -if test "${ac_cv_lib_svld_dlopen+set}" = set; then
  17293. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  17294. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  17295. +if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
  17296. $as_echo_n "(cached) " >&6
  17297. else
  17298. ac_check_lib_save_LIBS=$LIBS
  17299. LIBS="-lsvld $LIBS"
  17300. -cat >conftest.$ac_ext <<_ACEOF
  17301. -/* confdefs.h. */
  17302. -_ACEOF
  17303. -cat confdefs.h >>conftest.$ac_ext
  17304. -cat >>conftest.$ac_ext <<_ACEOF
  17305. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17306. /* end confdefs.h. */
  17307. /* Override any GCC internal prototype to avoid an error.
  17308. @@ -11698,57 +11548,28 @@
  17309. return 0;
  17310. }
  17311. _ACEOF
  17312. -rm -f conftest.$ac_objext conftest$ac_exeext
  17313. -if { (ac_try="$ac_link"
  17314. -case "(($ac_try" in
  17315. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17316. - *) ac_try_echo=$ac_try;;
  17317. -esac
  17318. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17319. -$as_echo "$ac_try_echo") >&5
  17320. - (eval "$ac_link") 2>conftest.er1
  17321. - ac_status=$?
  17322. - grep -v '^ *+' conftest.er1 >conftest.err
  17323. - rm -f conftest.er1
  17324. - cat conftest.err >&5
  17325. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17326. - (exit $ac_status); } && {
  17327. - test -z "$ac_c_werror_flag" ||
  17328. - test ! -s conftest.err
  17329. - } && test -s conftest$ac_exeext && {
  17330. - test "$cross_compiling" = yes ||
  17331. - $as_test_x conftest$ac_exeext
  17332. - }; then
  17333. +if ac_fn_c_try_link "$LINENO"; then :
  17334. ac_cv_lib_svld_dlopen=yes
  17335. else
  17336. - $as_echo "$as_me: failed program was:" >&5
  17337. -sed 's/^/| /' conftest.$ac_ext >&5
  17338. -
  17339. - ac_cv_lib_svld_dlopen=no
  17340. + ac_cv_lib_svld_dlopen=no
  17341. fi
  17342. -
  17343. -rm -rf conftest.dSYM
  17344. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17345. - conftest$ac_exeext conftest.$ac_ext
  17346. +rm -f core conftest.err conftest.$ac_objext \
  17347. + conftest$ac_exeext conftest.$ac_ext
  17348. LIBS=$ac_check_lib_save_LIBS
  17349. fi
  17350. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  17351. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  17352. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  17353. -if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
  17354. +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
  17355. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  17356. else
  17357. - { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
  17358. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  17359. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  17360. -if test "${ac_cv_lib_dld_dld_link+set}" = set; then
  17361. +if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
  17362. $as_echo_n "(cached) " >&6
  17363. else
  17364. ac_check_lib_save_LIBS=$LIBS
  17365. LIBS="-ldld $LIBS"
  17366. -cat >conftest.$ac_ext <<_ACEOF
  17367. -/* confdefs.h. */
  17368. -_ACEOF
  17369. -cat confdefs.h >>conftest.$ac_ext
  17370. -cat >>conftest.$ac_ext <<_ACEOF
  17371. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17372. /* end confdefs.h. */
  17373. /* Override any GCC internal prototype to avoid an error.
  17374. @@ -11766,43 +11587,18 @@
  17375. return 0;
  17376. }
  17377. _ACEOF
  17378. -rm -f conftest.$ac_objext conftest$ac_exeext
  17379. -if { (ac_try="$ac_link"
  17380. -case "(($ac_try" in
  17381. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17382. - *) ac_try_echo=$ac_try;;
  17383. -esac
  17384. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17385. -$as_echo "$ac_try_echo") >&5
  17386. - (eval "$ac_link") 2>conftest.er1
  17387. - ac_status=$?
  17388. - grep -v '^ *+' conftest.er1 >conftest.err
  17389. - rm -f conftest.er1
  17390. - cat conftest.err >&5
  17391. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17392. - (exit $ac_status); } && {
  17393. - test -z "$ac_c_werror_flag" ||
  17394. - test ! -s conftest.err
  17395. - } && test -s conftest$ac_exeext && {
  17396. - test "$cross_compiling" = yes ||
  17397. - $as_test_x conftest$ac_exeext
  17398. - }; then
  17399. +if ac_fn_c_try_link "$LINENO"; then :
  17400. ac_cv_lib_dld_dld_link=yes
  17401. else
  17402. - $as_echo "$as_me: failed program was:" >&5
  17403. -sed 's/^/| /' conftest.$ac_ext >&5
  17404. -
  17405. - ac_cv_lib_dld_dld_link=no
  17406. + ac_cv_lib_dld_dld_link=no
  17407. fi
  17408. -
  17409. -rm -rf conftest.dSYM
  17410. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17411. - conftest$ac_exeext conftest.$ac_ext
  17412. +rm -f core conftest.err conftest.$ac_objext \
  17413. + conftest$ac_exeext conftest.$ac_ext
  17414. LIBS=$ac_check_lib_save_LIBS
  17415. fi
  17416. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  17417. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  17418. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  17419. -if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
  17420. +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
  17421. lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  17422. fi
  17423. @@ -11841,9 +11637,9 @@
  17424. save_LIBS="$LIBS"
  17425. LIBS="$lt_cv_dlopen_libs $LIBS"
  17426. - { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
  17427. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  17428. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  17429. -if test "${lt_cv_dlopen_self+set}" = set; then
  17430. +if test "${lt_cv_dlopen_self+set}" = set; then :
  17431. $as_echo_n "(cached) " >&6
  17432. else
  17433. if test "$cross_compiling" = yes; then :
  17434. @@ -11852,7 +11648,7 @@
  17435. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  17436. lt_status=$lt_dlunknown
  17437. cat > conftest.$ac_ext <<_LT_EOF
  17438. -#line 11855 "configure"
  17439. +#line $LINENO "configure"
  17440. #include "confdefs.h"
  17441. #if HAVE_DLFCN_H
  17442. @@ -11893,7 +11689,13 @@
  17443. # endif
  17444. #endif
  17445. -void fnord() { int i=42;}
  17446. +/* When -fvisbility=hidden is used, assume the code has been annotated
  17447. + correspondingly for the symbols needed. */
  17448. +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  17449. +int fnord () __attribute__((visibility("default")));
  17450. +#endif
  17451. +
  17452. +int fnord () { return 42; }
  17453. int main ()
  17454. {
  17455. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  17456. @@ -11902,7 +11704,11 @@
  17457. if (self)
  17458. {
  17459. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  17460. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  17461. + else
  17462. + {
  17463. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  17464. + else puts (dlerror ());
  17465. + }
  17466. /* dlclose (self); */
  17467. }
  17468. else
  17469. @@ -11911,11 +11717,11 @@
  17470. return status;
  17471. }
  17472. _LT_EOF
  17473. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  17474. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  17475. (eval $ac_link) 2>&5
  17476. ac_status=$?
  17477. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17478. - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  17479. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17480. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  17481. (./conftest; exit; ) >&5 2>/dev/null
  17482. lt_status=$?
  17483. case x$lt_status in
  17484. @@ -11932,14 +11738,14 @@
  17485. fi
  17486. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
  17487. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  17488. $as_echo "$lt_cv_dlopen_self" >&6; }
  17489. if test "x$lt_cv_dlopen_self" = xyes; then
  17490. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  17491. - { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
  17492. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  17493. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  17494. -if test "${lt_cv_dlopen_self_static+set}" = set; then
  17495. +if test "${lt_cv_dlopen_self_static+set}" = set; then :
  17496. $as_echo_n "(cached) " >&6
  17497. else
  17498. if test "$cross_compiling" = yes; then :
  17499. @@ -11948,7 +11754,7 @@
  17500. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  17501. lt_status=$lt_dlunknown
  17502. cat > conftest.$ac_ext <<_LT_EOF
  17503. -#line 11951 "configure"
  17504. +#line $LINENO "configure"
  17505. #include "confdefs.h"
  17506. #if HAVE_DLFCN_H
  17507. @@ -11989,7 +11795,13 @@
  17508. # endif
  17509. #endif
  17510. -void fnord() { int i=42;}
  17511. +/* When -fvisbility=hidden is used, assume the code has been annotated
  17512. + correspondingly for the symbols needed. */
  17513. +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  17514. +int fnord () __attribute__((visibility("default")));
  17515. +#endif
  17516. +
  17517. +int fnord () { return 42; }
  17518. int main ()
  17519. {
  17520. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  17521. @@ -11998,7 +11810,11 @@
  17522. if (self)
  17523. {
  17524. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  17525. - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  17526. + else
  17527. + {
  17528. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  17529. + else puts (dlerror ());
  17530. + }
  17531. /* dlclose (self); */
  17532. }
  17533. else
  17534. @@ -12007,11 +11823,11 @@
  17535. return status;
  17536. }
  17537. _LT_EOF
  17538. - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  17539. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  17540. (eval $ac_link) 2>&5
  17541. ac_status=$?
  17542. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17543. - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  17544. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17545. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  17546. (./conftest; exit; ) >&5 2>/dev/null
  17547. lt_status=$?
  17548. case x$lt_status in
  17549. @@ -12028,7 +11844,7 @@
  17550. fi
  17551. -{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
  17552. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  17553. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  17554. fi
  17555. @@ -12067,12 +11883,12 @@
  17556. striplib=
  17557. old_striplib=
  17558. -{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
  17559. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  17560. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  17561. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  17562. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  17563. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  17564. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  17565. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17566. $as_echo "yes" >&6; }
  17567. else
  17568. # FIXME - insert some real tests, host_os isn't really good enough
  17569. @@ -12081,15 +11897,15 @@
  17570. if test -n "$STRIP" ; then
  17571. striplib="$STRIP -x"
  17572. old_striplib="$STRIP -S"
  17573. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  17574. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17575. $as_echo "yes" >&6; }
  17576. else
  17577. - { $as_echo "$as_me:$LINENO: result: no" >&5
  17578. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17579. $as_echo "no" >&6; }
  17580. fi
  17581. ;;
  17582. *)
  17583. - { $as_echo "$as_me:$LINENO: result: no" >&5
  17584. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17585. $as_echo "no" >&6; }
  17586. ;;
  17587. esac
  17588. @@ -12107,12 +11923,12 @@
  17589. # Report which library types will actually be built
  17590. - { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
  17591. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  17592. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  17593. - { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
  17594. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  17595. $as_echo "$can_build_shared" >&6; }
  17596. - { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
  17597. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  17598. $as_echo_n "checking whether to build shared libraries... " >&6; }
  17599. test "$can_build_shared" = "no" && enable_shared=no
  17600. @@ -12133,14 +11949,14 @@
  17601. fi
  17602. ;;
  17603. esac
  17604. - { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
  17605. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  17606. $as_echo "$enable_shared" >&6; }
  17607. - { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
  17608. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  17609. $as_echo_n "checking whether to build static libraries... " >&6; }
  17610. # Make sure either enable_shared or enable_static is yes.
  17611. test "$enable_shared" = yes || enable_static=yes
  17612. - { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
  17613. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  17614. $as_echo "$enable_static" >&6; }
  17615. @@ -12179,18 +11995,16 @@
  17616. # Supposedly this helps OS X compiling
  17617. -cat >>confdefs.h <<\_ACEOF
  17618. -#define _DARWIN_C_SOURCE 1
  17619. -_ACEOF
  17620. +$as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h
  17621. HAVE_DEBIAN="false"
  17622. -{ $as_echo "$as_me:$LINENO: checking if debian-system is used" >&5
  17623. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if debian-system is used" >&5
  17624. $as_echo_n "checking if debian-system is used... " >&6; }
  17625. # Check whether --enable-debian was given.
  17626. -if test "${enable_debian+set}" = set; then
  17627. +if test "${enable_debian+set}" = set; then :
  17628. enableval=$enable_debian;
  17629. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  17630. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  17631. $as_echo "$enableval" >&6; }
  17632. if test "$enableval" = "yes" ; then
  17633. HAVE_DEBIAN="true"
  17634. @@ -12198,7 +12012,7 @@
  17635. else
  17636. - { $as_echo "$as_me:$LINENO: result: no (default)" >&5
  17637. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5
  17638. $as_echo "no (default)" >&6; }
  17639. fi
  17640. @@ -12217,22 +12031,22 @@
  17641. HAVE_DARWIN="false"
  17642. HAVE_CYGWIN="false"
  17643. -{ $as_echo "$as_me:$LINENO: checking for special host" >&5
  17644. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special host" >&5
  17645. $as_echo_n "checking for special host... " >&6; }
  17646. case "$host" in
  17647. *-*-cygwin*)
  17648. HAVE_CYGWIN="true"
  17649. CFLAGS="$CFLAGS -mwin32 -g"
  17650. - { $as_echo "$as_me:$LINENO: result: Cygwin" >&5
  17651. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cygwin" >&5
  17652. $as_echo "Cygwin" >&6; }
  17653. ;;
  17654. *-darwin*)
  17655. HAVE_DARWIN="true"
  17656. - { $as_echo "$as_me:$LINENO: result: Darwin" >&5
  17657. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5
  17658. $as_echo "Darwin" >&6; }
  17659. ;;
  17660. *)
  17661. - { $as_echo "$as_me:$LINENO: result: Other host" >&5
  17662. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Other host" >&5
  17663. $as_echo "Other host" >&6; }
  17664. ;;
  17665. esac
  17666. @@ -12280,22 +12094,15 @@
  17667. if test "$cross_compiling" != yes; then
  17668. -{ $as_echo "$as_me:$LINENO: checking if compiler supports nested functions" >&5
  17669. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports nested functions" >&5
  17670. $as_echo_n "checking if compiler supports nested functions... " >&6; }
  17671. -if test "$cross_compiling" = yes; then
  17672. - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  17673. +if test "$cross_compiling" = yes; then :
  17674. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  17675. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  17676. -{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  17677. -See \`config.log' for more details." >&5
  17678. -$as_echo "$as_me: error: cannot run test program while cross compiling
  17679. -See \`config.log' for more details." >&2;}
  17680. - { (exit 1); exit 1; }; }; }
  17681. +as_fn_error "cannot run test program while cross compiling
  17682. +See \`config.log' for more details." "$LINENO" 5; }
  17683. else
  17684. - cat >conftest.$ac_ext <<_ACEOF
  17685. -/* confdefs.h. */
  17686. -_ACEOF
  17687. -cat confdefs.h >>conftest.$ac_ext
  17688. -cat >>conftest.$ac_ext <<_ACEOF
  17689. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17690. /* end confdefs.h. */
  17691. f(void (*nested)())
  17692. @@ -12317,48 +12124,21 @@
  17693. }
  17694. _ACEOF
  17695. -rm -f conftest$ac_exeext
  17696. -if { (ac_try="$ac_link"
  17697. -case "(($ac_try" in
  17698. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17699. - *) ac_try_echo=$ac_try;;
  17700. -esac
  17701. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17702. -$as_echo "$ac_try_echo") >&5
  17703. - (eval "$ac_link") 2>&5
  17704. - ac_status=$?
  17705. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17706. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  17707. - { (case "(($ac_try" in
  17708. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17709. - *) ac_try_echo=$ac_try;;
  17710. -esac
  17711. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17712. -$as_echo "$ac_try_echo") >&5
  17713. - (eval "$ac_try") 2>&5
  17714. - ac_status=$?
  17715. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17716. - (exit $ac_status); }; }; then
  17717. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  17718. +if ac_fn_c_try_run "$LINENO"; then :
  17719. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17720. $as_echo "yes" >&6; }
  17721. else
  17722. - $as_echo "$as_me: program exited with status $ac_status" >&5
  17723. -$as_echo "$as_me: failed program was:" >&5
  17724. -sed 's/^/| /' conftest.$ac_ext >&5
  17725. -
  17726. -( exit $ac_status )
  17727. -{ $as_echo "$as_me:$LINENO: result: no" >&5
  17728. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17729. $as_echo "no" >&6; }
  17730. CFLAGS="$CFLAGS -DNO_NESTED_FUNCTIONS"
  17731. fi
  17732. -rm -rf conftest.dSYM
  17733. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  17734. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  17735. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  17736. fi
  17737. -
  17738. fi
  17739. OWFSROOT="`pwd`"
  17740. @@ -12368,24 +12148,15 @@
  17741. # Checks for header files.
  17742. -
  17743. -
  17744. -
  17745. -
  17746. -
  17747. ac_header_dirent=no
  17748. for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  17749. as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  17750. -{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
  17751. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
  17752. $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
  17753. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  17754. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
  17755. $as_echo_n "(cached) " >&6
  17756. else
  17757. - cat >conftest.$ac_ext <<_ACEOF
  17758. -/* confdefs.h. */
  17759. -_ACEOF
  17760. -cat confdefs.h >>conftest.$ac_ext
  17761. -cat >>conftest.$ac_ext <<_ACEOF
  17762. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17763. /* end confdefs.h. */
  17764. #include <sys/types.h>
  17765. #include <$ac_hdr>
  17766. @@ -12399,41 +12170,18 @@
  17767. return 0;
  17768. }
  17769. _ACEOF
  17770. -rm -f conftest.$ac_objext
  17771. -if { (ac_try="$ac_compile"
  17772. -case "(($ac_try" in
  17773. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17774. - *) ac_try_echo=$ac_try;;
  17775. -esac
  17776. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17777. -$as_echo "$ac_try_echo") >&5
  17778. - (eval "$ac_compile") 2>conftest.er1
  17779. - ac_status=$?
  17780. - grep -v '^ *+' conftest.er1 >conftest.err
  17781. - rm -f conftest.er1
  17782. - cat conftest.err >&5
  17783. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17784. - (exit $ac_status); } && {
  17785. - test -z "$ac_c_werror_flag" ||
  17786. - test ! -s conftest.err
  17787. - } && test -s conftest.$ac_objext; then
  17788. +if ac_fn_c_try_compile "$LINENO"; then :
  17789. eval "$as_ac_Header=yes"
  17790. else
  17791. - $as_echo "$as_me: failed program was:" >&5
  17792. -sed 's/^/| /' conftest.$ac_ext >&5
  17793. -
  17794. - eval "$as_ac_Header=no"
  17795. + eval "$as_ac_Header=no"
  17796. fi
  17797. -
  17798. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17799. fi
  17800. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  17801. - $as_echo "$as_val"'`
  17802. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  17803. +eval ac_res=\$$as_ac_Header
  17804. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  17805. $as_echo "$ac_res" >&6; }
  17806. -as_val=`eval 'as_val=${'$as_ac_Header'}
  17807. - $as_echo "$as_val"'`
  17808. - if test "x$as_val" = x""yes; then
  17809. +eval as_val=\$$as_ac_Header
  17810. + if test "x$as_val" = x""yes; then :
  17811. cat >>confdefs.h <<_ACEOF
  17812. #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  17813. _ACEOF
  17814. @@ -12444,17 +12192,13 @@
  17815. done
  17816. # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  17817. if test $ac_header_dirent = dirent.h; then
  17818. - { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
  17819. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
  17820. $as_echo_n "checking for library containing opendir... " >&6; }
  17821. -if test "${ac_cv_search_opendir+set}" = set; then
  17822. +if test "${ac_cv_search_opendir+set}" = set; then :
  17823. $as_echo_n "(cached) " >&6
  17824. else
  17825. ac_func_search_save_LIBS=$LIBS
  17826. -cat >conftest.$ac_ext <<_ACEOF
  17827. -/* confdefs.h. */
  17828. -_ACEOF
  17829. -cat confdefs.h >>conftest.$ac_ext
  17830. -cat >>conftest.$ac_ext <<_ACEOF
  17831. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17832. /* end confdefs.h. */
  17833. /* Override any GCC internal prototype to avoid an error.
  17834. @@ -12479,70 +12223,39 @@
  17835. ac_res=-l$ac_lib
  17836. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  17837. fi
  17838. - rm -f conftest.$ac_objext conftest$ac_exeext
  17839. -if { (ac_try="$ac_link"
  17840. -case "(($ac_try" in
  17841. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17842. - *) ac_try_echo=$ac_try;;
  17843. -esac
  17844. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17845. -$as_echo "$ac_try_echo") >&5
  17846. - (eval "$ac_link") 2>conftest.er1
  17847. - ac_status=$?
  17848. - grep -v '^ *+' conftest.er1 >conftest.err
  17849. - rm -f conftest.er1
  17850. - cat conftest.err >&5
  17851. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17852. - (exit $ac_status); } && {
  17853. - test -z "$ac_c_werror_flag" ||
  17854. - test ! -s conftest.err
  17855. - } && test -s conftest$ac_exeext && {
  17856. - test "$cross_compiling" = yes ||
  17857. - $as_test_x conftest$ac_exeext
  17858. - }; then
  17859. + if ac_fn_c_try_link "$LINENO"; then :
  17860. ac_cv_search_opendir=$ac_res
  17861. -else
  17862. - $as_echo "$as_me: failed program was:" >&5
  17863. -sed 's/^/| /' conftest.$ac_ext >&5
  17864. -
  17865. -
  17866. fi
  17867. -
  17868. -rm -rf conftest.dSYM
  17869. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17870. - conftest$ac_exeext
  17871. - if test "${ac_cv_search_opendir+set}" = set; then
  17872. +rm -f core conftest.err conftest.$ac_objext \
  17873. + conftest$ac_exeext
  17874. + if test "${ac_cv_search_opendir+set}" = set; then :
  17875. break
  17876. fi
  17877. done
  17878. -if test "${ac_cv_search_opendir+set}" = set; then
  17879. - :
  17880. +if test "${ac_cv_search_opendir+set}" = set; then :
  17881. +
  17882. else
  17883. ac_cv_search_opendir=no
  17884. fi
  17885. rm conftest.$ac_ext
  17886. LIBS=$ac_func_search_save_LIBS
  17887. fi
  17888. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  17889. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
  17890. $as_echo "$ac_cv_search_opendir" >&6; }
  17891. ac_res=$ac_cv_search_opendir
  17892. -if test "$ac_res" != no; then
  17893. +if test "$ac_res" != no; then :
  17894. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  17895. fi
  17896. else
  17897. - { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
  17898. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
  17899. $as_echo_n "checking for library containing opendir... " >&6; }
  17900. -if test "${ac_cv_search_opendir+set}" = set; then
  17901. +if test "${ac_cv_search_opendir+set}" = set; then :
  17902. $as_echo_n "(cached) " >&6
  17903. else
  17904. ac_func_search_save_LIBS=$LIBS
  17905. -cat >conftest.$ac_ext <<_ACEOF
  17906. -/* confdefs.h. */
  17907. -_ACEOF
  17908. -cat confdefs.h >>conftest.$ac_ext
  17909. -cat >>conftest.$ac_ext <<_ACEOF
  17910. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17911. /* end confdefs.h. */
  17912. /* Override any GCC internal prototype to avoid an error.
  17913. @@ -12567,70 +12280,39 @@
  17914. ac_res=-l$ac_lib
  17915. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  17916. fi
  17917. - rm -f conftest.$ac_objext conftest$ac_exeext
  17918. -if { (ac_try="$ac_link"
  17919. -case "(($ac_try" in
  17920. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17921. - *) ac_try_echo=$ac_try;;
  17922. -esac
  17923. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17924. -$as_echo "$ac_try_echo") >&5
  17925. - (eval "$ac_link") 2>conftest.er1
  17926. - ac_status=$?
  17927. - grep -v '^ *+' conftest.er1 >conftest.err
  17928. - rm -f conftest.er1
  17929. - cat conftest.err >&5
  17930. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17931. - (exit $ac_status); } && {
  17932. - test -z "$ac_c_werror_flag" ||
  17933. - test ! -s conftest.err
  17934. - } && test -s conftest$ac_exeext && {
  17935. - test "$cross_compiling" = yes ||
  17936. - $as_test_x conftest$ac_exeext
  17937. - }; then
  17938. + if ac_fn_c_try_link "$LINENO"; then :
  17939. ac_cv_search_opendir=$ac_res
  17940. -else
  17941. - $as_echo "$as_me: failed program was:" >&5
  17942. -sed 's/^/| /' conftest.$ac_ext >&5
  17943. -
  17944. -
  17945. fi
  17946. -
  17947. -rm -rf conftest.dSYM
  17948. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17949. - conftest$ac_exeext
  17950. - if test "${ac_cv_search_opendir+set}" = set; then
  17951. +rm -f core conftest.err conftest.$ac_objext \
  17952. + conftest$ac_exeext
  17953. + if test "${ac_cv_search_opendir+set}" = set; then :
  17954. break
  17955. fi
  17956. done
  17957. -if test "${ac_cv_search_opendir+set}" = set; then
  17958. - :
  17959. +if test "${ac_cv_search_opendir+set}" = set; then :
  17960. +
  17961. else
  17962. ac_cv_search_opendir=no
  17963. fi
  17964. rm conftest.$ac_ext
  17965. LIBS=$ac_func_search_save_LIBS
  17966. fi
  17967. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  17968. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
  17969. $as_echo "$ac_cv_search_opendir" >&6; }
  17970. ac_res=$ac_cv_search_opendir
  17971. -if test "$ac_res" != no; then
  17972. +if test "$ac_res" != no; then :
  17973. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  17974. fi
  17975. fi
  17976. -{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  17977. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  17978. $as_echo_n "checking for ANSI C header files... " >&6; }
  17979. -if test "${ac_cv_header_stdc+set}" = set; then
  17980. +if test "${ac_cv_header_stdc+set}" = set; then :
  17981. $as_echo_n "(cached) " >&6
  17982. else
  17983. - cat >conftest.$ac_ext <<_ACEOF
  17984. -/* confdefs.h. */
  17985. -_ACEOF
  17986. -cat confdefs.h >>conftest.$ac_ext
  17987. -cat >>conftest.$ac_ext <<_ACEOF
  17988. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17989. /* end confdefs.h. */
  17990. #include <stdlib.h>
  17991. #include <stdarg.h>
  17992. @@ -12645,48 +12327,23 @@
  17993. return 0;
  17994. }
  17995. _ACEOF
  17996. -rm -f conftest.$ac_objext
  17997. -if { (ac_try="$ac_compile"
  17998. -case "(($ac_try" in
  17999. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18000. - *) ac_try_echo=$ac_try;;
  18001. -esac
  18002. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18003. -$as_echo "$ac_try_echo") >&5
  18004. - (eval "$ac_compile") 2>conftest.er1
  18005. - ac_status=$?
  18006. - grep -v '^ *+' conftest.er1 >conftest.err
  18007. - rm -f conftest.er1
  18008. - cat conftest.err >&5
  18009. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18010. - (exit $ac_status); } && {
  18011. - test -z "$ac_c_werror_flag" ||
  18012. - test ! -s conftest.err
  18013. - } && test -s conftest.$ac_objext; then
  18014. +if ac_fn_c_try_compile "$LINENO"; then :
  18015. ac_cv_header_stdc=yes
  18016. else
  18017. - $as_echo "$as_me: failed program was:" >&5
  18018. -sed 's/^/| /' conftest.$ac_ext >&5
  18019. -
  18020. - ac_cv_header_stdc=no
  18021. + ac_cv_header_stdc=no
  18022. fi
  18023. -
  18024. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18025. if test $ac_cv_header_stdc = yes; then
  18026. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  18027. - cat >conftest.$ac_ext <<_ACEOF
  18028. -/* confdefs.h. */
  18029. -_ACEOF
  18030. -cat confdefs.h >>conftest.$ac_ext
  18031. -cat >>conftest.$ac_ext <<_ACEOF
  18032. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18033. /* end confdefs.h. */
  18034. #include <string.h>
  18035. _ACEOF
  18036. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18037. - $EGREP "memchr" >/dev/null 2>&1; then
  18038. - :
  18039. + $EGREP "memchr" >/dev/null 2>&1; then :
  18040. +
  18041. else
  18042. ac_cv_header_stdc=no
  18043. fi
  18044. @@ -12696,18 +12353,14 @@
  18045. if test $ac_cv_header_stdc = yes; then
  18046. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  18047. - cat >conftest.$ac_ext <<_ACEOF
  18048. -/* confdefs.h. */
  18049. -_ACEOF
  18050. -cat confdefs.h >>conftest.$ac_ext
  18051. -cat >>conftest.$ac_ext <<_ACEOF
  18052. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18053. /* end confdefs.h. */
  18054. #include <stdlib.h>
  18055. _ACEOF
  18056. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18057. - $EGREP "free" >/dev/null 2>&1; then
  18058. - :
  18059. + $EGREP "free" >/dev/null 2>&1; then :
  18060. +
  18061. else
  18062. ac_cv_header_stdc=no
  18063. fi
  18064. @@ -12717,14 +12370,10 @@
  18065. if test $ac_cv_header_stdc = yes; then
  18066. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  18067. - if test "$cross_compiling" = yes; then
  18068. + if test "$cross_compiling" = yes; then :
  18069. :
  18070. else
  18071. - cat >conftest.$ac_ext <<_ACEOF
  18072. -/* confdefs.h. */
  18073. -_ACEOF
  18074. -cat confdefs.h >>conftest.$ac_ext
  18075. -cat >>conftest.$ac_ext <<_ACEOF
  18076. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18077. /* end confdefs.h. */
  18078. #include <ctype.h>
  18079. #include <stdlib.h>
  18080. @@ -12751,216 +12400,31 @@
  18081. return 0;
  18082. }
  18083. _ACEOF
  18084. -rm -f conftest$ac_exeext
  18085. -if { (ac_try="$ac_link"
  18086. -case "(($ac_try" in
  18087. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18088. - *) ac_try_echo=$ac_try;;
  18089. -esac
  18090. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18091. -$as_echo "$ac_try_echo") >&5
  18092. - (eval "$ac_link") 2>&5
  18093. - ac_status=$?
  18094. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18095. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  18096. - { (case "(($ac_try" in
  18097. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18098. - *) ac_try_echo=$ac_try;;
  18099. -esac
  18100. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18101. -$as_echo "$ac_try_echo") >&5
  18102. - (eval "$ac_try") 2>&5
  18103. - ac_status=$?
  18104. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18105. - (exit $ac_status); }; }; then
  18106. - :
  18107. -else
  18108. - $as_echo "$as_me: program exited with status $ac_status" >&5
  18109. -$as_echo "$as_me: failed program was:" >&5
  18110. -sed 's/^/| /' conftest.$ac_ext >&5
  18111. +if ac_fn_c_try_run "$LINENO"; then :
  18112. -( exit $ac_status )
  18113. -ac_cv_header_stdc=no
  18114. +else
  18115. + ac_cv_header_stdc=no
  18116. fi
  18117. -rm -rf conftest.dSYM
  18118. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  18119. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  18120. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  18121. fi
  18122. -
  18123. fi
  18124. fi
  18125. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  18126. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  18127. $as_echo "$ac_cv_header_stdc" >&6; }
  18128. if test $ac_cv_header_stdc = yes; then
  18129. -cat >>confdefs.h <<\_ACEOF
  18130. -#define STDC_HEADERS 1
  18131. -_ACEOF
  18132. +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  18133. fi
  18134. -
  18135. -
  18136. -
  18137. -
  18138. -
  18139. -
  18140. -
  18141. -
  18142. -
  18143. -
  18144. -
  18145. -
  18146. -
  18147. -
  18148. -
  18149. -
  18150. -
  18151. -
  18152. -
  18153. -
  18154. -
  18155. -
  18156. -
  18157. -
  18158. -
  18159. for ac_header in asm/types.h arpa/inet.h sys/ioctl.h sys/mkdev.h sys/socket.h sys/time.h sys/times.h sys/types.h sys/uio.h feature_tests.h fcntl.h netinet/in.h stdlib.h string.h strings.h sys/file.h syslog.h termios.h unistd.h limits.h stdint.h features.h getopt.h resolv.h semaphore.h
  18160. -do
  18161. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  18162. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  18163. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  18164. -$as_echo_n "checking for $ac_header... " >&6; }
  18165. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  18166. - $as_echo_n "(cached) " >&6
  18167. -fi
  18168. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  18169. - $as_echo "$as_val"'`
  18170. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  18171. -$as_echo "$ac_res" >&6; }
  18172. -else
  18173. - # Is the header compilable?
  18174. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  18175. -$as_echo_n "checking $ac_header usability... " >&6; }
  18176. -cat >conftest.$ac_ext <<_ACEOF
  18177. -/* confdefs.h. */
  18178. -_ACEOF
  18179. -cat confdefs.h >>conftest.$ac_ext
  18180. -cat >>conftest.$ac_ext <<_ACEOF
  18181. -/* end confdefs.h. */
  18182. -$ac_includes_default
  18183. -#include <$ac_header>
  18184. -_ACEOF
  18185. -rm -f conftest.$ac_objext
  18186. -if { (ac_try="$ac_compile"
  18187. -case "(($ac_try" in
  18188. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18189. - *) ac_try_echo=$ac_try;;
  18190. -esac
  18191. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18192. -$as_echo "$ac_try_echo") >&5
  18193. - (eval "$ac_compile") 2>conftest.er1
  18194. - ac_status=$?
  18195. - grep -v '^ *+' conftest.er1 >conftest.err
  18196. - rm -f conftest.er1
  18197. - cat conftest.err >&5
  18198. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18199. - (exit $ac_status); } && {
  18200. - test -z "$ac_c_werror_flag" ||
  18201. - test ! -s conftest.err
  18202. - } && test -s conftest.$ac_objext; then
  18203. - ac_header_compiler=yes
  18204. -else
  18205. - $as_echo "$as_me: failed program was:" >&5
  18206. -sed 's/^/| /' conftest.$ac_ext >&5
  18207. -
  18208. - ac_header_compiler=no
  18209. -fi
  18210. -
  18211. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18212. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  18213. -$as_echo "$ac_header_compiler" >&6; }
  18214. -
  18215. -# Is the header present?
  18216. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  18217. -$as_echo_n "checking $ac_header presence... " >&6; }
  18218. -cat >conftest.$ac_ext <<_ACEOF
  18219. -/* confdefs.h. */
  18220. -_ACEOF
  18221. -cat confdefs.h >>conftest.$ac_ext
  18222. -cat >>conftest.$ac_ext <<_ACEOF
  18223. -/* end confdefs.h. */
  18224. -#include <$ac_header>
  18225. -_ACEOF
  18226. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  18227. -case "(($ac_try" in
  18228. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18229. - *) ac_try_echo=$ac_try;;
  18230. -esac
  18231. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18232. -$as_echo "$ac_try_echo") >&5
  18233. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  18234. - ac_status=$?
  18235. - grep -v '^ *+' conftest.er1 >conftest.err
  18236. - rm -f conftest.er1
  18237. - cat conftest.err >&5
  18238. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18239. - (exit $ac_status); } >/dev/null && {
  18240. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  18241. - test ! -s conftest.err
  18242. - }; then
  18243. - ac_header_preproc=yes
  18244. -else
  18245. - $as_echo "$as_me: failed program was:" >&5
  18246. -sed 's/^/| /' conftest.$ac_ext >&5
  18247. -
  18248. - ac_header_preproc=no
  18249. -fi
  18250. -
  18251. -rm -f conftest.err conftest.$ac_ext
  18252. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  18253. -$as_echo "$ac_header_preproc" >&6; }
  18254. -
  18255. -# So? What about this header?
  18256. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  18257. - yes:no: )
  18258. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  18259. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  18260. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  18261. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  18262. - ac_header_preproc=yes
  18263. - ;;
  18264. - no:yes:* )
  18265. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  18266. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  18267. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  18268. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  18269. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  18270. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  18271. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  18272. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  18273. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  18274. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  18275. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  18276. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  18277. -
  18278. - ;;
  18279. -esac
  18280. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  18281. -$as_echo_n "checking for $ac_header... " >&6; }
  18282. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  18283. - $as_echo_n "(cached) " >&6
  18284. -else
  18285. - eval "$as_ac_Header=\$ac_header_preproc"
  18286. -fi
  18287. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  18288. - $as_echo "$as_val"'`
  18289. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  18290. -$as_echo "$ac_res" >&6; }
  18291. -
  18292. -fi
  18293. -as_val=`eval 'as_val=${'$as_ac_Header'}
  18294. - $as_echo "$as_val"'`
  18295. - if test "x$as_val" = x""yes; then
  18296. +do :
  18297. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  18298. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  18299. +eval as_val=\$$as_ac_Header
  18300. + if test "x$as_val" = x""yes; then :
  18301. cat >>confdefs.h <<_ACEOF
  18302. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  18303. _ACEOF
  18304. @@ -12969,147 +12433,12 @@
  18305. done
  18306. -
  18307. -
  18308. -
  18309. -
  18310. for ac_header in linux/limits.h linux/types.h netdb.h dlfcn.h
  18311. -do
  18312. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  18313. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  18314. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  18315. -$as_echo_n "checking for $ac_header... " >&6; }
  18316. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  18317. - $as_echo_n "(cached) " >&6
  18318. -fi
  18319. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  18320. - $as_echo "$as_val"'`
  18321. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  18322. -$as_echo "$ac_res" >&6; }
  18323. -else
  18324. - # Is the header compilable?
  18325. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  18326. -$as_echo_n "checking $ac_header usability... " >&6; }
  18327. -cat >conftest.$ac_ext <<_ACEOF
  18328. -/* confdefs.h. */
  18329. -_ACEOF
  18330. -cat confdefs.h >>conftest.$ac_ext
  18331. -cat >>conftest.$ac_ext <<_ACEOF
  18332. -/* end confdefs.h. */
  18333. -$ac_includes_default
  18334. -#include <$ac_header>
  18335. -_ACEOF
  18336. -rm -f conftest.$ac_objext
  18337. -if { (ac_try="$ac_compile"
  18338. -case "(($ac_try" in
  18339. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18340. - *) ac_try_echo=$ac_try;;
  18341. -esac
  18342. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18343. -$as_echo "$ac_try_echo") >&5
  18344. - (eval "$ac_compile") 2>conftest.er1
  18345. - ac_status=$?
  18346. - grep -v '^ *+' conftest.er1 >conftest.err
  18347. - rm -f conftest.er1
  18348. - cat conftest.err >&5
  18349. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18350. - (exit $ac_status); } && {
  18351. - test -z "$ac_c_werror_flag" ||
  18352. - test ! -s conftest.err
  18353. - } && test -s conftest.$ac_objext; then
  18354. - ac_header_compiler=yes
  18355. -else
  18356. - $as_echo "$as_me: failed program was:" >&5
  18357. -sed 's/^/| /' conftest.$ac_ext >&5
  18358. -
  18359. - ac_header_compiler=no
  18360. -fi
  18361. -
  18362. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18363. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  18364. -$as_echo "$ac_header_compiler" >&6; }
  18365. -
  18366. -# Is the header present?
  18367. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  18368. -$as_echo_n "checking $ac_header presence... " >&6; }
  18369. -cat >conftest.$ac_ext <<_ACEOF
  18370. -/* confdefs.h. */
  18371. -_ACEOF
  18372. -cat confdefs.h >>conftest.$ac_ext
  18373. -cat >>conftest.$ac_ext <<_ACEOF
  18374. -/* end confdefs.h. */
  18375. -#include <$ac_header>
  18376. -_ACEOF
  18377. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  18378. -case "(($ac_try" in
  18379. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18380. - *) ac_try_echo=$ac_try;;
  18381. -esac
  18382. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18383. -$as_echo "$ac_try_echo") >&5
  18384. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  18385. - ac_status=$?
  18386. - grep -v '^ *+' conftest.er1 >conftest.err
  18387. - rm -f conftest.er1
  18388. - cat conftest.err >&5
  18389. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18390. - (exit $ac_status); } >/dev/null && {
  18391. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  18392. - test ! -s conftest.err
  18393. - }; then
  18394. - ac_header_preproc=yes
  18395. -else
  18396. - $as_echo "$as_me: failed program was:" >&5
  18397. -sed 's/^/| /' conftest.$ac_ext >&5
  18398. -
  18399. - ac_header_preproc=no
  18400. -fi
  18401. -
  18402. -rm -f conftest.err conftest.$ac_ext
  18403. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  18404. -$as_echo "$ac_header_preproc" >&6; }
  18405. -
  18406. -# So? What about this header?
  18407. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  18408. - yes:no: )
  18409. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  18410. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  18411. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  18412. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  18413. - ac_header_preproc=yes
  18414. - ;;
  18415. - no:yes:* )
  18416. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  18417. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  18418. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  18419. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  18420. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  18421. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  18422. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  18423. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  18424. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  18425. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  18426. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  18427. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  18428. -
  18429. - ;;
  18430. -esac
  18431. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  18432. -$as_echo_n "checking for $ac_header... " >&6; }
  18433. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  18434. - $as_echo_n "(cached) " >&6
  18435. -else
  18436. - eval "$as_ac_Header=\$ac_header_preproc"
  18437. -fi
  18438. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  18439. - $as_echo "$as_val"'`
  18440. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  18441. -$as_echo "$ac_res" >&6; }
  18442. -
  18443. -fi
  18444. -as_val=`eval 'as_val=${'$as_ac_Header'}
  18445. - $as_echo "$as_val"'`
  18446. - if test "x$as_val" = x""yes; then
  18447. +do :
  18448. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  18449. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  18450. +eval as_val=\$$as_ac_Header
  18451. + if test "x$as_val" = x""yes; then :
  18452. cat >>confdefs.h <<_ACEOF
  18453. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  18454. _ACEOF
  18455. @@ -13121,12 +12450,12 @@
  18456. # Test if debugging out enabled
  18457. ENABLE_DEBUG="true"
  18458. -{ $as_echo "$as_me:$LINENO: checking if debug-output is enabled" >&5
  18459. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if debug-output is enabled" >&5
  18460. $as_echo_n "checking if debug-output is enabled... " >&6; }
  18461. # Check whether --enable-debug was given.
  18462. -if test "${enable_debug+set}" = set; then
  18463. +if test "${enable_debug+set}" = set; then :
  18464. enableval=$enable_debug;
  18465. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  18466. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  18467. $as_echo "$enableval" >&6; }
  18468. if ! test "$enableval" = "yes" ; then
  18469. ENABLE_DEBUG="false"
  18470. @@ -13134,7 +12463,7 @@
  18471. else
  18472. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  18473. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  18474. $as_echo "yes (default)" >&6; }
  18475. fi
  18476. @@ -13151,12 +12480,12 @@
  18477. # Test if OWSHELL should be supported
  18478. ENABLE_OWSHELL="true"
  18479. -{ $as_echo "$as_me:$LINENO: checking if OWSHELL support is enabled" >&5
  18480. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if OWSHELL support is enabled" >&5
  18481. $as_echo_n "checking if OWSHELL support is enabled... " >&6; }
  18482. # Check whether --enable-owshell was given.
  18483. -if test "${enable_owshell+set}" = set; then
  18484. +if test "${enable_owshell+set}" = set; then :
  18485. enableval=$enable_owshell;
  18486. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  18487. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  18488. $as_echo "$enableval" >&6; }
  18489. if ! test "$enableval" = "yes" ; then
  18490. ENABLE_OWSHELL="false"
  18491. @@ -13164,7 +12493,7 @@
  18492. else
  18493. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  18494. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  18495. $as_echo "yes (default)" >&6; }
  18496. fi
  18497. @@ -13181,12 +12510,12 @@
  18498. # Test if OWLIB should be supported
  18499. ENABLE_OWLIB="true"
  18500. -{ $as_echo "$as_me:$LINENO: checking if OWLIB support is enabled" >&5
  18501. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if OWLIB support is enabled" >&5
  18502. $as_echo_n "checking if OWLIB support is enabled... " >&6; }
  18503. # Check whether --enable-owlib was given.
  18504. -if test "${enable_owlib+set}" = set; then
  18505. +if test "${enable_owlib+set}" = set; then :
  18506. enableval=$enable_owlib;
  18507. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  18508. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  18509. $as_echo "$enableval" >&6; }
  18510. if ! test "$enableval" = "yes" ; then
  18511. ENABLE_OWLIB="false"
  18512. @@ -13194,7 +12523,7 @@
  18513. else
  18514. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  18515. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  18516. $as_echo "yes (default)" >&6; }
  18517. fi
  18518. @@ -13211,12 +12540,12 @@
  18519. # Test if OWNETLIB should be supported
  18520. ENABLE_OWNETLIB="true"
  18521. -{ $as_echo "$as_me:$LINENO: checking if OWNETLIB support is enabled" >&5
  18522. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if OWNETLIB support is enabled" >&5
  18523. $as_echo_n "checking if OWNETLIB support is enabled... " >&6; }
  18524. # Check whether --enable-ownetlib was given.
  18525. -if test "${enable_ownetlib+set}" = set; then
  18526. +if test "${enable_ownetlib+set}" = set; then :
  18527. enableval=$enable_ownetlib;
  18528. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  18529. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  18530. $as_echo "$enableval" >&6; }
  18531. if ! test "$enableval" = "yes" ; then
  18532. ENABLE_OWNETLIB="false"
  18533. @@ -13224,7 +12553,7 @@
  18534. else
  18535. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  18536. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  18537. $as_echo "yes (default)" >&6; }
  18538. fi
  18539. @@ -13241,12 +12570,12 @@
  18540. # Test if TAI8570 barometer should be supported
  18541. ENABLE_TAI8570="true"
  18542. -{ $as_echo "$as_me:$LINENO: checking if TAI8570 barometer support is enabled" >&5
  18543. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if TAI8570 barometer support is enabled" >&5
  18544. $as_echo_n "checking if TAI8570 barometer support is enabled... " >&6; }
  18545. # Check whether --enable-tai8570 was given.
  18546. -if test "${enable_tai8570+set}" = set; then
  18547. +if test "${enable_tai8570+set}" = set; then :
  18548. enableval=$enable_tai8570;
  18549. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  18550. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  18551. $as_echo "$enableval" >&6; }
  18552. if ! test "$enableval" = "yes" ; then
  18553. ENABLE_TAI8570="false"
  18554. @@ -13254,7 +12583,7 @@
  18555. else
  18556. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  18557. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  18558. $as_echo "yes (default)" >&6; }
  18559. fi
  18560. @@ -13271,12 +12600,12 @@
  18561. # Test if thermocouples should be supported
  18562. ENABLE_THERMOCOUPLE="true"
  18563. -{ $as_echo "$as_me:$LINENO: checking if thermocouple support is enabled" >&5
  18564. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if thermocouple support is enabled" >&5
  18565. $as_echo_n "checking if thermocouple support is enabled... " >&6; }
  18566. # Check whether --enable-thermocouple was given.
  18567. -if test "${enable_thermocouple+set}" = set; then
  18568. +if test "${enable_thermocouple+set}" = set; then :
  18569. enableval=$enable_thermocouple;
  18570. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  18571. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  18572. $as_echo "$enableval" >&6; }
  18573. if ! test "$enableval" = "yes" ; then
  18574. ENABLE_THERMOCOUPLE="false"
  18575. @@ -13284,7 +12613,7 @@
  18576. else
  18577. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  18578. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  18579. $as_echo "yes (default)" >&6; }
  18580. fi
  18581. @@ -13301,12 +12630,12 @@
  18582. # Check for multithreading
  18583. ENABLE_MT="true"
  18584. -{ $as_echo "$as_me:$LINENO: checking if multithreading is enabled" >&5
  18585. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if multithreading is enabled" >&5
  18586. $as_echo_n "checking if multithreading is enabled... " >&6; }
  18587. # Check whether --enable-mt was given.
  18588. -if test "${enable_mt+set}" = set; then
  18589. +if test "${enable_mt+set}" = set; then :
  18590. enableval=$enable_mt;
  18591. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  18592. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  18593. $as_echo "$enableval" >&6; }
  18594. if ! test "$enableval" = "yes" ; then
  18595. ENABLE_MT="false"
  18596. @@ -13314,7 +12643,7 @@
  18597. else
  18598. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  18599. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  18600. $as_echo "yes (default)" >&6; }
  18601. fi
  18602. @@ -13344,13 +12673,9 @@
  18603. CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
  18604. save_LIBS="$LIBS"
  18605. LIBS="$PTHREAD_LIBS $LIBS"
  18606. - { $as_echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
  18607. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
  18608. $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
  18609. - cat >conftest.$ac_ext <<_ACEOF
  18610. -/* confdefs.h. */
  18611. -_ACEOF
  18612. -cat confdefs.h >>conftest.$ac_ext
  18613. -cat >>conftest.$ac_ext <<_ACEOF
  18614. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18615. /* end confdefs.h. */
  18616. /* Override any GCC internal prototype to avoid an error.
  18617. @@ -13368,39 +12693,12 @@
  18618. return 0;
  18619. }
  18620. _ACEOF
  18621. -rm -f conftest.$ac_objext conftest$ac_exeext
  18622. -if { (ac_try="$ac_link"
  18623. -case "(($ac_try" in
  18624. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18625. - *) ac_try_echo=$ac_try;;
  18626. -esac
  18627. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18628. -$as_echo "$ac_try_echo") >&5
  18629. - (eval "$ac_link") 2>conftest.er1
  18630. - ac_status=$?
  18631. - grep -v '^ *+' conftest.er1 >conftest.err
  18632. - rm -f conftest.er1
  18633. - cat conftest.err >&5
  18634. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18635. - (exit $ac_status); } && {
  18636. - test -z "$ac_c_werror_flag" ||
  18637. - test ! -s conftest.err
  18638. - } && test -s conftest$ac_exeext && {
  18639. - test "$cross_compiling" = yes ||
  18640. - $as_test_x conftest$ac_exeext
  18641. - }; then
  18642. +if ac_fn_c_try_link "$LINENO"; then :
  18643. acx_pthread_ok=yes
  18644. -else
  18645. - $as_echo "$as_me: failed program was:" >&5
  18646. -sed 's/^/| /' conftest.$ac_ext >&5
  18647. -
  18648. -
  18649. fi
  18650. -
  18651. -rm -rf conftest.dSYM
  18652. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18653. - conftest$ac_exeext conftest.$ac_ext
  18654. - { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
  18655. +rm -f core conftest.err conftest.$ac_objext \
  18656. + conftest$ac_exeext conftest.$ac_ext
  18657. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
  18658. $as_echo "$acx_pthread_ok" >&6; }
  18659. if test x"$acx_pthread_ok" = xno; then
  18660. PTHREAD_LIBS=""
  18661. @@ -13462,12 +12760,12 @@
  18662. case $flag in
  18663. none)
  18664. - { $as_echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
  18665. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
  18666. $as_echo_n "checking whether pthreads work without any flags... " >&6; }
  18667. ;;
  18668. -*)
  18669. - { $as_echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
  18670. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
  18671. $as_echo_n "checking whether pthreads work with $flag... " >&6; }
  18672. PTHREAD_CFLAGS="$flag"
  18673. ;;
  18674. @@ -13475,9 +12773,9 @@
  18675. pthread-config)
  18676. # Extract the first word of "pthread-config", so it can be a program name with args.
  18677. set dummy pthread-config; ac_word=$2
  18678. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  18679. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  18680. $as_echo_n "checking for $ac_word... " >&6; }
  18681. -if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
  18682. +if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
  18683. $as_echo_n "(cached) " >&6
  18684. else
  18685. if test -n "$acx_pthread_config"; then
  18686. @@ -13488,14 +12786,14 @@
  18687. do
  18688. IFS=$as_save_IFS
  18689. test -z "$as_dir" && as_dir=.
  18690. - for ac_exec_ext in '' $ac_executable_extensions; do
  18691. + for ac_exec_ext in '' $ac_executable_extensions; do
  18692. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  18693. ac_cv_prog_acx_pthread_config="yes"
  18694. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  18695. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  18696. break 2
  18697. fi
  18698. done
  18699. -done
  18700. + done
  18701. IFS=$as_save_IFS
  18702. test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
  18703. @@ -13503,10 +12801,10 @@
  18704. fi
  18705. acx_pthread_config=$ac_cv_prog_acx_pthread_config
  18706. if test -n "$acx_pthread_config"; then
  18707. - { $as_echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
  18708. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
  18709. $as_echo "$acx_pthread_config" >&6; }
  18710. else
  18711. - { $as_echo "$as_me:$LINENO: result: no" >&5
  18712. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18713. $as_echo "no" >&6; }
  18714. fi
  18715. @@ -13517,7 +12815,7 @@
  18716. ;;
  18717. *)
  18718. - { $as_echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
  18719. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
  18720. $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
  18721. PTHREAD_LIBS="-l$flag"
  18722. ;;
  18723. @@ -13537,11 +12835,7 @@
  18724. # pthread_cleanup_push because it is one of the few pthread
  18725. # functions on Solaris that doesn't have a non-functional libc stub.
  18726. # We try pthread_create on general principles.
  18727. - cat >conftest.$ac_ext <<_ACEOF
  18728. -/* confdefs.h. */
  18729. -_ACEOF
  18730. -cat confdefs.h >>conftest.$ac_ext
  18731. -cat >>conftest.$ac_ext <<_ACEOF
  18732. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18733. /* end confdefs.h. */
  18734. #include <pthread.h>
  18735. int
  18736. @@ -13554,43 +12848,16 @@
  18737. return 0;
  18738. }
  18739. _ACEOF
  18740. -rm -f conftest.$ac_objext conftest$ac_exeext
  18741. -if { (ac_try="$ac_link"
  18742. -case "(($ac_try" in
  18743. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18744. - *) ac_try_echo=$ac_try;;
  18745. -esac
  18746. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18747. -$as_echo "$ac_try_echo") >&5
  18748. - (eval "$ac_link") 2>conftest.er1
  18749. - ac_status=$?
  18750. - grep -v '^ *+' conftest.er1 >conftest.err
  18751. - rm -f conftest.er1
  18752. - cat conftest.err >&5
  18753. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18754. - (exit $ac_status); } && {
  18755. - test -z "$ac_c_werror_flag" ||
  18756. - test ! -s conftest.err
  18757. - } && test -s conftest$ac_exeext && {
  18758. - test "$cross_compiling" = yes ||
  18759. - $as_test_x conftest$ac_exeext
  18760. - }; then
  18761. +if ac_fn_c_try_link "$LINENO"; then :
  18762. acx_pthread_ok=yes
  18763. -else
  18764. - $as_echo "$as_me: failed program was:" >&5
  18765. -sed 's/^/| /' conftest.$ac_ext >&5
  18766. -
  18767. -
  18768. fi
  18769. -
  18770. -rm -rf conftest.dSYM
  18771. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18772. - conftest$ac_exeext conftest.$ac_ext
  18773. +rm -f core conftest.err conftest.$ac_objext \
  18774. + conftest$ac_exeext conftest.$ac_ext
  18775. LIBS="$save_LIBS"
  18776. CFLAGS="$save_CFLAGS"
  18777. - { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
  18778. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
  18779. $as_echo "$acx_pthread_ok" >&6; }
  18780. if test "x$acx_pthread_ok" = xyes; then
  18781. break;
  18782. @@ -13609,15 +12876,11 @@
  18783. CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
  18784. # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
  18785. - { $as_echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
  18786. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
  18787. $as_echo_n "checking for joinable pthread attribute... " >&6; }
  18788. attr_name=unknown
  18789. for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
  18790. - cat >conftest.$ac_ext <<_ACEOF
  18791. -/* confdefs.h. */
  18792. -_ACEOF
  18793. -cat confdefs.h >>conftest.$ac_ext
  18794. -cat >>conftest.$ac_ext <<_ACEOF
  18795. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18796. /* end confdefs.h. */
  18797. #include <pthread.h>
  18798. int
  18799. @@ -13628,40 +12891,13 @@
  18800. return 0;
  18801. }
  18802. _ACEOF
  18803. -rm -f conftest.$ac_objext conftest$ac_exeext
  18804. -if { (ac_try="$ac_link"
  18805. -case "(($ac_try" in
  18806. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18807. - *) ac_try_echo=$ac_try;;
  18808. -esac
  18809. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18810. -$as_echo "$ac_try_echo") >&5
  18811. - (eval "$ac_link") 2>conftest.er1
  18812. - ac_status=$?
  18813. - grep -v '^ *+' conftest.er1 >conftest.err
  18814. - rm -f conftest.er1
  18815. - cat conftest.err >&5
  18816. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18817. - (exit $ac_status); } && {
  18818. - test -z "$ac_c_werror_flag" ||
  18819. - test ! -s conftest.err
  18820. - } && test -s conftest$ac_exeext && {
  18821. - test "$cross_compiling" = yes ||
  18822. - $as_test_x conftest$ac_exeext
  18823. - }; then
  18824. +if ac_fn_c_try_link "$LINENO"; then :
  18825. attr_name=$attr; break
  18826. -else
  18827. - $as_echo "$as_me: failed program was:" >&5
  18828. -sed 's/^/| /' conftest.$ac_ext >&5
  18829. -
  18830. -
  18831. fi
  18832. -
  18833. -rm -rf conftest.dSYM
  18834. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18835. - conftest$ac_exeext conftest.$ac_ext
  18836. +rm -f core conftest.err conftest.$ac_objext \
  18837. + conftest$ac_exeext conftest.$ac_ext
  18838. done
  18839. - { $as_echo "$as_me:$LINENO: result: $attr_name" >&5
  18840. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
  18841. $as_echo "$attr_name" >&6; }
  18842. if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
  18843. @@ -13671,14 +12907,14 @@
  18844. fi
  18845. - { $as_echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
  18846. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
  18847. $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
  18848. flag=no
  18849. case "${host_cpu}-${host_os}" in
  18850. *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
  18851. *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
  18852. esac
  18853. - { $as_echo "$as_me:$LINENO: result: ${flag}" >&5
  18854. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
  18855. $as_echo "${flag}" >&6; }
  18856. if test "x$flag" != xno; then
  18857. PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
  18858. @@ -13693,9 +12929,9 @@
  18859. do
  18860. # Extract the first word of "$ac_prog", so it can be a program name with args.
  18861. set dummy $ac_prog; ac_word=$2
  18862. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  18863. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  18864. $as_echo_n "checking for $ac_word... " >&6; }
  18865. -if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
  18866. +if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
  18867. $as_echo_n "(cached) " >&6
  18868. else
  18869. if test -n "$PTHREAD_CC"; then
  18870. @@ -13706,24 +12942,24 @@
  18871. do
  18872. IFS=$as_save_IFS
  18873. test -z "$as_dir" && as_dir=.
  18874. - for ac_exec_ext in '' $ac_executable_extensions; do
  18875. + for ac_exec_ext in '' $ac_executable_extensions; do
  18876. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  18877. ac_cv_prog_PTHREAD_CC="$ac_prog"
  18878. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  18879. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  18880. break 2
  18881. fi
  18882. done
  18883. -done
  18884. + done
  18885. IFS=$as_save_IFS
  18886. fi
  18887. fi
  18888. PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
  18889. if test -n "$PTHREAD_CC"; then
  18890. - { $as_echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
  18891. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
  18892. $as_echo "$PTHREAD_CC" >&6; }
  18893. else
  18894. - { $as_echo "$as_me:$LINENO: result: no" >&5
  18895. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18896. $as_echo "no" >&6; }
  18897. fi
  18898. @@ -13746,9 +12982,7 @@
  18899. # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
  18900. if test x"$acx_pthread_ok" = xyes; then
  18901. -cat >>confdefs.h <<\_ACEOF
  18902. -#define HAVE_PTHREAD 1
  18903. -_ACEOF
  18904. +$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
  18905. :
  18906. else
  18907. @@ -13769,7 +13003,7 @@
  18908. # We need to link libow.so with -lpthread on some cross-platforms
  18909. # since owtcl.so doesn't work otherwise. -pthread is not enough
  18910. if test x"$PTHREAD_LIBS" = x -a "x$PTHREAD_CFLAGS" = "x-pthread"; then
  18911. - { $as_echo "$as_me:$LINENO: result: add -lpthread to PTHREAD_LIBS" >&5
  18912. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: add -lpthread to PTHREAD_LIBS" >&5
  18913. $as_echo "add -lpthread to PTHREAD_LIBS" >&6; }
  18914. PTHREAD_LIBS="-lpthread"
  18915. fi
  18916. @@ -13796,12 +13030,12 @@
  18917. # Check for i2c support
  18918. ENABLE_I2C="true"
  18919. -{ $as_echo "$as_me:$LINENO: checking if i2c(DS2482-x00) is enabled" >&5
  18920. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if i2c(DS2482-x00) is enabled" >&5
  18921. $as_echo_n "checking if i2c(DS2482-x00) is enabled... " >&6; }
  18922. # Check whether --enable-i2c was given.
  18923. -if test "${enable_i2c+set}" = set; then
  18924. +if test "${enable_i2c+set}" = set; then :
  18925. enableval=$enable_i2c;
  18926. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  18927. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  18928. $as_echo "$enableval" >&6; }
  18929. if ! test "$enableval" = "yes" ; then
  18930. ENABLE_I2C="false"
  18931. @@ -13809,7 +13043,7 @@
  18932. else
  18933. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  18934. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  18935. $as_echo "yes (default)" >&6; }
  18936. fi
  18937. @@ -13828,12 +13062,12 @@
  18938. # Check for HA7Net
  18939. ENABLE_HA7="true"
  18940. -{ $as_echo "$as_me:$LINENO: checking if HA7Net is enabled" >&5
  18941. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if HA7Net is enabled" >&5
  18942. $as_echo_n "checking if HA7Net is enabled... " >&6; }
  18943. # Check whether --enable-ha7 was given.
  18944. -if test "${enable_ha7+set}" = set; then
  18945. +if test "${enable_ha7+set}" = set; then :
  18946. enableval=$enable_ha7;
  18947. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  18948. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  18949. $as_echo "$enableval" >&6; }
  18950. if ! test "$enableval" = "yes" ; then
  18951. ENABLE_HA7="false"
  18952. @@ -13841,7 +13075,7 @@
  18953. else
  18954. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  18955. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  18956. $as_echo "yes (default)" >&6; }
  18957. fi
  18958. @@ -13859,12 +13093,12 @@
  18959. # Check for W1 (linux kernel module)
  18960. ENABLE_W1="true"
  18961. -{ $as_echo "$as_me:$LINENO: checking if W1 is enabled" >&5
  18962. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if W1 is enabled" >&5
  18963. $as_echo_n "checking if W1 is enabled... " >&6; }
  18964. # Check whether --enable-w1 was given.
  18965. -if test "${enable_w1+set}" = set; then
  18966. +if test "${enable_w1+set}" = set; then :
  18967. enableval=$enable_w1;
  18968. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  18969. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  18970. $as_echo "$enableval" >&6; }
  18971. if ! test "$enableval" = "yes" ; then
  18972. ENABLE_W1="false"
  18973. @@ -13872,7 +13106,7 @@
  18974. else
  18975. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  18976. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  18977. $as_echo "yes (default)" >&6; }
  18978. fi
  18979. @@ -13892,12 +13126,12 @@
  18980. #Check owhttpd
  18981. ENABLE_OWHTTPD="true"
  18982. -{ $as_echo "$as_me:$LINENO: checking if owhttpd is enabled" >&5
  18983. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if owhttpd is enabled" >&5
  18984. $as_echo_n "checking if owhttpd is enabled... " >&6; }
  18985. # Check whether --enable-owhttpd was given.
  18986. -if test "${enable_owhttpd+set}" = set; then
  18987. +if test "${enable_owhttpd+set}" = set; then :
  18988. enableval=$enable_owhttpd;
  18989. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  18990. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  18991. $as_echo "$enableval" >&6; }
  18992. if test ! "$enableval" = "yes" ; then
  18993. ENABLE_OWHTTPD="false"
  18994. @@ -13908,7 +13142,7 @@
  18995. else
  18996. ENABLE_OWLIB="true"
  18997. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  18998. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  18999. $as_echo "yes (default)" >&6; }
  19000. fi
  19001. @@ -13925,12 +13159,12 @@
  19002. #Check owftpd
  19003. ENABLE_OWFTPD="true"
  19004. -{ $as_echo "$as_me:$LINENO: checking if owftpd is enabled" >&5
  19005. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if owftpd is enabled" >&5
  19006. $as_echo_n "checking if owftpd is enabled... " >&6; }
  19007. # Check whether --enable-owftpd was given.
  19008. -if test "${enable_owftpd+set}" = set; then
  19009. +if test "${enable_owftpd+set}" = set; then :
  19010. enableval=$enable_owftpd;
  19011. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  19012. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  19013. $as_echo "$enableval" >&6; }
  19014. if test ! "$enableval" = "yes" ; then
  19015. ENABLE_OWFTPD="false"
  19016. @@ -13945,11 +13179,11 @@
  19017. if test "${ENABLE_MT}" = "true" ; then
  19018. ENABLE_OWLIB="true"
  19019. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  19020. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  19021. $as_echo "yes (default)" >&6; }
  19022. else
  19023. ENABLE_OWFTPD="false"
  19024. - { $as_echo "$as_me:$LINENO: result: no (multithreading needed)" >&5
  19025. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (multithreading needed)" >&5
  19026. $as_echo "no (multithreading needed)" >&6; }
  19027. fi
  19028. @@ -13967,13 +13201,13 @@
  19029. #Check owserver
  19030. -{ $as_echo "$as_me:$LINENO: checking if owserver is enabled" >&5
  19031. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if owserver is enabled" >&5
  19032. $as_echo_n "checking if owserver is enabled... " >&6; }
  19033. ENABLE_OWSERVER="true"
  19034. # Check whether --enable-owserver was given.
  19035. -if test "${enable_owserver+set}" = set; then
  19036. +if test "${enable_owserver+set}" = set; then :
  19037. enableval=$enable_owserver;
  19038. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  19039. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  19040. $as_echo "$enableval" >&6; }
  19041. if test ! "$enableval" = "yes" ; then
  19042. ENABLE_OWSERVER="false"
  19043. @@ -13984,7 +13218,7 @@
  19044. else
  19045. ENABLE_OWLIB="true"
  19046. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  19047. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  19048. $as_echo "yes (default)" >&6; }
  19049. fi
  19050. @@ -14001,12 +13235,12 @@
  19051. #Check ownet
  19052. ENABLE_OWNET="true"
  19053. -{ $as_echo "$as_me:$LINENO: checking if ownet is enabled" >&5
  19054. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ownet is enabled" >&5
  19055. $as_echo_n "checking if ownet is enabled... " >&6; }
  19056. # Check whether --enable-ownet was given.
  19057. -if test "${enable_ownet+set}" = set; then
  19058. +if test "${enable_ownet+set}" = set; then :
  19059. enableval=$enable_ownet;
  19060. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  19061. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  19062. $as_echo "$enableval" >&6; }
  19063. if test ! "$enableval" = "yes" ; then
  19064. ENABLE_OWNET="false"
  19065. @@ -14017,7 +13251,7 @@
  19066. else
  19067. ENABLE_OWLIB="true"
  19068. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  19069. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  19070. $as_echo "yes (default)" >&6; }
  19071. fi
  19072. @@ -14035,12 +13269,12 @@
  19073. #Check owtap
  19074. ENABLE_OWTAP="true"
  19075. -{ $as_echo "$as_me:$LINENO: checking if owtap is enabled" >&5
  19076. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if owtap is enabled" >&5
  19077. $as_echo_n "checking if owtap is enabled... " >&6; }
  19078. # Check whether --enable-owtap was given.
  19079. -if test "${enable_owtap+set}" = set; then
  19080. +if test "${enable_owtap+set}" = set; then :
  19081. enableval=$enable_owtap;
  19082. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  19083. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  19084. $as_echo "$enableval" >&6; }
  19085. if test ! "$enableval" = "yes" ; then
  19086. ENABLE_OWTAP="false"
  19087. @@ -14048,7 +13282,7 @@
  19088. else
  19089. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  19090. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  19091. $as_echo "yes (default)" >&6; }
  19092. fi
  19093. @@ -14066,12 +13300,12 @@
  19094. #Check owmalloc (special memory allocation routines)
  19095. ENABLE_OWMALLOC="false"
  19096. -{ $as_echo "$as_me:$LINENO: checking if owmalloc is enabled" >&5
  19097. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if owmalloc is enabled" >&5
  19098. $as_echo_n "checking if owmalloc is enabled... " >&6; }
  19099. # Check whether --enable-owmalloc was given.
  19100. -if test "${enable_owmalloc+set}" = set; then
  19101. +if test "${enable_owmalloc+set}" = set; then :
  19102. enableval=$enable_owmalloc;
  19103. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  19104. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  19105. $as_echo "$enableval" >&6; }
  19106. if test "$enableval" = "yes" ; then
  19107. ENABLE_OWMALLOC="true"
  19108. @@ -14079,7 +13313,7 @@
  19109. else
  19110. - { $as_echo "$as_me:$LINENO: result: no (default)" >&5
  19111. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5
  19112. $as_echo "no (default)" >&6; }
  19113. fi
  19114. @@ -14096,13 +13330,13 @@
  19115. #Check owmon
  19116. -{ $as_echo "$as_me:$LINENO: checking if owmon is enabled" >&5
  19117. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if owmon is enabled" >&5
  19118. $as_echo_n "checking if owmon is enabled... " >&6; }
  19119. ENABLE_OWMON="true"
  19120. # Check whether --enable-owmon was given.
  19121. -if test "${enable_owmon+set}" = set; then
  19122. +if test "${enable_owmon+set}" = set; then :
  19123. enableval=$enable_owmon;
  19124. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  19125. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  19126. $as_echo "$enableval" >&6; }
  19127. if test ! "$enableval" = "yes" ; then
  19128. ENABLE_OWMON="false"
  19129. @@ -14110,7 +13344,7 @@
  19130. else
  19131. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  19132. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  19133. $as_echo "yes (default)" >&6; }
  19134. fi
  19135. @@ -14126,13 +13360,13 @@
  19136. #Check owcapi
  19137. -{ $as_echo "$as_me:$LINENO: checking if owcapi is enabled" >&5
  19138. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if owcapi is enabled" >&5
  19139. $as_echo_n "checking if owcapi is enabled... " >&6; }
  19140. ENABLE_OWCAPI="true"
  19141. # Check whether --enable-owcapi was given.
  19142. -if test "${enable_owcapi+set}" = set; then
  19143. +if test "${enable_owcapi+set}" = set; then :
  19144. enableval=$enable_owcapi;
  19145. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  19146. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  19147. $as_echo "$enableval" >&6; }
  19148. if test ! "$enableval" = "yes" ; then
  19149. ENABLE_OWCAPI="false"
  19150. @@ -14143,7 +13377,7 @@
  19151. else
  19152. ENABLE_OWLIB="true"
  19153. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  19154. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  19155. $as_echo "yes (default)" >&6; }
  19156. fi
  19157. @@ -14160,7 +13394,7 @@
  19158. #Check swig
  19159. -{ $as_echo "$as_me:$LINENO: checking if swig is enabled" >&5
  19160. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if swig is enabled" >&5
  19161. $as_echo_n "checking if swig is enabled... " >&6; }
  19162. if test -z "$SWIG" ; then
  19163. ENABLE_SWIG="false"
  19164. @@ -14168,28 +13402,26 @@
  19165. ENABLE_SWIG="auto"
  19166. fi
  19167. # Check whether --enable-swig was given.
  19168. -if test "${enable_swig+set}" = set; then
  19169. +if test "${enable_swig+set}" = set; then :
  19170. enableval=$enable_swig;
  19171. if test "$enableval" = "no"; then
  19172. ENABLE_SWIG="false"
  19173. SWIG=""
  19174. - { $as_echo "$as_me:$LINENO: result: no" >&5
  19175. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19176. $as_echo "no" >&6; }
  19177. else
  19178. if test -z "$SWIG"; then
  19179. - { { $as_echo "$as_me:$LINENO: error: Swig is not found and could not be enabled" >&5
  19180. -$as_echo "$as_me: error: Swig is not found and could not be enabled" >&2;}
  19181. - { (exit 1); exit 1; }; }
  19182. + as_fn_error "Swig is not found and could not be enabled" "$LINENO" 5
  19183. fi
  19184. ENABLE_OWLIB="true"
  19185. ENABLE_SWIG="true"
  19186. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  19187. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19188. $as_echo "yes" >&6; }
  19189. fi
  19190. else
  19191. - { $as_echo "$as_me:$LINENO: result: auto (default)" >&5
  19192. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto (default)" >&5
  19193. $as_echo "auto (default)" >&6; }
  19194. fi
  19195. @@ -14198,7 +13430,7 @@
  19196. if test ! "$ENABLE_SWIG" = "true"; then
  19197. ENABLE_SWIG="false"
  19198. SWIG=""
  19199. - { $as_echo "$as_me:$LINENO: result: (Disable swig by default in Cygwin)" >&5
  19200. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: (Disable swig by default in Cygwin)" >&5
  19201. $as_echo "(Disable swig by default in Cygwin)" >&6; }
  19202. fi
  19203. else
  19204. @@ -14217,21 +13449,21 @@
  19205. #Check owperl
  19206. -{ $as_echo "$as_me:$LINENO: checking if owperl is enabled" >&5
  19207. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if owperl is enabled" >&5
  19208. $as_echo_n "checking if owperl is enabled... " >&6; }
  19209. ENABLE_OWPERL="true"
  19210. # Check whether --enable-owperl was given.
  19211. -if test "${enable_owperl+set}" = set; then
  19212. +if test "${enable_owperl+set}" = set; then :
  19213. enableval=$enable_owperl;
  19214. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  19215. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  19216. $as_echo "$enableval" >&6; }
  19217. if test ! "$enableval" = "yes" ; then
  19218. ENABLE_OWPERL="false"
  19219. else
  19220. if test -z "$SWIG" ; then
  19221. - { $as_echo "$as_me:$LINENO: WARNING: Cannot find swig program. Look for it at http://www.swig.org or use CPAN" >&5
  19222. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find swig program. Look for it at http://www.swig.org or use CPAN" >&5
  19223. $as_echo "$as_me: WARNING: Cannot find swig program. Look for it at http://www.swig.org or use CPAN" >&2;}
  19224. - { $as_echo "$as_me:$LINENO: WARNING: OWPERL is disabled because swig is not found" >&5
  19225. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWPERL is disabled because swig is not found" >&5
  19226. $as_echo "$as_me: WARNING: OWPERL is disabled because swig is not found" >&2;}
  19227. ENABLE_OWPERL="false"
  19228. fi
  19229. @@ -14240,10 +13472,10 @@
  19230. else
  19231. if test -z "$SWIG" ; then
  19232. - { $as_echo "$as_me:$LINENO: result: no (swig disabled)" >&5
  19233. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (swig disabled)" >&5
  19234. $as_echo "no (swig disabled)" >&6; }
  19235. else
  19236. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  19237. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  19238. $as_echo "yes (default)" >&6; }
  19239. fi
  19240. @@ -14259,14 +13491,14 @@
  19241. - { $as_echo "$as_me:$LINENO: result: Looking for location of Perl executable" >&5
  19242. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Looking for location of Perl executable" >&5
  19243. $as_echo "Looking for location of Perl executable" >&6; }
  19244. PERLBIN=
  19245. # Check whether --with-perl5 was given.
  19246. -if test "${with_perl5+set}" = set; then
  19247. +if test "${with_perl5+set}" = set; then :
  19248. withval=$with_perl5; PERLBIN="$withval"
  19249. else
  19250. PERLBIN=yes
  19251. @@ -14276,7 +13508,7 @@
  19252. # First, check for "--without-perl5" or "--with-perl5=no".
  19253. if test x"${PERLBIN}" = xno -o x"${with_alllang}" = xno ; then
  19254. -{ $as_echo "$as_me:$LINENO: Disabling Perl5" >&5
  19255. +{ $as_echo "$as_me:${as_lineno-$LINENO}: Disabling Perl5" >&5
  19256. $as_echo "$as_me: Disabling Perl5" >&6;}
  19257. else
  19258. @@ -14287,9 +13519,9 @@
  19259. do
  19260. # Extract the first word of "$ac_prog", so it can be a program name with args.
  19261. set dummy $ac_prog; ac_word=$2
  19262. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  19263. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19264. $as_echo_n "checking for $ac_word... " >&6; }
  19265. -if test "${ac_cv_prog_PERL+set}" = set; then
  19266. +if test "${ac_cv_prog_PERL+set}" = set; then :
  19267. $as_echo_n "(cached) " >&6
  19268. else
  19269. if test -n "$PERL"; then
  19270. @@ -14300,24 +13532,24 @@
  19271. do
  19272. IFS=$as_save_IFS
  19273. test -z "$as_dir" && as_dir=.
  19274. - for ac_exec_ext in '' $ac_executable_extensions; do
  19275. + for ac_exec_ext in '' $ac_executable_extensions; do
  19276. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19277. ac_cv_prog_PERL="$ac_prog"
  19278. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  19279. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19280. break 2
  19281. fi
  19282. done
  19283. -done
  19284. + done
  19285. IFS=$as_save_IFS
  19286. fi
  19287. fi
  19288. PERL=$ac_cv_prog_PERL
  19289. if test -n "$PERL"; then
  19290. - { $as_echo "$as_me:$LINENO: result: $PERL" >&5
  19291. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
  19292. $as_echo "$PERL" >&6; }
  19293. else
  19294. - { $as_echo "$as_me:$LINENO: result: no" >&5
  19295. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19296. $as_echo "no" >&6; }
  19297. fi
  19298. @@ -14332,7 +13564,7 @@
  19299. # This could probably be simplified as for all platforms and all versions of Perl the following apparently should be run to get the compilation options:
  19300. # perl -MExtUtils::Embed -e ccopts
  19301. -{ $as_echo "$as_me:$LINENO: checking for Perl5 header files" >&5
  19302. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl5 header files" >&5
  19303. $as_echo_n "checking for Perl5 header files... " >&6; }
  19304. if test -n "$PERL"; then
  19305. PERL=`(which $PERL) 2>/dev/null`
  19306. @@ -14345,7 +13577,7 @@
  19307. PERL5EXT=none
  19308. for i in $dirs; do
  19309. if test -r $i/perl.h; then
  19310. - { $as_echo "$as_me:$LINENO: result: $i" >&5
  19311. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $i" >&5
  19312. $as_echo "$i" >&6; }
  19313. PERL5EXT="$i"
  19314. break;
  19315. @@ -14353,37 +13585,37 @@
  19316. done
  19317. if test "$PERL5EXT" = none; then
  19318. PERL5EXT="$PERL5DIR/CORE"
  19319. - { $as_echo "$as_me:$LINENO: result: could not locate perl.h...using $PERL5EXT" >&5
  19320. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: could not locate perl.h...using $PERL5EXT" >&5
  19321. $as_echo "could not locate perl.h...using $PERL5EXT" >&6; }
  19322. fi
  19323. - { $as_echo "$as_me:$LINENO: checking for Perl5 library" >&5
  19324. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl5 library" >&5
  19325. $as_echo_n "checking for Perl5 library... " >&6; }
  19326. PERL5NAME=`($PERL -e 'use Config; $_=$Config{libperl}; s/^lib//; s/$Config{_a}$//; print $_, "\n"') 2>/dev/null`
  19327. if test "$PERL5NAME" = "" ; then
  19328. - { $as_echo "$as_me:$LINENO: result: not found" >&5
  19329. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  19330. $as_echo "not found" >&6; }
  19331. else
  19332. - { $as_echo "$as_me:$LINENO: result: $PERL5NAME" >&5
  19333. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL5NAME" >&5
  19334. $as_echo "$PERL5NAME" >&6; }
  19335. fi
  19336. - { $as_echo "$as_me:$LINENO: checking for Perl5 compiler options" >&5
  19337. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl5 compiler options" >&5
  19338. $as_echo_n "checking for Perl5 compiler options... " >&6; }
  19339. PERL5CCFLAGS=`($PERL -e 'use Config; print $Config{ccflags}, "\n"' | sed "s/-I/$ISYSTEM/") 2>/dev/null`
  19340. if test "$PERL5CCFLAGS" = "" ; then
  19341. - { $as_echo "$as_me:$LINENO: result: not found" >&5
  19342. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  19343. $as_echo "not found" >&6; }
  19344. else
  19345. - { $as_echo "$as_me:$LINENO: result: $PERL5CCFLAGS" >&5
  19346. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL5CCFLAGS" >&5
  19347. $as_echo "$PERL5CCFLAGS" >&6; }
  19348. fi
  19349. else
  19350. - { $as_echo "$as_me:$LINENO: result: unable to determine perl5 configuration" >&5
  19351. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unable to determine perl5 configuration" >&5
  19352. $as_echo "unable to determine perl5 configuration" >&6; }
  19353. PERL5EXT=$PERL5DIR
  19354. fi
  19355. else
  19356. - { $as_echo "$as_me:$LINENO: result: could not figure out how to run perl5" >&5
  19357. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: could not figure out how to run perl5" >&5
  19358. $as_echo "could not figure out how to run perl5" >&6; }
  19359. fi
  19360. @@ -14402,16 +13634,16 @@
  19361. if test -z "${PERL}" ; then
  19362. - { $as_echo "$as_me:$LINENO: WARNING: Cannot find perl binary." >&5
  19363. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find perl binary." >&5
  19364. $as_echo "$as_me: WARNING: Cannot find perl binary." >&2;}
  19365. - { $as_echo "$as_me:$LINENO: WARNING: OWPERL is disabled because perl binary is not found" >&5
  19366. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWPERL is disabled because perl binary is not found" >&5
  19367. $as_echo "$as_me: WARNING: OWPERL is disabled because perl binary is not found" >&2;}
  19368. ENABLE_OWPERL="false"
  19369. else
  19370. if test -z "${PERL5NAME}" ; then
  19371. - { $as_echo "$as_me:$LINENO: WARNING: Cannot find perl library. Install perl-devel package." >&5
  19372. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find perl library. Install perl-devel package." >&5
  19373. $as_echo "$as_me: WARNING: Cannot find perl library. Install perl-devel package." >&2;}
  19374. - { $as_echo "$as_me:$LINENO: WARNING: OWPERL is disabled because perl library is not found" >&5
  19375. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWPERL is disabled because perl library is not found" >&5
  19376. $as_echo "$as_me: WARNING: OWPERL is disabled because perl library is not found" >&2;}
  19377. ENABLE_OWPERL="false"
  19378. fi
  19379. @@ -14443,13 +13675,13 @@
  19380. #Check owphp
  19381. -{ $as_echo "$as_me:$LINENO: checking if owphp is enabled" >&5
  19382. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if owphp is enabled" >&5
  19383. $as_echo_n "checking if owphp is enabled... " >&6; }
  19384. ENABLE_OWPHP="true"
  19385. # Check whether --enable-owphp was given.
  19386. -if test "${enable_owphp+set}" = set; then
  19387. +if test "${enable_owphp+set}" = set; then :
  19388. enableval=$enable_owphp;
  19389. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  19390. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  19391. $as_echo "$enableval" >&6; }
  19392. if test "$enableval" = "no" ; then
  19393. ENABLE_OWPHP="false"
  19394. @@ -14458,9 +13690,9 @@
  19395. ENABLE_OWPHP="true"
  19396. fi
  19397. if test -z "$SWIG" ; then
  19398. - { $as_echo "$as_me:$LINENO: WARNING: Cannot find swig program. Look for it at http://www.swig.org or use CPAN" >&5
  19399. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find swig program. Look for it at http://www.swig.org or use CPAN" >&5
  19400. $as_echo "$as_me: WARNING: Cannot find swig program. Look for it at http://www.swig.org or use CPAN" >&2;}
  19401. - { $as_echo "$as_me:$LINENO: WARNING: OWPHP is disabled because swig is not found" >&5
  19402. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWPHP is disabled because swig is not found" >&5
  19403. $as_echo "$as_me: WARNING: OWPHP is disabled because swig is not found" >&2;}
  19404. ENABLE_OWPHP="false"
  19405. fi
  19406. @@ -14468,10 +13700,10 @@
  19407. else
  19408. if test -z "$SWIG" ; then
  19409. - { $as_echo "$as_me:$LINENO: result: no (swig disabled)" >&5
  19410. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (swig disabled)" >&5
  19411. $as_echo "no (swig disabled)" >&6; }
  19412. else
  19413. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  19414. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  19415. $as_echo "yes (default)" >&6; }
  19416. fi
  19417. @@ -14486,7 +13718,7 @@
  19418. - { $as_echo "$as_me:$LINENO: result: Looking for location of Php executable" >&5
  19419. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Looking for location of Php executable" >&5
  19420. $as_echo "Looking for location of Php executable" >&6; }
  19421. PHP4BIN=
  19422. @@ -14495,7 +13727,7 @@
  19423. #AS_HELP_STRING([--with-php4=path], [Set location of PHP4 executable]),[ PHP4BIN="$withval"], [PHP4BIN=yes])
  19424. # Check whether --with-php was given.
  19425. -if test "${with_php+set}" = set; then
  19426. +if test "${with_php+set}" = set; then :
  19427. withval=$with_php; PHPBIN="$withval"
  19428. else
  19429. PHPBIN=yes
  19430. @@ -14503,7 +13735,7 @@
  19431. # Check whether --with-phpconfig was given.
  19432. -if test "${with_phpconfig+set}" = set; then
  19433. +if test "${with_phpconfig+set}" = set; then :
  19434. withval=$with_phpconfig; PHPCONFIGBIN="$withval"
  19435. else
  19436. PHPCONFIGBIN=yes
  19437. @@ -14512,7 +13744,7 @@
  19438. # First, check for "--without-php" or "--with-php=no".
  19439. if test x"${PHPBIN}" = xno -o x"${with_alllang}" = xno ; then
  19440. - { $as_echo "$as_me:$LINENO: Disabling PHP" >&5
  19441. + { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling PHP" >&5
  19442. $as_echo "$as_me: Disabling PHP" >&6;}
  19443. else
  19444. @@ -14521,9 +13753,9 @@
  19445. do
  19446. # Extract the first word of "$ac_prog", so it can be a program name with args.
  19447. set dummy $ac_prog; ac_word=$2
  19448. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  19449. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19450. $as_echo_n "checking for $ac_word... " >&6; }
  19451. -if test "${ac_cv_prog_PHP+set}" = set; then
  19452. +if test "${ac_cv_prog_PHP+set}" = set; then :
  19453. $as_echo_n "(cached) " >&6
  19454. else
  19455. if test -n "$PHP"; then
  19456. @@ -14534,24 +13766,24 @@
  19457. do
  19458. IFS=$as_save_IFS
  19459. test -z "$as_dir" && as_dir=.
  19460. - for ac_exec_ext in '' $ac_executable_extensions; do
  19461. + for ac_exec_ext in '' $ac_executable_extensions; do
  19462. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19463. ac_cv_prog_PHP="$ac_prog"
  19464. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  19465. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19466. break 2
  19467. fi
  19468. done
  19469. -done
  19470. + done
  19471. IFS=$as_save_IFS
  19472. fi
  19473. fi
  19474. PHP=$ac_cv_prog_PHP
  19475. if test -n "$PHP"; then
  19476. - { $as_echo "$as_me:$LINENO: result: $PHP" >&5
  19477. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PHP" >&5
  19478. $as_echo "$PHP" >&6; }
  19479. else
  19480. - { $as_echo "$as_me:$LINENO: result: no" >&5
  19481. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19482. $as_echo "no" >&6; }
  19483. fi
  19484. @@ -14568,9 +13800,9 @@
  19485. do
  19486. # Extract the first word of "$ac_prog", so it can be a program name with args.
  19487. set dummy $ac_prog; ac_word=$2
  19488. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  19489. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19490. $as_echo_n "checking for $ac_word... " >&6; }
  19491. -if test "${ac_cv_prog_PHPCONFIG+set}" = set; then
  19492. +if test "${ac_cv_prog_PHPCONFIG+set}" = set; then :
  19493. $as_echo_n "(cached) " >&6
  19494. else
  19495. if test -n "$PHPCONFIG"; then
  19496. @@ -14581,24 +13813,24 @@
  19497. do
  19498. IFS=$as_save_IFS
  19499. test -z "$as_dir" && as_dir=.
  19500. - for ac_exec_ext in '' $ac_executable_extensions; do
  19501. + for ac_exec_ext in '' $ac_executable_extensions; do
  19502. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19503. ac_cv_prog_PHPCONFIG="$ac_prog"
  19504. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  19505. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19506. break 2
  19507. fi
  19508. done
  19509. -done
  19510. + done
  19511. IFS=$as_save_IFS
  19512. fi
  19513. fi
  19514. PHPCONFIG=$ac_cv_prog_PHPCONFIG
  19515. if test -n "$PHPCONFIG"; then
  19516. - { $as_echo "$as_me:$LINENO: result: $PHPCONFIG" >&5
  19517. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PHPCONFIG" >&5
  19518. $as_echo "$PHPCONFIG" >&6; }
  19519. else
  19520. - { $as_echo "$as_me:$LINENO: result: no" >&5
  19521. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19522. $as_echo "no" >&6; }
  19523. fi
  19524. @@ -14611,18 +13843,18 @@
  19525. fi
  19526. -{ $as_echo "$as_me:$LINENO: checking for PHP header files" >&5
  19527. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PHP header files" >&5
  19528. $as_echo_n "checking for PHP header files... " >&6; }
  19529. PHPINC="`$PHPCONFIG --includes 2>/dev/null`"
  19530. if test "$PHPINC"; then
  19531. - { $as_echo "$as_me:$LINENO: result: $PHPINC" >&5
  19532. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PHPINC" >&5
  19533. $as_echo "$PHPINC" >&6; }
  19534. else
  19535. dirs="/usr/include/php /usr/local/include/php /usr/include/php5 /usr/local/include/php5 /usr/include/php4 /usr/local/include/php4 /usr/local/apache/php"
  19536. for i in $dirs; do
  19537. echo $i
  19538. if test -r $i/main/php_config.h -o -r $i/main/php_version.h; then
  19539. - { $as_echo "$as_me:$LINENO: result: $i is found" >&5
  19540. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $i is found" >&5
  19541. $as_echo "$i is found" >&6; }
  19542. PHPEXT="$i"
  19543. PHPINC="-I$PHPEXT -I$PHPEXT/main -I$PHPEXT/TSRM -I$PHPEXT/Zend"
  19544. @@ -14631,19 +13863,19 @@
  19545. done
  19546. fi
  19547. if test -z "$PHPINC"; then
  19548. - { $as_echo "$as_me:$LINENO: result: not found" >&5
  19549. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  19550. $as_echo "not found" >&6; }
  19551. fi
  19552. -{ $as_echo "$as_me:$LINENO: checking for PHP extension-dir" >&5
  19553. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PHP extension-dir" >&5
  19554. $as_echo_n "checking for PHP extension-dir... " >&6; }
  19555. # FIXME: FC7/x86_64 seems to be broken and return /lib/ instead of /lib64/
  19556. PHPLIBDIR="`$PHPCONFIG --extension-dir 2>/dev/null | sed "s#/lib/#/lib${LIBPOSTFIX}/#g"`"
  19557. if test ! -z "$PHPLIBDIR"; then
  19558. - { $as_echo "$as_me:$LINENO: result: $PHPLIBDIR" >&5
  19559. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PHPLIBDIR" >&5
  19560. $as_echo "$PHPLIBDIR" >&6; }
  19561. else
  19562. - { $as_echo "$as_me:$LINENO: result: not found" >&5
  19563. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  19564. $as_echo "not found" >&6; }
  19565. fi
  19566. @@ -14655,29 +13887,29 @@
  19567. if test -z "${PHP}" ; then
  19568. - { $as_echo "$as_me:$LINENO: WARNING: Cannot find php binary. Install php or php5 package" >&5
  19569. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find php binary. Install php or php5 package" >&5
  19570. $as_echo "$as_me: WARNING: Cannot find php binary. Install php or php5 package" >&2;}
  19571. - { $as_echo "$as_me:$LINENO: WARNING: OWPHP is disabled because php binary is not found" >&5
  19572. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWPHP is disabled because php binary is not found" >&5
  19573. $as_echo "$as_me: WARNING: OWPHP is disabled because php binary is not found" >&2;}
  19574. ENABLE_OWPHP="false"
  19575. else
  19576. if test -z "${PHPCONFIG}" ; then
  19577. - { $as_echo "$as_me:$LINENO: WARNING: Cannot find php-config binary. Install php-devel or php5-dev package" >&5
  19578. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find php-config binary. Install php-devel or php5-dev package" >&5
  19579. $as_echo "$as_me: WARNING: Cannot find php-config binary. Install php-devel or php5-dev package" >&2;}
  19580. - { $as_echo "$as_me:$LINENO: WARNING: include and library paths will be guessed" >&5
  19581. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: include and library paths will be guessed" >&5
  19582. $as_echo "$as_me: WARNING: include and library paths will be guessed" >&2;}
  19583. fi
  19584. if test -z "${PHPINC}" ; then
  19585. - { $as_echo "$as_me:$LINENO: WARNING: Cannot find php include-file. Install php-devel or php5-dev package" >&5
  19586. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find php include-file. Install php-devel or php5-dev package" >&5
  19587. $as_echo "$as_me: WARNING: Cannot find php include-file. Install php-devel or php5-dev package" >&2;}
  19588. - { $as_echo "$as_me:$LINENO: WARNING: OWPHP is disabled because php include-file is not found" >&5
  19589. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWPHP is disabled because php include-file is not found" >&5
  19590. $as_echo "$as_me: WARNING: OWPHP is disabled because php include-file is not found" >&2;}
  19591. ENABLE_OWPHP="false"
  19592. else
  19593. if test -z "${PHPLIBDIR}" ; then
  19594. - { $as_echo "$as_me:$LINENO: WARNING: Cannot find php extension-dir. Install php-devel or php5-dev package" >&5
  19595. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find php extension-dir. Install php-devel or php5-dev package" >&5
  19596. $as_echo "$as_me: WARNING: Cannot find php extension-dir. Install php-devel or php5-dev package" >&2;}
  19597. - { $as_echo "$as_me:$LINENO: WARNING: OWPHP is disabled because php extension-dir is not found" >&5
  19598. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWPHP is disabled because php extension-dir is not found" >&5
  19599. $as_echo "$as_me: WARNING: OWPHP is disabled because php extension-dir is not found" >&2;}
  19600. ENABLE_OWPHP="false"
  19601. fi
  19602. @@ -14711,13 +13943,13 @@
  19603. #Check owpython
  19604. -{ $as_echo "$as_me:$LINENO: checking if owpython is enabled" >&5
  19605. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if owpython is enabled" >&5
  19606. $as_echo_n "checking if owpython is enabled... " >&6; }
  19607. ENABLE_OWPYTHON="true"
  19608. # Check whether --enable-owpython was given.
  19609. -if test "${enable_owpython+set}" = set; then
  19610. +if test "${enable_owpython+set}" = set; then :
  19611. enableval=$enable_owpython;
  19612. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  19613. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  19614. $as_echo "$enableval" >&6; }
  19615. if test "$enableval" = "no" ; then
  19616. ENABLE_OWPYTHON="false"
  19617. @@ -14725,9 +13957,9 @@
  19618. if test "$enableval" = "yes" ; then
  19619. ENABLE_OWPYTHON="true"
  19620. if test -z "$SWIG" ; then
  19621. - { $as_echo "$as_me:$LINENO: WARNING: Cannot find swig program. Look for it at http://www.swig.org or use CPAN" >&5
  19622. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find swig program. Look for it at http://www.swig.org or use CPAN" >&5
  19623. $as_echo "$as_me: WARNING: Cannot find swig program. Look for it at http://www.swig.org or use CPAN" >&2;}
  19624. - { $as_echo "$as_me:$LINENO: WARNING: OWPYTHON is disabled because swig is not found" >&5
  19625. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWPYTHON is disabled because swig is not found" >&5
  19626. $as_echo "$as_me: WARNING: OWPYTHON is disabled because swig is not found" >&2;}
  19627. ENABLE_OWPYTHON="false"
  19628. fi
  19629. @@ -14736,10 +13968,10 @@
  19630. else
  19631. if test -z "$SWIG" ; then
  19632. - { $as_echo "$as_me:$LINENO: result: no (swig disabled)" >&5
  19633. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (swig disabled)" >&5
  19634. $as_echo "no (swig disabled)" >&6; }
  19635. else
  19636. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  19637. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  19638. $as_echo "yes (default)" >&6; }
  19639. fi
  19640. @@ -14767,7 +13999,7 @@
  19641. - { $as_echo "$as_me:$LINENO: result: Looking for location of Python executable" >&5
  19642. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Looking for location of Python executable" >&5
  19643. $as_echo "Looking for location of Python executable" >&6; }
  19644. #----------------------------------------------------------------
  19645. @@ -14782,7 +14014,7 @@
  19646. # Check whether --with-python was given.
  19647. -if test "${with_python+set}" = set; then
  19648. +if test "${with_python+set}" = set; then :
  19649. withval=$with_python; PYBIN="$withval"
  19650. else
  19651. PYBIN=yes
  19652. @@ -14790,7 +14022,7 @@
  19653. # Check whether --with-pythonconfig was given.
  19654. -if test "${with_pythonconfig+set}" = set; then
  19655. +if test "${with_pythonconfig+set}" = set; then :
  19656. withval=$with_pythonconfig; PYTHONCONFIGBIN="$withval"
  19657. else
  19658. PYTHONCONFIGBIN=yes
  19659. @@ -14802,9 +14034,9 @@
  19660. do
  19661. # Extract the first word of "$ac_prog", so it can be a program name with args.
  19662. set dummy $ac_prog; ac_word=$2
  19663. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  19664. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19665. $as_echo_n "checking for $ac_word... " >&6; }
  19666. -if test "${ac_cv_prog_PYTHONCONFIG+set}" = set; then
  19667. +if test "${ac_cv_prog_PYTHONCONFIG+set}" = set; then :
  19668. $as_echo_n "(cached) " >&6
  19669. else
  19670. if test -n "$PYTHONCONFIG"; then
  19671. @@ -14815,24 +14047,24 @@
  19672. do
  19673. IFS=$as_save_IFS
  19674. test -z "$as_dir" && as_dir=.
  19675. - for ac_exec_ext in '' $ac_executable_extensions; do
  19676. + for ac_exec_ext in '' $ac_executable_extensions; do
  19677. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19678. ac_cv_prog_PYTHONCONFIG="$ac_prog"
  19679. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  19680. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19681. break 2
  19682. fi
  19683. done
  19684. -done
  19685. + done
  19686. IFS=$as_save_IFS
  19687. fi
  19688. fi
  19689. PYTHONCONFIG=$ac_cv_prog_PYTHONCONFIG
  19690. if test -n "$PYTHONCONFIG"; then
  19691. - { $as_echo "$as_me:$LINENO: result: $PYTHONCONFIG" >&5
  19692. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONCONFIG" >&5
  19693. $as_echo "$PYTHONCONFIG" >&6; }
  19694. else
  19695. - { $as_echo "$as_me:$LINENO: result: no" >&5
  19696. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19697. $as_echo "no" >&6; }
  19698. fi
  19699. @@ -14846,7 +14078,7 @@
  19700. # First, check for "--without-python" or "--with-python=no".
  19701. if test x"${PYBIN}" = xno -o x"${with_alllang}" = xno ; then
  19702. -{ $as_echo "$as_me:$LINENO: Disabling Python" >&5
  19703. +{ $as_echo "$as_me:${as_lineno-$LINENO}: Disabling Python" >&5
  19704. $as_echo "$as_me: Disabling Python" >&6;}
  19705. else
  19706. # First figure out the name of the Python executable
  19707. @@ -14856,9 +14088,9 @@
  19708. do
  19709. # Extract the first word of "$ac_prog", so it can be a program name with args.
  19710. set dummy $ac_prog; ac_word=$2
  19711. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  19712. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19713. $as_echo_n "checking for $ac_word... " >&6; }
  19714. -if test "${ac_cv_prog_PYTHON+set}" = set; then
  19715. +if test "${ac_cv_prog_PYTHON+set}" = set; then :
  19716. $as_echo_n "(cached) " >&6
  19717. else
  19718. if test -n "$PYTHON"; then
  19719. @@ -14869,24 +14101,24 @@
  19720. do
  19721. IFS=$as_save_IFS
  19722. test -z "$as_dir" && as_dir=.
  19723. - for ac_exec_ext in '' $ac_executable_extensions; do
  19724. + for ac_exec_ext in '' $ac_executable_extensions; do
  19725. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  19726. ac_cv_prog_PYTHON="$ac_prog"
  19727. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  19728. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19729. break 2
  19730. fi
  19731. done
  19732. -done
  19733. + done
  19734. IFS=$as_save_IFS
  19735. fi
  19736. fi
  19737. PYTHON=$ac_cv_prog_PYTHON
  19738. if test -n "$PYTHON"; then
  19739. - { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
  19740. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
  19741. $as_echo "$PYTHON" >&6; }
  19742. else
  19743. - { $as_echo "$as_me:$LINENO: result: no" >&5
  19744. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19745. $as_echo "no" >&6; }
  19746. fi
  19747. @@ -14902,38 +14134,38 @@
  19748. if test ! -z "$PYTHONCONFIG"; then
  19749. # python-config available.
  19750. - { $as_echo "$as_me:$LINENO: checking for Python cflags" >&5
  19751. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python cflags" >&5
  19752. $as_echo_n "checking for Python cflags... " >&6; }
  19753. PYTHONCFLAGS="`$PYTHONCONFIG --cflags 2>/dev/null`"
  19754. if test -z "$PYTHONCFLAGS"; then
  19755. - { $as_echo "$as_me:$LINENO: result: not found" >&5
  19756. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  19757. $as_echo "not found" >&6; }
  19758. else
  19759. - { $as_echo "$as_me:$LINENO: result: $PYTHONCFLAGS" >&5
  19760. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONCFLAGS" >&5
  19761. $as_echo "$PYTHONCFLAGS" >&6; }
  19762. fi
  19763. PYCFLAGS=$PYTHONCFLAGS
  19764. - { $as_echo "$as_me:$LINENO: checking for Python ldflags" >&5
  19765. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python ldflags" >&5
  19766. $as_echo_n "checking for Python ldflags... " >&6; }
  19767. PYTHONLDFLAGS="`$PYTHONCONFIG --ldflags 2>/dev/null`"
  19768. if test -z "$PYTHONLDFLAGS"; then
  19769. - { $as_echo "$as_me:$LINENO: result: not found" >&5
  19770. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  19771. $as_echo "not found" >&6; }
  19772. else
  19773. - { $as_echo "$as_me:$LINENO: result: $PYTHONLDFLAGS" >&5
  19774. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONLDFLAGS" >&5
  19775. $as_echo "$PYTHONLDFLAGS" >&6; }
  19776. fi
  19777. PYLDFLAGS=$PYTHONLDFLAGS
  19778. - { $as_echo "$as_me:$LINENO: checking for Python libs" >&5
  19779. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python libs" >&5
  19780. $as_echo_n "checking for Python libs... " >&6; }
  19781. PYTHONLIBS="`$PYTHONCONFIG --libs 2>/dev/null`"
  19782. if test -z "$PYTHONLIBS"; then
  19783. - { $as_echo "$as_me:$LINENO: result: not found" >&5
  19784. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  19785. $as_echo "not found" >&6; }
  19786. else
  19787. - { $as_echo "$as_me:$LINENO: result: $PYTHONLIBS" >&5
  19788. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONLIBS" >&5
  19789. $as_echo "$PYTHONLIBS" >&6; }
  19790. fi
  19791. PYLIB="$PYTHONLIBS"
  19792. @@ -14941,22 +14173,22 @@
  19793. # Need to do this hack since autoconf replaces __file__ with the name of the configure file
  19794. filehack="file__"
  19795. PYVERSION=`($PYTHON -c "import string,operator,os.path; print operator.getitem(os.path.split(operator.getitem(os.path.split(string.__$filehack),0)),1)")`
  19796. - { $as_echo "$as_me:$LINENO: result: $PYVERSION" >&5
  19797. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYVERSION" >&5
  19798. $as_echo "$PYVERSION" >&6; }
  19799. - { $as_echo "$as_me:$LINENO: checking for Python exec-prefix" >&5
  19800. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python exec-prefix" >&5
  19801. $as_echo_n "checking for Python exec-prefix... " >&6; }
  19802. PYTHONEPREFIX="`$PYTHONCONFIG --exec-prefix 2>/dev/null`"
  19803. if test -z "$PYTHONEPREFIX"; then
  19804. - { $as_echo "$as_me:$LINENO: result: not found" >&5
  19805. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  19806. $as_echo "not found" >&6; }
  19807. else
  19808. - { $as_echo "$as_me:$LINENO: result: $PYTHONEPREFIX" >&5
  19809. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONEPREFIX" >&5
  19810. $as_echo "$PYTHONEPREFIX" >&6; }
  19811. fi
  19812. PYEPREFIX="$PYTHONEPREFIX"
  19813. - { $as_echo "$as_me:$LINENO: checking for Python site-dir" >&5
  19814. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python site-dir" >&5
  19815. $as_echo_n "checking for Python site-dir... " >&6; }
  19816. #This seem to be the site-packages dir where files are installed.
  19817. PYSITEDIR=`($PYTHON -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=1)") 2>/dev/null`
  19818. @@ -14970,40 +14202,40 @@
  19819. fi
  19820. fi
  19821. fi
  19822. - { $as_echo "$as_me:$LINENO: result: $PYSITEDIR" >&5
  19823. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYSITEDIR" >&5
  19824. $as_echo "$PYSITEDIR" >&6; }
  19825. else
  19826. # python-config not available.
  19827. if test -n "$PYTHON"; then
  19828. - { $as_echo "$as_me:$LINENO: checking for Python prefix" >&5
  19829. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python prefix" >&5
  19830. $as_echo_n "checking for Python prefix... " >&6; }
  19831. PYPREFIX=`($PYTHON -c "import sys; print sys.prefix") 2>/dev/null`
  19832. - { $as_echo "$as_me:$LINENO: result: $PYPREFIX" >&5
  19833. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYPREFIX" >&5
  19834. $as_echo "$PYPREFIX" >&6; }
  19835. - { $as_echo "$as_me:$LINENO: checking for Python exec-prefix" >&5
  19836. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python exec-prefix" >&5
  19837. $as_echo_n "checking for Python exec-prefix... " >&6; }
  19838. PYEPREFIX=`($PYTHON -c "import sys; print sys.exec_prefix") 2>/dev/null`
  19839. - { $as_echo "$as_me:$LINENO: result: $PYEPREFIX" >&5
  19840. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYEPREFIX" >&5
  19841. $as_echo "$PYEPREFIX" >&6; }
  19842. # Note: I could not think of a standard way to get the version string from different versions.
  19843. # This trick pulls it out of the file location for a standard library file.
  19844. - { $as_echo "$as_me:$LINENO: checking for Python version" >&5
  19845. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
  19846. $as_echo_n "checking for Python version... " >&6; }
  19847. # Need to do this hack since autoconf replaces __file__ with the name of the configure file
  19848. filehack="file__"
  19849. PYVERSION=`($PYTHON -c "import string,operator,os.path; print operator.getitem(os.path.split(operator.getitem(os.path.split(string.__$filehack),0)),1)")`
  19850. - { $as_echo "$as_me:$LINENO: result: $PYVERSION" >&5
  19851. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYVERSION" >&5
  19852. $as_echo "$PYVERSION" >&6; }
  19853. # Find the directory for libraries this is necessary to deal with
  19854. # platforms that can have apps built for multiple archs: e.g. x86_64
  19855. - { $as_echo "$as_me:$LINENO: checking for Python lib dir" >&5
  19856. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python lib dir" >&5
  19857. $as_echo_n "checking for Python lib dir... " >&6; }
  19858. PYLIBDIR=`($PYTHON -c "import sys; print sys.lib") 2>/dev/null`
  19859. if test -z "$PYLIBDIR"; then
  19860. @@ -15027,10 +14259,10 @@
  19861. PYLIBDIR="lib"
  19862. fi
  19863. fi
  19864. - { $as_echo "$as_me:$LINENO: result: $PYLIBDIR" >&5
  19865. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYLIBDIR" >&5
  19866. $as_echo "$PYLIBDIR" >&6; }
  19867. - { $as_echo "$as_me:$LINENO: checking for Python site-dir" >&5
  19868. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python site-dir" >&5
  19869. $as_echo_n "checking for Python site-dir... " >&6; }
  19870. PYSITEDIR=`($PYTHON -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=1)") 2>/dev/null`
  19871. if test -z "$PYSITEDIR"; then
  19872. @@ -15043,13 +14275,13 @@
  19873. fi
  19874. fi
  19875. fi
  19876. - { $as_echo "$as_me:$LINENO: result: $PYSITEDIR" >&5
  19877. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYSITEDIR" >&5
  19878. $as_echo "$PYSITEDIR" >&6; }
  19879. # Set the include directory
  19880. - { $as_echo "$as_me:$LINENO: checking for Python header files" >&5
  19881. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python header files" >&5
  19882. $as_echo_n "checking for Python header files... " >&6; }
  19883. if test -r $PYPREFIX/include/$PYVERSION/Python.h; then
  19884. PYCFLAGS="-I$PYPREFIX/include/$PYVERSION -I$PYEPREFIX/$PYLIBDIR/$PYVERSION/config"
  19885. @@ -15059,11 +14291,11 @@
  19886. PYCFLAGS="-I$PYPREFIX/include/Py -I$PYEPREFIX/$PYLIBDIR/python/lib"
  19887. fi
  19888. fi
  19889. - { $as_echo "$as_me:$LINENO: result: $PYCFLAGS" >&5
  19890. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYCFLAGS" >&5
  19891. $as_echo "$PYCFLAGS" >&6; }
  19892. # Set the library directory blindly. This probably won't work with older versions
  19893. - { $as_echo "$as_me:$LINENO: checking for Python library" >&5
  19894. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python library" >&5
  19895. $as_echo_n "checking for Python library... " >&6; }
  19896. dirs="$PYVERSION/config $PYVERSION/$PYLIBDIR python/$PYLIBDIR"
  19897. for i in $dirs; do
  19898. @@ -15073,14 +14305,14 @@
  19899. fi
  19900. done
  19901. if test -z "$PYLIB"; then
  19902. - { $as_echo "$as_me:$LINENO: result: Not found" >&5
  19903. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
  19904. $as_echo "Not found" >&6; }
  19905. else
  19906. - { $as_echo "$as_me:$LINENO: result: $PYLIB" >&5
  19907. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYLIB" >&5
  19908. $as_echo "$PYLIB" >&6; }
  19909. fi
  19910. - { $as_echo "$as_me:$LINENO: checking for Python LDFLAGS" >&5
  19911. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python LDFLAGS" >&5
  19912. $as_echo_n "checking for Python LDFLAGS... " >&6; }
  19913. # Check for really old versions
  19914. if test -r $PYLIB/libPython.a; then
  19915. @@ -15094,7 +14326,7 @@
  19916. fi
  19917. fi
  19918. PYLDFLAGS="$PYLINK"
  19919. - { $as_echo "$as_me:$LINENO: result: $PYLDFLAGS" >&5
  19920. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYLDFLAGS" >&5
  19921. $as_echo "$PYLDFLAGS" >&6; }
  19922. fi
  19923. fi
  19924. @@ -15116,23 +14348,23 @@
  19925. if test -z "${PYTHON}" ; then
  19926. - { $as_echo "$as_me:$LINENO: WARNING: Cannot find python binary. Install python package." >&5
  19927. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find python binary. Install python package." >&5
  19928. $as_echo "$as_me: WARNING: Cannot find python binary. Install python package." >&2;}
  19929. - { $as_echo "$as_me:$LINENO: WARNING: OWPYTHON is disabled because python binary is not found" >&5
  19930. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWPYTHON is disabled because python binary is not found" >&5
  19931. $as_echo "$as_me: WARNING: OWPYTHON is disabled because python binary is not found" >&2;}
  19932. ENABLE_OWPYTHON="false"
  19933. else
  19934. if test -z "${PYLDFLAGS}" ; then
  19935. - { $as_echo "$as_me:$LINENO: WARNING: Cannot find python library. Install python-devel package." >&5
  19936. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find python library. Install python-devel package." >&5
  19937. $as_echo "$as_me: WARNING: Cannot find python library. Install python-devel package." >&2;}
  19938. - { $as_echo "$as_me:$LINENO: WARNING: OWPYTHON is disabled because python library is not found" >&5
  19939. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWPYTHON is disabled because python library is not found" >&5
  19940. $as_echo "$as_me: WARNING: OWPYTHON is disabled because python library is not found" >&2;}
  19941. ENABLE_OWPYTHON="false"
  19942. else
  19943. if test -z "${PYCFLAGS}" ; then
  19944. - { $as_echo "$as_me:$LINENO: WARNING: Cannot find python include-file. Install python-devel package." >&5
  19945. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find python include-file. Install python-devel package." >&5
  19946. $as_echo "$as_me: WARNING: Cannot find python include-file. Install python-devel package." >&2;}
  19947. - { $as_echo "$as_me:$LINENO: WARNING: OWPYTHON is disabled because python include-file is not found" >&5
  19948. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWPYTHON is disabled because python include-file is not found" >&5
  19949. $as_echo "$as_me: WARNING: OWPYTHON is disabled because python include-file is not found" >&2;}
  19950. ENABLE_OWPYTHON="false"
  19951. fi
  19952. @@ -15165,13 +14397,13 @@
  19953. #Check owtcl
  19954. -{ $as_echo "$as_me:$LINENO: checking if owtcl is enabled" >&5
  19955. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if owtcl is enabled" >&5
  19956. $as_echo_n "checking if owtcl is enabled... " >&6; }
  19957. ENABLE_OWTCL="true"
  19958. # Check whether --enable-owtcl was given.
  19959. -if test "${enable_owtcl+set}" = set; then
  19960. +if test "${enable_owtcl+set}" = set; then :
  19961. enableval=$enable_owtcl;
  19962. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  19963. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  19964. $as_echo "$enableval" >&6; }
  19965. if test "$enableval" = "no" ; then
  19966. ENABLE_OWTCL="false"
  19967. @@ -15182,7 +14414,7 @@
  19968. else
  19969. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  19970. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  19971. $as_echo "yes (default)" >&6; }
  19972. fi
  19973. @@ -15733,7 +14965,7 @@
  19974. - { $as_echo "$as_me:$LINENO: result: Looking for tclConfig.sh" >&5
  19975. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Looking for tclConfig.sh" >&5
  19976. $as_echo "Looking for tclConfig.sh" >&6; }
  19977. #
  19978. @@ -15747,13 +14979,13 @@
  19979. no_tcl=true
  19980. # Check whether --with-tcl was given.
  19981. -if test "${with_tcl+set}" = set; then
  19982. +if test "${with_tcl+set}" = set; then :
  19983. withval=$with_tcl; with_tclconfig=${withval}
  19984. fi
  19985. - { $as_echo "$as_me:$LINENO: checking for Tcl configuration" >&5
  19986. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5
  19987. $as_echo_n "checking for Tcl configuration... " >&6; }
  19988. - if test "${ac_cv_c_tclconfig+set}" = set; then
  19989. + if test "${ac_cv_c_tclconfig+set}" = set; then :
  19990. $as_echo_n "(cached) " >&6
  19991. else
  19992. @@ -15763,9 +14995,7 @@
  19993. if test -f "${with_tclconfig}/tclConfig.sh" ; then
  19994. ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwd)`
  19995. else
  19996. - { { $as_echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
  19997. -$as_echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
  19998. - { (exit 1); exit 1; }; }
  19999. + as_fn_error "${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5
  20000. fi
  20001. fi
  20002. @@ -15837,31 +15067,31 @@
  20003. if test x"${ac_cv_c_tclconfig}" = x ; then
  20004. # TCL_BIN_DIR="# no Tcl configs found"
  20005. TCL_BIN_DIR=""
  20006. - { $as_echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
  20007. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find Tcl configuration definitions" >&5
  20008. $as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
  20009. # exit 0
  20010. else
  20011. no_tcl=
  20012. TCL_BIN_DIR=${ac_cv_c_tclconfig}
  20013. - { $as_echo "$as_me:$LINENO: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
  20014. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
  20015. $as_echo "found $TCL_BIN_DIR/tclConfig.sh" >&6; }
  20016. fi
  20017. fi
  20018. if test -z "$TCL_BIN_DIR" -o ! -f "$TCL_BIN_DIR/tclConfig.sh" ; then
  20019. - { $as_echo "$as_me:$LINENO: WARNING: OWTCL is disabled because tclConfig.sh is not found" >&5
  20020. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWTCL is disabled because tclConfig.sh is not found" >&5
  20021. $as_echo "$as_me: WARNING: OWTCL is disabled because tclConfig.sh is not found" >&2;}
  20022. ENABLE_OWTCL="false"
  20023. else
  20024. - { $as_echo "$as_me:$LINENO: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
  20025. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
  20026. $as_echo_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh... " >&6; }
  20027. if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
  20028. - { $as_echo "$as_me:$LINENO: result: loading" >&5
  20029. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5
  20030. $as_echo "loading" >&6; }
  20031. . $TCL_BIN_DIR/tclConfig.sh
  20032. else
  20033. - { $as_echo "$as_me:$LINENO: result: file not found" >&5
  20034. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: file not found" >&5
  20035. $as_echo "file not found" >&6; }
  20036. fi
  20037. @@ -16031,29 +15261,29 @@
  20038. EXTRACFLAGS="-D_FILE_OFFSET_BITS=64"
  20039. -{ $as_echo "$as_me:$LINENO: checking if cflag _XOPEN_SOURCE is required" >&5
  20040. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if cflag _XOPEN_SOURCE is required" >&5
  20041. $as_echo_n "checking if cflag _XOPEN_SOURCE is required... " >&6; }
  20042. case "${host_cpu}-${host_os}" in
  20043. *-aix* | *solaris* | *-osf* | *-hpux*)
  20044. CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500"
  20045. EXTRACFLAGS="$EXTRACFLAGS -D_XOPEN_SOURCE=500"
  20046. - { $as_echo "$as_me:$LINENO: result: -D_XOPEN_SOURCE=500" >&5
  20047. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: -D_XOPEN_SOURCE=500" >&5
  20048. $as_echo "-D_XOPEN_SOURCE=500" >&6; }
  20049. ;;
  20050. *-darwin*)
  20051. - { $as_echo "$as_me:$LINENO: result: no" >&5
  20052. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20053. $as_echo "no" >&6; }
  20054. ;;
  20055. *-freebsd* | *)
  20056. # have to add this to support pthread_rwlock_t
  20057. CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500"
  20058. EXTRACFLAGS="$EXTRACFLAGS -D_XOPEN_SOURCE=500"
  20059. - { $as_echo "$as_me:$LINENO: result: -D_XOPEN_SOURCE=500" >&5
  20060. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: -D_XOPEN_SOURCE=500" >&5
  20061. $as_echo "-D_XOPEN_SOURCE=500" >&6; }
  20062. ;;
  20063. esac
  20064. -{ $as_echo "$as_me:$LINENO: checking if cflag _BSD_SOURCE is required" >&5
  20065. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if cflag _BSD_SOURCE is required" >&5
  20066. $as_echo_n "checking if cflag _BSD_SOURCE is required... " >&6; }
  20067. case "${host_cpu}-${host_os}" in
  20068. *)
  20069. @@ -16063,7 +15293,7 @@
  20070. # have to add -D_POSIX_C_SOURCE=199309L for clock_gettime()
  20071. CFLAGS="$CFLAGS -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L"
  20072. EXTRACFLAGS="$EXTRACFLAGS -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L"
  20073. - { $as_echo "$as_me:$LINENO: result: -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L" >&5
  20074. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L" >&5
  20075. $as_echo "-D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L" >&6; }
  20076. ;;
  20077. esac
  20078. @@ -16076,39 +15306,39 @@
  20079. # Check if extra libs are needed. Should perhaps test if they are available too
  20080. # instead of hardcoding the libraries.
  20081. EXTRALIBS=""
  20082. -{ $as_echo "$as_me:$LINENO: checking if extra libs are required" >&5
  20083. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if extra libs are required" >&5
  20084. $as_echo_n "checking if extra libs are required... " >&6; }
  20085. case "${host_cpu}-${host_os}" in
  20086. *-darwin*)
  20087. # This will actually be duplicates if libusb is used.
  20088. OSLIBS="-Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation"
  20089. EXTRALIBS=""
  20090. - { $as_echo "$as_me:$LINENO: result: ${OSLIBS}" >&5
  20091. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${OSLIBS}" >&5
  20092. $as_echo "${OSLIBS}" >&6; }
  20093. ;;
  20094. *-solaris*)
  20095. OSLIBS=""
  20096. EXTRALIBS=" -lsocket -lnsl "
  20097. LIBS="$LIBS -lsocket -lnsl"
  20098. - { $as_echo "$as_me:$LINENO: result: ${EXTRALIBS}" >&5
  20099. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${EXTRALIBS}" >&5
  20100. $as_echo "${EXTRALIBS}" >&6; }
  20101. ;;
  20102. *)
  20103. OSLIBS=""
  20104. EXTRALIBS="-Wl,--rpath -Wl,$libdir"
  20105. - { $as_echo "$as_me:$LINENO: result: ${EXTRALIBS}" >&5
  20106. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${EXTRALIBS}" >&5
  20107. $as_echo "${EXTRALIBS}" >&6; }
  20108. ;;
  20109. esac
  20110. #Check for profiling
  20111. -{ $as_echo "$as_me:$LINENO: checking if profiling is enabled" >&5
  20112. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if profiling is enabled" >&5
  20113. $as_echo_n "checking if profiling is enabled... " >&6; }
  20114. ENABLE_PROFILING="false"
  20115. # Check whether --enable-profiling was given.
  20116. -if test "${enable_profiling+set}" = set; then
  20117. +if test "${enable_profiling+set}" = set; then :
  20118. enableval=$enable_profiling;
  20119. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  20120. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  20121. $as_echo "$enableval" >&6; }
  20122. if test "$enableval" = "yes" ; then
  20123. ENABLE_PROFILING=true
  20124. @@ -16118,7 +15348,7 @@
  20125. else
  20126. - { $as_echo "$as_me:$LINENO: result: no (default)" >&5
  20127. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5
  20128. $as_echo "no (default)" >&6; }
  20129. fi
  20130. @@ -16163,12 +15393,12 @@
  20131. -{ $as_echo "$as_me:$LINENO: WARNING: LD_EXTRALIBS=${LD_EXTRALIBS} OSLIBS=${OSLIBS}" >&5
  20132. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LD_EXTRALIBS=${LD_EXTRALIBS} OSLIBS=${OSLIBS}" >&5
  20133. $as_echo "$as_me: WARNING: LD_EXTRALIBS=${LD_EXTRALIBS} OSLIBS=${OSLIBS}" >&2;}
  20134. # Check whether --with-fuseinclude was given.
  20135. -if test "${with_fuseinclude+set}" = set; then
  20136. +if test "${with_fuseinclude+set}" = set; then :
  20137. withval=$with_fuseinclude; fuse_include_path=$withval
  20138. else
  20139. fuse_include_path='/usr/local/include'
  20140. @@ -16178,7 +15408,7 @@
  20141. # Check whether --with-fuselib was given.
  20142. -if test "${with_fuselib+set}" = set; then
  20143. +if test "${with_fuselib+set}" = set; then :
  20144. withval=$with_fuselib; fuse_lib_path=$withval
  20145. else
  20146. fuse_lib_path='/usr/local/lib'
  20147. @@ -16188,13 +15418,13 @@
  20148. #Check owfs
  20149. -{ $as_echo "$as_me:$LINENO: checking if owfs is enabled" >&5
  20150. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if owfs is enabled" >&5
  20151. $as_echo_n "checking if owfs is enabled... " >&6; }
  20152. ENABLE_OWFS="auto"
  20153. # Check whether --enable-owfs was given.
  20154. -if test "${enable_owfs+set}" = set; then
  20155. +if test "${enable_owfs+set}" = set; then :
  20156. enableval=$enable_owfs;
  20157. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  20158. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  20159. $as_echo "$enableval" >&6; }
  20160. if test "$enableval" = "yes" ; then
  20161. ENABLE_OWFS="true"
  20162. @@ -16205,7 +15435,7 @@
  20163. else
  20164. - { $as_echo "$as_me:$LINENO: result: auto (default)" >&5
  20165. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto (default)" >&5
  20166. $as_echo "auto (default)" >&6; }
  20167. fi
  20168. @@ -16224,138 +15454,12 @@
  20169. CPPFLAGS="$save_CPPFLAGS -D_FILE_OFFSET_BITS=64 $FUSE_FLAGS $FUSE_INCLUDES"
  20170. LDFLAGS="$save_LDFLAGS $FUSE_LIBS"
  20171. - if test "${ac_cv_header_fuse_h+set}" = set; then
  20172. - { $as_echo "$as_me:$LINENO: checking for fuse.h" >&5
  20173. -$as_echo_n "checking for fuse.h... " >&6; }
  20174. -if test "${ac_cv_header_fuse_h+set}" = set; then
  20175. - $as_echo_n "(cached) " >&6
  20176. -fi
  20177. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_fuse_h" >&5
  20178. -$as_echo "$ac_cv_header_fuse_h" >&6; }
  20179. + ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default"
  20180. +if test "x$ac_cv_header_fuse_h" = x""yes; then :
  20181. +
  20182. else
  20183. - # Is the header compilable?
  20184. -{ $as_echo "$as_me:$LINENO: checking fuse.h usability" >&5
  20185. -$as_echo_n "checking fuse.h usability... " >&6; }
  20186. -cat >conftest.$ac_ext <<_ACEOF
  20187. -/* confdefs.h. */
  20188. -_ACEOF
  20189. -cat confdefs.h >>conftest.$ac_ext
  20190. -cat >>conftest.$ac_ext <<_ACEOF
  20191. -/* end confdefs.h. */
  20192. -$ac_includes_default
  20193. -#include <fuse.h>
  20194. -_ACEOF
  20195. -rm -f conftest.$ac_objext
  20196. -if { (ac_try="$ac_compile"
  20197. -case "(($ac_try" in
  20198. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20199. - *) ac_try_echo=$ac_try;;
  20200. -esac
  20201. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  20202. -$as_echo "$ac_try_echo") >&5
  20203. - (eval "$ac_compile") 2>conftest.er1
  20204. - ac_status=$?
  20205. - grep -v '^ *+' conftest.er1 >conftest.err
  20206. - rm -f conftest.er1
  20207. - cat conftest.err >&5
  20208. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20209. - (exit $ac_status); } && {
  20210. - test -z "$ac_c_werror_flag" ||
  20211. - test ! -s conftest.err
  20212. - } && test -s conftest.$ac_objext; then
  20213. - ac_header_compiler=yes
  20214. -else
  20215. - $as_echo "$as_me: failed program was:" >&5
  20216. -sed 's/^/| /' conftest.$ac_ext >&5
  20217. -
  20218. - ac_header_compiler=no
  20219. -fi
  20220. -
  20221. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20222. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  20223. -$as_echo "$ac_header_compiler" >&6; }
  20224. -
  20225. -# Is the header present?
  20226. -{ $as_echo "$as_me:$LINENO: checking fuse.h presence" >&5
  20227. -$as_echo_n "checking fuse.h presence... " >&6; }
  20228. -cat >conftest.$ac_ext <<_ACEOF
  20229. -/* confdefs.h. */
  20230. -_ACEOF
  20231. -cat confdefs.h >>conftest.$ac_ext
  20232. -cat >>conftest.$ac_ext <<_ACEOF
  20233. -/* end confdefs.h. */
  20234. -#include <fuse.h>
  20235. -_ACEOF
  20236. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  20237. -case "(($ac_try" in
  20238. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20239. - *) ac_try_echo=$ac_try;;
  20240. -esac
  20241. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  20242. -$as_echo "$ac_try_echo") >&5
  20243. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  20244. - ac_status=$?
  20245. - grep -v '^ *+' conftest.er1 >conftest.err
  20246. - rm -f conftest.er1
  20247. - cat conftest.err >&5
  20248. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20249. - (exit $ac_status); } >/dev/null && {
  20250. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  20251. - test ! -s conftest.err
  20252. - }; then
  20253. - ac_header_preproc=yes
  20254. -else
  20255. - $as_echo "$as_me: failed program was:" >&5
  20256. -sed 's/^/| /' conftest.$ac_ext >&5
  20257. -
  20258. - ac_header_preproc=no
  20259. -fi
  20260. -
  20261. -rm -f conftest.err conftest.$ac_ext
  20262. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  20263. -$as_echo "$ac_header_preproc" >&6; }
  20264. -
  20265. -# So? What about this header?
  20266. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  20267. - yes:no: )
  20268. - { $as_echo "$as_me:$LINENO: WARNING: fuse.h: accepted by the compiler, rejected by the preprocessor!" >&5
  20269. -$as_echo "$as_me: WARNING: fuse.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  20270. - { $as_echo "$as_me:$LINENO: WARNING: fuse.h: proceeding with the compiler's result" >&5
  20271. -$as_echo "$as_me: WARNING: fuse.h: proceeding with the compiler's result" >&2;}
  20272. - ac_header_preproc=yes
  20273. - ;;
  20274. - no:yes:* )
  20275. - { $as_echo "$as_me:$LINENO: WARNING: fuse.h: present but cannot be compiled" >&5
  20276. -$as_echo "$as_me: WARNING: fuse.h: present but cannot be compiled" >&2;}
  20277. - { $as_echo "$as_me:$LINENO: WARNING: fuse.h: check for missing prerequisite headers?" >&5
  20278. -$as_echo "$as_me: WARNING: fuse.h: check for missing prerequisite headers?" >&2;}
  20279. - { $as_echo "$as_me:$LINENO: WARNING: fuse.h: see the Autoconf documentation" >&5
  20280. -$as_echo "$as_me: WARNING: fuse.h: see the Autoconf documentation" >&2;}
  20281. - { $as_echo "$as_me:$LINENO: WARNING: fuse.h: section \"Present But Cannot Be Compiled\"" >&5
  20282. -$as_echo "$as_me: WARNING: fuse.h: section \"Present But Cannot Be Compiled\"" >&2;}
  20283. - { $as_echo "$as_me:$LINENO: WARNING: fuse.h: proceeding with the preprocessor's result" >&5
  20284. -$as_echo "$as_me: WARNING: fuse.h: proceeding with the preprocessor's result" >&2;}
  20285. - { $as_echo "$as_me:$LINENO: WARNING: fuse.h: in the future, the compiler will take precedence" >&5
  20286. -$as_echo "$as_me: WARNING: fuse.h: in the future, the compiler will take precedence" >&2;}
  20287. -
  20288. - ;;
  20289. -esac
  20290. -{ $as_echo "$as_me:$LINENO: checking for fuse.h" >&5
  20291. -$as_echo_n "checking for fuse.h... " >&6; }
  20292. -if test "${ac_cv_header_fuse_h+set}" = set; then
  20293. - $as_echo_n "(cached) " >&6
  20294. -else
  20295. - ac_cv_header_fuse_h=$ac_header_preproc
  20296. -fi
  20297. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_fuse_h" >&5
  20298. -$as_echo "$ac_cv_header_fuse_h" >&6; }
  20299. -fi
  20300. -if test "x$ac_cv_header_fuse_h" = x""yes; then
  20301. - :
  20302. -else
  20303. -
  20304. - { $as_echo "$as_me:$LINENO: WARNING:
  20305. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
  20306. Can't find fuse.h - Add the search path with --with-fuseinclude" >&5
  20307. $as_echo "$as_me: WARNING:
  20308. Can't find fuse.h - Add the search path with --with-fuseinclude" >&2;}
  20309. @@ -16367,17 +15471,15 @@
  20310. CPPFLAGS="$save_CPPFLAGS -D_FILE_OFFSET_BITS=64"
  20311. LDFLAGS="$save_LDFLAGS"
  20312. - { $as_echo "$as_me:$LINENO: WARNING: Install FUSE-2.2 or later to enable owfs - download it from http://fuse.sourceforge.net/" >&5
  20313. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Install FUSE-2.2 or later to enable owfs - download it from http://fuse.sourceforge.net/" >&5
  20314. $as_echo "$as_me: WARNING: Install FUSE-2.2 or later to enable owfs - download it from http://fuse.sourceforge.net/" >&2;}
  20315. if test "${ENABLE_OWFS}" = "auto"; then
  20316. - { $as_echo "$as_me:$LINENO: WARNING: OWFS is disabled because fuse.h is not found." >&5
  20317. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWFS is disabled because fuse.h is not found." >&5
  20318. $as_echo "$as_me: WARNING: OWFS is disabled because fuse.h is not found." >&2;}
  20319. ENABLE_OWFS="false"
  20320. else
  20321. - { { $as_echo "$as_me:$LINENO: error: Configure without --enable-owfs to detect fuse automatically." >&5
  20322. -$as_echo "$as_me: error: Configure without --enable-owfs to detect fuse automatically." >&2;}
  20323. - { (exit 1); exit 1; }; }
  20324. + as_fn_error "Configure without --enable-owfs to detect fuse automatically." "$LINENO" 5
  20325. fi
  20326. fi
  20327. @@ -16389,18 +15491,14 @@
  20328. save_LIBS="$LIBS"
  20329. CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
  20330. LIBS="$LIBS $PTHREAD_LIBS"
  20331. - { $as_echo "$as_me:$LINENO: checking for fuse_main in -lfuse" >&5
  20332. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -lfuse" >&5
  20333. $as_echo_n "checking for fuse_main in -lfuse... " >&6; }
  20334. -if test "${ac_cv_lib_fuse_fuse_main+set}" = set; then
  20335. +if test "${ac_cv_lib_fuse_fuse_main+set}" = set; then :
  20336. $as_echo_n "(cached) " >&6
  20337. else
  20338. ac_check_lib_save_LIBS=$LIBS
  20339. LIBS="-lfuse $LIBS"
  20340. -cat >conftest.$ac_ext <<_ACEOF
  20341. -/* confdefs.h. */
  20342. -_ACEOF
  20343. -cat confdefs.h >>conftest.$ac_ext
  20344. -cat >>conftest.$ac_ext <<_ACEOF
  20345. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20346. /* end confdefs.h. */
  20347. /* Override any GCC internal prototype to avoid an error.
  20348. @@ -16418,60 +15516,33 @@
  20349. return 0;
  20350. }
  20351. _ACEOF
  20352. -rm -f conftest.$ac_objext conftest$ac_exeext
  20353. -if { (ac_try="$ac_link"
  20354. -case "(($ac_try" in
  20355. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20356. - *) ac_try_echo=$ac_try;;
  20357. -esac
  20358. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  20359. -$as_echo "$ac_try_echo") >&5
  20360. - (eval "$ac_link") 2>conftest.er1
  20361. - ac_status=$?
  20362. - grep -v '^ *+' conftest.er1 >conftest.err
  20363. - rm -f conftest.er1
  20364. - cat conftest.err >&5
  20365. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20366. - (exit $ac_status); } && {
  20367. - test -z "$ac_c_werror_flag" ||
  20368. - test ! -s conftest.err
  20369. - } && test -s conftest$ac_exeext && {
  20370. - test "$cross_compiling" = yes ||
  20371. - $as_test_x conftest$ac_exeext
  20372. - }; then
  20373. +if ac_fn_c_try_link "$LINENO"; then :
  20374. ac_cv_lib_fuse_fuse_main=yes
  20375. else
  20376. - $as_echo "$as_me: failed program was:" >&5
  20377. -sed 's/^/| /' conftest.$ac_ext >&5
  20378. -
  20379. - ac_cv_lib_fuse_fuse_main=no
  20380. + ac_cv_lib_fuse_fuse_main=no
  20381. fi
  20382. -
  20383. -rm -rf conftest.dSYM
  20384. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  20385. - conftest$ac_exeext conftest.$ac_ext
  20386. +rm -f core conftest.err conftest.$ac_objext \
  20387. + conftest$ac_exeext conftest.$ac_ext
  20388. LIBS=$ac_check_lib_save_LIBS
  20389. fi
  20390. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_fuse_fuse_main" >&5
  20391. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_main" >&5
  20392. $as_echo "$ac_cv_lib_fuse_fuse_main" >&6; }
  20393. -if test "x$ac_cv_lib_fuse_fuse_main" = x""yes; then
  20394. +if test "x$ac_cv_lib_fuse_fuse_main" = x""yes; then :
  20395. FUSE_LIBS="$FUSE_LIBS -lfuse"
  20396. else
  20397. - { $as_echo "$as_me:$LINENO: WARNING:
  20398. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
  20399. Can't find libfuse.a - add the search path with --with-fuselib" >&5
  20400. $as_echo "$as_me: WARNING:
  20401. Can't find libfuse.a - add the search path with --with-fuselib" >&2;}
  20402. - { $as_echo "$as_me:$LINENO: WARNING: Running ldconfig or adding \"/usr/local/lib\" to /etc/ld.so.conf might also solve the problem, otherwise re-install fuse." >&5
  20403. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Running ldconfig or adding \"/usr/local/lib\" to /etc/ld.so.conf might also solve the problem, otherwise re-install fuse." >&5
  20404. $as_echo "$as_me: WARNING: Running ldconfig or adding \"/usr/local/lib\" to /etc/ld.so.conf might also solve the problem, otherwise re-install fuse." >&2;}
  20405. if test "${ENABLE_OWFS}" = "auto"; then
  20406. - { $as_echo "$as_me:$LINENO: WARNING: OWFS is disabled because libfuse.a is not found." >&5
  20407. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWFS is disabled because libfuse.a is not found." >&5
  20408. $as_echo "$as_me: WARNING: OWFS is disabled because libfuse.a is not found." >&2;}
  20409. ENABLE_OWFS="false"
  20410. else
  20411. - { { $as_echo "$as_me:$LINENO: error: Can't enable OWFS" >&5
  20412. -$as_echo "$as_me: error: Can't enable OWFS" >&2;}
  20413. - { (exit 1); exit 1; }; }
  20414. + as_fn_error "Can't enable OWFS" "$LINENO" 5
  20415. fi
  20416. fi
  20417. @@ -16483,16 +15554,12 @@
  20418. if test "${ENABLE_OWFS}" != "false"; then
  20419. # check for a supported FUSE_MAJOR_VERSION.
  20420. - { $as_echo "$as_me:$LINENO: checking For supported FUSE API version" >&5
  20421. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking For supported FUSE API version" >&5
  20422. $as_echo_n "checking For supported FUSE API version... " >&6; }
  20423. - cat >conftest.$ac_ext <<_ACEOF
  20424. -
  20425. - /* confdefs.h. */
  20426. -_ACEOF
  20427. -cat confdefs.h >>conftest.$ac_ext
  20428. -cat >>conftest.$ac_ext <<_ACEOF
  20429. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20430. /* end confdefs.h. */
  20431. -#include <fuse.h>
  20432. +
  20433. + #include <fuse.h>
  20434. int
  20435. main ()
  20436. {
  20437. @@ -16505,44 +15572,21 @@
  20438. return 0;
  20439. }
  20440. _ACEOF
  20441. -rm -f conftest.$ac_objext
  20442. -if { (ac_try="$ac_compile"
  20443. -case "(($ac_try" in
  20444. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20445. - *) ac_try_echo=$ac_try;;
  20446. -esac
  20447. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  20448. -$as_echo "$ac_try_echo") >&5
  20449. - (eval "$ac_compile") 2>conftest.er1
  20450. - ac_status=$?
  20451. - grep -v '^ *+' conftest.er1 >conftest.err
  20452. - rm -f conftest.er1
  20453. - cat conftest.err >&5
  20454. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20455. - (exit $ac_status); } && {
  20456. - test -z "$ac_c_werror_flag" ||
  20457. - test ! -s conftest.err
  20458. - } && test -s conftest.$ac_objext; then
  20459. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  20460. +if ac_fn_c_try_compile "$LINENO"; then :
  20461. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20462. $as_echo "yes" >&6; }
  20463. else
  20464. - $as_echo "$as_me: failed program was:" >&5
  20465. -sed 's/^/| /' conftest.$ac_ext >&5
  20466. -
  20467. - { $as_echo "$as_me:$LINENO: result: no" >&5
  20468. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20469. $as_echo "no" >&6; }
  20470. - { $as_echo "$as_me:$LINENO: WARNING: OWFS is disabled since fuse.h is too old" >&5
  20471. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OWFS is disabled since fuse.h is too old" >&5
  20472. $as_echo "$as_me: WARNING: OWFS is disabled since fuse.h is too old" >&2;}
  20473. if test "${ENABLE_OWFS}" = "true"; then
  20474. - { { $as_echo "$as_me:$LINENO: error: You have to install fuse first (fuse-2.2 or later recommended) - download it from http://fuse.sourceforge.net/" >&5
  20475. -$as_echo "$as_me: error: You have to install fuse first (fuse-2.2 or later recommended) - download it from http://fuse.sourceforge.net/" >&2;}
  20476. - { (exit 1); exit 1; }; }
  20477. + as_fn_error "You have to install fuse first (fuse-2.2 or later recommended) - download it from http://fuse.sourceforge.net/" "$LINENO" 5
  20478. else
  20479. ENABLE_OWFS="false"
  20480. fi
  20481. fi
  20482. -
  20483. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20484. fi
  20485. @@ -16550,16 +15594,12 @@
  20486. # Use newest FUSE API if version is newer than 2.2
  20487. if test "${ENABLE_OWFS}" != "false"; then
  20488. # check for a supported FUSE_MAJOR_VERSION.
  20489. - { $as_echo "$as_me:$LINENO: checking For FUSE version " >&5
  20490. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking For FUSE version " >&5
  20491. $as_echo_n "checking For FUSE version ... " >&6; }
  20492. - cat >conftest.$ac_ext <<_ACEOF
  20493. -
  20494. - /* confdefs.h. */
  20495. -_ACEOF
  20496. -cat confdefs.h >>conftest.$ac_ext
  20497. -cat >>conftest.$ac_ext <<_ACEOF
  20498. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20499. /* end confdefs.h. */
  20500. -#include <fuse.h>
  20501. +
  20502. + #include <fuse.h>
  20503. int
  20504. main ()
  20505. {
  20506. @@ -16583,37 +15623,16 @@
  20507. return 0;
  20508. }
  20509. _ACEOF
  20510. -rm -f conftest.$ac_objext
  20511. -if { (ac_try="$ac_compile"
  20512. -case "(($ac_try" in
  20513. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20514. - *) ac_try_echo=$ac_try;;
  20515. -esac
  20516. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  20517. -$as_echo "$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. - $as_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. - { $as_echo "$as_me:$LINENO: result: 2.2 or later" >&5
  20529. +if ac_fn_c_try_compile "$LINENO"; then :
  20530. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.2 or later" >&5
  20531. $as_echo "2.2 or later" >&6; }
  20532. else
  20533. - $as_echo "$as_me: failed program was:" >&5
  20534. -sed 's/^/| /' conftest.$ac_ext >&5
  20535. -
  20536. - { $as_echo "$as_me:$LINENO: result: <2.2" >&5
  20537. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: <2.2" >&5
  20538. $as_echo "<2.2" >&6; }
  20539. FUSE_FLAGS=""
  20540. fi
  20541. -
  20542. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20543. fi
  20544. @@ -16642,13 +15661,13 @@
  20545. # Check if the cache is enabled.
  20546. -{ $as_echo "$as_me:$LINENO: checking if caching is enabled" >&5
  20547. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if caching is enabled" >&5
  20548. $as_echo_n "checking if caching is enabled... " >&6; }
  20549. ENABLE_CACHE="true"
  20550. # Check whether --enable-cache was given.
  20551. -if test "${enable_cache+set}" = set; then
  20552. +if test "${enable_cache+set}" = set; then :
  20553. enableval=$enable_cache;
  20554. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  20555. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  20556. $as_echo "$enableval" >&6; }
  20557. if test ! "$enableval" = "yes" ; then
  20558. @@ -16657,7 +15676,7 @@
  20559. else
  20560. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  20561. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  20562. $as_echo "yes (default)" >&6; }
  20563. fi
  20564. @@ -16673,13 +15692,13 @@
  20565. # Check if the zeroconf/bonjour is enabled.
  20566. -{ $as_echo "$as_me:$LINENO: checking if zeroconf/bonjour is enabled" >&5
  20567. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if zeroconf/bonjour is enabled" >&5
  20568. $as_echo_n "checking if zeroconf/bonjour is enabled... " >&6; }
  20569. ENABLE_ZERO="true"
  20570. # Check whether --enable-zero was given.
  20571. -if test "${enable_zero+set}" = set; then
  20572. +if test "${enable_zero+set}" = set; then :
  20573. enableval=$enable_zero;
  20574. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  20575. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  20576. $as_echo "$enableval" >&6; }
  20577. if test ! "$enableval" = "yes" ; then
  20578. @@ -16688,7 +15707,7 @@
  20579. else
  20580. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  20581. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  20582. $as_echo "yes (default)" >&6; }
  20583. fi
  20584. @@ -16715,9 +15734,9 @@
  20585. do
  20586. # Extract the first word of "$ac_prog", so it can be a program name with args.
  20587. set dummy $ac_prog; ac_word=$2
  20588. -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  20589. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20590. $as_echo_n "checking for $ac_word... " >&6; }
  20591. -if test "${ac_cv_prog_LIBUSB_CONFIG+set}" = set; then
  20592. +if test "${ac_cv_prog_LIBUSB_CONFIG+set}" = set; then :
  20593. $as_echo_n "(cached) " >&6
  20594. else
  20595. if test -n "$LIBUSB_CONFIG"; then
  20596. @@ -16728,24 +15747,24 @@
  20597. do
  20598. IFS=$as_save_IFS
  20599. test -z "$as_dir" && as_dir=.
  20600. - for ac_exec_ext in '' $ac_executable_extensions; do
  20601. + for ac_exec_ext in '' $ac_executable_extensions; do
  20602. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  20603. ac_cv_prog_LIBUSB_CONFIG="$ac_prog"
  20604. - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  20605. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20606. break 2
  20607. fi
  20608. done
  20609. -done
  20610. + done
  20611. IFS=$as_save_IFS
  20612. fi
  20613. fi
  20614. LIBUSB_CONFIG=$ac_cv_prog_LIBUSB_CONFIG
  20615. if test -n "$LIBUSB_CONFIG"; then
  20616. - { $as_echo "$as_me:$LINENO: result: $LIBUSB_CONFIG" >&5
  20617. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBUSB_CONFIG" >&5
  20618. $as_echo "$LIBUSB_CONFIG" >&6; }
  20619. else
  20620. - { $as_echo "$as_me:$LINENO: result: no" >&5
  20621. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20622. $as_echo "no" >&6; }
  20623. fi
  20624. @@ -16760,7 +15779,7 @@
  20625. # Check whether --with-libusb-config was given.
  20626. -if test "${with_libusb_config+set}" = set; then
  20627. +if test "${with_libusb_config+set}" = set; then :
  20628. withval=$with_libusb_config;
  20629. fi
  20630. @@ -16774,7 +15793,7 @@
  20631. for i in $dirs; do
  20632. echo $i/libusb-config
  20633. if test -x $i/libusb-config; then
  20634. - { $as_echo "$as_me:$LINENO: result: $i/libusb-config is found" >&5
  20635. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $i/libusb-config is found" >&5
  20636. $as_echo "$i/libusb-config is found" >&6; }
  20637. LIBUSB_CONFIG="$i/libusb-config"
  20638. break;
  20639. @@ -16785,13 +15804,13 @@
  20640. # Check for USB enabled
  20641. ENABLE_USB=auto
  20642. -{ $as_echo "$as_me:$LINENO: checking if usb support is enabled" >&5
  20643. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb support is enabled" >&5
  20644. $as_echo_n "checking if usb support is enabled... " >&6; }
  20645. # Check whether --enable-usb was given.
  20646. -if test "${enable_usb+set}" = set; then
  20647. +if test "${enable_usb+set}" = set; then :
  20648. enableval=$enable_usb;
  20649. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  20650. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  20651. $as_echo "$enableval" >&6; }
  20652. if ! test "$enableval" = "yes" ; then
  20653. @@ -16800,7 +15819,7 @@
  20654. else
  20655. - { $as_echo "$as_me:$LINENO: result: auto (default)" >&5
  20656. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto (default)" >&5
  20657. $as_echo "auto (default)" >&6; }
  20658. fi
  20659. @@ -16819,16 +15838,12 @@
  20660. CPPFLAGS="$save_CPPFLAGS $LIBUSB_CFLAGS"
  20661. LDFLAGS="$save_LDFLAGS $LIBUSB_LIBS"
  20662. - { $as_echo "$as_me:$LINENO: checking if libusb compiles with includes+lib " >&5
  20663. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libusb compiles with includes+lib " >&5
  20664. $as_echo_n "checking if libusb compiles with includes+lib ... " >&6; }
  20665. - cat >conftest.$ac_ext <<_ACEOF
  20666. -
  20667. - /* confdefs.h. */
  20668. -_ACEOF
  20669. -cat confdefs.h >>conftest.$ac_ext
  20670. -cat >>conftest.$ac_ext <<_ACEOF
  20671. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20672. /* end confdefs.h. */
  20673. -#include <usb.h>
  20674. +
  20675. + #include <usb.h>
  20676. int
  20677. main ()
  20678. {
  20679. @@ -16839,38 +15854,17 @@
  20680. return 0;
  20681. }
  20682. _ACEOF
  20683. -rm -f conftest.$ac_objext
  20684. -if { (ac_try="$ac_compile"
  20685. -case "(($ac_try" in
  20686. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20687. - *) ac_try_echo=$ac_try;;
  20688. -esac
  20689. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  20690. -$as_echo "$ac_try_echo") >&5
  20691. - (eval "$ac_compile") 2>conftest.er1
  20692. - ac_status=$?
  20693. - grep -v '^ *+' conftest.er1 >conftest.err
  20694. - rm -f conftest.er1
  20695. - cat conftest.err >&5
  20696. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20697. - (exit $ac_status); } && {
  20698. - test -z "$ac_c_werror_flag" ||
  20699. - test ! -s conftest.err
  20700. - } && test -s conftest.$ac_objext; then
  20701. - { $as_echo "$as_me:$LINENO: result: ok" >&5
  20702. +if ac_fn_c_try_compile "$LINENO"; then :
  20703. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  20704. $as_echo "ok" >&6; }
  20705. else
  20706. - $as_echo "$as_me: failed program was:" >&5
  20707. -sed 's/^/| /' conftest.$ac_ext >&5
  20708. -
  20709. - { $as_echo "$as_me:$LINENO: result: compilation error" >&5
  20710. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: compilation error" >&5
  20711. $as_echo "compilation error" >&6; }
  20712. LIBUSB_CFLAGS=""
  20713. LIBUSB_LDFLAGS=""
  20714. LIBUSB_CONFIG=""
  20715. fi
  20716. -
  20717. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20718. if test "X${LIBUSB_CONFIG}" != "X" ; then
  20719. @@ -16885,18 +15879,14 @@
  20720. acx_usb_interrupt_read_ok=no
  20721. - { $as_echo "$as_me:$LINENO: checking if usb_interrupt_read is found" >&5
  20722. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb_interrupt_read is found" >&5
  20723. $as_echo_n "checking if usb_interrupt_read is found... " >&6; }
  20724. save_LIBS="$LIBS"
  20725. save_CFLAGS="$CFLAGS"
  20726. LIBS="$save_LIBS $LIBUSB_LIBS"
  20727. CFLAGS="$save_CFLAGS $LIBUSB_CFLAGS"
  20728. - cat >conftest.$ac_ext <<_ACEOF
  20729. -/* confdefs.h. */
  20730. -_ACEOF
  20731. -cat confdefs.h >>conftest.$ac_ext
  20732. -cat >>conftest.$ac_ext <<_ACEOF
  20733. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20734. /* end confdefs.h. */
  20735. #include <usb.h>
  20736. int
  20737. @@ -16907,51 +15897,22 @@
  20738. return 0;
  20739. }
  20740. _ACEOF
  20741. -rm -f conftest.$ac_objext conftest$ac_exeext
  20742. -if { (ac_try="$ac_link"
  20743. -case "(($ac_try" in
  20744. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20745. - *) ac_try_echo=$ac_try;;
  20746. -esac
  20747. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  20748. -$as_echo "$ac_try_echo") >&5
  20749. - (eval "$ac_link") 2>conftest.er1
  20750. - ac_status=$?
  20751. - grep -v '^ *+' conftest.er1 >conftest.err
  20752. - rm -f conftest.er1
  20753. - cat conftest.err >&5
  20754. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20755. - (exit $ac_status); } && {
  20756. - test -z "$ac_c_werror_flag" ||
  20757. - test ! -s conftest.err
  20758. - } && test -s conftest$ac_exeext && {
  20759. - test "$cross_compiling" = yes ||
  20760. - $as_test_x conftest$ac_exeext
  20761. - }; then
  20762. +if ac_fn_c_try_link "$LINENO"; then :
  20763. acx_usb_interrupt_read_ok=yes
  20764. -else
  20765. - $as_echo "$as_me: failed program was:" >&5
  20766. -sed 's/^/| /' conftest.$ac_ext >&5
  20767. -
  20768. -
  20769. fi
  20770. -
  20771. -rm -rf conftest.dSYM
  20772. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  20773. - conftest$ac_exeext conftest.$ac_ext
  20774. +rm -f core conftest.err conftest.$ac_objext \
  20775. + conftest$ac_exeext conftest.$ac_ext
  20776. LIBS="$save_LIBS"
  20777. CFLAGS="$save_CFLAGS"
  20778. - { $as_echo "$as_me:$LINENO: result: ${acx_usb_interrupt_read_ok}" >&5
  20779. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_usb_interrupt_read_ok}" >&5
  20780. $as_echo "${acx_usb_interrupt_read_ok}" >&6; }
  20781. # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
  20782. if test x"$acx_usb_interrupt_read_ok" = xyes; then
  20783. -cat >>confdefs.h <<\_ACEOF
  20784. -#define HAVE_USB_INTERRUPT_READ 1
  20785. -_ACEOF
  20786. +$as_echo "#define HAVE_USB_INTERRUPT_READ 1" >>confdefs.h
  20787. :
  20788. else
  20789. @@ -16976,18 +15937,14 @@
  20790. # last test to see if libusb is found after AC_CHECK_LIB
  20791. if test "X${LIBUSB_CONFIG}" == "X"; then
  20792. - { $as_echo "$as_me:$LINENO: checking for usb_open in -lusb" >&5
  20793. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usb_open in -lusb" >&5
  20794. $as_echo_n "checking for usb_open in -lusb... " >&6; }
  20795. -if test "${ac_cv_lib_usb_usb_open+set}" = set; then
  20796. +if test "${ac_cv_lib_usb_usb_open+set}" = set; then :
  20797. $as_echo_n "(cached) " >&6
  20798. else
  20799. ac_check_lib_save_LIBS=$LIBS
  20800. LIBS="-lusb $LIBS"
  20801. -cat >conftest.$ac_ext <<_ACEOF
  20802. -/* confdefs.h. */
  20803. -_ACEOF
  20804. -cat confdefs.h >>conftest.$ac_ext
  20805. -cat >>conftest.$ac_ext <<_ACEOF
  20806. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20807. /* end confdefs.h. */
  20808. /* Override any GCC internal prototype to avoid an error.
  20809. @@ -17005,55 +15962,28 @@
  20810. return 0;
  20811. }
  20812. _ACEOF
  20813. -rm -f conftest.$ac_objext conftest$ac_exeext
  20814. -if { (ac_try="$ac_link"
  20815. -case "(($ac_try" in
  20816. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20817. - *) ac_try_echo=$ac_try;;
  20818. -esac
  20819. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  20820. -$as_echo "$ac_try_echo") >&5
  20821. - (eval "$ac_link") 2>conftest.er1
  20822. - ac_status=$?
  20823. - grep -v '^ *+' conftest.er1 >conftest.err
  20824. - rm -f conftest.er1
  20825. - cat conftest.err >&5
  20826. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20827. - (exit $ac_status); } && {
  20828. - test -z "$ac_c_werror_flag" ||
  20829. - test ! -s conftest.err
  20830. - } && test -s conftest$ac_exeext && {
  20831. - test "$cross_compiling" = yes ||
  20832. - $as_test_x conftest$ac_exeext
  20833. - }; then
  20834. +if ac_fn_c_try_link "$LINENO"; then :
  20835. ac_cv_lib_usb_usb_open=yes
  20836. else
  20837. - $as_echo "$as_me: failed program was:" >&5
  20838. -sed 's/^/| /' conftest.$ac_ext >&5
  20839. -
  20840. - ac_cv_lib_usb_usb_open=no
  20841. + ac_cv_lib_usb_usb_open=no
  20842. fi
  20843. -
  20844. -rm -rf conftest.dSYM
  20845. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  20846. - conftest$ac_exeext conftest.$ac_ext
  20847. +rm -f core conftest.err conftest.$ac_objext \
  20848. + conftest$ac_exeext conftest.$ac_ext
  20849. LIBS=$ac_check_lib_save_LIBS
  20850. fi
  20851. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_usb_usb_open" >&5
  20852. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_usb_open" >&5
  20853. $as_echo "$ac_cv_lib_usb_usb_open" >&6; }
  20854. -if test "x$ac_cv_lib_usb_usb_open" = x""yes; then
  20855. +if test "x$ac_cv_lib_usb_usb_open" = x""yes; then :
  20856. LIBUSB_LIBS="-lusb"
  20857. else
  20858. - { $as_echo "$as_me:$LINENO: WARNING: Can't find libusb" >&5
  20859. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find libusb" >&5
  20860. $as_echo "$as_me: WARNING: Can't find libusb" >&2;}
  20861. if test "${ENABLE_USB}" = "true" ; then
  20862. - { { $as_echo "$as_me:$LINENO: error: libusb must be installed to use a USB adapter" >&5
  20863. -$as_echo "$as_me: error: libusb must be installed to use a USB adapter" >&2;}
  20864. - { (exit 1); exit 1; }; }
  20865. + as_fn_error "libusb must be installed to use a USB adapter" "$LINENO" 5
  20866. else
  20867. - { $as_echo "$as_me:$LINENO: WARNING: libusb not found, usb will be disabled" >&5
  20868. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libusb not found, usb will be disabled" >&5
  20869. $as_echo "$as_me: WARNING: libusb not found, usb will be disabled" >&2;}
  20870. ENABLE_USB=false
  20871. fi
  20872. @@ -17073,18 +16003,14 @@
  20873. acx_usb_interrupt_read_ok=no
  20874. - { $as_echo "$as_me:$LINENO: checking if usb_interrupt_read is found" >&5
  20875. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb_interrupt_read is found" >&5
  20876. $as_echo_n "checking if usb_interrupt_read is found... " >&6; }
  20877. save_LIBS="$LIBS"
  20878. save_CFLAGS="$CFLAGS"
  20879. LIBS="$save_LIBS $LIBUSB_LIBS"
  20880. CFLAGS="$save_CFLAGS $LIBUSB_CFLAGS"
  20881. - cat >conftest.$ac_ext <<_ACEOF
  20882. -/* confdefs.h. */
  20883. -_ACEOF
  20884. -cat confdefs.h >>conftest.$ac_ext
  20885. -cat >>conftest.$ac_ext <<_ACEOF
  20886. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20887. /* end confdefs.h. */
  20888. #include <usb.h>
  20889. int
  20890. @@ -17095,51 +16021,22 @@
  20891. return 0;
  20892. }
  20893. _ACEOF
  20894. -rm -f conftest.$ac_objext conftest$ac_exeext
  20895. -if { (ac_try="$ac_link"
  20896. -case "(($ac_try" in
  20897. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20898. - *) ac_try_echo=$ac_try;;
  20899. -esac
  20900. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  20901. -$as_echo "$ac_try_echo") >&5
  20902. - (eval "$ac_link") 2>conftest.er1
  20903. - ac_status=$?
  20904. - grep -v '^ *+' conftest.er1 >conftest.err
  20905. - rm -f conftest.er1
  20906. - cat conftest.err >&5
  20907. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  20908. - (exit $ac_status); } && {
  20909. - test -z "$ac_c_werror_flag" ||
  20910. - test ! -s conftest.err
  20911. - } && test -s conftest$ac_exeext && {
  20912. - test "$cross_compiling" = yes ||
  20913. - $as_test_x conftest$ac_exeext
  20914. - }; then
  20915. +if ac_fn_c_try_link "$LINENO"; then :
  20916. acx_usb_interrupt_read_ok=yes
  20917. -else
  20918. - $as_echo "$as_me: failed program was:" >&5
  20919. -sed 's/^/| /' conftest.$ac_ext >&5
  20920. -
  20921. -
  20922. fi
  20923. -
  20924. -rm -rf conftest.dSYM
  20925. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  20926. - conftest$ac_exeext conftest.$ac_ext
  20927. +rm -f core conftest.err conftest.$ac_objext \
  20928. + conftest$ac_exeext conftest.$ac_ext
  20929. LIBS="$save_LIBS"
  20930. CFLAGS="$save_CFLAGS"
  20931. - { $as_echo "$as_me:$LINENO: result: ${acx_usb_interrupt_read_ok}" >&5
  20932. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_usb_interrupt_read_ok}" >&5
  20933. $as_echo "${acx_usb_interrupt_read_ok}" >&6; }
  20934. # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
  20935. if test x"$acx_usb_interrupt_read_ok" = xyes; then
  20936. -cat >>confdefs.h <<\_ACEOF
  20937. -#define HAVE_USB_INTERRUPT_READ 1
  20938. -_ACEOF
  20939. +$as_echo "#define HAVE_USB_INTERRUPT_READ 1" >>confdefs.h
  20940. :
  20941. else
  20942. @@ -17177,13 +16074,13 @@
  20943. # Check for Parallel port enabled
  20944. ENABLE_PARPORT=auto
  20945. -{ $as_echo "$as_me:$LINENO: checking if parallel port support is enabled" >&5
  20946. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if parallel port support is enabled" >&5
  20947. $as_echo_n "checking if parallel port support is enabled... " >&6; }
  20948. # Check whether --enable-parport was given.
  20949. -if test "${enable_parport+set}" = set; then
  20950. +if test "${enable_parport+set}" = set; then :
  20951. enableval=$enable_parport;
  20952. - { $as_echo "$as_me:$LINENO: result: $enableval" >&5
  20953. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
  20954. $as_echo "$enableval" >&6; }
  20955. if ! test "$enableval" = "yes" ; then
  20956. @@ -17192,7 +16089,7 @@
  20957. else
  20958. - { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
  20959. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
  20960. $as_echo "yes (default)" >&6; }
  20961. fi
  20962. @@ -17201,143 +16098,15 @@
  20963. # Include linux/ppdev.h if the parallel port is enabled
  20964. if test "${ENABLE_PARPORT}" != "false" ; then
  20965. - if test "${ac_cv_header_linux_ppdev_h+set}" = set; then
  20966. - { $as_echo "$as_me:$LINENO: checking for linux/ppdev.h" >&5
  20967. -$as_echo_n "checking for linux/ppdev.h... " >&6; }
  20968. -if test "${ac_cv_header_linux_ppdev_h+set}" = set; then
  20969. - $as_echo_n "(cached) " >&6
  20970. -fi
  20971. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_ppdev_h" >&5
  20972. -$as_echo "$ac_cv_header_linux_ppdev_h" >&6; }
  20973. -else
  20974. - # Is the header compilable?
  20975. -{ $as_echo "$as_me:$LINENO: checking linux/ppdev.h usability" >&5
  20976. -$as_echo_n "checking linux/ppdev.h usability... " >&6; }
  20977. -cat >conftest.$ac_ext <<_ACEOF
  20978. -/* confdefs.h. */
  20979. -_ACEOF
  20980. -cat confdefs.h >>conftest.$ac_ext
  20981. -cat >>conftest.$ac_ext <<_ACEOF
  20982. -/* end confdefs.h. */
  20983. -$ac_includes_default
  20984. -#include <linux/ppdev.h>
  20985. -_ACEOF
  20986. -rm -f conftest.$ac_objext
  20987. -if { (ac_try="$ac_compile"
  20988. -case "(($ac_try" in
  20989. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  20990. - *) ac_try_echo=$ac_try;;
  20991. -esac
  20992. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  20993. -$as_echo "$ac_try_echo") >&5
  20994. - (eval "$ac_compile") 2>conftest.er1
  20995. - ac_status=$?
  20996. - grep -v '^ *+' conftest.er1 >conftest.err
  20997. - rm -f conftest.er1
  20998. - cat conftest.err >&5
  20999. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21000. - (exit $ac_status); } && {
  21001. - test -z "$ac_c_werror_flag" ||
  21002. - test ! -s conftest.err
  21003. - } && test -s conftest.$ac_objext; then
  21004. - ac_header_compiler=yes
  21005. -else
  21006. - $as_echo "$as_me: failed program was:" >&5
  21007. -sed 's/^/| /' conftest.$ac_ext >&5
  21008. -
  21009. - ac_header_compiler=no
  21010. -fi
  21011. -
  21012. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21013. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  21014. -$as_echo "$ac_header_compiler" >&6; }
  21015. + ac_fn_c_check_header_mongrel "$LINENO" "linux/ppdev.h" "ac_cv_header_linux_ppdev_h" "$ac_includes_default"
  21016. +if test "x$ac_cv_header_linux_ppdev_h" = x""yes; then :
  21017. -# Is the header present?
  21018. -{ $as_echo "$as_me:$LINENO: checking linux/ppdev.h presence" >&5
  21019. -$as_echo_n "checking linux/ppdev.h presence... " >&6; }
  21020. -cat >conftest.$ac_ext <<_ACEOF
  21021. -/* confdefs.h. */
  21022. -_ACEOF
  21023. -cat confdefs.h >>conftest.$ac_ext
  21024. -cat >>conftest.$ac_ext <<_ACEOF
  21025. -/* end confdefs.h. */
  21026. -#include <linux/ppdev.h>
  21027. -_ACEOF
  21028. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  21029. -case "(($ac_try" in
  21030. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21031. - *) ac_try_echo=$ac_try;;
  21032. -esac
  21033. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21034. -$as_echo "$ac_try_echo") >&5
  21035. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  21036. - ac_status=$?
  21037. - grep -v '^ *+' conftest.er1 >conftest.err
  21038. - rm -f conftest.er1
  21039. - cat conftest.err >&5
  21040. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21041. - (exit $ac_status); } >/dev/null && {
  21042. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  21043. - test ! -s conftest.err
  21044. - }; then
  21045. - ac_header_preproc=yes
  21046. -else
  21047. - $as_echo "$as_me: failed program was:" >&5
  21048. -sed 's/^/| /' conftest.$ac_ext >&5
  21049. -
  21050. - ac_header_preproc=no
  21051. -fi
  21052. -
  21053. -rm -f conftest.err conftest.$ac_ext
  21054. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  21055. -$as_echo "$ac_header_preproc" >&6; }
  21056. -
  21057. -# So? What about this header?
  21058. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  21059. - yes:no: )
  21060. - { $as_echo "$as_me:$LINENO: WARNING: linux/ppdev.h: accepted by the compiler, rejected by the preprocessor!" >&5
  21061. -$as_echo "$as_me: WARNING: linux/ppdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  21062. - { $as_echo "$as_me:$LINENO: WARNING: linux/ppdev.h: proceeding with the compiler's result" >&5
  21063. -$as_echo "$as_me: WARNING: linux/ppdev.h: proceeding with the compiler's result" >&2;}
  21064. - ac_header_preproc=yes
  21065. - ;;
  21066. - no:yes:* )
  21067. - { $as_echo "$as_me:$LINENO: WARNING: linux/ppdev.h: present but cannot be compiled" >&5
  21068. -$as_echo "$as_me: WARNING: linux/ppdev.h: present but cannot be compiled" >&2;}
  21069. - { $as_echo "$as_me:$LINENO: WARNING: linux/ppdev.h: check for missing prerequisite headers?" >&5
  21070. -$as_echo "$as_me: WARNING: linux/ppdev.h: check for missing prerequisite headers?" >&2;}
  21071. - { $as_echo "$as_me:$LINENO: WARNING: linux/ppdev.h: see the Autoconf documentation" >&5
  21072. -$as_echo "$as_me: WARNING: linux/ppdev.h: see the Autoconf documentation" >&2;}
  21073. - { $as_echo "$as_me:$LINENO: WARNING: linux/ppdev.h: section \"Present But Cannot Be Compiled\"" >&5
  21074. -$as_echo "$as_me: WARNING: linux/ppdev.h: section \"Present But Cannot Be Compiled\"" >&2;}
  21075. - { $as_echo "$as_me:$LINENO: WARNING: linux/ppdev.h: proceeding with the preprocessor's result" >&5
  21076. -$as_echo "$as_me: WARNING: linux/ppdev.h: proceeding with the preprocessor's result" >&2;}
  21077. - { $as_echo "$as_me:$LINENO: WARNING: linux/ppdev.h: in the future, the compiler will take precedence" >&5
  21078. -$as_echo "$as_me: WARNING: linux/ppdev.h: in the future, the compiler will take precedence" >&2;}
  21079. -
  21080. - ;;
  21081. -esac
  21082. -{ $as_echo "$as_me:$LINENO: checking for linux/ppdev.h" >&5
  21083. -$as_echo_n "checking for linux/ppdev.h... " >&6; }
  21084. -if test "${ac_cv_header_linux_ppdev_h+set}" = set; then
  21085. - $as_echo_n "(cached) " >&6
  21086. -else
  21087. - ac_cv_header_linux_ppdev_h=$ac_header_preproc
  21088. -fi
  21089. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_ppdev_h" >&5
  21090. -$as_echo "$ac_cv_header_linux_ppdev_h" >&6; }
  21091. -
  21092. -fi
  21093. -if test "x$ac_cv_header_linux_ppdev_h" = x""yes; then
  21094. - :
  21095. else
  21096. if test "${ENABLE_PARPORT}" = "true" ; then
  21097. - { { $as_echo "$as_me:$LINENO: error: ppdev.h must be installed to use parallel port adapter" >&5
  21098. -$as_echo "$as_me: error: ppdev.h must be installed to use parallel port adapter" >&2;}
  21099. - { (exit 1); exit 1; }; }
  21100. + as_fn_error "ppdev.h must be installed to use parallel port adapter" "$LINENO" 5
  21101. else
  21102. - { $as_echo "$as_me:$LINENO: WARNING: ppdev.h not found, parallel port will be disabled" >&5
  21103. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ppdev.h not found, parallel port will be disabled" >&5
  21104. $as_echo "$as_me: WARNING: ppdev.h not found, parallel port will be disabled" >&2;}
  21105. ENABLE_PARPORT=false
  21106. fi
  21107. @@ -17376,19 +16145,7 @@
  21108. -{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
  21109. -$as_echo_n "checking for struct sockaddr_storage... " >&6; }
  21110. -if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
  21111. - $as_echo_n "(cached) " >&6
  21112. -else
  21113. - ac_cv_type_struct_sockaddr_storage=no
  21114. -cat >conftest.$ac_ext <<_ACEOF
  21115. -/* confdefs.h. */
  21116. -_ACEOF
  21117. -cat confdefs.h >>conftest.$ac_ext
  21118. -cat >>conftest.$ac_ext <<_ACEOF
  21119. -/* end confdefs.h. */
  21120. -
  21121. +ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
  21122. #ifdef HAVE_SYS_TYPES_H
  21123. #include <sys/types.h>
  21124. #endif
  21125. @@ -17403,104 +16160,8 @@
  21126. #endif
  21127. -
  21128. -int
  21129. -main ()
  21130. -{
  21131. -if (sizeof (struct sockaddr_storage))
  21132. - return 0;
  21133. - ;
  21134. - return 0;
  21135. -}
  21136. -_ACEOF
  21137. -rm -f conftest.$ac_objext
  21138. -if { (ac_try="$ac_compile"
  21139. -case "(($ac_try" in
  21140. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21141. - *) ac_try_echo=$ac_try;;
  21142. -esac
  21143. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21144. -$as_echo "$ac_try_echo") >&5
  21145. - (eval "$ac_compile") 2>conftest.er1
  21146. - ac_status=$?
  21147. - grep -v '^ *+' conftest.er1 >conftest.err
  21148. - rm -f conftest.er1
  21149. - cat conftest.err >&5
  21150. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21151. - (exit $ac_status); } && {
  21152. - test -z "$ac_c_werror_flag" ||
  21153. - test ! -s conftest.err
  21154. - } && test -s conftest.$ac_objext; then
  21155. - cat >conftest.$ac_ext <<_ACEOF
  21156. -/* confdefs.h. */
  21157. -_ACEOF
  21158. -cat confdefs.h >>conftest.$ac_ext
  21159. -cat >>conftest.$ac_ext <<_ACEOF
  21160. -/* end confdefs.h. */
  21161. -
  21162. - #ifdef HAVE_SYS_TYPES_H
  21163. - #include <sys/types.h>
  21164. - #endif
  21165. - #ifdef HAVE_SYS_SOCKET_H
  21166. - #include <sys/socket.h>
  21167. - #endif
  21168. - #ifdef HAVE_NETINET_IN_H
  21169. - #include <netinet/in.h>
  21170. - #endif
  21171. - #ifdef HAVE_ARPA_INET_H
  21172. - #include <arpa/inet.h>
  21173. - #endif
  21174. -
  21175. -
  21176. -
  21177. -int
  21178. -main ()
  21179. -{
  21180. -if (sizeof ((struct sockaddr_storage)))
  21181. - return 0;
  21182. - ;
  21183. - return 0;
  21184. -}
  21185. -_ACEOF
  21186. -rm -f conftest.$ac_objext
  21187. -if { (ac_try="$ac_compile"
  21188. -case "(($ac_try" in
  21189. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21190. - *) ac_try_echo=$ac_try;;
  21191. -esac
  21192. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21193. -$as_echo "$ac_try_echo") >&5
  21194. - (eval "$ac_compile") 2>conftest.er1
  21195. - ac_status=$?
  21196. - grep -v '^ *+' conftest.er1 >conftest.err
  21197. - rm -f conftest.er1
  21198. - cat conftest.err >&5
  21199. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21200. - (exit $ac_status); } && {
  21201. - test -z "$ac_c_werror_flag" ||
  21202. - test ! -s conftest.err
  21203. - } && test -s conftest.$ac_objext; then
  21204. - :
  21205. -else
  21206. - $as_echo "$as_me: failed program was:" >&5
  21207. -sed 's/^/| /' conftest.$ac_ext >&5
  21208. -
  21209. - ac_cv_type_struct_sockaddr_storage=yes
  21210. -fi
  21211. -
  21212. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21213. -else
  21214. - $as_echo "$as_me: failed program was:" >&5
  21215. -sed 's/^/| /' conftest.$ac_ext >&5
  21216. -
  21217. -
  21218. -fi
  21219. -
  21220. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21221. -fi
  21222. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
  21223. -$as_echo "$ac_cv_type_struct_sockaddr_storage" >&6; }
  21224. -if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then
  21225. +"
  21226. +if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
  21227. cat >>confdefs.h <<_ACEOF
  21228. #define HAVE_STRUCT_SOCKADDR_STORAGE 1
  21229. @@ -17511,207 +16172,17 @@
  21230. if test "$ac_cv_type_struct_sockaddr_storage" = no; then
  21231. - { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
  21232. -$as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; }
  21233. -if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
  21234. - $as_echo_n "(cached) " >&6
  21235. -else
  21236. - cat >conftest.$ac_ext <<_ACEOF
  21237. -/* confdefs.h. */
  21238. -_ACEOF
  21239. -cat confdefs.h >>conftest.$ac_ext
  21240. -cat >>conftest.$ac_ext <<_ACEOF
  21241. -/* end confdefs.h. */
  21242. -$ac_includes_default
  21243. -int
  21244. -main ()
  21245. -{
  21246. -static struct sockaddr_in ac_aggr;
  21247. -if (ac_aggr.sin_len)
  21248. -return 0;
  21249. - ;
  21250. - return 0;
  21251. -}
  21252. -_ACEOF
  21253. -rm -f conftest.$ac_objext
  21254. -if { (ac_try="$ac_compile"
  21255. -case "(($ac_try" in
  21256. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21257. - *) ac_try_echo=$ac_try;;
  21258. -esac
  21259. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21260. -$as_echo "$ac_try_echo") >&5
  21261. - (eval "$ac_compile") 2>conftest.er1
  21262. - ac_status=$?
  21263. - grep -v '^ *+' conftest.er1 >conftest.err
  21264. - rm -f conftest.er1
  21265. - cat conftest.err >&5
  21266. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21267. - (exit $ac_status); } && {
  21268. - test -z "$ac_c_werror_flag" ||
  21269. - test ! -s conftest.err
  21270. - } && test -s conftest.$ac_objext; then
  21271. - ac_cv_member_struct_sockaddr_in_sin_len=yes
  21272. -else
  21273. - $as_echo "$as_me: failed program was:" >&5
  21274. -sed 's/^/| /' conftest.$ac_ext >&5
  21275. -
  21276. - cat >conftest.$ac_ext <<_ACEOF
  21277. -/* confdefs.h. */
  21278. -_ACEOF
  21279. -cat confdefs.h >>conftest.$ac_ext
  21280. -cat >>conftest.$ac_ext <<_ACEOF
  21281. -/* end confdefs.h. */
  21282. -$ac_includes_default
  21283. -int
  21284. -main ()
  21285. -{
  21286. -static struct sockaddr_in ac_aggr;
  21287. -if (sizeof ac_aggr.sin_len)
  21288. -return 0;
  21289. - ;
  21290. - return 0;
  21291. -}
  21292. -_ACEOF
  21293. -rm -f conftest.$ac_objext
  21294. -if { (ac_try="$ac_compile"
  21295. -case "(($ac_try" in
  21296. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21297. - *) ac_try_echo=$ac_try;;
  21298. -esac
  21299. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21300. -$as_echo "$ac_try_echo") >&5
  21301. - (eval "$ac_compile") 2>conftest.er1
  21302. - ac_status=$?
  21303. - grep -v '^ *+' conftest.er1 >conftest.err
  21304. - rm -f conftest.er1
  21305. - cat conftest.err >&5
  21306. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21307. - (exit $ac_status); } && {
  21308. - test -z "$ac_c_werror_flag" ||
  21309. - test ! -s conftest.err
  21310. - } && test -s conftest.$ac_objext; then
  21311. - ac_cv_member_struct_sockaddr_in_sin_len=yes
  21312. -else
  21313. - $as_echo "$as_me: failed program was:" >&5
  21314. -sed 's/^/| /' conftest.$ac_ext >&5
  21315. -
  21316. - ac_cv_member_struct_sockaddr_in_sin_len=no
  21317. -fi
  21318. -
  21319. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21320. -fi
  21321. -
  21322. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21323. -fi
  21324. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
  21325. -$as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
  21326. -if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then
  21327. -
  21328. -cat >>confdefs.h <<\_ACEOF
  21329. -#define SOCKADDR_IN_HAS_LEN 1
  21330. -_ACEOF
  21331. -
  21332. -fi
  21333. -
  21334. -fi
  21335. -{ $as_echo "$as_me:$LINENO: checking for struct addrinfo" >&5
  21336. -$as_echo_n "checking for struct addrinfo... " >&6; }
  21337. -if test "${ac_cv_type_struct_addrinfo+set}" = set; then
  21338. - $as_echo_n "(cached) " >&6
  21339. -else
  21340. - ac_cv_type_struct_addrinfo=no
  21341. -cat >conftest.$ac_ext <<_ACEOF
  21342. -/* confdefs.h. */
  21343. -_ACEOF
  21344. -cat confdefs.h >>conftest.$ac_ext
  21345. -cat >>conftest.$ac_ext <<_ACEOF
  21346. -/* end confdefs.h. */
  21347. -#include <netdb.h>
  21348. -
  21349. -int
  21350. -main ()
  21351. -{
  21352. -if (sizeof (struct addrinfo))
  21353. - return 0;
  21354. - ;
  21355. - return 0;
  21356. -}
  21357. -_ACEOF
  21358. -rm -f conftest.$ac_objext
  21359. -if { (ac_try="$ac_compile"
  21360. -case "(($ac_try" in
  21361. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21362. - *) ac_try_echo=$ac_try;;
  21363. -esac
  21364. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21365. -$as_echo "$ac_try_echo") >&5
  21366. - (eval "$ac_compile") 2>conftest.er1
  21367. - ac_status=$?
  21368. - grep -v '^ *+' conftest.er1 >conftest.err
  21369. - rm -f conftest.er1
  21370. - cat conftest.err >&5
  21371. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21372. - (exit $ac_status); } && {
  21373. - test -z "$ac_c_werror_flag" ||
  21374. - test ! -s conftest.err
  21375. - } && test -s conftest.$ac_objext; then
  21376. - cat >conftest.$ac_ext <<_ACEOF
  21377. -/* confdefs.h. */
  21378. -_ACEOF
  21379. -cat confdefs.h >>conftest.$ac_ext
  21380. -cat >>conftest.$ac_ext <<_ACEOF
  21381. -/* end confdefs.h. */
  21382. -#include <netdb.h>
  21383. -
  21384. -int
  21385. -main ()
  21386. -{
  21387. -if (sizeof ((struct addrinfo)))
  21388. - return 0;
  21389. - ;
  21390. - return 0;
  21391. -}
  21392. -_ACEOF
  21393. -rm -f conftest.$ac_objext
  21394. -if { (ac_try="$ac_compile"
  21395. -case "(($ac_try" in
  21396. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21397. - *) ac_try_echo=$ac_try;;
  21398. -esac
  21399. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21400. -$as_echo "$ac_try_echo") >&5
  21401. - (eval "$ac_compile") 2>conftest.er1
  21402. - ac_status=$?
  21403. - grep -v '^ *+' conftest.er1 >conftest.err
  21404. - rm -f conftest.er1
  21405. - cat conftest.err >&5
  21406. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21407. - (exit $ac_status); } && {
  21408. - test -z "$ac_c_werror_flag" ||
  21409. - test ! -s conftest.err
  21410. - } && test -s conftest.$ac_objext; then
  21411. - :
  21412. -else
  21413. - $as_echo "$as_me: failed program was:" >&5
  21414. -sed 's/^/| /' conftest.$ac_ext >&5
  21415. -
  21416. - ac_cv_type_struct_addrinfo=yes
  21417. -fi
  21418. -
  21419. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21420. -else
  21421. - $as_echo "$as_me: failed program was:" >&5
  21422. -sed 's/^/| /' conftest.$ac_ext >&5
  21423. + ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "$ac_includes_default"
  21424. +if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
  21425. +$as_echo "#define SOCKADDR_IN_HAS_LEN 1" >>confdefs.h
  21426. fi
  21427. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21428. fi
  21429. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5
  21430. -$as_echo "$ac_cv_type_struct_addrinfo" >&6; }
  21431. -if test "x$ac_cv_type_struct_addrinfo" = x""yes; then
  21432. +ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <netdb.h>
  21433. +"
  21434. +if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
  21435. cat >>confdefs.h <<_ACEOF
  21436. #define HAVE_STRUCT_ADDRINFO 1
  21437. @@ -17720,19 +16191,7 @@
  21438. fi
  21439. -{ $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
  21440. -$as_echo_n "checking for socklen_t... " >&6; }
  21441. -if test "${ac_cv_type_socklen_t+set}" = set; then
  21442. - $as_echo_n "(cached) " >&6
  21443. -else
  21444. - ac_cv_type_socklen_t=no
  21445. -cat >conftest.$ac_ext <<_ACEOF
  21446. -/* confdefs.h. */
  21447. -_ACEOF
  21448. -cat confdefs.h >>conftest.$ac_ext
  21449. -cat >>conftest.$ac_ext <<_ACEOF
  21450. -/* end confdefs.h. */
  21451. -
  21452. +ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
  21453. #ifdef HAVE_SYS_TYPES_H
  21454. #include <sys/types.h>
  21455. #endif
  21456. @@ -17740,115 +16199,20 @@
  21457. #include <sys/socket.h>
  21458. #endif
  21459. +"
  21460. +if test "x$ac_cv_type_socklen_t" = x""yes; then :
  21461. -int
  21462. -main ()
  21463. -{
  21464. -if (sizeof (socklen_t))
  21465. - return 0;
  21466. - ;
  21467. - return 0;
  21468. -}
  21469. -_ACEOF
  21470. -rm -f conftest.$ac_objext
  21471. -if { (ac_try="$ac_compile"
  21472. -case "(($ac_try" in
  21473. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21474. - *) ac_try_echo=$ac_try;;
  21475. -esac
  21476. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21477. -$as_echo "$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. - $as_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. - cat >conftest.$ac_ext <<_ACEOF
  21489. -/* confdefs.h. */
  21490. -_ACEOF
  21491. -cat confdefs.h >>conftest.$ac_ext
  21492. -cat >>conftest.$ac_ext <<_ACEOF
  21493. -/* end confdefs.h. */
  21494. -
  21495. - #ifdef HAVE_SYS_TYPES_H
  21496. - #include <sys/types.h>
  21497. - #endif
  21498. - #ifdef HAVE_SYS_SOCKET_H
  21499. - #include <sys/socket.h>
  21500. - #endif
  21501. -
  21502. -
  21503. -int
  21504. -main ()
  21505. -{
  21506. -if (sizeof ((socklen_t)))
  21507. - return 0;
  21508. - ;
  21509. - return 0;
  21510. -}
  21511. -_ACEOF
  21512. -rm -f conftest.$ac_objext
  21513. -if { (ac_try="$ac_compile"
  21514. -case "(($ac_try" in
  21515. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21516. - *) ac_try_echo=$ac_try;;
  21517. -esac
  21518. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21519. -$as_echo "$ac_try_echo") >&5
  21520. - (eval "$ac_compile") 2>conftest.er1
  21521. - ac_status=$?
  21522. - grep -v '^ *+' conftest.er1 >conftest.err
  21523. - rm -f conftest.er1
  21524. - cat conftest.err >&5
  21525. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21526. - (exit $ac_status); } && {
  21527. - test -z "$ac_c_werror_flag" ||
  21528. - test ! -s conftest.err
  21529. - } && test -s conftest.$ac_objext; then
  21530. - :
  21531. -else
  21532. - $as_echo "$as_me: failed program was:" >&5
  21533. -sed 's/^/| /' conftest.$ac_ext >&5
  21534. -
  21535. - ac_cv_type_socklen_t=yes
  21536. -fi
  21537. -
  21538. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21539. -else
  21540. - $as_echo "$as_me: failed program was:" >&5
  21541. -sed 's/^/| /' conftest.$ac_ext >&5
  21542. -
  21543. -
  21544. -fi
  21545. -
  21546. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21547. -fi
  21548. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
  21549. -$as_echo "$ac_cv_type_socklen_t" >&6; }
  21550. -if test "x$ac_cv_type_socklen_t" = x""yes; then
  21551. - :
  21552. else
  21553. -cat >>confdefs.h <<\_ACEOF
  21554. -#define socklen_t unsigned int
  21555. -_ACEOF
  21556. +$as_echo "#define socklen_t unsigned int" >>confdefs.h
  21557. fi
  21558. -{ $as_echo "$as_me:$LINENO: checking for AF_NETLINK" >&5
  21559. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AF_NETLINK" >&5
  21560. $as_echo_n "checking for AF_NETLINK... " >&6; }
  21561. -cat >conftest.$ac_ext <<_ACEOF
  21562. -/* confdefs.h. */
  21563. -_ACEOF
  21564. -cat confdefs.h >>conftest.$ac_ext
  21565. -cat >>conftest.$ac_ext <<_ACEOF
  21566. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21567. /* end confdefs.h. */
  21568. #ifdef HAVE_SYS_TYPES_H
  21569. @@ -17866,61 +16230,34 @@
  21570. return 0;
  21571. }
  21572. _ACEOF
  21573. -rm -f conftest.$ac_objext
  21574. -if { (ac_try="$ac_compile"
  21575. -case "(($ac_try" in
  21576. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21577. - *) ac_try_echo=$ac_try;;
  21578. -esac
  21579. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21580. -$as_echo "$ac_try_echo") >&5
  21581. - (eval "$ac_compile") 2>conftest.er1
  21582. - ac_status=$?
  21583. - grep -v '^ *+' conftest.er1 >conftest.err
  21584. - rm -f conftest.er1
  21585. - cat conftest.err >&5
  21586. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21587. - (exit $ac_status); } && {
  21588. - test -z "$ac_c_werror_flag" ||
  21589. - test ! -s conftest.err
  21590. - } && test -s conftest.$ac_objext; then
  21591. +if ac_fn_c_try_compile "$LINENO"; then :
  21592. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  21593. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21594. $as_echo "yes" >&6; }
  21595. have_af_netlink="yes"
  21596. -cat >>confdefs.h <<\_ACEOF
  21597. -#define HAVE_AF_NETLINK 1
  21598. -_ACEOF
  21599. -
  21600. -
  21601. -else
  21602. - $as_echo "$as_me: failed program was:" >&5
  21603. -sed 's/^/| /' conftest.$ac_ext >&5
  21604. +$as_echo "#define HAVE_AF_NETLINK 1" >>confdefs.h
  21605. - { $as_echo "$as_me:$LINENO: result: no" >&5
  21606. +
  21607. +else
  21608. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21609. $as_echo "no" >&6; }
  21610. have_af_netlink="no"
  21611. fi
  21612. -
  21613. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21614. if test "${have_af_netlink}" != "yes" ; then
  21615. if test "${ENABLE_W1}" != "false" ; then
  21616. - { $as_echo "$as_me:$LINENO: WARNING: Disable w1 since AF_NETLINK not found" >&5
  21617. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disable w1 since AF_NETLINK not found" >&5
  21618. $as_echo "$as_me: WARNING: Disable w1 since AF_NETLINK not found" >&2;}
  21619. ENABLE_W1="false"
  21620. fi
  21621. fi
  21622. -{ $as_echo "$as_me:$LINENO: checking for broken glibc with __ss_family" >&5
  21623. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken glibc with __ss_family" >&5
  21624. $as_echo_n "checking for broken glibc with __ss_family... " >&6; }
  21625. -cat >conftest.$ac_ext <<_ACEOF
  21626. -/* confdefs.h. */
  21627. -_ACEOF
  21628. -cat confdefs.h >>conftest.$ac_ext
  21629. -cat >>conftest.$ac_ext <<_ACEOF
  21630. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21631. /* end confdefs.h. */
  21632. #ifdef HAVE_SYS_TYPES_H
  21633. @@ -17938,51 +16275,24 @@
  21634. return 0;
  21635. }
  21636. _ACEOF
  21637. -rm -f conftest.$ac_objext
  21638. -if { (ac_try="$ac_compile"
  21639. -case "(($ac_try" in
  21640. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21641. - *) ac_try_echo=$ac_try;;
  21642. -esac
  21643. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21644. -$as_echo "$ac_try_echo") >&5
  21645. - (eval "$ac_compile") 2>conftest.er1
  21646. - ac_status=$?
  21647. - grep -v '^ *+' conftest.er1 >conftest.err
  21648. - rm -f conftest.er1
  21649. - cat conftest.err >&5
  21650. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21651. - (exit $ac_status); } && {
  21652. - test -z "$ac_c_werror_flag" ||
  21653. - test ! -s conftest.err
  21654. - } && test -s conftest.$ac_objext; then
  21655. +if ac_fn_c_try_compile "$LINENO"; then :
  21656. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  21657. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21658. $as_echo "yes" >&6; }
  21659. -cat >>confdefs.h <<\_ACEOF
  21660. -#define HAVE_BROKEN_SS_FAMILY 1
  21661. -_ACEOF
  21662. +$as_echo "#define HAVE_BROKEN_SS_FAMILY 1" >>confdefs.h
  21663. else
  21664. - $as_echo "$as_me: failed program was:" >&5
  21665. -sed 's/^/| /' conftest.$ac_ext >&5
  21666. -
  21667. - { $as_echo "$as_me:$LINENO: result: no" >&5
  21668. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21669. $as_echo "no" >&6; }
  21670. fi
  21671. -
  21672. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21673. -{ $as_echo "$as_me:$LINENO: checking for core ipv6 support" >&5
  21674. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for core ipv6 support" >&5
  21675. $as_echo_n "checking for core ipv6 support... " >&6; }
  21676. -cat >conftest.$ac_ext <<_ACEOF
  21677. -/* confdefs.h. */
  21678. -_ACEOF
  21679. -cat confdefs.h >>conftest.$ac_ext
  21680. -cat >>conftest.$ac_ext <<_ACEOF
  21681. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21682. /* end confdefs.h. */
  21683. #define IN_AUTOCONF
  21684. #include "include/stdinc.h"
  21685. @@ -17997,45 +16307,22 @@
  21686. return 0;
  21687. }
  21688. _ACEOF
  21689. -rm -f conftest.$ac_objext
  21690. -if { (ac_try="$ac_compile"
  21691. -case "(($ac_try" in
  21692. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21693. - *) ac_try_echo=$ac_try;;
  21694. -esac
  21695. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21696. -$as_echo "$ac_try_echo") >&5
  21697. - (eval "$ac_compile") 2>conftest.er1
  21698. - ac_status=$?
  21699. - grep -v '^ *+' conftest.er1 >conftest.err
  21700. - rm -f conftest.er1
  21701. - cat conftest.err >&5
  21702. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21703. - (exit $ac_status); } && {
  21704. - test -z "$ac_c_werror_flag" ||
  21705. - test ! -s conftest.err
  21706. - } && test -s conftest.$ac_objext; then
  21707. +if ac_fn_c_try_compile "$LINENO"; then :
  21708. if test "${HAVE_CYGWIN}" = "true" ; then
  21709. - { $as_echo "$as_me:$LINENO: result: no, Cygwin's ipv6 is incomplete" >&5
  21710. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, Cygwin's ipv6 is incomplete" >&5
  21711. $as_echo "no, Cygwin's ipv6 is incomplete" >&6; }
  21712. have_v6=no
  21713. else
  21714. have_v6=yes
  21715. -cat >>confdefs.h <<\_ACEOF
  21716. -#define IPV6 1
  21717. -_ACEOF
  21718. +$as_echo "#define IPV6 1" >>confdefs.h
  21719. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  21720. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21721. $as_echo "yes" >&6; }
  21722. - { $as_echo "$as_me:$LINENO: checking for struct in6addr_any" >&5
  21723. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct in6addr_any" >&5
  21724. $as_echo_n "checking for struct in6addr_any... " >&6; }
  21725. - cat >conftest.$ac_ext <<_ACEOF
  21726. -/* confdefs.h. */
  21727. -_ACEOF
  21728. -cat confdefs.h >>conftest.$ac_ext
  21729. -cat >>conftest.$ac_ext <<_ACEOF
  21730. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21731. /* end confdefs.h. */
  21732. #define IN_AUTOCONF
  21733. #include "include/stdinc.h"
  21734. @@ -18048,70 +16335,39 @@
  21735. return 0;
  21736. }
  21737. _ACEOF
  21738. -rm -f conftest.$ac_objext
  21739. -if { (ac_try="$ac_compile"
  21740. -case "(($ac_try" in
  21741. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21742. - *) ac_try_echo=$ac_try;;
  21743. -esac
  21744. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21745. -$as_echo "$ac_try_echo") >&5
  21746. - (eval "$ac_compile") 2>conftest.er1
  21747. - ac_status=$?
  21748. - grep -v '^ *+' conftest.er1 >conftest.err
  21749. - rm -f conftest.er1
  21750. - cat conftest.err >&5
  21751. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21752. - (exit $ac_status); } && {
  21753. - test -z "$ac_c_werror_flag" ||
  21754. - test ! -s conftest.err
  21755. - } && test -s conftest.$ac_objext; then
  21756. - { $as_echo "$as_me:$LINENO: result: yes" >&5
  21757. +if ac_fn_c_try_compile "$LINENO"; then :
  21758. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21759. $as_echo "yes" >&6; }
  21760. else
  21761. - $as_echo "$as_me: failed program was:" >&5
  21762. -sed 's/^/| /' conftest.$ac_ext >&5
  21763. -
  21764. - { $as_echo "$as_me:$LINENO: result: no" >&5
  21765. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21766. $as_echo "no" >&6; }
  21767. -cat >>confdefs.h <<\_ACEOF
  21768. -#define NO_IN6ADDR_ANY 1
  21769. -_ACEOF
  21770. +$as_echo "#define NO_IN6ADDR_ANY 1" >>confdefs.h
  21771. inet_misc=1
  21772. fi
  21773. -
  21774. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21775. fi
  21776. else
  21777. - $as_echo "$as_me: failed program was:" >&5
  21778. -sed 's/^/| /' conftest.$ac_ext >&5
  21779. -
  21780. - { $as_echo "$as_me:$LINENO: result: no" >&5
  21781. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21782. $as_echo "no" >&6; }
  21783. have_v6="no"
  21784. fi
  21785. -
  21786. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21787. -{ $as_echo "$as_me:$LINENO: checking if sem_timedwait exists" >&5
  21788. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sem_timedwait exists" >&5
  21789. $as_echo_n "checking if sem_timedwait exists... " >&6; }
  21790. -if test "${ac_cv_sem_timedwait+set}" = set; then
  21791. +if test "${ac_cv_sem_timedwait+set}" = set; then :
  21792. $as_echo_n "(cached) " >&6
  21793. else
  21794. save_LIBS="$LIBS"; LIBS="$LIBS $PTHREAD_LIBS" ; save_CFLAGS="$CFLAGS"; CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
  21795. -cat >conftest.$ac_ext <<_ACEOF
  21796. -/* confdefs.h. */
  21797. -_ACEOF
  21798. -cat confdefs.h >>conftest.$ac_ext
  21799. -cat >>conftest.$ac_ext <<_ACEOF
  21800. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21801. /* end confdefs.h. */
  21802. #if HAVE_STDLIB_H
  21803. @@ -18129,106 +16385,57 @@
  21804. return 0;
  21805. }
  21806. _ACEOF
  21807. -rm -f conftest.$ac_objext conftest$ac_exeext
  21808. -if { (ac_try="$ac_link"
  21809. -case "(($ac_try" in
  21810. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21811. - *) ac_try_echo=$ac_try;;
  21812. -esac
  21813. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21814. -$as_echo "$ac_try_echo") >&5
  21815. - (eval "$ac_link") 2>conftest.er1
  21816. - ac_status=$?
  21817. - grep -v '^ *+' conftest.er1 >conftest.err
  21818. - rm -f conftest.er1
  21819. - cat conftest.err >&5
  21820. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21821. - (exit $ac_status); } && {
  21822. - test -z "$ac_c_werror_flag" ||
  21823. - test ! -s conftest.err
  21824. - } && test -s conftest$ac_exeext && {
  21825. - test "$cross_compiling" = yes ||
  21826. - $as_test_x conftest$ac_exeext
  21827. - }; then
  21828. +if ac_fn_c_try_link "$LINENO"; then :
  21829. ac_cv_sem_timedwait="yes"
  21830. else
  21831. - $as_echo "$as_me: failed program was:" >&5
  21832. -sed 's/^/| /' conftest.$ac_ext >&5
  21833. -
  21834. - { $as_echo "$as_me:$LINENO: WARNING: Can't find sem_timedwait" >&5
  21835. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find sem_timedwait" >&5
  21836. $as_echo "$as_me: WARNING: Can't find sem_timedwait" >&2;}
  21837. ac_cv_sem_timedwait="no"
  21838. fi
  21839. -
  21840. -rm -rf conftest.dSYM
  21841. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  21842. - conftest$ac_exeext conftest.$ac_ext
  21843. +rm -f core conftest.err conftest.$ac_objext \
  21844. + conftest$ac_exeext conftest.$ac_ext
  21845. LIBS="$save_LIBS"
  21846. CFLAGS="$save_CFLAGS"
  21847. fi
  21848. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sem_timedwait" >&5
  21849. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sem_timedwait" >&5
  21850. $as_echo "$ac_cv_sem_timedwait" >&6; }
  21851. if test "$ac_cv_sem_timedwait" = "yes"; then
  21852. -cat >>confdefs.h <<\_ACEOF
  21853. -#define HAVE_SEM_TIMEDWAIT 1
  21854. -_ACEOF
  21855. +$as_echo "#define HAVE_SEM_TIMEDWAIT 1" >>confdefs.h
  21856. fi
  21857. -{ $as_echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
  21858. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
  21859. $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
  21860. -if test "${gcc_cv_header_string+set}" = set; then
  21861. +if test "${gcc_cv_header_string+set}" = set; then :
  21862. $as_echo_n "(cached) " >&6
  21863. else
  21864. - cat >conftest.$ac_ext <<_ACEOF
  21865. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21866. +/* end confdefs.h. */
  21867. #include <string.h>
  21868. #include <strings.h>
  21869. _ACEOF
  21870. -rm -f conftest.$ac_objext
  21871. -if { (ac_try="$ac_compile"
  21872. -case "(($ac_try" in
  21873. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21874. - *) ac_try_echo=$ac_try;;
  21875. -esac
  21876. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21877. -$as_echo "$ac_try_echo") >&5
  21878. - (eval "$ac_compile") 2>conftest.er1
  21879. - ac_status=$?
  21880. - grep -v '^ *+' conftest.er1 >conftest.err
  21881. - rm -f conftest.er1
  21882. - cat conftest.err >&5
  21883. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21884. - (exit $ac_status); } && {
  21885. - test -z "$ac_c_werror_flag" ||
  21886. - test ! -s conftest.err
  21887. - } && test -s conftest.$ac_objext; then
  21888. +if ac_fn_c_try_compile "$LINENO"; then :
  21889. gcc_cv_header_string=yes
  21890. else
  21891. - $as_echo "$as_me: failed program was:" >&5
  21892. -sed 's/^/| /' conftest.$ac_ext >&5
  21893. -
  21894. - gcc_cv_header_string=no
  21895. + gcc_cv_header_string=no
  21896. fi
  21897. -
  21898. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21899. fi
  21900. -{ $as_echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
  21901. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
  21902. $as_echo "$gcc_cv_header_string" >&6; }
  21903. if test "$gcc_cv_header_string" = "yes"; then
  21904. -cat >>confdefs.h <<\_ACEOF
  21905. -#define STRING_WITH_STRINGS 1
  21906. -_ACEOF
  21907. +$as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
  21908. fi
  21909. @@ -18318,16 +16525,12 @@
  21910. # Checks for typedefs, structures, and compiler characteristics.
  21911. -{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  21912. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  21913. $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  21914. -if test "${ac_cv_c_const+set}" = set; then
  21915. +if test "${ac_cv_c_const+set}" = set; then :
  21916. $as_echo_n "(cached) " >&6
  21917. else
  21918. - cat >conftest.$ac_ext <<_ACEOF
  21919. -/* confdefs.h. */
  21920. -_ACEOF
  21921. -cat confdefs.h >>conftest.$ac_ext
  21922. -cat >>conftest.$ac_ext <<_ACEOF
  21923. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21924. /* end confdefs.h. */
  21925. int
  21926. @@ -18387,140 +16590,24 @@
  21927. return 0;
  21928. }
  21929. _ACEOF
  21930. -rm -f conftest.$ac_objext
  21931. -if { (ac_try="$ac_compile"
  21932. -case "(($ac_try" in
  21933. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21934. - *) ac_try_echo=$ac_try;;
  21935. -esac
  21936. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21937. -$as_echo "$ac_try_echo") >&5
  21938. - (eval "$ac_compile") 2>conftest.er1
  21939. - ac_status=$?
  21940. - grep -v '^ *+' conftest.er1 >conftest.err
  21941. - rm -f conftest.er1
  21942. - cat conftest.err >&5
  21943. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  21944. - (exit $ac_status); } && {
  21945. - test -z "$ac_c_werror_flag" ||
  21946. - test ! -s conftest.err
  21947. - } && test -s conftest.$ac_objext; then
  21948. +if ac_fn_c_try_compile "$LINENO"; then :
  21949. ac_cv_c_const=yes
  21950. else
  21951. - $as_echo "$as_me: failed program was:" >&5
  21952. -sed 's/^/| /' conftest.$ac_ext >&5
  21953. -
  21954. - ac_cv_c_const=no
  21955. + ac_cv_c_const=no
  21956. fi
  21957. -
  21958. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21959. fi
  21960. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  21961. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  21962. $as_echo "$ac_cv_c_const" >&6; }
  21963. if test $ac_cv_c_const = no; then
  21964. -cat >>confdefs.h <<\_ACEOF
  21965. -#define const /**/
  21966. -_ACEOF
  21967. -
  21968. -fi
  21969. -
  21970. -{ $as_echo "$as_me:$LINENO: checking for off_t" >&5
  21971. -$as_echo_n "checking for off_t... " >&6; }
  21972. -if test "${ac_cv_type_off_t+set}" = set; then
  21973. - $as_echo_n "(cached) " >&6
  21974. -else
  21975. - ac_cv_type_off_t=no
  21976. -cat >conftest.$ac_ext <<_ACEOF
  21977. -/* confdefs.h. */
  21978. -_ACEOF
  21979. -cat confdefs.h >>conftest.$ac_ext
  21980. -cat >>conftest.$ac_ext <<_ACEOF
  21981. -/* end confdefs.h. */
  21982. -$ac_includes_default
  21983. -int
  21984. -main ()
  21985. -{
  21986. -if (sizeof (off_t))
  21987. - return 0;
  21988. - ;
  21989. - return 0;
  21990. -}
  21991. -_ACEOF
  21992. -rm -f conftest.$ac_objext
  21993. -if { (ac_try="$ac_compile"
  21994. -case "(($ac_try" in
  21995. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  21996. - *) ac_try_echo=$ac_try;;
  21997. -esac
  21998. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  21999. -$as_echo "$ac_try_echo") >&5
  22000. - (eval "$ac_compile") 2>conftest.er1
  22001. - ac_status=$?
  22002. - grep -v '^ *+' conftest.er1 >conftest.err
  22003. - rm -f conftest.er1
  22004. - cat conftest.err >&5
  22005. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22006. - (exit $ac_status); } && {
  22007. - test -z "$ac_c_werror_flag" ||
  22008. - test ! -s conftest.err
  22009. - } && test -s conftest.$ac_objext; then
  22010. - cat >conftest.$ac_ext <<_ACEOF
  22011. -/* confdefs.h. */
  22012. -_ACEOF
  22013. -cat confdefs.h >>conftest.$ac_ext
  22014. -cat >>conftest.$ac_ext <<_ACEOF
  22015. -/* end confdefs.h. */
  22016. -$ac_includes_default
  22017. -int
  22018. -main ()
  22019. -{
  22020. -if (sizeof ((off_t)))
  22021. - return 0;
  22022. - ;
  22023. - return 0;
  22024. -}
  22025. -_ACEOF
  22026. -rm -f conftest.$ac_objext
  22027. -if { (ac_try="$ac_compile"
  22028. -case "(($ac_try" in
  22029. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22030. - *) ac_try_echo=$ac_try;;
  22031. -esac
  22032. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22033. -$as_echo "$ac_try_echo") >&5
  22034. - (eval "$ac_compile") 2>conftest.er1
  22035. - ac_status=$?
  22036. - grep -v '^ *+' conftest.er1 >conftest.err
  22037. - rm -f conftest.er1
  22038. - cat conftest.err >&5
  22039. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22040. - (exit $ac_status); } && {
  22041. - test -z "$ac_c_werror_flag" ||
  22042. - test ! -s conftest.err
  22043. - } && test -s conftest.$ac_objext; then
  22044. - :
  22045. -else
  22046. - $as_echo "$as_me: failed program was:" >&5
  22047. -sed 's/^/| /' conftest.$ac_ext >&5
  22048. +$as_echo "#define const /**/" >>confdefs.h
  22049. - ac_cv_type_off_t=yes
  22050. fi
  22051. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22052. -else
  22053. - $as_echo "$as_me: failed program was:" >&5
  22054. -sed 's/^/| /' conftest.$ac_ext >&5
  22055. -
  22056. +ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
  22057. +if test "x$ac_cv_type_off_t" = x""yes; then :
  22058. -fi
  22059. -
  22060. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22061. -fi
  22062. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
  22063. -$as_echo "$ac_cv_type_off_t" >&6; }
  22064. -if test "x$ac_cv_type_off_t" = x""yes; then
  22065. - :
  22066. else
  22067. cat >>confdefs.h <<_ACEOF
  22068. @@ -18529,102 +16616,9 @@
  22069. fi
  22070. -{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5
  22071. -$as_echo_n "checking for pid_t... " >&6; }
  22072. -if test "${ac_cv_type_pid_t+set}" = set; then
  22073. - $as_echo_n "(cached) " >&6
  22074. -else
  22075. - ac_cv_type_pid_t=no
  22076. -cat >conftest.$ac_ext <<_ACEOF
  22077. -/* confdefs.h. */
  22078. -_ACEOF
  22079. -cat confdefs.h >>conftest.$ac_ext
  22080. -cat >>conftest.$ac_ext <<_ACEOF
  22081. -/* end confdefs.h. */
  22082. -$ac_includes_default
  22083. -int
  22084. -main ()
  22085. -{
  22086. -if (sizeof (pid_t))
  22087. - return 0;
  22088. - ;
  22089. - return 0;
  22090. -}
  22091. -_ACEOF
  22092. -rm -f conftest.$ac_objext
  22093. -if { (ac_try="$ac_compile"
  22094. -case "(($ac_try" in
  22095. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22096. - *) ac_try_echo=$ac_try;;
  22097. -esac
  22098. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22099. -$as_echo "$ac_try_echo") >&5
  22100. - (eval "$ac_compile") 2>conftest.er1
  22101. - ac_status=$?
  22102. - grep -v '^ *+' conftest.er1 >conftest.err
  22103. - rm -f conftest.er1
  22104. - cat conftest.err >&5
  22105. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22106. - (exit $ac_status); } && {
  22107. - test -z "$ac_c_werror_flag" ||
  22108. - test ! -s conftest.err
  22109. - } && test -s conftest.$ac_objext; then
  22110. - cat >conftest.$ac_ext <<_ACEOF
  22111. -/* confdefs.h. */
  22112. -_ACEOF
  22113. -cat confdefs.h >>conftest.$ac_ext
  22114. -cat >>conftest.$ac_ext <<_ACEOF
  22115. -/* end confdefs.h. */
  22116. -$ac_includes_default
  22117. -int
  22118. -main ()
  22119. -{
  22120. -if (sizeof ((pid_t)))
  22121. - return 0;
  22122. - ;
  22123. - return 0;
  22124. -}
  22125. -_ACEOF
  22126. -rm -f conftest.$ac_objext
  22127. -if { (ac_try="$ac_compile"
  22128. -case "(($ac_try" in
  22129. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22130. - *) ac_try_echo=$ac_try;;
  22131. -esac
  22132. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22133. -$as_echo "$ac_try_echo") >&5
  22134. - (eval "$ac_compile") 2>conftest.er1
  22135. - ac_status=$?
  22136. - grep -v '^ *+' conftest.er1 >conftest.err
  22137. - rm -f conftest.er1
  22138. - cat conftest.err >&5
  22139. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22140. - (exit $ac_status); } && {
  22141. - test -z "$ac_c_werror_flag" ||
  22142. - test ! -s conftest.err
  22143. - } && test -s conftest.$ac_objext; then
  22144. - :
  22145. -else
  22146. - $as_echo "$as_me: failed program was:" >&5
  22147. -sed 's/^/| /' conftest.$ac_ext >&5
  22148. -
  22149. - ac_cv_type_pid_t=yes
  22150. -fi
  22151. -
  22152. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22153. -else
  22154. - $as_echo "$as_me: failed program was:" >&5
  22155. -sed 's/^/| /' conftest.$ac_ext >&5
  22156. -
  22157. -
  22158. -fi
  22159. +ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
  22160. +if test "x$ac_cv_type_pid_t" = x""yes; then :
  22161. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22162. -fi
  22163. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
  22164. -$as_echo "$ac_cv_type_pid_t" >&6; }
  22165. -if test "x$ac_cv_type_pid_t" = x""yes; then
  22166. - :
  22167. else
  22168. cat >>confdefs.h <<_ACEOF
  22169. @@ -18632,103 +16626,10 @@
  22170. _ACEOF
  22171. fi
  22172. -
  22173. -{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
  22174. -$as_echo_n "checking for size_t... " >&6; }
  22175. -if test "${ac_cv_type_size_t+set}" = set; then
  22176. - $as_echo_n "(cached) " >&6
  22177. -else
  22178. - ac_cv_type_size_t=no
  22179. -cat >conftest.$ac_ext <<_ACEOF
  22180. -/* confdefs.h. */
  22181. -_ACEOF
  22182. -cat confdefs.h >>conftest.$ac_ext
  22183. -cat >>conftest.$ac_ext <<_ACEOF
  22184. -/* end confdefs.h. */
  22185. -$ac_includes_default
  22186. -int
  22187. -main ()
  22188. -{
  22189. -if (sizeof (size_t))
  22190. - return 0;
  22191. - ;
  22192. - return 0;
  22193. -}
  22194. -_ACEOF
  22195. -rm -f conftest.$ac_objext
  22196. -if { (ac_try="$ac_compile"
  22197. -case "(($ac_try" in
  22198. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22199. - *) ac_try_echo=$ac_try;;
  22200. -esac
  22201. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22202. -$as_echo "$ac_try_echo") >&5
  22203. - (eval "$ac_compile") 2>conftest.er1
  22204. - ac_status=$?
  22205. - grep -v '^ *+' conftest.er1 >conftest.err
  22206. - rm -f conftest.er1
  22207. - cat conftest.err >&5
  22208. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22209. - (exit $ac_status); } && {
  22210. - test -z "$ac_c_werror_flag" ||
  22211. - test ! -s conftest.err
  22212. - } && test -s conftest.$ac_objext; then
  22213. - cat >conftest.$ac_ext <<_ACEOF
  22214. -/* confdefs.h. */
  22215. -_ACEOF
  22216. -cat confdefs.h >>conftest.$ac_ext
  22217. -cat >>conftest.$ac_ext <<_ACEOF
  22218. -/* end confdefs.h. */
  22219. -$ac_includes_default
  22220. -int
  22221. -main ()
  22222. -{
  22223. -if (sizeof ((size_t)))
  22224. - return 0;
  22225. - ;
  22226. - return 0;
  22227. -}
  22228. -_ACEOF
  22229. -rm -f conftest.$ac_objext
  22230. -if { (ac_try="$ac_compile"
  22231. -case "(($ac_try" in
  22232. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22233. - *) ac_try_echo=$ac_try;;
  22234. -esac
  22235. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22236. -$as_echo "$ac_try_echo") >&5
  22237. - (eval "$ac_compile") 2>conftest.er1
  22238. - ac_status=$?
  22239. - grep -v '^ *+' conftest.er1 >conftest.err
  22240. - rm -f conftest.er1
  22241. - cat conftest.err >&5
  22242. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22243. - (exit $ac_status); } && {
  22244. - test -z "$ac_c_werror_flag" ||
  22245. - test ! -s conftest.err
  22246. - } && test -s conftest.$ac_objext; then
  22247. - :
  22248. -else
  22249. - $as_echo "$as_me: failed program was:" >&5
  22250. -sed 's/^/| /' conftest.$ac_ext >&5
  22251. -
  22252. - ac_cv_type_size_t=yes
  22253. -fi
  22254. -
  22255. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22256. -else
  22257. - $as_echo "$as_me: failed program was:" >&5
  22258. -sed 's/^/| /' conftest.$ac_ext >&5
  22259. -
  22260. -
  22261. -fi
  22262. -
  22263. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22264. -fi
  22265. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  22266. -$as_echo "$ac_cv_type_size_t" >&6; }
  22267. -if test "x$ac_cv_type_size_t" = x""yes; then
  22268. - :
  22269. +
  22270. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  22271. +if test "x$ac_cv_type_size_t" = x""yes; then :
  22272. +
  22273. else
  22274. cat >>confdefs.h <<_ACEOF
  22275. @@ -18737,16 +16638,12 @@
  22276. fi
  22277. -{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  22278. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
  22279. $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
  22280. -if test "${ac_cv_header_time+set}" = set; then
  22281. +if test "${ac_cv_header_time+set}" = set; then :
  22282. $as_echo_n "(cached) " >&6
  22283. else
  22284. - cat >conftest.$ac_ext <<_ACEOF
  22285. -/* confdefs.h. */
  22286. -_ACEOF
  22287. -cat confdefs.h >>conftest.$ac_ext
  22288. -cat >>conftest.$ac_ext <<_ACEOF
  22289. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22290. /* end confdefs.h. */
  22291. #include <sys/types.h>
  22292. #include <sys/time.h>
  22293. @@ -18761,54 +16658,27 @@
  22294. return 0;
  22295. }
  22296. _ACEOF
  22297. -rm -f conftest.$ac_objext
  22298. -if { (ac_try="$ac_compile"
  22299. -case "(($ac_try" in
  22300. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22301. - *) ac_try_echo=$ac_try;;
  22302. -esac
  22303. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22304. -$as_echo "$ac_try_echo") >&5
  22305. - (eval "$ac_compile") 2>conftest.er1
  22306. - ac_status=$?
  22307. - grep -v '^ *+' conftest.er1 >conftest.err
  22308. - rm -f conftest.er1
  22309. - cat conftest.err >&5
  22310. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22311. - (exit $ac_status); } && {
  22312. - test -z "$ac_c_werror_flag" ||
  22313. - test ! -s conftest.err
  22314. - } && test -s conftest.$ac_objext; then
  22315. +if ac_fn_c_try_compile "$LINENO"; then :
  22316. ac_cv_header_time=yes
  22317. else
  22318. - $as_echo "$as_me: failed program was:" >&5
  22319. -sed 's/^/| /' conftest.$ac_ext >&5
  22320. -
  22321. - ac_cv_header_time=no
  22322. + ac_cv_header_time=no
  22323. fi
  22324. -
  22325. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22326. fi
  22327. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  22328. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
  22329. $as_echo "$ac_cv_header_time" >&6; }
  22330. if test $ac_cv_header_time = yes; then
  22331. -cat >>confdefs.h <<\_ACEOF
  22332. -#define TIME_WITH_SYS_TIME 1
  22333. -_ACEOF
  22334. +$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
  22335. fi
  22336. -{ $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
  22337. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
  22338. $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
  22339. -if test "${ac_cv_header_stdbool_h+set}" = set; then
  22340. +if test "${ac_cv_header_stdbool_h+set}" = set; then :
  22341. $as_echo_n "(cached) " >&6
  22342. else
  22343. - cat >conftest.$ac_ext <<_ACEOF
  22344. -/* confdefs.h. */
  22345. -_ACEOF
  22346. -cat confdefs.h >>conftest.$ac_ext
  22347. -cat >>conftest.$ac_ext <<_ACEOF
  22348. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22349. /* end confdefs.h. */
  22350. #include <stdbool.h>
  22351. @@ -18888,131 +16758,17 @@
  22352. return 0;
  22353. }
  22354. _ACEOF
  22355. -rm -f conftest.$ac_objext
  22356. -if { (ac_try="$ac_compile"
  22357. -case "(($ac_try" in
  22358. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22359. - *) ac_try_echo=$ac_try;;
  22360. -esac
  22361. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22362. -$as_echo "$ac_try_echo") >&5
  22363. - (eval "$ac_compile") 2>conftest.er1
  22364. - ac_status=$?
  22365. - grep -v '^ *+' conftest.er1 >conftest.err
  22366. - rm -f conftest.er1
  22367. - cat conftest.err >&5
  22368. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22369. - (exit $ac_status); } && {
  22370. - test -z "$ac_c_werror_flag" ||
  22371. - test ! -s conftest.err
  22372. - } && test -s conftest.$ac_objext; then
  22373. +if ac_fn_c_try_compile "$LINENO"; then :
  22374. ac_cv_header_stdbool_h=yes
  22375. else
  22376. - $as_echo "$as_me: failed program was:" >&5
  22377. -sed 's/^/| /' conftest.$ac_ext >&5
  22378. -
  22379. - ac_cv_header_stdbool_h=no
  22380. + ac_cv_header_stdbool_h=no
  22381. fi
  22382. -
  22383. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22384. fi
  22385. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
  22386. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
  22387. $as_echo "$ac_cv_header_stdbool_h" >&6; }
  22388. -{ $as_echo "$as_me:$LINENO: checking for _Bool" >&5
  22389. -$as_echo_n "checking for _Bool... " >&6; }
  22390. -if test "${ac_cv_type__Bool+set}" = set; then
  22391. - $as_echo_n "(cached) " >&6
  22392. -else
  22393. - ac_cv_type__Bool=no
  22394. -cat >conftest.$ac_ext <<_ACEOF
  22395. -/* confdefs.h. */
  22396. -_ACEOF
  22397. -cat confdefs.h >>conftest.$ac_ext
  22398. -cat >>conftest.$ac_ext <<_ACEOF
  22399. -/* end confdefs.h. */
  22400. -$ac_includes_default
  22401. -int
  22402. -main ()
  22403. -{
  22404. -if (sizeof (_Bool))
  22405. - return 0;
  22406. - ;
  22407. - return 0;
  22408. -}
  22409. -_ACEOF
  22410. -rm -f conftest.$ac_objext
  22411. -if { (ac_try="$ac_compile"
  22412. -case "(($ac_try" in
  22413. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22414. - *) ac_try_echo=$ac_try;;
  22415. -esac
  22416. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22417. -$as_echo "$ac_try_echo") >&5
  22418. - (eval "$ac_compile") 2>conftest.er1
  22419. - ac_status=$?
  22420. - grep -v '^ *+' conftest.er1 >conftest.err
  22421. - rm -f conftest.er1
  22422. - cat conftest.err >&5
  22423. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22424. - (exit $ac_status); } && {
  22425. - test -z "$ac_c_werror_flag" ||
  22426. - test ! -s conftest.err
  22427. - } && test -s conftest.$ac_objext; then
  22428. - cat >conftest.$ac_ext <<_ACEOF
  22429. -/* confdefs.h. */
  22430. -_ACEOF
  22431. -cat confdefs.h >>conftest.$ac_ext
  22432. -cat >>conftest.$ac_ext <<_ACEOF
  22433. -/* end confdefs.h. */
  22434. -$ac_includes_default
  22435. -int
  22436. -main ()
  22437. -{
  22438. -if (sizeof ((_Bool)))
  22439. - return 0;
  22440. - ;
  22441. - return 0;
  22442. -}
  22443. -_ACEOF
  22444. -rm -f conftest.$ac_objext
  22445. -if { (ac_try="$ac_compile"
  22446. -case "(($ac_try" in
  22447. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22448. - *) ac_try_echo=$ac_try;;
  22449. -esac
  22450. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22451. -$as_echo "$ac_try_echo") >&5
  22452. - (eval "$ac_compile") 2>conftest.er1
  22453. - ac_status=$?
  22454. - grep -v '^ *+' conftest.er1 >conftest.err
  22455. - rm -f conftest.er1
  22456. - cat conftest.err >&5
  22457. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22458. - (exit $ac_status); } && {
  22459. - test -z "$ac_c_werror_flag" ||
  22460. - test ! -s conftest.err
  22461. - } && test -s conftest.$ac_objext; then
  22462. - :
  22463. -else
  22464. - $as_echo "$as_me: failed program was:" >&5
  22465. -sed 's/^/| /' conftest.$ac_ext >&5
  22466. -
  22467. - ac_cv_type__Bool=yes
  22468. -fi
  22469. -
  22470. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22471. -else
  22472. - $as_echo "$as_me: failed program was:" >&5
  22473. -sed 's/^/| /' conftest.$ac_ext >&5
  22474. -
  22475. -
  22476. -fi
  22477. -
  22478. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22479. -fi
  22480. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
  22481. -$as_echo "$ac_cv_type__Bool" >&6; }
  22482. -if test "x$ac_cv_type__Bool" = x""yes; then
  22483. +ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
  22484. +if test "x$ac_cv_type__Bool" = x""yes; then :
  22485. cat >>confdefs.h <<_ACEOF
  22486. #define HAVE__BOOL 1
  22487. @@ -19023,22 +16779,16 @@
  22488. if test $ac_cv_header_stdbool_h = yes; then
  22489. -cat >>confdefs.h <<\_ACEOF
  22490. -#define HAVE_STDBOOL_H 1
  22491. -_ACEOF
  22492. +$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
  22493. fi
  22494. -{ $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
  22495. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
  22496. $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
  22497. -if test "${ac_cv_struct_tm+set}" = set; then
  22498. +if test "${ac_cv_struct_tm+set}" = set; then :
  22499. $as_echo_n "(cached) " >&6
  22500. else
  22501. - cat >conftest.$ac_ext <<_ACEOF
  22502. -/* confdefs.h. */
  22503. -_ACEOF
  22504. -cat confdefs.h >>conftest.$ac_ext
  22505. -cat >>conftest.$ac_ext <<_ACEOF
  22506. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22507. /* end confdefs.h. */
  22508. #include <sys/types.h>
  22509. #include <time.h>
  22510. @@ -19053,288 +16803,42 @@
  22511. return 0;
  22512. }
  22513. _ACEOF
  22514. -rm -f conftest.$ac_objext
  22515. -if { (ac_try="$ac_compile"
  22516. -case "(($ac_try" in
  22517. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22518. - *) ac_try_echo=$ac_try;;
  22519. -esac
  22520. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22521. -$as_echo "$ac_try_echo") >&5
  22522. - (eval "$ac_compile") 2>conftest.er1
  22523. - ac_status=$?
  22524. - grep -v '^ *+' conftest.er1 >conftest.err
  22525. - rm -f conftest.er1
  22526. - cat conftest.err >&5
  22527. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22528. - (exit $ac_status); } && {
  22529. - test -z "$ac_c_werror_flag" ||
  22530. - test ! -s conftest.err
  22531. - } && test -s conftest.$ac_objext; then
  22532. +if ac_fn_c_try_compile "$LINENO"; then :
  22533. ac_cv_struct_tm=time.h
  22534. else
  22535. - $as_echo "$as_me: failed program was:" >&5
  22536. -sed 's/^/| /' conftest.$ac_ext >&5
  22537. -
  22538. - ac_cv_struct_tm=sys/time.h
  22539. + ac_cv_struct_tm=sys/time.h
  22540. fi
  22541. -
  22542. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22543. fi
  22544. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
  22545. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
  22546. $as_echo "$ac_cv_struct_tm" >&6; }
  22547. if test $ac_cv_struct_tm = sys/time.h; then
  22548. -cat >>confdefs.h <<\_ACEOF
  22549. -#define TM_IN_SYS_TIME 1
  22550. -_ACEOF
  22551. +$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
  22552. fi
  22553. # Checks for library functions.
  22554. -
  22555. for ac_header in vfork.h
  22556. -do
  22557. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  22558. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  22559. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  22560. -$as_echo_n "checking for $ac_header... " >&6; }
  22561. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  22562. - $as_echo_n "(cached) " >&6
  22563. -fi
  22564. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  22565. - $as_echo "$as_val"'`
  22566. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  22567. -$as_echo "$ac_res" >&6; }
  22568. -else
  22569. - # Is the header compilable?
  22570. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  22571. -$as_echo_n "checking $ac_header usability... " >&6; }
  22572. -cat >conftest.$ac_ext <<_ACEOF
  22573. -/* confdefs.h. */
  22574. -_ACEOF
  22575. -cat confdefs.h >>conftest.$ac_ext
  22576. -cat >>conftest.$ac_ext <<_ACEOF
  22577. -/* end confdefs.h. */
  22578. -$ac_includes_default
  22579. -#include <$ac_header>
  22580. -_ACEOF
  22581. -rm -f conftest.$ac_objext
  22582. -if { (ac_try="$ac_compile"
  22583. -case "(($ac_try" in
  22584. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22585. - *) ac_try_echo=$ac_try;;
  22586. -esac
  22587. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22588. -$as_echo "$ac_try_echo") >&5
  22589. - (eval "$ac_compile") 2>conftest.er1
  22590. - ac_status=$?
  22591. - grep -v '^ *+' conftest.er1 >conftest.err
  22592. - rm -f conftest.er1
  22593. - cat conftest.err >&5
  22594. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22595. - (exit $ac_status); } && {
  22596. - test -z "$ac_c_werror_flag" ||
  22597. - test ! -s conftest.err
  22598. - } && test -s conftest.$ac_objext; then
  22599. - ac_header_compiler=yes
  22600. -else
  22601. - $as_echo "$as_me: failed program was:" >&5
  22602. -sed 's/^/| /' conftest.$ac_ext >&5
  22603. -
  22604. - ac_header_compiler=no
  22605. -fi
  22606. -
  22607. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22608. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  22609. -$as_echo "$ac_header_compiler" >&6; }
  22610. -
  22611. -# Is the header present?
  22612. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  22613. -$as_echo_n "checking $ac_header presence... " >&6; }
  22614. -cat >conftest.$ac_ext <<_ACEOF
  22615. -/* confdefs.h. */
  22616. -_ACEOF
  22617. -cat confdefs.h >>conftest.$ac_ext
  22618. -cat >>conftest.$ac_ext <<_ACEOF
  22619. -/* end confdefs.h. */
  22620. -#include <$ac_header>
  22621. -_ACEOF
  22622. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  22623. -case "(($ac_try" in
  22624. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22625. - *) ac_try_echo=$ac_try;;
  22626. -esac
  22627. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22628. -$as_echo "$ac_try_echo") >&5
  22629. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  22630. - ac_status=$?
  22631. - grep -v '^ *+' conftest.er1 >conftest.err
  22632. - rm -f conftest.er1
  22633. - cat conftest.err >&5
  22634. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22635. - (exit $ac_status); } >/dev/null && {
  22636. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  22637. - test ! -s conftest.err
  22638. - }; then
  22639. - ac_header_preproc=yes
  22640. -else
  22641. - $as_echo "$as_me: failed program was:" >&5
  22642. -sed 's/^/| /' conftest.$ac_ext >&5
  22643. -
  22644. - ac_header_preproc=no
  22645. -fi
  22646. -
  22647. -rm -f conftest.err conftest.$ac_ext
  22648. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  22649. -$as_echo "$ac_header_preproc" >&6; }
  22650. -
  22651. -# So? What about this header?
  22652. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  22653. - yes:no: )
  22654. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  22655. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  22656. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  22657. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  22658. - ac_header_preproc=yes
  22659. - ;;
  22660. - no:yes:* )
  22661. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  22662. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  22663. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  22664. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  22665. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  22666. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  22667. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  22668. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  22669. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  22670. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  22671. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  22672. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  22673. -
  22674. - ;;
  22675. -esac
  22676. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  22677. -$as_echo_n "checking for $ac_header... " >&6; }
  22678. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  22679. - $as_echo_n "(cached) " >&6
  22680. -else
  22681. - eval "$as_ac_Header=\$ac_header_preproc"
  22682. -fi
  22683. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  22684. - $as_echo "$as_val"'`
  22685. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  22686. -$as_echo "$ac_res" >&6; }
  22687. -
  22688. -fi
  22689. -as_val=`eval 'as_val=${'$as_ac_Header'}
  22690. - $as_echo "$as_val"'`
  22691. - if test "x$as_val" = x""yes; then
  22692. +do :
  22693. + ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
  22694. +if test "x$ac_cv_header_vfork_h" = x""yes; then :
  22695. cat >>confdefs.h <<_ACEOF
  22696. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  22697. +#define HAVE_VFORK_H 1
  22698. _ACEOF
  22699. fi
  22700. done
  22701. -
  22702. -
  22703. for ac_func in fork vfork
  22704. -do
  22705. -as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  22706. -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  22707. -$as_echo_n "checking for $ac_func... " >&6; }
  22708. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  22709. - $as_echo_n "(cached) " >&6
  22710. -else
  22711. - cat >conftest.$ac_ext <<_ACEOF
  22712. -/* confdefs.h. */
  22713. -_ACEOF
  22714. -cat confdefs.h >>conftest.$ac_ext
  22715. -cat >>conftest.$ac_ext <<_ACEOF
  22716. -/* end confdefs.h. */
  22717. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  22718. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  22719. -#define $ac_func innocuous_$ac_func
  22720. -
  22721. -/* System header to define __stub macros and hopefully few prototypes,
  22722. - which can conflict with char $ac_func (); below.
  22723. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  22724. - <limits.h> exists even on freestanding compilers. */
  22725. -
  22726. -#ifdef __STDC__
  22727. -# include <limits.h>
  22728. -#else
  22729. -# include <assert.h>
  22730. -#endif
  22731. -
  22732. -#undef $ac_func
  22733. -
  22734. -/* Override any GCC internal prototype to avoid an error.
  22735. - Use char because int might match the return type of a GCC
  22736. - builtin and then its argument prototype would still apply. */
  22737. -#ifdef __cplusplus
  22738. -extern "C"
  22739. -#endif
  22740. -char $ac_func ();
  22741. -/* The GNU C library defines this for functions which it implements
  22742. - to always fail with ENOSYS. Some functions are actually named
  22743. - something starting with __ and the normal name is an alias. */
  22744. -#if defined __stub_$ac_func || defined __stub___$ac_func
  22745. -choke me
  22746. -#endif
  22747. -
  22748. -int
  22749. -main ()
  22750. -{
  22751. -return $ac_func ();
  22752. - ;
  22753. - return 0;
  22754. -}
  22755. -_ACEOF
  22756. -rm -f conftest.$ac_objext conftest$ac_exeext
  22757. -if { (ac_try="$ac_link"
  22758. -case "(($ac_try" in
  22759. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22760. - *) ac_try_echo=$ac_try;;
  22761. -esac
  22762. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22763. -$as_echo "$ac_try_echo") >&5
  22764. - (eval "$ac_link") 2>conftest.er1
  22765. - ac_status=$?
  22766. - grep -v '^ *+' conftest.er1 >conftest.err
  22767. - rm -f conftest.er1
  22768. - cat conftest.err >&5
  22769. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22770. - (exit $ac_status); } && {
  22771. - test -z "$ac_c_werror_flag" ||
  22772. - test ! -s conftest.err
  22773. - } && test -s conftest$ac_exeext && {
  22774. - test "$cross_compiling" = yes ||
  22775. - $as_test_x conftest$ac_exeext
  22776. - }; then
  22777. - eval "$as_ac_var=yes"
  22778. -else
  22779. - $as_echo "$as_me: failed program was:" >&5
  22780. -sed 's/^/| /' conftest.$ac_ext >&5
  22781. -
  22782. - eval "$as_ac_var=no"
  22783. -fi
  22784. -
  22785. -rm -rf conftest.dSYM
  22786. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  22787. - conftest$ac_exeext conftest.$ac_ext
  22788. -fi
  22789. -ac_res=`eval 'as_val=${'$as_ac_var'}
  22790. - $as_echo "$as_val"'`
  22791. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  22792. -$as_echo "$ac_res" >&6; }
  22793. -as_val=`eval 'as_val=${'$as_ac_var'}
  22794. - $as_echo "$as_val"'`
  22795. - if test "x$as_val" = x""yes; then
  22796. +do :
  22797. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  22798. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  22799. +eval as_val=\$$as_ac_var
  22800. + if test "x$as_val" = x""yes; then :
  22801. cat >>confdefs.h <<_ACEOF
  22802. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  22803. _ACEOF
  22804. @@ -19343,19 +16847,15 @@
  22805. done
  22806. if test "x$ac_cv_func_fork" = xyes; then
  22807. - { $as_echo "$as_me:$LINENO: checking for working fork" >&5
  22808. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
  22809. $as_echo_n "checking for working fork... " >&6; }
  22810. -if test "${ac_cv_func_fork_works+set}" = set; then
  22811. +if test "${ac_cv_func_fork_works+set}" = set; then :
  22812. $as_echo_n "(cached) " >&6
  22813. else
  22814. - if test "$cross_compiling" = yes; then
  22815. + if test "$cross_compiling" = yes; then :
  22816. ac_cv_func_fork_works=cross
  22817. else
  22818. - cat >conftest.$ac_ext <<_ACEOF
  22819. -/* confdefs.h. */
  22820. -_ACEOF
  22821. -cat confdefs.h >>conftest.$ac_ext
  22822. -cat >>conftest.$ac_ext <<_ACEOF
  22823. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22824. /* end confdefs.h. */
  22825. $ac_includes_default
  22826. int
  22827. @@ -19369,44 +16869,17 @@
  22828. return 0;
  22829. }
  22830. _ACEOF
  22831. -rm -f conftest$ac_exeext
  22832. -if { (ac_try="$ac_link"
  22833. -case "(($ac_try" in
  22834. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22835. - *) ac_try_echo=$ac_try;;
  22836. -esac
  22837. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22838. -$as_echo "$ac_try_echo") >&5
  22839. - (eval "$ac_link") 2>&5
  22840. - ac_status=$?
  22841. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22842. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  22843. - { (case "(($ac_try" in
  22844. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22845. - *) ac_try_echo=$ac_try;;
  22846. -esac
  22847. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22848. -$as_echo "$ac_try_echo") >&5
  22849. - (eval "$ac_try") 2>&5
  22850. - ac_status=$?
  22851. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22852. - (exit $ac_status); }; }; then
  22853. +if ac_fn_c_try_run "$LINENO"; then :
  22854. ac_cv_func_fork_works=yes
  22855. else
  22856. - $as_echo "$as_me: program exited with status $ac_status" >&5
  22857. -$as_echo "$as_me: failed program was:" >&5
  22858. -sed 's/^/| /' conftest.$ac_ext >&5
  22859. -
  22860. -( exit $ac_status )
  22861. -ac_cv_func_fork_works=no
  22862. + ac_cv_func_fork_works=no
  22863. fi
  22864. -rm -rf conftest.dSYM
  22865. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  22866. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  22867. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  22868. fi
  22869. -
  22870. fi
  22871. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
  22872. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
  22873. $as_echo "$ac_cv_func_fork_works" >&6; }
  22874. else
  22875. @@ -19422,24 +16895,20 @@
  22876. ac_cv_func_fork_works=yes
  22877. ;;
  22878. esac
  22879. - { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
  22880. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
  22881. $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
  22882. fi
  22883. ac_cv_func_vfork_works=$ac_cv_func_vfork
  22884. if test "x$ac_cv_func_vfork" = xyes; then
  22885. - { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
  22886. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
  22887. $as_echo_n "checking for working vfork... " >&6; }
  22888. -if test "${ac_cv_func_vfork_works+set}" = set; then
  22889. +if test "${ac_cv_func_vfork_works+set}" = set; then :
  22890. $as_echo_n "(cached) " >&6
  22891. else
  22892. - if test "$cross_compiling" = yes; then
  22893. + if test "$cross_compiling" = yes; then :
  22894. ac_cv_func_vfork_works=cross
  22895. else
  22896. - cat >conftest.$ac_ext <<_ACEOF
  22897. -/* confdefs.h. */
  22898. -_ACEOF
  22899. -cat confdefs.h >>conftest.$ac_ext
  22900. -cat >>conftest.$ac_ext <<_ACEOF
  22901. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22902. /* end confdefs.h. */
  22903. /* Thanks to Paul Eggert for this test. */
  22904. $ac_includes_default
  22905. @@ -19528,219 +16997,53 @@
  22906. /* Did the file descriptor bug occur? */
  22907. || fstat(fileno(stdout), &st) != 0
  22908. );
  22909. - }
  22910. -}
  22911. -_ACEOF
  22912. -rm -f conftest$ac_exeext
  22913. -if { (ac_try="$ac_link"
  22914. -case "(($ac_try" in
  22915. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22916. - *) ac_try_echo=$ac_try;;
  22917. -esac
  22918. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22919. -$as_echo "$ac_try_echo") >&5
  22920. - (eval "$ac_link") 2>&5
  22921. - ac_status=$?
  22922. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22923. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  22924. - { (case "(($ac_try" in
  22925. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  22926. - *) ac_try_echo=$ac_try;;
  22927. -esac
  22928. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  22929. -$as_echo "$ac_try_echo") >&5
  22930. - (eval "$ac_try") 2>&5
  22931. - ac_status=$?
  22932. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  22933. - (exit $ac_status); }; }; then
  22934. + }
  22935. +}
  22936. +_ACEOF
  22937. +if ac_fn_c_try_run "$LINENO"; then :
  22938. ac_cv_func_vfork_works=yes
  22939. else
  22940. - $as_echo "$as_me: program exited with status $ac_status" >&5
  22941. -$as_echo "$as_me: failed program was:" >&5
  22942. -sed 's/^/| /' conftest.$ac_ext >&5
  22943. -
  22944. -( exit $ac_status )
  22945. -ac_cv_func_vfork_works=no
  22946. + ac_cv_func_vfork_works=no
  22947. fi
  22948. -rm -rf conftest.dSYM
  22949. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  22950. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  22951. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  22952. fi
  22953. -
  22954. fi
  22955. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
  22956. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
  22957. $as_echo "$ac_cv_func_vfork_works" >&6; }
  22958. fi;
  22959. if test "x$ac_cv_func_fork_works" = xcross; then
  22960. ac_cv_func_vfork_works=$ac_cv_func_vfork
  22961. - { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
  22962. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
  22963. $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
  22964. fi
  22965. if test "x$ac_cv_func_vfork_works" = xyes; then
  22966. -cat >>confdefs.h <<\_ACEOF
  22967. -#define HAVE_WORKING_VFORK 1
  22968. -_ACEOF
  22969. +$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
  22970. else
  22971. -cat >>confdefs.h <<\_ACEOF
  22972. -#define vfork fork
  22973. -_ACEOF
  22974. +$as_echo "#define vfork fork" >>confdefs.h
  22975. fi
  22976. if test "x$ac_cv_func_fork_works" = xyes; then
  22977. -cat >>confdefs.h <<\_ACEOF
  22978. -#define HAVE_WORKING_FORK 1
  22979. -_ACEOF
  22980. +$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
  22981. fi
  22982. #AC_FUNC_MALLOC
  22983. #AC_FUNC_MKTIME
  22984. #AC_FUNC_REALLOC
  22985. -
  22986. -
  22987. for ac_header in sys/select.h sys/socket.h
  22988. -do
  22989. -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  22990. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  22991. - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  22992. -$as_echo_n "checking for $ac_header... " >&6; }
  22993. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  22994. - $as_echo_n "(cached) " >&6
  22995. -fi
  22996. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  22997. - $as_echo "$as_val"'`
  22998. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  22999. -$as_echo "$ac_res" >&6; }
  23000. -else
  23001. - # Is the header compilable?
  23002. -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  23003. -$as_echo_n "checking $ac_header usability... " >&6; }
  23004. -cat >conftest.$ac_ext <<_ACEOF
  23005. -/* confdefs.h. */
  23006. -_ACEOF
  23007. -cat confdefs.h >>conftest.$ac_ext
  23008. -cat >>conftest.$ac_ext <<_ACEOF
  23009. -/* end confdefs.h. */
  23010. -$ac_includes_default
  23011. -#include <$ac_header>
  23012. -_ACEOF
  23013. -rm -f conftest.$ac_objext
  23014. -if { (ac_try="$ac_compile"
  23015. -case "(($ac_try" in
  23016. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23017. - *) ac_try_echo=$ac_try;;
  23018. -esac
  23019. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  23020. -$as_echo "$ac_try_echo") >&5
  23021. - (eval "$ac_compile") 2>conftest.er1
  23022. - ac_status=$?
  23023. - grep -v '^ *+' conftest.er1 >conftest.err
  23024. - rm -f conftest.er1
  23025. - cat conftest.err >&5
  23026. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23027. - (exit $ac_status); } && {
  23028. - test -z "$ac_c_werror_flag" ||
  23029. - test ! -s conftest.err
  23030. - } && test -s conftest.$ac_objext; then
  23031. - ac_header_compiler=yes
  23032. -else
  23033. - $as_echo "$as_me: failed program was:" >&5
  23034. -sed 's/^/| /' conftest.$ac_ext >&5
  23035. -
  23036. - ac_header_compiler=no
  23037. -fi
  23038. -
  23039. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23040. -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  23041. -$as_echo "$ac_header_compiler" >&6; }
  23042. -
  23043. -# Is the header present?
  23044. -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  23045. -$as_echo_n "checking $ac_header presence... " >&6; }
  23046. -cat >conftest.$ac_ext <<_ACEOF
  23047. -/* confdefs.h. */
  23048. -_ACEOF
  23049. -cat confdefs.h >>conftest.$ac_ext
  23050. -cat >>conftest.$ac_ext <<_ACEOF
  23051. -/* end confdefs.h. */
  23052. -#include <$ac_header>
  23053. -_ACEOF
  23054. -if { (ac_try="$ac_cpp conftest.$ac_ext"
  23055. -case "(($ac_try" in
  23056. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23057. - *) ac_try_echo=$ac_try;;
  23058. -esac
  23059. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  23060. -$as_echo "$ac_try_echo") >&5
  23061. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  23062. - ac_status=$?
  23063. - grep -v '^ *+' conftest.er1 >conftest.err
  23064. - rm -f conftest.er1
  23065. - cat conftest.err >&5
  23066. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23067. - (exit $ac_status); } >/dev/null && {
  23068. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  23069. - test ! -s conftest.err
  23070. - }; then
  23071. - ac_header_preproc=yes
  23072. -else
  23073. - $as_echo "$as_me: failed program was:" >&5
  23074. -sed 's/^/| /' conftest.$ac_ext >&5
  23075. -
  23076. - ac_header_preproc=no
  23077. -fi
  23078. -
  23079. -rm -f conftest.err conftest.$ac_ext
  23080. -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  23081. -$as_echo "$ac_header_preproc" >&6; }
  23082. -
  23083. -# So? What about this header?
  23084. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  23085. - yes:no: )
  23086. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  23087. -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  23088. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  23089. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  23090. - ac_header_preproc=yes
  23091. - ;;
  23092. - no:yes:* )
  23093. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  23094. -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  23095. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  23096. -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  23097. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  23098. -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  23099. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  23100. -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  23101. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  23102. -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  23103. - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  23104. -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  23105. -
  23106. - ;;
  23107. -esac
  23108. -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  23109. -$as_echo_n "checking for $ac_header... " >&6; }
  23110. -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  23111. - $as_echo_n "(cached) " >&6
  23112. -else
  23113. - eval "$as_ac_Header=\$ac_header_preproc"
  23114. -fi
  23115. -ac_res=`eval 'as_val=${'$as_ac_Header'}
  23116. - $as_echo "$as_val"'`
  23117. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  23118. -$as_echo "$ac_res" >&6; }
  23119. -
  23120. -fi
  23121. -as_val=`eval 'as_val=${'$as_ac_Header'}
  23122. - $as_echo "$as_val"'`
  23123. - if test "x$as_val" = x""yes; then
  23124. +do :
  23125. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  23126. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  23127. +eval as_val=\$$as_ac_Header
  23128. + if test "x$as_val" = x""yes; then :
  23129. cat >>confdefs.h <<_ACEOF
  23130. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  23131. _ACEOF
  23132. @@ -19749,19 +17052,15 @@
  23133. done
  23134. -{ $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
  23135. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
  23136. $as_echo_n "checking types of arguments for select... " >&6; }
  23137. -if test "${ac_cv_func_select_args+set}" = set; then
  23138. +if test "${ac_cv_func_select_args+set}" = set; then :
  23139. $as_echo_n "(cached) " >&6
  23140. else
  23141. for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
  23142. for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
  23143. for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
  23144. - cat >conftest.$ac_ext <<_ACEOF
  23145. -/* confdefs.h. */
  23146. -_ACEOF
  23147. -cat confdefs.h >>conftest.$ac_ext
  23148. -cat >>conftest.$ac_ext <<_ACEOF
  23149. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23150. /* end confdefs.h. */
  23151. $ac_includes_default
  23152. #ifdef HAVE_SYS_SELECT_H
  23153. @@ -19781,32 +17080,9 @@
  23154. return 0;
  23155. }
  23156. _ACEOF
  23157. -rm -f conftest.$ac_objext
  23158. -if { (ac_try="$ac_compile"
  23159. -case "(($ac_try" in
  23160. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23161. - *) ac_try_echo=$ac_try;;
  23162. -esac
  23163. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  23164. -$as_echo "$ac_try_echo") >&5
  23165. - (eval "$ac_compile") 2>conftest.er1
  23166. - ac_status=$?
  23167. - grep -v '^ *+' conftest.er1 >conftest.err
  23168. - rm -f conftest.er1
  23169. - cat conftest.err >&5
  23170. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23171. - (exit $ac_status); } && {
  23172. - test -z "$ac_c_werror_flag" ||
  23173. - test ! -s conftest.err
  23174. - } && test -s conftest.$ac_objext; then
  23175. +if ac_fn_c_try_compile "$LINENO"; then :
  23176. ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
  23177. -else
  23178. - $as_echo "$as_me: failed program was:" >&5
  23179. -sed 's/^/| /' conftest.$ac_ext >&5
  23180. -
  23181. -
  23182. fi
  23183. -
  23184. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23185. done
  23186. done
  23187. @@ -19815,7 +17091,7 @@
  23188. : ${ac_cv_func_select_args='int,int *,struct timeval *'}
  23189. fi
  23190. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
  23191. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
  23192. $as_echo "$ac_cv_func_select_args" >&6; }
  23193. ac_save_IFS=$IFS; IFS=','
  23194. set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
  23195. @@ -19838,118 +17114,24 @@
  23196. rm -f conftest*
  23197. -
  23198. for ac_func in strftime
  23199. -do
  23200. -as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  23201. -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  23202. -$as_echo_n "checking for $ac_func... " >&6; }
  23203. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  23204. - $as_echo_n "(cached) " >&6
  23205. -else
  23206. - cat >conftest.$ac_ext <<_ACEOF
  23207. -/* confdefs.h. */
  23208. -_ACEOF
  23209. -cat confdefs.h >>conftest.$ac_ext
  23210. -cat >>conftest.$ac_ext <<_ACEOF
  23211. -/* end confdefs.h. */
  23212. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  23213. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  23214. -#define $ac_func innocuous_$ac_func
  23215. -
  23216. -/* System header to define __stub macros and hopefully few prototypes,
  23217. - which can conflict with char $ac_func (); below.
  23218. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  23219. - <limits.h> exists even on freestanding compilers. */
  23220. -
  23221. -#ifdef __STDC__
  23222. -# include <limits.h>
  23223. -#else
  23224. -# include <assert.h>
  23225. -#endif
  23226. -
  23227. -#undef $ac_func
  23228. -
  23229. -/* Override any GCC internal prototype to avoid an error.
  23230. - Use char because int might match the return type of a GCC
  23231. - builtin and then its argument prototype would still apply. */
  23232. -#ifdef __cplusplus
  23233. -extern "C"
  23234. -#endif
  23235. -char $ac_func ();
  23236. -/* The GNU C library defines this for functions which it implements
  23237. - to always fail with ENOSYS. Some functions are actually named
  23238. - something starting with __ and the normal name is an alias. */
  23239. -#if defined __stub_$ac_func || defined __stub___$ac_func
  23240. -choke me
  23241. -#endif
  23242. -
  23243. -int
  23244. -main ()
  23245. -{
  23246. -return $ac_func ();
  23247. - ;
  23248. - return 0;
  23249. -}
  23250. -_ACEOF
  23251. -rm -f conftest.$ac_objext conftest$ac_exeext
  23252. -if { (ac_try="$ac_link"
  23253. -case "(($ac_try" in
  23254. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23255. - *) ac_try_echo=$ac_try;;
  23256. -esac
  23257. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  23258. -$as_echo "$ac_try_echo") >&5
  23259. - (eval "$ac_link") 2>conftest.er1
  23260. - ac_status=$?
  23261. - grep -v '^ *+' conftest.er1 >conftest.err
  23262. - rm -f conftest.er1
  23263. - cat conftest.err >&5
  23264. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23265. - (exit $ac_status); } && {
  23266. - test -z "$ac_c_werror_flag" ||
  23267. - test ! -s conftest.err
  23268. - } && test -s conftest$ac_exeext && {
  23269. - test "$cross_compiling" = yes ||
  23270. - $as_test_x conftest$ac_exeext
  23271. - }; then
  23272. - eval "$as_ac_var=yes"
  23273. -else
  23274. - $as_echo "$as_me: failed program was:" >&5
  23275. -sed 's/^/| /' conftest.$ac_ext >&5
  23276. -
  23277. - eval "$as_ac_var=no"
  23278. -fi
  23279. -
  23280. -rm -rf conftest.dSYM
  23281. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  23282. - conftest$ac_exeext conftest.$ac_ext
  23283. -fi
  23284. -ac_res=`eval 'as_val=${'$as_ac_var'}
  23285. - $as_echo "$as_val"'`
  23286. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  23287. -$as_echo "$ac_res" >&6; }
  23288. -as_val=`eval 'as_val=${'$as_ac_var'}
  23289. - $as_echo "$as_val"'`
  23290. - if test "x$as_val" = x""yes; then
  23291. +do :
  23292. + ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
  23293. +if test "x$ac_cv_func_strftime" = x""yes; then :
  23294. cat >>confdefs.h <<_ACEOF
  23295. -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  23296. +#define HAVE_STRFTIME 1
  23297. _ACEOF
  23298. else
  23299. # strftime is in -lintl on SCO UNIX.
  23300. -{ $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
  23301. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
  23302. $as_echo_n "checking for strftime in -lintl... " >&6; }
  23303. -if test "${ac_cv_lib_intl_strftime+set}" = set; then
  23304. +if test "${ac_cv_lib_intl_strftime+set}" = set; then :
  23305. $as_echo_n "(cached) " >&6
  23306. else
  23307. ac_check_lib_save_LIBS=$LIBS
  23308. LIBS="-lintl $LIBS"
  23309. -cat >conftest.$ac_ext <<_ACEOF
  23310. -/* confdefs.h. */
  23311. -_ACEOF
  23312. -cat confdefs.h >>conftest.$ac_ext
  23313. -cat >>conftest.$ac_ext <<_ACEOF
  23314. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23315. /* end confdefs.h. */
  23316. /* Override any GCC internal prototype to avoid an error.
  23317. @@ -19967,46 +17149,19 @@
  23318. return 0;
  23319. }
  23320. _ACEOF
  23321. -rm -f conftest.$ac_objext conftest$ac_exeext
  23322. -if { (ac_try="$ac_link"
  23323. -case "(($ac_try" in
  23324. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23325. - *) ac_try_echo=$ac_try;;
  23326. -esac
  23327. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  23328. -$as_echo "$ac_try_echo") >&5
  23329. - (eval "$ac_link") 2>conftest.er1
  23330. - ac_status=$?
  23331. - grep -v '^ *+' conftest.er1 >conftest.err
  23332. - rm -f conftest.er1
  23333. - cat conftest.err >&5
  23334. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23335. - (exit $ac_status); } && {
  23336. - test -z "$ac_c_werror_flag" ||
  23337. - test ! -s conftest.err
  23338. - } && test -s conftest$ac_exeext && {
  23339. - test "$cross_compiling" = yes ||
  23340. - $as_test_x conftest$ac_exeext
  23341. - }; then
  23342. +if ac_fn_c_try_link "$LINENO"; then :
  23343. ac_cv_lib_intl_strftime=yes
  23344. else
  23345. - $as_echo "$as_me: failed program was:" >&5
  23346. -sed 's/^/| /' conftest.$ac_ext >&5
  23347. -
  23348. - ac_cv_lib_intl_strftime=no
  23349. + ac_cv_lib_intl_strftime=no
  23350. fi
  23351. -
  23352. -rm -rf conftest.dSYM
  23353. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  23354. - conftest$ac_exeext conftest.$ac_ext
  23355. +rm -f core conftest.err conftest.$ac_objext \
  23356. + conftest$ac_exeext conftest.$ac_ext
  23357. LIBS=$ac_check_lib_save_LIBS
  23358. fi
  23359. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
  23360. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
  23361. $as_echo "$ac_cv_lib_intl_strftime" >&6; }
  23362. -if test "x$ac_cv_lib_intl_strftime" = x""yes; then
  23363. - cat >>confdefs.h <<\_ACEOF
  23364. -#define HAVE_STRFTIME 1
  23365. -_ACEOF
  23366. +if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
  23367. + $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
  23368. LIBS="-lintl $LIBS"
  23369. fi
  23370. @@ -20014,19 +17169,15 @@
  23371. fi
  23372. done
  23373. -{ $as_echo "$as_me:$LINENO: checking for working strtod" >&5
  23374. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
  23375. $as_echo_n "checking for working strtod... " >&6; }
  23376. -if test "${ac_cv_func_strtod+set}" = set; then
  23377. +if test "${ac_cv_func_strtod+set}" = set; then :
  23378. $as_echo_n "(cached) " >&6
  23379. else
  23380. - if test "$cross_compiling" = yes; then
  23381. + if test "$cross_compiling" = yes; then :
  23382. ac_cv_func_strtod=no
  23383. else
  23384. - cat >conftest.$ac_ext <<_ACEOF
  23385. -/* confdefs.h. */
  23386. -_ACEOF
  23387. -cat confdefs.h >>conftest.$ac_ext
  23388. -cat >>conftest.$ac_ext <<_ACEOF
  23389. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23390. /* end confdefs.h. */
  23391. $ac_includes_default
  23392. @@ -20059,44 +17210,17 @@
  23393. }
  23394. _ACEOF
  23395. -rm -f conftest$ac_exeext
  23396. -if { (ac_try="$ac_link"
  23397. -case "(($ac_try" in
  23398. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23399. - *) ac_try_echo=$ac_try;;
  23400. -esac
  23401. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  23402. -$as_echo "$ac_try_echo") >&5
  23403. - (eval "$ac_link") 2>&5
  23404. - ac_status=$?
  23405. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23406. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  23407. - { (case "(($ac_try" in
  23408. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23409. - *) ac_try_echo=$ac_try;;
  23410. -esac
  23411. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  23412. -$as_echo "$ac_try_echo") >&5
  23413. - (eval "$ac_try") 2>&5
  23414. - ac_status=$?
  23415. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23416. - (exit $ac_status); }; }; then
  23417. +if ac_fn_c_try_run "$LINENO"; then :
  23418. ac_cv_func_strtod=yes
  23419. else
  23420. - $as_echo "$as_me: program exited with status $ac_status" >&5
  23421. -$as_echo "$as_me: failed program was:" >&5
  23422. -sed 's/^/| /' conftest.$ac_ext >&5
  23423. -
  23424. -( exit $ac_status )
  23425. -ac_cv_func_strtod=no
  23426. + ac_cv_func_strtod=no
  23427. fi
  23428. -rm -rf conftest.dSYM
  23429. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  23430. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  23431. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  23432. fi
  23433. -
  23434. fi
  23435. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
  23436. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
  23437. $as_echo "$ac_cv_func_strtod" >&6; }
  23438. if test $ac_cv_func_strtod = no; then
  23439. case " $LIBOBJS " in
  23440. @@ -20105,105 +17229,20 @@
  23441. ;;
  23442. esac
  23443. -{ $as_echo "$as_me:$LINENO: checking for pow" >&5
  23444. -$as_echo_n "checking for pow... " >&6; }
  23445. -if test "${ac_cv_func_pow+set}" = set; then
  23446. - $as_echo_n "(cached) " >&6
  23447. -else
  23448. - cat >conftest.$ac_ext <<_ACEOF
  23449. -/* confdefs.h. */
  23450. -_ACEOF
  23451. -cat confdefs.h >>conftest.$ac_ext
  23452. -cat >>conftest.$ac_ext <<_ACEOF
  23453. -/* end confdefs.h. */
  23454. -/* Define pow to an innocuous variant, in case <limits.h> declares pow.
  23455. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  23456. -#define pow innocuous_pow
  23457. -
  23458. -/* System header to define __stub macros and hopefully few prototypes,
  23459. - which can conflict with char pow (); below.
  23460. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  23461. - <limits.h> exists even on freestanding compilers. */
  23462. -
  23463. -#ifdef __STDC__
  23464. -# include <limits.h>
  23465. -#else
  23466. -# include <assert.h>
  23467. -#endif
  23468. -
  23469. -#undef pow
  23470. -
  23471. -/* Override any GCC internal prototype to avoid an error.
  23472. - Use char because int might match the return type of a GCC
  23473. - builtin and then its argument prototype would still apply. */
  23474. -#ifdef __cplusplus
  23475. -extern "C"
  23476. -#endif
  23477. -char pow ();
  23478. -/* The GNU C library defines this for functions which it implements
  23479. - to always fail with ENOSYS. Some functions are actually named
  23480. - something starting with __ and the normal name is an alias. */
  23481. -#if defined __stub_pow || defined __stub___pow
  23482. -choke me
  23483. -#endif
  23484. -
  23485. -int
  23486. -main ()
  23487. -{
  23488. -return pow ();
  23489. - ;
  23490. - return 0;
  23491. -}
  23492. -_ACEOF
  23493. -rm -f conftest.$ac_objext conftest$ac_exeext
  23494. -if { (ac_try="$ac_link"
  23495. -case "(($ac_try" in
  23496. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23497. - *) ac_try_echo=$ac_try;;
  23498. -esac
  23499. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  23500. -$as_echo "$ac_try_echo") >&5
  23501. - (eval "$ac_link") 2>conftest.er1
  23502. - ac_status=$?
  23503. - grep -v '^ *+' conftest.er1 >conftest.err
  23504. - rm -f conftest.er1
  23505. - cat conftest.err >&5
  23506. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23507. - (exit $ac_status); } && {
  23508. - test -z "$ac_c_werror_flag" ||
  23509. - test ! -s conftest.err
  23510. - } && test -s conftest$ac_exeext && {
  23511. - test "$cross_compiling" = yes ||
  23512. - $as_test_x conftest$ac_exeext
  23513. - }; then
  23514. - ac_cv_func_pow=yes
  23515. -else
  23516. - $as_echo "$as_me: failed program was:" >&5
  23517. -sed 's/^/| /' conftest.$ac_ext >&5
  23518. -
  23519. - ac_cv_func_pow=no
  23520. -fi
  23521. +ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
  23522. +if test "x$ac_cv_func_pow" = x""yes; then :
  23523. -rm -rf conftest.dSYM
  23524. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  23525. - conftest$ac_exeext conftest.$ac_ext
  23526. fi
  23527. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
  23528. -$as_echo "$ac_cv_func_pow" >&6; }
  23529. if test $ac_cv_func_pow = no; then
  23530. - { $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5
  23531. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
  23532. $as_echo_n "checking for pow in -lm... " >&6; }
  23533. -if test "${ac_cv_lib_m_pow+set}" = set; then
  23534. +if test "${ac_cv_lib_m_pow+set}" = set; then :
  23535. $as_echo_n "(cached) " >&6
  23536. else
  23537. ac_check_lib_save_LIBS=$LIBS
  23538. LIBS="-lm $LIBS"
  23539. -cat >conftest.$ac_ext <<_ACEOF
  23540. -/* confdefs.h. */
  23541. -_ACEOF
  23542. -cat confdefs.h >>conftest.$ac_ext
  23543. -cat >>conftest.$ac_ext <<_ACEOF
  23544. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23545. /* end confdefs.h. */
  23546. /* Override any GCC internal prototype to avoid an error.
  23547. @@ -20221,46 +17260,21 @@
  23548. return 0;
  23549. }
  23550. _ACEOF
  23551. -rm -f conftest.$ac_objext conftest$ac_exeext
  23552. -if { (ac_try="$ac_link"
  23553. -case "(($ac_try" in
  23554. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23555. - *) ac_try_echo=$ac_try;;
  23556. -esac
  23557. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  23558. -$as_echo "$ac_try_echo") >&5
  23559. - (eval "$ac_link") 2>conftest.er1
  23560. - ac_status=$?
  23561. - grep -v '^ *+' conftest.er1 >conftest.err
  23562. - rm -f conftest.er1
  23563. - cat conftest.err >&5
  23564. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23565. - (exit $ac_status); } && {
  23566. - test -z "$ac_c_werror_flag" ||
  23567. - test ! -s conftest.err
  23568. - } && test -s conftest$ac_exeext && {
  23569. - test "$cross_compiling" = yes ||
  23570. - $as_test_x conftest$ac_exeext
  23571. - }; then
  23572. +if ac_fn_c_try_link "$LINENO"; then :
  23573. ac_cv_lib_m_pow=yes
  23574. else
  23575. - $as_echo "$as_me: failed program was:" >&5
  23576. -sed 's/^/| /' conftest.$ac_ext >&5
  23577. -
  23578. - ac_cv_lib_m_pow=no
  23579. + ac_cv_lib_m_pow=no
  23580. fi
  23581. -
  23582. -rm -rf conftest.dSYM
  23583. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  23584. - conftest$ac_exeext conftest.$ac_ext
  23585. +rm -f core conftest.err conftest.$ac_objext \
  23586. + conftest$ac_exeext conftest.$ac_ext
  23587. LIBS=$ac_check_lib_save_LIBS
  23588. fi
  23589. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
  23590. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
  23591. $as_echo "$ac_cv_lib_m_pow" >&6; }
  23592. -if test "x$ac_cv_lib_m_pow" = x""yes; then
  23593. +if test "x$ac_cv_lib_m_pow" = x""yes; then :
  23594. POW_LIB=-lm
  23595. else
  23596. - { $as_echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
  23597. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
  23598. $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
  23599. fi
  23600. @@ -20268,16 +17282,12 @@
  23601. fi
  23602. -{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
  23603. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
  23604. $as_echo_n "checking return type of signal handlers... " >&6; }
  23605. -if test "${ac_cv_type_signal+set}" = set; then
  23606. +if test "${ac_cv_type_signal+set}" = set; then :
  23607. $as_echo_n "(cached) " >&6
  23608. else
  23609. - cat >conftest.$ac_ext <<_ACEOF
  23610. -/* confdefs.h. */
  23611. -_ACEOF
  23612. -cat confdefs.h >>conftest.$ac_ext
  23613. -cat >>conftest.$ac_ext <<_ACEOF
  23614. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23615. /* end confdefs.h. */
  23616. #include <sys/types.h>
  23617. #include <signal.h>
  23618. @@ -20290,35 +17300,14 @@
  23619. return 0;
  23620. }
  23621. _ACEOF
  23622. -rm -f conftest.$ac_objext
  23623. -if { (ac_try="$ac_compile"
  23624. -case "(($ac_try" in
  23625. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23626. - *) ac_try_echo=$ac_try;;
  23627. -esac
  23628. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  23629. -$as_echo "$ac_try_echo") >&5
  23630. - (eval "$ac_compile") 2>conftest.er1
  23631. - ac_status=$?
  23632. - grep -v '^ *+' conftest.er1 >conftest.err
  23633. - rm -f conftest.er1
  23634. - cat conftest.err >&5
  23635. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23636. - (exit $ac_status); } && {
  23637. - test -z "$ac_c_werror_flag" ||
  23638. - test ! -s conftest.err
  23639. - } && test -s conftest.$ac_objext; then
  23640. +if ac_fn_c_try_compile "$LINENO"; then :
  23641. ac_cv_type_signal=int
  23642. else
  23643. - $as_echo "$as_me: failed program was:" >&5
  23644. -sed 's/^/| /' conftest.$ac_ext >&5
  23645. -
  23646. - ac_cv_type_signal=void
  23647. + ac_cv_type_signal=void
  23648. fi
  23649. -
  23650. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  23651. fi
  23652. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
  23653. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
  23654. $as_echo "$ac_cv_type_signal" >&6; }
  23655. cat >>confdefs.h <<_ACEOF
  23656. @@ -20326,133 +17315,12 @@
  23657. _ACEOF
  23658. -
  23659. -
  23660. -
  23661. -
  23662. -
  23663. -
  23664. -
  23665. -
  23666. -
  23667. -
  23668. -
  23669. -
  23670. -
  23671. -
  23672. -
  23673. -
  23674. -
  23675. -
  23676. -
  23677. -
  23678. -
  23679. -
  23680. -
  23681. -
  23682. -
  23683. -
  23684. -
  23685. -
  23686. -
  23687. -
  23688. -
  23689. -
  23690. -
  23691. -
  23692. for ac_func in accept daemon getaddrinfo freeaddrinfo gethostbyname2_r gethostbyaddr_r gethostbyname_r getservbyname_r getopt getopt_long gettimeofday inet_ntop inet_pton memchr memset select socket strcasecmp strchr strdup strncasecmp strtol strtoul twalk tsearch tfind tdelete tdestroy vasprintf strsep vsprintf vsnprintf writev getline
  23693. -do
  23694. -as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  23695. -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  23696. -$as_echo_n "checking for $ac_func... " >&6; }
  23697. -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  23698. - $as_echo_n "(cached) " >&6
  23699. -else
  23700. - cat >conftest.$ac_ext <<_ACEOF
  23701. -/* confdefs.h. */
  23702. -_ACEOF
  23703. -cat confdefs.h >>conftest.$ac_ext
  23704. -cat >>conftest.$ac_ext <<_ACEOF
  23705. -/* end confdefs.h. */
  23706. -/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  23707. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  23708. -#define $ac_func innocuous_$ac_func
  23709. -
  23710. -/* System header to define __stub macros and hopefully few prototypes,
  23711. - which can conflict with char $ac_func (); below.
  23712. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  23713. - <limits.h> exists even on freestanding compilers. */
  23714. -
  23715. -#ifdef __STDC__
  23716. -# include <limits.h>
  23717. -#else
  23718. -# include <assert.h>
  23719. -#endif
  23720. -
  23721. -#undef $ac_func
  23722. -
  23723. -/* Override any GCC internal prototype to avoid an error.
  23724. - Use char because int might match the return type of a GCC
  23725. - builtin and then its argument prototype would still apply. */
  23726. -#ifdef __cplusplus
  23727. -extern "C"
  23728. -#endif
  23729. -char $ac_func ();
  23730. -/* The GNU C library defines this for functions which it implements
  23731. - to always fail with ENOSYS. Some functions are actually named
  23732. - something starting with __ and the normal name is an alias. */
  23733. -#if defined __stub_$ac_func || defined __stub___$ac_func
  23734. -choke me
  23735. -#endif
  23736. -
  23737. -int
  23738. -main ()
  23739. -{
  23740. -return $ac_func ();
  23741. - ;
  23742. - return 0;
  23743. -}
  23744. -_ACEOF
  23745. -rm -f conftest.$ac_objext conftest$ac_exeext
  23746. -if { (ac_try="$ac_link"
  23747. -case "(($ac_try" in
  23748. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23749. - *) ac_try_echo=$ac_try;;
  23750. -esac
  23751. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  23752. -$as_echo "$ac_try_echo") >&5
  23753. - (eval "$ac_link") 2>conftest.er1
  23754. - ac_status=$?
  23755. - grep -v '^ *+' conftest.er1 >conftest.err
  23756. - rm -f conftest.er1
  23757. - cat conftest.err >&5
  23758. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23759. - (exit $ac_status); } && {
  23760. - test -z "$ac_c_werror_flag" ||
  23761. - test ! -s conftest.err
  23762. - } && test -s conftest$ac_exeext && {
  23763. - test "$cross_compiling" = yes ||
  23764. - $as_test_x conftest$ac_exeext
  23765. - }; then
  23766. - eval "$as_ac_var=yes"
  23767. -else
  23768. - $as_echo "$as_me: failed program was:" >&5
  23769. -sed 's/^/| /' conftest.$ac_ext >&5
  23770. -
  23771. - eval "$as_ac_var=no"
  23772. -fi
  23773. -
  23774. -rm -rf conftest.dSYM
  23775. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  23776. - conftest$ac_exeext conftest.$ac_ext
  23777. -fi
  23778. -ac_res=`eval 'as_val=${'$as_ac_var'}
  23779. - $as_echo "$as_val"'`
  23780. - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  23781. -$as_echo "$ac_res" >&6; }
  23782. -as_val=`eval 'as_val=${'$as_ac_var'}
  23783. - $as_echo "$as_val"'`
  23784. - if test "x$as_val" = x""yes; then
  23785. +do :
  23786. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  23787. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  23788. +eval as_val=\$$as_ac_var
  23789. + if test "x$as_val" = x""yes; then :
  23790. cat >>confdefs.h <<_ACEOF
  23791. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  23792. _ACEOF
  23793. @@ -20462,17 +17330,13 @@
  23794. if test "${ENABLE_ZERO}" = "true" ; then
  23795. - { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
  23796. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  23797. $as_echo_n "checking for library containing dlopen... " >&6; }
  23798. -if test "${ac_cv_search_dlopen+set}" = set; then
  23799. +if test "${ac_cv_search_dlopen+set}" = set; then :
  23800. $as_echo_n "(cached) " >&6
  23801. else
  23802. ac_func_search_save_LIBS=$LIBS
  23803. -cat >conftest.$ac_ext <<_ACEOF
  23804. -/* confdefs.h. */
  23805. -_ACEOF
  23806. -cat confdefs.h >>conftest.$ac_ext
  23807. -cat >>conftest.$ac_ext <<_ACEOF
  23808. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23809. /* end confdefs.h. */
  23810. /* Override any GCC internal prototype to avoid an error.
  23811. @@ -20497,75 +17361,42 @@
  23812. ac_res=-l$ac_lib
  23813. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  23814. fi
  23815. - rm -f conftest.$ac_objext conftest$ac_exeext
  23816. -if { (ac_try="$ac_link"
  23817. -case "(($ac_try" in
  23818. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23819. - *) ac_try_echo=$ac_try;;
  23820. -esac
  23821. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  23822. -$as_echo "$ac_try_echo") >&5
  23823. - (eval "$ac_link") 2>conftest.er1
  23824. - ac_status=$?
  23825. - grep -v '^ *+' conftest.er1 >conftest.err
  23826. - rm -f conftest.er1
  23827. - cat conftest.err >&5
  23828. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23829. - (exit $ac_status); } && {
  23830. - test -z "$ac_c_werror_flag" ||
  23831. - test ! -s conftest.err
  23832. - } && test -s conftest$ac_exeext && {
  23833. - test "$cross_compiling" = yes ||
  23834. - $as_test_x conftest$ac_exeext
  23835. - }; then
  23836. + if ac_fn_c_try_link "$LINENO"; then :
  23837. ac_cv_search_dlopen=$ac_res
  23838. -else
  23839. - $as_echo "$as_me: failed program was:" >&5
  23840. -sed 's/^/| /' conftest.$ac_ext >&5
  23841. -
  23842. -
  23843. fi
  23844. -
  23845. -rm -rf conftest.dSYM
  23846. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  23847. - conftest$ac_exeext
  23848. - if test "${ac_cv_search_dlopen+set}" = set; then
  23849. +rm -f core conftest.err conftest.$ac_objext \
  23850. + conftest$ac_exeext
  23851. + if test "${ac_cv_search_dlopen+set}" = set; then :
  23852. break
  23853. fi
  23854. done
  23855. -if test "${ac_cv_search_dlopen+set}" = set; then
  23856. - :
  23857. +if test "${ac_cv_search_dlopen+set}" = set; then :
  23858. +
  23859. else
  23860. ac_cv_search_dlopen=no
  23861. fi
  23862. rm conftest.$ac_ext
  23863. LIBS=$ac_func_search_save_LIBS
  23864. fi
  23865. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
  23866. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  23867. $as_echo "$ac_cv_search_dlopen" >&6; }
  23868. ac_res=$ac_cv_search_dlopen
  23869. -if test "$ac_res" != no; then
  23870. +if test "$ac_res" != no; then :
  23871. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  23872. -cat >>confdefs.h <<\_ACEOF
  23873. -#define HAVE_DLOPEN 1
  23874. -_ACEOF
  23875. +$as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
  23876. fi
  23877. fi
  23878. -{ $as_echo "$as_me:$LINENO: checking for library containing lrint" >&5
  23879. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lrint" >&5
  23880. $as_echo_n "checking for library containing lrint... " >&6; }
  23881. -if test "${ac_cv_search_lrint+set}" = set; then
  23882. +if test "${ac_cv_search_lrint+set}" = set; then :
  23883. $as_echo_n "(cached) " >&6
  23884. else
  23885. ac_func_search_save_LIBS=$LIBS
  23886. -cat >conftest.$ac_ext <<_ACEOF
  23887. -/* confdefs.h. */
  23888. -_ACEOF
  23889. -cat confdefs.h >>conftest.$ac_ext
  23890. -cat >>conftest.$ac_ext <<_ACEOF
  23891. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23892. /* end confdefs.h. */
  23893. /* Override any GCC internal prototype to avoid an error.
  23894. @@ -20590,74 +17421,41 @@
  23895. ac_res=-l$ac_lib
  23896. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  23897. fi
  23898. - rm -f conftest.$ac_objext conftest$ac_exeext
  23899. -if { (ac_try="$ac_link"
  23900. -case "(($ac_try" in
  23901. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23902. - *) ac_try_echo=$ac_try;;
  23903. -esac
  23904. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  23905. -$as_echo "$ac_try_echo") >&5
  23906. - (eval "$ac_link") 2>conftest.er1
  23907. - ac_status=$?
  23908. - grep -v '^ *+' conftest.er1 >conftest.err
  23909. - rm -f conftest.er1
  23910. - cat conftest.err >&5
  23911. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23912. - (exit $ac_status); } && {
  23913. - test -z "$ac_c_werror_flag" ||
  23914. - test ! -s conftest.err
  23915. - } && test -s conftest$ac_exeext && {
  23916. - test "$cross_compiling" = yes ||
  23917. - $as_test_x conftest$ac_exeext
  23918. - }; then
  23919. + if ac_fn_c_try_link "$LINENO"; then :
  23920. ac_cv_search_lrint=$ac_res
  23921. -else
  23922. - $as_echo "$as_me: failed program was:" >&5
  23923. -sed 's/^/| /' conftest.$ac_ext >&5
  23924. -
  23925. -
  23926. fi
  23927. -
  23928. -rm -rf conftest.dSYM
  23929. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  23930. - conftest$ac_exeext
  23931. - if test "${ac_cv_search_lrint+set}" = set; then
  23932. +rm -f core conftest.err conftest.$ac_objext \
  23933. + conftest$ac_exeext
  23934. + if test "${ac_cv_search_lrint+set}" = set; then :
  23935. break
  23936. fi
  23937. done
  23938. -if test "${ac_cv_search_lrint+set}" = set; then
  23939. - :
  23940. +if test "${ac_cv_search_lrint+set}" = set; then :
  23941. +
  23942. else
  23943. ac_cv_search_lrint=no
  23944. fi
  23945. rm conftest.$ac_ext
  23946. LIBS=$ac_func_search_save_LIBS
  23947. fi
  23948. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_lrint" >&5
  23949. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lrint" >&5
  23950. $as_echo "$ac_cv_search_lrint" >&6; }
  23951. ac_res=$ac_cv_search_lrint
  23952. -if test "$ac_res" != no; then
  23953. +if test "$ac_res" != no; then :
  23954. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  23955. -cat >>confdefs.h <<\_ACEOF
  23956. -#define HAVE_LRINT 1
  23957. -_ACEOF
  23958. +$as_echo "#define HAVE_LRINT 1" >>confdefs.h
  23959. fi
  23960. -{ $as_echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
  23961. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
  23962. $as_echo_n "checking for library containing nanosleep... " >&6; }
  23963. -if test "${ac_cv_search_nanosleep+set}" = set; then
  23964. +if test "${ac_cv_search_nanosleep+set}" = set; then :
  23965. $as_echo_n "(cached) " >&6
  23966. else
  23967. ac_func_search_save_LIBS=$LIBS
  23968. -cat >conftest.$ac_ext <<_ACEOF
  23969. -/* confdefs.h. */
  23970. -_ACEOF
  23971. -cat confdefs.h >>conftest.$ac_ext
  23972. -cat >>conftest.$ac_ext <<_ACEOF
  23973. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23974. /* end confdefs.h. */
  23975. /* Override any GCC internal prototype to avoid an error.
  23976. @@ -20682,59 +17480,30 @@
  23977. ac_res=-l$ac_lib
  23978. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  23979. fi
  23980. - rm -f conftest.$ac_objext conftest$ac_exeext
  23981. -if { (ac_try="$ac_link"
  23982. -case "(($ac_try" in
  23983. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  23984. - *) ac_try_echo=$ac_try;;
  23985. -esac
  23986. -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  23987. -$as_echo "$ac_try_echo") >&5
  23988. - (eval "$ac_link") 2>conftest.er1
  23989. - ac_status=$?
  23990. - grep -v '^ *+' conftest.er1 >conftest.err
  23991. - rm -f conftest.er1
  23992. - cat conftest.err >&5
  23993. - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  23994. - (exit $ac_status); } && {
  23995. - test -z "$ac_c_werror_flag" ||
  23996. - test ! -s conftest.err
  23997. - } && test -s conftest$ac_exeext && {
  23998. - test "$cross_compiling" = yes ||
  23999. - $as_test_x conftest$ac_exeext
  24000. - }; then
  24001. + if ac_fn_c_try_link "$LINENO"; then :
  24002. ac_cv_search_nanosleep=$ac_res
  24003. -else
  24004. - $as_echo "$as_me: failed program was:" >&5
  24005. -sed 's/^/| /' conftest.$ac_ext >&5
  24006. -
  24007. -
  24008. fi
  24009. -
  24010. -rm -rf conftest.dSYM
  24011. -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  24012. - conftest$ac_exeext
  24013. - if test "${ac_cv_search_nanosleep+set}" = set; then
  24014. +rm -f core conftest.err conftest.$ac_objext \
  24015. + conftest$ac_exeext
  24016. + if test "${ac_cv_search_nanosleep+set}" = set; then :
  24017. break
  24018. fi
  24019. done
  24020. -if test "${ac_cv_search_nanosleep+set}" = set; then
  24021. - :
  24022. +if test "${ac_cv_search_nanosleep+set}" = set; then :
  24023. +
  24024. else
  24025. ac_cv_search_nanosleep=no
  24026. fi
  24027. rm conftest.$ac_ext
  24028. LIBS=$ac_func_search_save_LIBS
  24029. fi
  24030. -{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
  24031. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
  24032. $as_echo "$ac_cv_search_nanosleep" >&6; }
  24033. ac_res=$ac_cv_search_nanosleep
  24034. -if test "$ac_res" != no; then
  24035. +if test "$ac_res" != no; then :
  24036. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  24037. -cat >>confdefs.h <<\_ACEOF
  24038. -#define HAVE_NANOSLEEP 1
  24039. -_ACEOF
  24040. +$as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
  24041. fi
  24042. @@ -20771,13 +17540,13 @@
  24043. case $ac_val in #(
  24044. *${as_nl}*)
  24045. case $ac_var in #(
  24046. - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  24047. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  24048. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  24049. esac
  24050. case $ac_var in #(
  24051. _ | IFS | as_nl) ;; #(
  24052. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  24053. - *) $as_unset $ac_var ;;
  24054. + *) { eval $ac_var=; unset $ac_var;} ;;
  24055. esac ;;
  24056. esac
  24057. done
  24058. @@ -20785,8 +17554,8 @@
  24059. (set) 2>&1 |
  24060. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  24061. *${as_nl}ac_space=\ *)
  24062. - # `set' does not quote correctly, so add quotes (double-quote
  24063. - # substitution turns \\\\ into \\, and sed turns \\ into \).
  24064. + # `set' does not quote correctly, so add quotes: double-quote
  24065. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  24066. sed -n \
  24067. "s/'/'\\\\''/g;
  24068. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  24069. @@ -20809,11 +17578,11 @@
  24070. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  24071. if test -w "$cache_file"; then
  24072. test "x$cache_file" != "x/dev/null" &&
  24073. - { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
  24074. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  24075. $as_echo "$as_me: updating cache $cache_file" >&6;}
  24076. cat confcache >$cache_file
  24077. else
  24078. - { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  24079. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  24080. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  24081. fi
  24082. fi
  24083. @@ -20833,281 +17602,179 @@
  24084. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  24085. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  24086. # will be set to the directory where LIBOBJS objects are built.
  24087. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  24088. - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  24089. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  24090. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  24091. done
  24092. LIBOBJS=$ac_libobjs
  24093. LTLIBOBJS=$ac_ltlibobjs
  24094. + if test -n "$EXEEXT"; then
  24095. + am__EXEEXT_TRUE=
  24096. + am__EXEEXT_FALSE='#'
  24097. +else
  24098. + am__EXEEXT_TRUE='#'
  24099. + am__EXEEXT_FALSE=
  24100. +fi
  24101. +
  24102. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  24103. - { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  24104. -Usually this means the macro was only invoked conditionally." >&5
  24105. -$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
  24106. -Usually this means the macro was only invoked conditionally." >&2;}
  24107. - { (exit 1); exit 1; }; }
  24108. + as_fn_error "conditional \"AMDEP\" was never defined.
  24109. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24110. fi
  24111. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  24112. - { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  24113. -Usually this means the macro was only invoked conditionally." >&5
  24114. -$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  24115. -Usually this means the macro was only invoked conditionally." >&2;}
  24116. - { (exit 1); exit 1; }; }
  24117. + as_fn_error "conditional \"am__fastdepCC\" was never defined.
  24118. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24119. fi
  24120. if test -z "${HAVE_DEBIAN_TRUE}" && test -z "${HAVE_DEBIAN_FALSE}"; then
  24121. - { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DEBIAN\" was never defined.
  24122. -Usually this means the macro was only invoked conditionally." >&5
  24123. -$as_echo "$as_me: error: conditional \"HAVE_DEBIAN\" was never defined.
  24124. -Usually this means the macro was only invoked conditionally." >&2;}
  24125. - { (exit 1); exit 1; }; }
  24126. + as_fn_error "conditional \"HAVE_DEBIAN\" was never defined.
  24127. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24128. fi
  24129. if test -z "${HAVE_DARWIN_TRUE}" && test -z "${HAVE_DARWIN_FALSE}"; then
  24130. - { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DARWIN\" was never defined.
  24131. -Usually this means the macro was only invoked conditionally." >&5
  24132. -$as_echo "$as_me: error: conditional \"HAVE_DARWIN\" was never defined.
  24133. -Usually this means the macro was only invoked conditionally." >&2;}
  24134. - { (exit 1); exit 1; }; }
  24135. + as_fn_error "conditional \"HAVE_DARWIN\" was never defined.
  24136. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24137. fi
  24138. if test -z "${HAVE_CYGWIN_TRUE}" && test -z "${HAVE_CYGWIN_FALSE}"; then
  24139. - { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CYGWIN\" was never defined.
  24140. -Usually this means the macro was only invoked conditionally." >&5
  24141. -$as_echo "$as_me: error: conditional \"HAVE_CYGWIN\" was never defined.
  24142. -Usually this means the macro was only invoked conditionally." >&2;}
  24143. - { (exit 1); exit 1; }; }
  24144. + as_fn_error "conditional \"HAVE_CYGWIN\" was never defined.
  24145. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24146. fi
  24147. if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then
  24148. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DEBUG\" was never defined.
  24149. -Usually this means the macro was only invoked conditionally." >&5
  24150. -$as_echo "$as_me: error: conditional \"ENABLE_DEBUG\" was never defined.
  24151. -Usually this means the macro was only invoked conditionally." >&2;}
  24152. - { (exit 1); exit 1; }; }
  24153. + as_fn_error "conditional \"ENABLE_DEBUG\" was never defined.
  24154. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24155. fi
  24156. if test -z "${ENABLE_OWSHELL_TRUE}" && test -z "${ENABLE_OWSHELL_FALSE}"; then
  24157. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWSHELL\" was never defined.
  24158. -Usually this means the macro was only invoked conditionally." >&5
  24159. -$as_echo "$as_me: error: conditional \"ENABLE_OWSHELL\" was never defined.
  24160. -Usually this means the macro was only invoked conditionally." >&2;}
  24161. - { (exit 1); exit 1; }; }
  24162. + as_fn_error "conditional \"ENABLE_OWSHELL\" was never defined.
  24163. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24164. fi
  24165. if test -z "${ENABLE_OWLIB_TRUE}" && test -z "${ENABLE_OWLIB_FALSE}"; then
  24166. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWLIB\" was never defined.
  24167. -Usually this means the macro was only invoked conditionally." >&5
  24168. -$as_echo "$as_me: error: conditional \"ENABLE_OWLIB\" was never defined.
  24169. -Usually this means the macro was only invoked conditionally." >&2;}
  24170. - { (exit 1); exit 1; }; }
  24171. + as_fn_error "conditional \"ENABLE_OWLIB\" was never defined.
  24172. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24173. fi
  24174. if test -z "${ENABLE_OWNETLIB_TRUE}" && test -z "${ENABLE_OWNETLIB_FALSE}"; then
  24175. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWNETLIB\" was never defined.
  24176. -Usually this means the macro was only invoked conditionally." >&5
  24177. -$as_echo "$as_me: error: conditional \"ENABLE_OWNETLIB\" was never defined.
  24178. -Usually this means the macro was only invoked conditionally." >&2;}
  24179. - { (exit 1); exit 1; }; }
  24180. + as_fn_error "conditional \"ENABLE_OWNETLIB\" was never defined.
  24181. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24182. fi
  24183. if test -z "${ENABLE_TAI8570_TRUE}" && test -z "${ENABLE_TAI8570_FALSE}"; then
  24184. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_TAI8570\" was never defined.
  24185. -Usually this means the macro was only invoked conditionally." >&5
  24186. -$as_echo "$as_me: error: conditional \"ENABLE_TAI8570\" was never defined.
  24187. -Usually this means the macro was only invoked conditionally." >&2;}
  24188. - { (exit 1); exit 1; }; }
  24189. + as_fn_error "conditional \"ENABLE_TAI8570\" was never defined.
  24190. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24191. fi
  24192. if test -z "${ENABLE_THERMOCOUPLE_TRUE}" && test -z "${ENABLE_THERMOCOUPLE_FALSE}"; then
  24193. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_THERMOCOUPLE\" was never defined.
  24194. -Usually this means the macro was only invoked conditionally." >&5
  24195. -$as_echo "$as_me: error: conditional \"ENABLE_THERMOCOUPLE\" was never defined.
  24196. -Usually this means the macro was only invoked conditionally." >&2;}
  24197. - { (exit 1); exit 1; }; }
  24198. + as_fn_error "conditional \"ENABLE_THERMOCOUPLE\" was never defined.
  24199. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24200. fi
  24201. if test -z "${ENABLE_MT_TRUE}" && test -z "${ENABLE_MT_FALSE}"; then
  24202. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_MT\" was never defined.
  24203. -Usually this means the macro was only invoked conditionally." >&5
  24204. -$as_echo "$as_me: error: conditional \"ENABLE_MT\" was never defined.
  24205. -Usually this means the macro was only invoked conditionally." >&2;}
  24206. - { (exit 1); exit 1; }; }
  24207. + as_fn_error "conditional \"ENABLE_MT\" was never defined.
  24208. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24209. fi
  24210. if test -z "${ENABLE_I2C_TRUE}" && test -z "${ENABLE_I2C_FALSE}"; then
  24211. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_I2C\" was never defined.
  24212. -Usually this means the macro was only invoked conditionally." >&5
  24213. -$as_echo "$as_me: error: conditional \"ENABLE_I2C\" was never defined.
  24214. -Usually this means the macro was only invoked conditionally." >&2;}
  24215. - { (exit 1); exit 1; }; }
  24216. + as_fn_error "conditional \"ENABLE_I2C\" was never defined.
  24217. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24218. fi
  24219. if test -z "${ENABLE_HA7_TRUE}" && test -z "${ENABLE_HA7_FALSE}"; then
  24220. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_HA7\" was never defined.
  24221. -Usually this means the macro was only invoked conditionally." >&5
  24222. -$as_echo "$as_me: error: conditional \"ENABLE_HA7\" was never defined.
  24223. -Usually this means the macro was only invoked conditionally." >&2;}
  24224. - { (exit 1); exit 1; }; }
  24225. + as_fn_error "conditional \"ENABLE_HA7\" was never defined.
  24226. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24227. fi
  24228. if test -z "${ENABLE_W1_TRUE}" && test -z "${ENABLE_W1_FALSE}"; then
  24229. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_W1\" was never defined.
  24230. -Usually this means the macro was only invoked conditionally." >&5
  24231. -$as_echo "$as_me: error: conditional \"ENABLE_W1\" was never defined.
  24232. -Usually this means the macro was only invoked conditionally." >&2;}
  24233. - { (exit 1); exit 1; }; }
  24234. + as_fn_error "conditional \"ENABLE_W1\" was never defined.
  24235. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24236. fi
  24237. if test -z "${ENABLE_OWHTTPD_TRUE}" && test -z "${ENABLE_OWHTTPD_FALSE}"; then
  24238. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWHTTPD\" was never defined.
  24239. -Usually this means the macro was only invoked conditionally." >&5
  24240. -$as_echo "$as_me: error: conditional \"ENABLE_OWHTTPD\" was never defined.
  24241. -Usually this means the macro was only invoked conditionally." >&2;}
  24242. - { (exit 1); exit 1; }; }
  24243. + as_fn_error "conditional \"ENABLE_OWHTTPD\" was never defined.
  24244. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24245. fi
  24246. if test -z "${ENABLE_OWFTPD_TRUE}" && test -z "${ENABLE_OWFTPD_FALSE}"; then
  24247. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWFTPD\" was never defined.
  24248. -Usually this means the macro was only invoked conditionally." >&5
  24249. -$as_echo "$as_me: error: conditional \"ENABLE_OWFTPD\" was never defined.
  24250. -Usually this means the macro was only invoked conditionally." >&2;}
  24251. - { (exit 1); exit 1; }; }
  24252. + as_fn_error "conditional \"ENABLE_OWFTPD\" was never defined.
  24253. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24254. fi
  24255. if test -z "${ENABLE_OWSERVER_TRUE}" && test -z "${ENABLE_OWSERVER_FALSE}"; then
  24256. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWSERVER\" was never defined.
  24257. -Usually this means the macro was only invoked conditionally." >&5
  24258. -$as_echo "$as_me: error: conditional \"ENABLE_OWSERVER\" was never defined.
  24259. -Usually this means the macro was only invoked conditionally." >&2;}
  24260. - { (exit 1); exit 1; }; }
  24261. + as_fn_error "conditional \"ENABLE_OWSERVER\" was never defined.
  24262. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24263. fi
  24264. if test -z "${ENABLE_OWNET_TRUE}" && test -z "${ENABLE_OWNET_FALSE}"; then
  24265. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWNET\" was never defined.
  24266. -Usually this means the macro was only invoked conditionally." >&5
  24267. -$as_echo "$as_me: error: conditional \"ENABLE_OWNET\" was never defined.
  24268. -Usually this means the macro was only invoked conditionally." >&2;}
  24269. - { (exit 1); exit 1; }; }
  24270. + as_fn_error "conditional \"ENABLE_OWNET\" was never defined.
  24271. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24272. fi
  24273. if test -z "${ENABLE_OWTAP_TRUE}" && test -z "${ENABLE_OWTAP_FALSE}"; then
  24274. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWTAP\" was never defined.
  24275. -Usually this means the macro was only invoked conditionally." >&5
  24276. -$as_echo "$as_me: error: conditional \"ENABLE_OWTAP\" was never defined.
  24277. -Usually this means the macro was only invoked conditionally." >&2;}
  24278. - { (exit 1); exit 1; }; }
  24279. + as_fn_error "conditional \"ENABLE_OWTAP\" was never defined.
  24280. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24281. fi
  24282. if test -z "${ENABLE_OWMALLOC_TRUE}" && test -z "${ENABLE_OWMALLOC_FALSE}"; then
  24283. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWMALLOC\" was never defined.
  24284. -Usually this means the macro was only invoked conditionally." >&5
  24285. -$as_echo "$as_me: error: conditional \"ENABLE_OWMALLOC\" was never defined.
  24286. -Usually this means the macro was only invoked conditionally." >&2;}
  24287. - { (exit 1); exit 1; }; }
  24288. + as_fn_error "conditional \"ENABLE_OWMALLOC\" was never defined.
  24289. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24290. fi
  24291. if test -z "${ENABLE_OWMON_TRUE}" && test -z "${ENABLE_OWMON_FALSE}"; then
  24292. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWMON\" was never defined.
  24293. -Usually this means the macro was only invoked conditionally." >&5
  24294. -$as_echo "$as_me: error: conditional \"ENABLE_OWMON\" was never defined.
  24295. -Usually this means the macro was only invoked conditionally." >&2;}
  24296. - { (exit 1); exit 1; }; }
  24297. + as_fn_error "conditional \"ENABLE_OWMON\" was never defined.
  24298. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24299. fi
  24300. if test -z "${ENABLE_OWCAPI_TRUE}" && test -z "${ENABLE_OWCAPI_FALSE}"; then
  24301. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWCAPI\" was never defined.
  24302. -Usually this means the macro was only invoked conditionally." >&5
  24303. -$as_echo "$as_me: error: conditional \"ENABLE_OWCAPI\" was never defined.
  24304. -Usually this means the macro was only invoked conditionally." >&2;}
  24305. - { (exit 1); exit 1; }; }
  24306. + as_fn_error "conditional \"ENABLE_OWCAPI\" was never defined.
  24307. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24308. fi
  24309. if test -z "${ENABLE_SWIG_TRUE}" && test -z "${ENABLE_SWIG_FALSE}"; then
  24310. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SWIG\" was never defined.
  24311. -Usually this means the macro was only invoked conditionally." >&5
  24312. -$as_echo "$as_me: error: conditional \"ENABLE_SWIG\" was never defined.
  24313. -Usually this means the macro was only invoked conditionally." >&2;}
  24314. - { (exit 1); exit 1; }; }
  24315. + as_fn_error "conditional \"ENABLE_SWIG\" was never defined.
  24316. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24317. fi
  24318. if test -z "${ENABLE_OWPERL_TRUE}" && test -z "${ENABLE_OWPERL_FALSE}"; then
  24319. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWPERL\" was never defined.
  24320. -Usually this means the macro was only invoked conditionally." >&5
  24321. -$as_echo "$as_me: error: conditional \"ENABLE_OWPERL\" was never defined.
  24322. -Usually this means the macro was only invoked conditionally." >&2;}
  24323. - { (exit 1); exit 1; }; }
  24324. + as_fn_error "conditional \"ENABLE_OWPERL\" was never defined.
  24325. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24326. fi
  24327. if test -z "${ENABLE_PERL_TRUE}" && test -z "${ENABLE_PERL_FALSE}"; then
  24328. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_PERL\" was never defined.
  24329. -Usually this means the macro was only invoked conditionally." >&5
  24330. -$as_echo "$as_me: error: conditional \"ENABLE_PERL\" was never defined.
  24331. -Usually this means the macro was only invoked conditionally." >&2;}
  24332. - { (exit 1); exit 1; }; }
  24333. + as_fn_error "conditional \"ENABLE_PERL\" was never defined.
  24334. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24335. fi
  24336. if test -z "${ENABLE_OWPHP_TRUE}" && test -z "${ENABLE_OWPHP_FALSE}"; then
  24337. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWPHP\" was never defined.
  24338. -Usually this means the macro was only invoked conditionally." >&5
  24339. -$as_echo "$as_me: error: conditional \"ENABLE_OWPHP\" was never defined.
  24340. -Usually this means the macro was only invoked conditionally." >&2;}
  24341. - { (exit 1); exit 1; }; }
  24342. + as_fn_error "conditional \"ENABLE_OWPHP\" was never defined.
  24343. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24344. fi
  24345. if test -z "${ENABLE_PHP_TRUE}" && test -z "${ENABLE_PHP_FALSE}"; then
  24346. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_PHP\" was never defined.
  24347. -Usually this means the macro was only invoked conditionally." >&5
  24348. -$as_echo "$as_me: error: conditional \"ENABLE_PHP\" was never defined.
  24349. -Usually this means the macro was only invoked conditionally." >&2;}
  24350. - { (exit 1); exit 1; }; }
  24351. + as_fn_error "conditional \"ENABLE_PHP\" was never defined.
  24352. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24353. fi
  24354. if test -z "${ENABLE_OWPYTHON_TRUE}" && test -z "${ENABLE_OWPYTHON_FALSE}"; then
  24355. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWPYTHON\" was never defined.
  24356. -Usually this means the macro was only invoked conditionally." >&5
  24357. -$as_echo "$as_me: error: conditional \"ENABLE_OWPYTHON\" was never defined.
  24358. -Usually this means the macro was only invoked conditionally." >&2;}
  24359. - { (exit 1); exit 1; }; }
  24360. + as_fn_error "conditional \"ENABLE_OWPYTHON\" was never defined.
  24361. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24362. fi
  24363. if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
  24364. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_PYTHON\" was never defined.
  24365. -Usually this means the macro was only invoked conditionally." >&5
  24366. -$as_echo "$as_me: error: conditional \"ENABLE_PYTHON\" was never defined.
  24367. -Usually this means the macro was only invoked conditionally." >&2;}
  24368. - { (exit 1); exit 1; }; }
  24369. + as_fn_error "conditional \"ENABLE_PYTHON\" was never defined.
  24370. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24371. fi
  24372. if test -z "${ENABLE_OWTCL_TRUE}" && test -z "${ENABLE_OWTCL_FALSE}"; then
  24373. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWTCL\" was never defined.
  24374. -Usually this means the macro was only invoked conditionally." >&5
  24375. -$as_echo "$as_me: error: conditional \"ENABLE_OWTCL\" was never defined.
  24376. -Usually this means the macro was only invoked conditionally." >&2;}
  24377. - { (exit 1); exit 1; }; }
  24378. + as_fn_error "conditional \"ENABLE_OWTCL\" was never defined.
  24379. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24380. fi
  24381. if test -z "${ENABLE_PROFILING_TRUE}" && test -z "${ENABLE_PROFILING_FALSE}"; then
  24382. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_PROFILING\" was never defined.
  24383. -Usually this means the macro was only invoked conditionally." >&5
  24384. -$as_echo "$as_me: error: conditional \"ENABLE_PROFILING\" was never defined.
  24385. -Usually this means the macro was only invoked conditionally." >&2;}
  24386. - { (exit 1); exit 1; }; }
  24387. + as_fn_error "conditional \"ENABLE_PROFILING\" was never defined.
  24388. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24389. fi
  24390. if test -z "${ENABLE_OWFS_TRUE}" && test -z "${ENABLE_OWFS_FALSE}"; then
  24391. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_OWFS\" was never defined.
  24392. -Usually this means the macro was only invoked conditionally." >&5
  24393. -$as_echo "$as_me: error: conditional \"ENABLE_OWFS\" was never defined.
  24394. -Usually this means the macro was only invoked conditionally." >&2;}
  24395. - { (exit 1); exit 1; }; }
  24396. + as_fn_error "conditional \"ENABLE_OWFS\" was never defined.
  24397. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24398. fi
  24399. if test -z "${ENABLE_CACHE_TRUE}" && test -z "${ENABLE_CACHE_FALSE}"; then
  24400. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_CACHE\" was never defined.
  24401. -Usually this means the macro was only invoked conditionally." >&5
  24402. -$as_echo "$as_me: error: conditional \"ENABLE_CACHE\" was never defined.
  24403. -Usually this means the macro was only invoked conditionally." >&2;}
  24404. - { (exit 1); exit 1; }; }
  24405. + as_fn_error "conditional \"ENABLE_CACHE\" was never defined.
  24406. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24407. fi
  24408. if test -z "${ENABLE_ZERO_TRUE}" && test -z "${ENABLE_ZERO_FALSE}"; then
  24409. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_ZERO\" was never defined.
  24410. -Usually this means the macro was only invoked conditionally." >&5
  24411. -$as_echo "$as_me: error: conditional \"ENABLE_ZERO\" was never defined.
  24412. -Usually this means the macro was only invoked conditionally." >&2;}
  24413. - { (exit 1); exit 1; }; }
  24414. + as_fn_error "conditional \"ENABLE_ZERO\" was never defined.
  24415. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24416. fi
  24417. if test -z "${ENABLE_USB_TRUE}" && test -z "${ENABLE_USB_FALSE}"; then
  24418. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_USB\" was never defined.
  24419. -Usually this means the macro was only invoked conditionally." >&5
  24420. -$as_echo "$as_me: error: conditional \"ENABLE_USB\" was never defined.
  24421. -Usually this means the macro was only invoked conditionally." >&2;}
  24422. - { (exit 1); exit 1; }; }
  24423. + as_fn_error "conditional \"ENABLE_USB\" was never defined.
  24424. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24425. fi
  24426. if test -z "${ENABLE_PARPORT_TRUE}" && test -z "${ENABLE_PARPORT_FALSE}"; then
  24427. - { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_PARPORT\" was never defined.
  24428. -Usually this means the macro was only invoked conditionally." >&5
  24429. -$as_echo "$as_me: error: conditional \"ENABLE_PARPORT\" was never defined.
  24430. -Usually this means the macro was only invoked conditionally." >&2;}
  24431. - { (exit 1); exit 1; }; }
  24432. + as_fn_error "conditional \"ENABLE_PARPORT\" was never defined.
  24433. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  24434. fi
  24435. : ${CONFIG_STATUS=./config.status}
  24436. ac_write_fail=0
  24437. ac_clean_files_save=$ac_clean_files
  24438. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  24439. -{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  24440. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  24441. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  24442. -cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24443. +as_write_fail=0
  24444. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  24445. #! $SHELL
  24446. # Generated by $as_me.
  24447. # Run this file to recreate the current configuration.
  24448. @@ -21117,17 +17784,18 @@
  24449. debug=false
  24450. ac_cs_recheck=false
  24451. ac_cs_silent=false
  24452. -SHELL=\${CONFIG_SHELL-$SHELL}
  24453. -_ACEOF
  24454. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24455. -## --------------------- ##
  24456. -## M4sh Initialization. ##
  24457. -## --------------------- ##
  24458. +SHELL=\${CONFIG_SHELL-$SHELL}
  24459. +export SHELL
  24460. +_ASEOF
  24461. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  24462. +## -------------------- ##
  24463. +## M4sh Initialization. ##
  24464. +## -------------------- ##
  24465. # Be more Bourne compatible
  24466. DUALCASE=1; export DUALCASE # for MKS sh
  24467. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  24468. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  24469. emulate sh
  24470. NULLCMD=:
  24471. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  24472. @@ -21135,23 +17803,15 @@
  24473. alias -g '${1+"$@"}'='"$@"'
  24474. setopt NO_GLOB_SUBST
  24475. else
  24476. - case `(set -o) 2>/dev/null` in
  24477. - *posix*) set -o posix ;;
  24478. + case `(set -o) 2>/dev/null` in #(
  24479. + *posix*) :
  24480. + set -o posix ;; #(
  24481. + *) :
  24482. + ;;
  24483. esac
  24484. -
  24485. fi
  24486. -
  24487. -
  24488. -# PATH needs CR
  24489. -# Avoid depending upon Character Ranges.
  24490. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  24491. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  24492. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  24493. -as_cr_digits='0123456789'
  24494. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  24495. -
  24496. as_nl='
  24497. '
  24498. export as_nl
  24499. @@ -21159,7 +17819,13 @@
  24500. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  24501. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  24502. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  24503. -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  24504. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  24505. +# but without wasting forks for bash or zsh.
  24506. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  24507. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  24508. + as_echo='print -r --'
  24509. + as_echo_n='print -rn --'
  24510. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  24511. as_echo='printf %s\n'
  24512. as_echo_n='printf %s'
  24513. else
  24514. @@ -21170,7 +17836,7 @@
  24515. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  24516. as_echo_n_body='eval
  24517. arg=$1;
  24518. - case $arg in
  24519. + case $arg in #(
  24520. *"$as_nl"*)
  24521. expr "X$arg" : "X\\(.*\\)$as_nl";
  24522. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  24523. @@ -21193,13 +17859,6 @@
  24524. }
  24525. fi
  24526. -# Support unset when possible.
  24527. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  24528. - as_unset=unset
  24529. -else
  24530. - as_unset=false
  24531. -fi
  24532. -
  24533. # IFS
  24534. # We need space, tab and new line, in precisely that order. Quoting is
  24535. @@ -21209,15 +17868,15 @@
  24536. IFS=" "" $as_nl"
  24537. # Find who we are. Look in the path if we contain no directory separator.
  24538. -case $0 in
  24539. +case $0 in #((
  24540. *[\\/]* ) as_myself=$0 ;;
  24541. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  24542. for as_dir in $PATH
  24543. do
  24544. IFS=$as_save_IFS
  24545. test -z "$as_dir" && as_dir=.
  24546. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  24547. -done
  24548. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  24549. + done
  24550. IFS=$as_save_IFS
  24551. ;;
  24552. @@ -21229,12 +17888,16 @@
  24553. fi
  24554. if test ! -f "$as_myself"; then
  24555. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  24556. - { (exit 1); exit 1; }
  24557. + exit 1
  24558. fi
  24559. -# Work around bugs in pre-3.0 UWIN ksh.
  24560. -for as_var in ENV MAIL MAILPATH
  24561. -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  24562. +# Unset variables that we do not need and which cause bugs (e.g. in
  24563. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  24564. +# suppresses any "Segmentation fault" message there. '((' could
  24565. +# trigger a bug in pdksh 5.2.14.
  24566. +for as_var in BASH_ENV ENV MAIL MAILPATH
  24567. +do eval test x\${$as_var+set} = xset \
  24568. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  24569. done
  24570. PS1='$ '
  24571. PS2='> '
  24572. @@ -21246,7 +17909,89 @@
  24573. LANGUAGE=C
  24574. export LANGUAGE
  24575. -# Required to use basename.
  24576. +# CDPATH.
  24577. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  24578. +
  24579. +
  24580. +# as_fn_error ERROR [LINENO LOG_FD]
  24581. +# ---------------------------------
  24582. +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  24583. +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  24584. +# script with status $?, using 1 if that was 0.
  24585. +as_fn_error ()
  24586. +{
  24587. + as_status=$?; test $as_status -eq 0 && as_status=1
  24588. + if test "$3"; then
  24589. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  24590. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  24591. + fi
  24592. + $as_echo "$as_me: error: $1" >&2
  24593. + as_fn_exit $as_status
  24594. +} # as_fn_error
  24595. +
  24596. +
  24597. +# as_fn_set_status STATUS
  24598. +# -----------------------
  24599. +# Set $? to STATUS, without forking.
  24600. +as_fn_set_status ()
  24601. +{
  24602. + return $1
  24603. +} # as_fn_set_status
  24604. +
  24605. +# as_fn_exit STATUS
  24606. +# -----------------
  24607. +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  24608. +as_fn_exit ()
  24609. +{
  24610. + set +e
  24611. + as_fn_set_status $1
  24612. + exit $1
  24613. +} # as_fn_exit
  24614. +
  24615. +# as_fn_unset VAR
  24616. +# ---------------
  24617. +# Portably unset VAR.
  24618. +as_fn_unset ()
  24619. +{
  24620. + { eval $1=; unset $1;}
  24621. +}
  24622. +as_unset=as_fn_unset
  24623. +# as_fn_append VAR VALUE
  24624. +# ----------------------
  24625. +# Append the text in VALUE to the end of the definition contained in VAR. Take
  24626. +# advantage of any shell optimizations that allow amortized linear growth over
  24627. +# repeated appends, instead of the typical quadratic growth present in naive
  24628. +# implementations.
  24629. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  24630. + eval 'as_fn_append ()
  24631. + {
  24632. + eval $1+=\$2
  24633. + }'
  24634. +else
  24635. + as_fn_append ()
  24636. + {
  24637. + eval $1=\$$1\$2
  24638. + }
  24639. +fi # as_fn_append
  24640. +
  24641. +# as_fn_arith ARG...
  24642. +# ------------------
  24643. +# Perform arithmetic evaluation on the ARGs, and store the result in the
  24644. +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  24645. +# must be portable across $(()) and expr.
  24646. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  24647. + eval 'as_fn_arith ()
  24648. + {
  24649. + as_val=$(( $* ))
  24650. + }'
  24651. +else
  24652. + as_fn_arith ()
  24653. + {
  24654. + as_val=`expr "$@" || test $? -eq 1`
  24655. + }
  24656. +fi # as_fn_arith
  24657. +
  24658. +
  24659. if expr a : '\(a\)' >/dev/null 2>&1 &&
  24660. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  24661. as_expr=expr
  24662. @@ -21260,8 +18005,12 @@
  24663. as_basename=false
  24664. fi
  24665. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  24666. + as_dirname=dirname
  24667. +else
  24668. + as_dirname=false
  24669. +fi
  24670. -# Name of the executable.
  24671. as_me=`$as_basename -- "$0" ||
  24672. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  24673. X"$0" : 'X\(//\)$' \| \
  24674. @@ -21277,80 +18026,29 @@
  24675. }
  24676. /^X\/\(\/\).*/{
  24677. s//\1/
  24678. - q
  24679. - }
  24680. - s/.*/./; q'`
  24681. -
  24682. -# CDPATH.
  24683. -$as_unset CDPATH
  24684. -
  24685. -
  24686. -
  24687. - as_lineno_1=$LINENO
  24688. - as_lineno_2=$LINENO
  24689. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  24690. - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  24691. -
  24692. - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  24693. - # uniformly replaced by the line number. The first 'sed' inserts a
  24694. - # line-number line after each line using $LINENO; the second 'sed'
  24695. - # does the real work. The second script uses 'N' to pair each
  24696. - # line-number line with the line containing $LINENO, and appends
  24697. - # trailing '-' during substitution so that $LINENO is not a special
  24698. - # case at line end.
  24699. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  24700. - # scripts with optimization help from Paolo Bonzini. Blame Lee
  24701. - # E. McMahon (1931-1989) for sed's syntax. :-)
  24702. - sed -n '
  24703. - p
  24704. - /[$]LINENO/=
  24705. - ' <$as_myself |
  24706. - sed '
  24707. - s/[$]LINENO.*/&-/
  24708. - t lineno
  24709. - b
  24710. - :lineno
  24711. - N
  24712. - :loop
  24713. - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  24714. - t loop
  24715. - s/-\n.*//
  24716. - ' >$as_me.lineno &&
  24717. - chmod +x "$as_me.lineno" ||
  24718. - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  24719. - { (exit 1); exit 1; }; }
  24720. -
  24721. - # Don't try to exec as it changes $[0], causing all sort of problems
  24722. - # (the dirname of $[0] is not the place where we might find the
  24723. - # original and so on. Autoconf is especially sensitive to this).
  24724. - . "./$as_me.lineno"
  24725. - # Exit status is that of the last command.
  24726. - exit
  24727. -}
  24728. -
  24729. -
  24730. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  24731. - as_dirname=dirname
  24732. -else
  24733. - as_dirname=false
  24734. -fi
  24735. + q
  24736. + }
  24737. + s/.*/./; q'`
  24738. +
  24739. +# Avoid depending upon Character Ranges.
  24740. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  24741. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  24742. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  24743. +as_cr_digits='0123456789'
  24744. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  24745. ECHO_C= ECHO_N= ECHO_T=
  24746. -case `echo -n x` in
  24747. +case `echo -n x` in #(((((
  24748. -n*)
  24749. - case `echo 'x\c'` in
  24750. + case `echo 'xy\c'` in
  24751. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  24752. - *) ECHO_C='\c';;
  24753. + xy) ECHO_C='\c';;
  24754. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  24755. + ECHO_T=' ';;
  24756. esac;;
  24757. *)
  24758. ECHO_N='-n';;
  24759. esac
  24760. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  24761. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  24762. - as_expr=expr
  24763. -else
  24764. - as_expr=false
  24765. -fi
  24766. rm -f conf$$ conf$$.exe conf$$.file
  24767. if test -d conf$$.dir; then
  24768. @@ -21379,8 +18077,56 @@
  24769. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  24770. rmdir conf$$.dir 2>/dev/null
  24771. +
  24772. +# as_fn_mkdir_p
  24773. +# -------------
  24774. +# Create "$as_dir" as a directory, including parents if necessary.
  24775. +as_fn_mkdir_p ()
  24776. +{
  24777. +
  24778. + case $as_dir in #(
  24779. + -*) as_dir=./$as_dir;;
  24780. + esac
  24781. + test -d "$as_dir" || eval $as_mkdir_p || {
  24782. + as_dirs=
  24783. + while :; do
  24784. + case $as_dir in #(
  24785. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  24786. + *) as_qdir=$as_dir;;
  24787. + esac
  24788. + as_dirs="'$as_qdir' $as_dirs"
  24789. + as_dir=`$as_dirname -- "$as_dir" ||
  24790. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  24791. + X"$as_dir" : 'X\(//\)[^/]' \| \
  24792. + X"$as_dir" : 'X\(//\)$' \| \
  24793. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  24794. +$as_echo X"$as_dir" |
  24795. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  24796. + s//\1/
  24797. + q
  24798. + }
  24799. + /^X\(\/\/\)[^/].*/{
  24800. + s//\1/
  24801. + q
  24802. + }
  24803. + /^X\(\/\/\)$/{
  24804. + s//\1/
  24805. + q
  24806. + }
  24807. + /^X\(\/\).*/{
  24808. + s//\1/
  24809. + q
  24810. + }
  24811. + s/.*/./; q'`
  24812. + test -d "$as_dir" && break
  24813. + done
  24814. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  24815. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  24816. +
  24817. +
  24818. +} # as_fn_mkdir_p
  24819. if mkdir -p . 2>/dev/null; then
  24820. - as_mkdir_p=:
  24821. + as_mkdir_p='mkdir -p "$as_dir"'
  24822. else
  24823. test -d ./-p && rmdir ./-p
  24824. as_mkdir_p=false
  24825. @@ -21399,10 +18145,10 @@
  24826. if test -d "$1"; then
  24827. test -d "$1/.";
  24828. else
  24829. - case $1 in
  24830. + case $1 in #(
  24831. -*)set "./$1";;
  24832. esac;
  24833. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  24834. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  24835. ???[sx]*):;;*)false;;esac;fi
  24836. '\'' sh
  24837. '
  24838. @@ -21417,13 +18163,19 @@
  24839. exec 6>&1
  24840. +## ----------------------------------- ##
  24841. +## Main body of $CONFIG_STATUS script. ##
  24842. +## ----------------------------------- ##
  24843. +_ASEOF
  24844. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  24845. -# Save the log message, to keep $[0] and so on meaningful, and to
  24846. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24847. +# Save the log message, to keep $0 and so on meaningful, and to
  24848. # report actual input values of CONFIG_FILES etc. instead of their
  24849. # values after options handling.
  24850. ac_log="
  24851. This file was extended by $as_me, which was
  24852. -generated by GNU Autoconf 2.63. Invocation command line was
  24853. +generated by GNU Autoconf 2.65. Invocation command line was
  24854. CONFIG_FILES = $CONFIG_FILES
  24855. CONFIG_HEADERS = $CONFIG_HEADERS
  24856. @@ -21455,13 +18207,15 @@
  24857. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24858. ac_cs_usage="\
  24859. -\`$as_me' instantiates files from templates according to the
  24860. -current configuration.
  24861. +\`$as_me' instantiates files and other configuration actions
  24862. +from templates according to the current configuration. Unless the files
  24863. +and actions are specified as TAGs, all are instantiated by default.
  24864. -Usage: $0 [OPTION]... [FILE]...
  24865. +Usage: $0 [OPTION]... [TAG]...
  24866. -h, --help print this help, then exit
  24867. -V, --version print version number and configuration settings, then exit
  24868. + --config print configuration, then exit
  24869. -q, --quiet, --silent
  24870. do not print progress messages
  24871. -d, --debug don't remove temporary files
  24872. @@ -21480,16 +18234,17 @@
  24873. Configuration commands:
  24874. $config_commands
  24875. -Report bugs to <bug-autoconf@gnu.org>."
  24876. +Report bugs to the package provider."
  24877. _ACEOF
  24878. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24879. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  24880. ac_cs_version="\\
  24881. config.status
  24882. -configured by $0, generated by GNU Autoconf 2.63,
  24883. - with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  24884. +configured by $0, generated by GNU Autoconf 2.65,
  24885. + with options \\"\$ac_cs_config\\"
  24886. -Copyright (C) 2008 Free Software Foundation, Inc.
  24887. +Copyright (C) 2009 Free Software Foundation, Inc.
  24888. This config.status script is free software; the Free Software Foundation
  24889. gives unlimited permission to copy, distribute and modify it."
  24890. @@ -21525,6 +18280,8 @@
  24891. ac_cs_recheck=: ;;
  24892. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  24893. $as_echo "$ac_cs_version"; exit ;;
  24894. + --config | --confi | --conf | --con | --co | --c )
  24895. + $as_echo "$ac_cs_config"; exit ;;
  24896. --debug | --debu | --deb | --de | --d | -d )
  24897. debug=: ;;
  24898. --file | --fil | --fi | --f )
  24899. @@ -21532,20 +18289,19 @@
  24900. case $ac_optarg in
  24901. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  24902. esac
  24903. - CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
  24904. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  24905. ac_need_defaults=false;;
  24906. --header | --heade | --head | --hea )
  24907. $ac_shift
  24908. case $ac_optarg in
  24909. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  24910. esac
  24911. - CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
  24912. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  24913. ac_need_defaults=false;;
  24914. --he | --h)
  24915. # Conflict between --help and --header
  24916. - { $as_echo "$as_me: error: ambiguous option: $1
  24917. -Try \`$0 --help' for more information." >&2
  24918. - { (exit 1); exit 1; }; };;
  24919. + as_fn_error "ambiguous option: \`$1'
  24920. +Try \`$0 --help' for more information.";;
  24921. --help | --hel | -h )
  24922. $as_echo "$ac_cs_usage"; exit ;;
  24923. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  24924. @@ -21553,11 +18309,10 @@
  24925. ac_cs_silent=: ;;
  24926. # This is an error.
  24927. - -*) { $as_echo "$as_me: error: unrecognized option: $1
  24928. -Try \`$0 --help' for more information." >&2
  24929. - { (exit 1); exit 1; }; } ;;
  24930. + -*) as_fn_error "unrecognized option: \`$1'
  24931. +Try \`$0 --help' for more information." ;;
  24932. - *) ac_config_targets="$ac_config_targets $1"
  24933. + *) as_fn_append ac_config_targets " $1"
  24934. ac_need_defaults=false ;;
  24935. esac
  24936. @@ -21608,133 +18363,154 @@
  24937. sed_quote_subst='$sed_quote_subst'
  24938. double_quote_subst='$double_quote_subst'
  24939. delay_variable_subst='$delay_variable_subst'
  24940. -AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
  24941. -DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  24942. -OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  24943. -macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
  24944. -macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
  24945. -enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
  24946. -enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
  24947. -pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
  24948. -enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
  24949. -host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
  24950. -host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
  24951. -host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
  24952. -build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
  24953. -build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
  24954. -build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
  24955. -SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
  24956. -Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
  24957. -GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
  24958. -EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
  24959. -FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
  24960. -LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
  24961. -NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
  24962. -LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
  24963. -max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
  24964. -ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
  24965. -exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
  24966. -lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
  24967. -lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
  24968. -lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  24969. -reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  24970. -reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  24971. -deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  24972. -file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  24973. -AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  24974. -AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  24975. -STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
  24976. -RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
  24977. -old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  24978. -old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  24979. -old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  24980. -CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
  24981. -CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  24982. -compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
  24983. -GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
  24984. -lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
  24985. -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
  24986. -lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
  24987. -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  24988. -objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
  24989. -SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
  24990. -ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
  24991. -MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
  24992. -lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
  24993. -lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
  24994. -lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
  24995. -lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
  24996. -lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
  24997. -need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
  24998. -DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
  24999. -NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
  25000. -LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
  25001. -OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  25002. -OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
  25003. -libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
  25004. -shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  25005. -extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  25006. -archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
  25007. -enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
  25008. -export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  25009. -whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  25010. -compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
  25011. -old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  25012. -old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  25013. -archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  25014. -archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  25015. -module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  25016. -module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  25017. -with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
  25018. -allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  25019. -no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  25020. -hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  25021. -hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
  25022. -hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
  25023. -hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
  25024. -hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
  25025. -hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
  25026. -hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  25027. -hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
  25028. -inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
  25029. -link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
  25030. -fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
  25031. -always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
  25032. -export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  25033. -exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  25034. -include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  25035. -prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  25036. -file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
  25037. -variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
  25038. -need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  25039. -need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
  25040. -version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
  25041. -runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  25042. -shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  25043. -shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
  25044. -libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  25045. -library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
  25046. -soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  25047. -postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  25048. -postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  25049. -finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  25050. -finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
  25051. -hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
  25052. -sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  25053. -sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  25054. -hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
  25055. -enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
  25056. -enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
  25057. -enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
  25058. -old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
  25059. -striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
  25060. +AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
  25061. +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  25062. +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  25063. +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  25064. +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  25065. +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  25066. +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  25067. +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  25068. +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  25069. +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  25070. +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  25071. +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  25072. +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  25073. +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  25074. +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  25075. +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  25076. +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  25077. +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  25078. +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  25079. +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  25080. +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  25081. +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  25082. +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  25083. +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  25084. +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  25085. +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  25086. +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  25087. +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  25088. +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  25089. +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  25090. +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  25091. +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  25092. +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  25093. +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  25094. +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  25095. +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  25096. +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  25097. +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  25098. +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  25099. +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  25100. +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  25101. +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  25102. +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  25103. +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  25104. +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  25105. +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  25106. +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  25107. +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  25108. +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  25109. +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  25110. +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  25111. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  25112. +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  25113. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  25114. +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  25115. +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  25116. +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  25117. +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  25118. +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  25119. +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  25120. +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  25121. +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  25122. +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  25123. +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  25124. +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  25125. +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  25126. +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  25127. +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  25128. +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  25129. +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  25130. +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  25131. +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  25132. +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  25133. +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  25134. +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  25135. +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  25136. +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  25137. +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  25138. +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  25139. +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  25140. +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  25141. +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  25142. +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  25143. +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  25144. +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  25145. +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  25146. +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  25147. +hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
  25148. +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  25149. +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  25150. +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  25151. +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  25152. +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  25153. +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  25154. +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  25155. +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  25156. +fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
  25157. +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  25158. +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  25159. +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  25160. +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  25161. +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  25162. +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  25163. +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  25164. +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  25165. +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  25166. +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  25167. +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  25168. +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  25169. +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  25170. +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  25171. +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  25172. +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  25173. +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  25174. +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  25175. +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  25176. +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  25177. +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  25178. +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  25179. +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  25180. +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  25181. +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  25182. +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  25183. +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  25184. +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  25185. +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  25186. +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  25187. +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  25188. LTCC='$LTCC'
  25189. LTCFLAGS='$LTCFLAGS'
  25190. compiler='$compiler_DEFAULT'
  25191. +# A function that is used when there is no print builtin or printf.
  25192. +func_fallback_echo ()
  25193. +{
  25194. + eval 'cat <<_LTECHO_EOF
  25195. +\$1
  25196. +_LTECHO_EOF'
  25197. +}
  25198. +
  25199. # Quote evaled strings.
  25200. -for var in SED \
  25201. +for var in AS \
  25202. +DLLTOOL \
  25203. +OBJDUMP \
  25204. +SHELL \
  25205. +ECHO \
  25206. +SED \
  25207. GREP \
  25208. EGREP \
  25209. FGREP \
  25210. @@ -21746,6 +18522,9 @@
  25211. reload_flag \
  25212. deplibs_check_method \
  25213. file_magic_cmd \
  25214. +file_magic_glob \
  25215. +want_nocaseglob \
  25216. +sharedlib_from_linklib_cmd \
  25217. AR \
  25218. AR_FLAGS \
  25219. STRIP \
  25220. @@ -21757,14 +18536,14 @@
  25221. lt_cv_sys_global_symbol_to_cdecl \
  25222. lt_cv_sys_global_symbol_to_c_name_address \
  25223. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  25224. -SHELL \
  25225. -ECHO \
  25226. +nm_file_list_spec \
  25227. lt_prog_compiler_no_builtin_flag \
  25228. -lt_prog_compiler_wl \
  25229. lt_prog_compiler_pic \
  25230. +lt_prog_compiler_wl \
  25231. lt_prog_compiler_static \
  25232. lt_cv_prog_compiler_c_o \
  25233. need_locks \
  25234. +MANIFEST_TOOL \
  25235. DSYMUTIL \
  25236. NMEDIT \
  25237. LIPO \
  25238. @@ -21788,12 +18567,13 @@
  25239. libname_spec \
  25240. library_names_spec \
  25241. soname_spec \
  25242. +install_override_mode \
  25243. finish_eval \
  25244. old_striplib \
  25245. striplib; do
  25246. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  25247. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  25248. *[\\\\\\\`\\"\\\$]*)
  25249. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  25250. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  25251. ;;
  25252. *)
  25253. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  25254. @@ -21815,14 +18595,15 @@
  25255. module_expsym_cmds \
  25256. export_symbols_cmds \
  25257. prelink_cmds \
  25258. +postlink_cmds \
  25259. postinstall_cmds \
  25260. postuninstall_cmds \
  25261. finish_cmds \
  25262. sys_lib_search_path_spec \
  25263. sys_lib_dlsearch_path_spec; do
  25264. - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  25265. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  25266. *[\\\\\\\`\\"\\\$]*)
  25267. - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  25268. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  25269. ;;
  25270. *)
  25271. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  25272. @@ -21830,12 +18611,6 @@
  25273. esac
  25274. done
  25275. -# Fix-up fallback echo if it was mangled by the above quoting rules.
  25276. -case \$lt_ECHO in
  25277. -*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
  25278. - ;;
  25279. -esac
  25280. -
  25281. ac_aux_dir='$ac_aux_dir'
  25282. xsi_shell='$xsi_shell'
  25283. lt_shell_append='$lt_shell_append'
  25284. @@ -21934,9 +18709,7 @@
  25285. "src/scripts/usb/windows/Makefile") CONFIG_FILES="$CONFIG_FILES src/scripts/usb/windows/Makefile" ;;
  25286. "src/include/owfs_config.h") CONFIG_FILES="$CONFIG_FILES src/include/owfs_config.h" ;;
  25287. - *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  25288. -$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  25289. - { (exit 1); exit 1; }; };;
  25290. + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  25291. esac
  25292. done
  25293. @@ -21963,7 +18736,7 @@
  25294. trap 'exit_status=$?
  25295. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  25296. ' 0
  25297. - trap '{ (exit 1); exit 1; }' 1 2 13 15
  25298. + trap 'as_fn_exit 1' 1 2 13 15
  25299. }
  25300. # Create a (secure) tmp directory for tmp files.
  25301. @@ -21974,11 +18747,7 @@
  25302. {
  25303. tmp=./conf$$-$RANDOM
  25304. (umask 077 && mkdir "$tmp")
  25305. -} ||
  25306. -{
  25307. - $as_echo "$as_me: cannot create a temporary directory in ." >&2
  25308. - { (exit 1); exit 1; }
  25309. -}
  25310. +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  25311. # Set up the scripts for CONFIG_FILES section.
  25312. # No need to generate them if there are no CONFIG_FILES.
  25313. @@ -21986,10 +18755,16 @@
  25314. if test -n "$CONFIG_FILES"; then
  25315. -ac_cr=' '
  25316. +ac_cr=`echo X | tr X '\015'`
  25317. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  25318. +# But we know of no other shell where ac_cr would be empty at this
  25319. +# point, so we can use a bashism as a fallback.
  25320. +if test "x$ac_cr" = x; then
  25321. + eval ac_cr=\$\'\\r\'
  25322. +fi
  25323. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  25324. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  25325. - ac_cs_awk_cr='\\r'
  25326. + ac_cs_awk_cr='\r'
  25327. else
  25328. ac_cs_awk_cr=$ac_cr
  25329. fi
  25330. @@ -22003,24 +18778,18 @@
  25331. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  25332. echo "_ACEOF"
  25333. } >conf$$subs.sh ||
  25334. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  25335. -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  25336. - { (exit 1); exit 1; }; }
  25337. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  25338. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  25339. ac_delim='%!_!# '
  25340. for ac_last_try in false false false false false :; do
  25341. . ./conf$$subs.sh ||
  25342. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  25343. -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  25344. - { (exit 1); exit 1; }; }
  25345. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  25346. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  25347. if test $ac_delim_n = $ac_delim_num; then
  25348. break
  25349. elif $ac_last_try; then
  25350. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  25351. -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  25352. - { (exit 1); exit 1; }; }
  25353. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  25354. else
  25355. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  25356. fi
  25357. @@ -22042,7 +18811,7 @@
  25358. t delim
  25359. :nl
  25360. h
  25361. -s/\(.\{148\}\).*/\1/
  25362. +s/\(.\{148\}\)..*/\1/
  25363. t more1
  25364. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  25365. p
  25366. @@ -22056,7 +18825,7 @@
  25367. t nl
  25368. :delim
  25369. h
  25370. -s/\(.\{148\}\).*/\1/
  25371. +s/\(.\{148\}\)..*/\1/
  25372. t more2
  25373. s/["\\]/\\&/g; s/^/"/; s/$/"/
  25374. p
  25375. @@ -22109,9 +18878,7 @@
  25376. else
  25377. cat
  25378. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  25379. - || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
  25380. -$as_echo "$as_me: error: could not setup config files machinery" >&2;}
  25381. - { (exit 1); exit 1; }; }
  25382. + || as_fn_error "could not setup config files machinery" "$LINENO" 5
  25383. _ACEOF
  25384. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  25385. @@ -22152,9 +18919,7 @@
  25386. if test -z "$ac_t"; then
  25387. break
  25388. elif $ac_last_try; then
  25389. - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
  25390. -$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
  25391. - { (exit 1); exit 1; }; }
  25392. + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
  25393. else
  25394. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  25395. fi
  25396. @@ -22239,9 +19004,7 @@
  25397. _ACAWK
  25398. _ACEOF
  25399. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  25400. - { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
  25401. -$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
  25402. - { (exit 1); exit 1; }; }
  25403. + as_fn_error "could not setup config headers machinery" "$LINENO" 5
  25404. fi # test -n "$CONFIG_HEADERS"
  25405. @@ -22254,9 +19017,7 @@
  25406. esac
  25407. case $ac_mode$ac_tag in
  25408. :[FHL]*:*);;
  25409. - :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
  25410. -$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
  25411. - { (exit 1); exit 1; }; };;
  25412. + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  25413. :[FH]-) ac_tag=-:-;;
  25414. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  25415. esac
  25416. @@ -22284,12 +19045,10 @@
  25417. [\\/$]*) false;;
  25418. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  25419. esac ||
  25420. - { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  25421. -$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  25422. - { (exit 1); exit 1; }; };;
  25423. + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  25424. esac
  25425. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  25426. - ac_file_inputs="$ac_file_inputs '$ac_f'"
  25427. + as_fn_append ac_file_inputs " '$ac_f'"
  25428. done
  25429. # Let's still pretend it is `configure' which instantiates (i.e., don't
  25430. @@ -22300,7 +19059,7 @@
  25431. `' by configure.'
  25432. if test x"$ac_file" != x-; then
  25433. configure_input="$ac_file. $configure_input"
  25434. - { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
  25435. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  25436. $as_echo "$as_me: creating $ac_file" >&6;}
  25437. fi
  25438. # Neutralize special characters interpreted by sed in replacement strings.
  25439. @@ -22313,9 +19072,7 @@
  25440. case $ac_tag in
  25441. *:-:* | *:-) cat >"$tmp/stdin" \
  25442. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  25443. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  25444. - { (exit 1); exit 1; }; } ;;
  25445. + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  25446. esac
  25447. ;;
  25448. esac
  25449. @@ -22343,47 +19100,7 @@
  25450. q
  25451. }
  25452. s/.*/./; q'`
  25453. - { as_dir="$ac_dir"
  25454. - case $as_dir in #(
  25455. - -*) as_dir=./$as_dir;;
  25456. - esac
  25457. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  25458. - as_dirs=
  25459. - while :; do
  25460. - case $as_dir in #(
  25461. - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  25462. - *) as_qdir=$as_dir;;
  25463. - esac
  25464. - as_dirs="'$as_qdir' $as_dirs"
  25465. - as_dir=`$as_dirname -- "$as_dir" ||
  25466. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  25467. - X"$as_dir" : 'X\(//\)[^/]' \| \
  25468. - X"$as_dir" : 'X\(//\)$' \| \
  25469. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  25470. -$as_echo X"$as_dir" |
  25471. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  25472. - s//\1/
  25473. - q
  25474. - }
  25475. - /^X\(\/\/\)[^/].*/{
  25476. - s//\1/
  25477. - q
  25478. - }
  25479. - /^X\(\/\/\)$/{
  25480. - s//\1/
  25481. - q
  25482. - }
  25483. - /^X\(\/\).*/{
  25484. - s//\1/
  25485. - q
  25486. - }
  25487. - s/.*/./; q'`
  25488. - test -d "$as_dir" && break
  25489. - done
  25490. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  25491. - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  25492. -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  25493. - { (exit 1); exit 1; }; }; }
  25494. + as_dir="$ac_dir"; as_fn_mkdir_p
  25495. ac_builddir=.
  25496. case "$ac_dir" in
  25497. @@ -22440,7 +19157,6 @@
  25498. # If the template does not know about datarootdir, expand it.
  25499. # FIXME: This hack should be removed a few years after 2.60.
  25500. ac_datarootdir_hack=; ac_datarootdir_seen=
  25501. -
  25502. ac_sed_dataroot='
  25503. /datarootdir/ {
  25504. p
  25505. @@ -22450,12 +19166,11 @@
  25506. /@docdir@/p
  25507. /@infodir@/p
  25508. /@localedir@/p
  25509. -/@mandir@/p
  25510. -'
  25511. +/@mandir@/p'
  25512. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  25513. *datarootdir*) ac_datarootdir_seen=yes;;
  25514. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  25515. - { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  25516. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  25517. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  25518. _ACEOF
  25519. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  25520. @@ -22465,7 +19180,7 @@
  25521. s&@infodir@&$infodir&g
  25522. s&@localedir@&$localedir&g
  25523. s&@mandir@&$mandir&g
  25524. - s&\\\${datarootdir}&$datarootdir&g' ;;
  25525. + s&\\\${datarootdir}&$datarootdir&g' ;;
  25526. esac
  25527. _ACEOF
  25528. @@ -22494,14 +19209,12 @@
  25529. $ac_datarootdir_hack
  25530. "
  25531. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  25532. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  25533. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  25534. - { (exit 1); exit 1; }; }
  25535. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  25536. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  25537. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  25538. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  25539. - { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  25540. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  25541. which seems to be undefined. Please make sure it is defined." >&5
  25542. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  25543. which seems to be undefined. Please make sure it is defined." >&2;}
  25544. @@ -22511,9 +19224,7 @@
  25545. -) cat "$tmp/out" && rm -f "$tmp/out";;
  25546. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  25547. esac \
  25548. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  25549. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  25550. - { (exit 1); exit 1; }; }
  25551. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  25552. ;;
  25553. :H)
  25554. #
  25555. @@ -22524,25 +19235,19 @@
  25556. $as_echo "/* $configure_input */" \
  25557. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  25558. } >"$tmp/config.h" \
  25559. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  25560. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  25561. - { (exit 1); exit 1; }; }
  25562. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  25563. if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  25564. - { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  25565. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  25566. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  25567. else
  25568. rm -f "$ac_file"
  25569. mv "$tmp/config.h" "$ac_file" \
  25570. - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  25571. -$as_echo "$as_me: error: could not create $ac_file" >&2;}
  25572. - { (exit 1); exit 1; }; }
  25573. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  25574. fi
  25575. else
  25576. $as_echo "/* $configure_input */" \
  25577. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  25578. - || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
  25579. -$as_echo "$as_me: error: could not create -" >&2;}
  25580. - { (exit 1); exit 1; }; }
  25581. + || as_fn_error "could not create -" "$LINENO" 5
  25582. fi
  25583. # Compute "$ac_file"'s index in $config_headers.
  25584. _am_arg="$ac_file"
  25585. @@ -22580,7 +19285,7 @@
  25586. s/.*/./; q'`/stamp-h$_am_stamp_count
  25587. ;;
  25588. - :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
  25589. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  25590. $as_echo "$as_me: executing $ac_file commands" >&6;}
  25591. ;;
  25592. esac
  25593. @@ -22675,47 +19380,7 @@
  25594. q
  25595. }
  25596. s/.*/./; q'`
  25597. - { as_dir=$dirpart/$fdir
  25598. - case $as_dir in #(
  25599. - -*) as_dir=./$as_dir;;
  25600. - esac
  25601. - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  25602. - as_dirs=
  25603. - while :; do
  25604. - case $as_dir in #(
  25605. - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  25606. - *) as_qdir=$as_dir;;
  25607. - esac
  25608. - as_dirs="'$as_qdir' $as_dirs"
  25609. - as_dir=`$as_dirname -- "$as_dir" ||
  25610. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  25611. - X"$as_dir" : 'X\(//\)[^/]' \| \
  25612. - X"$as_dir" : 'X\(//\)$' \| \
  25613. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  25614. -$as_echo X"$as_dir" |
  25615. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  25616. - s//\1/
  25617. - q
  25618. - }
  25619. - /^X\(\/\/\)[^/].*/{
  25620. - s//\1/
  25621. - q
  25622. - }
  25623. - /^X\(\/\/\)$/{
  25624. - s//\1/
  25625. - q
  25626. - }
  25627. - /^X\(\/\).*/{
  25628. - s//\1/
  25629. - q
  25630. - }
  25631. - s/.*/./; q'`
  25632. - test -d "$as_dir" && break
  25633. - done
  25634. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  25635. - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  25636. -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  25637. - { (exit 1); exit 1; }; }; }
  25638. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  25639. # echo "creating $dirpart/$file"
  25640. echo '# dummy' > "$dirpart/$file"
  25641. done
  25642. @@ -22743,7 +19408,8 @@
  25643. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  25644. #
  25645. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  25646. -# 2006, 2007, 2008 Free Software Foundation, Inc.
  25647. +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
  25648. +# Inc.
  25649. # Written by Gordon Matzigkeit, 1996
  25650. #
  25651. # This file is part of GNU Libtool.
  25652. @@ -22776,13 +19442,13 @@
  25653. # ### BEGIN LIBTOOL CONFIG
  25654. # Assembler program.
  25655. -AS=$AS
  25656. +AS=$lt_AS
  25657. # DLL creation program.
  25658. -DLLTOOL=$DLLTOOL
  25659. +DLLTOOL=$lt_DLLTOOL
  25660. # Object dumper program.
  25661. -OBJDUMP=$OBJDUMP
  25662. +OBJDUMP=$lt_OBJDUMP
  25663. # Which release of libtool.m4 was used?
  25664. macro_version=$macro_version
  25665. @@ -22800,6 +19466,12 @@
  25666. # Whether or not to optimize for fast installation.
  25667. fast_install=$enable_fast_install
  25668. +# Shell to use when invoking shell scripts.
  25669. +SHELL=$lt_SHELL
  25670. +
  25671. +# An echo program that protects backslashes.
  25672. +ECHO=$lt_ECHO
  25673. +
  25674. # The host system.
  25675. host_alias=$host_alias
  25676. host=$host
  25677. @@ -22849,16 +19521,21 @@
  25678. # turn newlines into spaces.
  25679. NL2SP=$lt_lt_NL2SP
  25680. -# How to create reloadable object files.
  25681. -reload_flag=$lt_reload_flag
  25682. -reload_cmds=$lt_reload_cmds
  25683. -
  25684. # Method to check whether dependent libraries are shared objects.
  25685. deplibs_check_method=$lt_deplibs_check_method
  25686. -# Command to use when deplibs_check_method == "file_magic".
  25687. +# Command to use when deplibs_check_method = "file_magic".
  25688. file_magic_cmd=$lt_file_magic_cmd
  25689. +# How to find potential files when deplibs_check_method = "file_magic".
  25690. +file_magic_glob=$lt_file_magic_glob
  25691. +
  25692. +# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  25693. +want_nocaseglob=$lt_want_nocaseglob
  25694. +
  25695. +# Command to associate shared and link libraries.
  25696. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  25697. +
  25698. # The archiver.
  25699. AR=$lt_AR
  25700. AR_FLAGS=$lt_AR_FLAGS
  25701. @@ -22871,6 +19548,9 @@
  25702. old_postinstall_cmds=$lt_old_postinstall_cmds
  25703. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  25704. +# Whether to use a lock for old archive extraction.
  25705. +lock_old_archive_extraction=$lock_old_archive_extraction
  25706. +
  25707. # A C compiler.
  25708. LTCC=$lt_CC
  25709. @@ -22889,21 +19569,21 @@
  25710. # Transform the output of nm in a C name address pair when lib prefix is needed.
  25711. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  25712. +# Specify filename containing input files for \$NM.
  25713. +nm_file_list_spec=$lt_nm_file_list_spec
  25714. +
  25715. # The name of the directory that contains temporary libtool files.
  25716. objdir=$objdir
  25717. -# Shell to use when invoking shell scripts.
  25718. -SHELL=$lt_SHELL
  25719. -
  25720. -# An echo program that does not interpret backslashes.
  25721. -ECHO=$lt_ECHO
  25722. -
  25723. # Used to examine libraries when file_magic_cmd begins with "file".
  25724. MAGIC_CMD=$MAGIC_CMD
  25725. # Must we lock files when doing compilation?
  25726. need_locks=$lt_need_locks
  25727. +# Manifest tool.
  25728. +MANIFEST_TOOL=$lt_MANIFEST_TOOL
  25729. +
  25730. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  25731. DSYMUTIL=$lt_DSYMUTIL
  25732. @@ -22960,6 +19640,9 @@
  25733. # The coded name of the library, if different from the real name.
  25734. soname_spec=$lt_soname_spec
  25735. +# Permission mode override for installation of shared libraries.
  25736. +install_override_mode=$lt_install_override_mode
  25737. +
  25738. # Command to use after installation of a shared archive.
  25739. postinstall_cmds=$lt_postinstall_cmds
  25740. @@ -22999,6 +19682,10 @@
  25741. # The linker used to build libraries.
  25742. LD=$lt_LD
  25743. +# How to create reloadable object files.
  25744. +reload_flag=$lt_reload_flag
  25745. +reload_cmds=$lt_reload_cmds
  25746. +
  25747. # Commands used to build an old-style archive.
  25748. old_archive_cmds=$lt_old_archive_cmds
  25749. @@ -23011,12 +19698,12 @@
  25750. # Compiler flag to turn off builtin functions.
  25751. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  25752. -# How to pass a linker flag through the compiler.
  25753. -wl=$lt_lt_prog_compiler_wl
  25754. -
  25755. # Additional compiler flags for building library objects.
  25756. pic_flag=$lt_lt_prog_compiler_pic
  25757. +# How to pass a linker flag through the compiler.
  25758. +wl=$lt_lt_prog_compiler_wl
  25759. +
  25760. # Compiler flag to prevent dynamic linking.
  25761. link_static_flag=$lt_lt_prog_compiler_static
  25762. @@ -23121,6 +19808,9 @@
  25763. # Commands necessary for linking programs (against libraries) with templates.
  25764. prelink_cmds=$lt_prelink_cmds
  25765. +# Commands necessary for finishing linking programs.
  25766. +postlink_cmds=$lt_postlink_cmds
  25767. +
  25768. # Specify filename containing input files.
  25769. file_list_spec=$lt_file_list_spec
  25770. @@ -23153,212 +19843,169 @@
  25771. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  25772. # text mode, it properly converts lines to CR/LF. This bash problem
  25773. # is reportedly fixed, but why not run on old versions too?
  25774. - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  25775. - || (rm -f "$cfgfile"; exit 1)
  25776. -
  25777. - case $xsi_shell in
  25778. - yes)
  25779. - cat << \_LT_EOF >> "$cfgfile"
  25780. -
  25781. -# func_dirname file append nondir_replacement
  25782. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  25783. -# otherwise set result to NONDIR_REPLACEMENT.
  25784. -func_dirname ()
  25785. -{
  25786. - case ${1} in
  25787. - */*) func_dirname_result="${1%/*}${2}" ;;
  25788. - * ) func_dirname_result="${3}" ;;
  25789. - esac
  25790. -}
  25791. -
  25792. -# func_basename file
  25793. -func_basename ()
  25794. -{
  25795. - func_basename_result="${1##*/}"
  25796. -}
  25797. -
  25798. -# func_dirname_and_basename file append nondir_replacement
  25799. -# perform func_basename and func_dirname in a single function
  25800. -# call:
  25801. -# dirname: Compute the dirname of FILE. If nonempty,
  25802. -# add APPEND to the result, otherwise set result
  25803. -# to NONDIR_REPLACEMENT.
  25804. -# value returned in "$func_dirname_result"
  25805. -# basename: Compute filename of FILE.
  25806. -# value retuned in "$func_basename_result"
  25807. -# Implementation must be kept synchronized with func_dirname
  25808. -# and func_basename. For efficiency, we do not delegate to
  25809. -# those functions but instead duplicate the functionality here.
  25810. -func_dirname_and_basename ()
  25811. -{
  25812. - case ${1} in
  25813. - */*) func_dirname_result="${1%/*}${2}" ;;
  25814. - * ) func_dirname_result="${3}" ;;
  25815. - esac
  25816. - func_basename_result="${1##*/}"
  25817. -}
  25818. -
  25819. -# func_stripname prefix suffix name
  25820. -# strip PREFIX and SUFFIX off of NAME.
  25821. -# PREFIX and SUFFIX must not contain globbing or regex special
  25822. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  25823. -# dot (in which case that matches only a dot).
  25824. -func_stripname ()
  25825. -{
  25826. - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  25827. - # positional parameters, so assign one to ordinary parameter first.
  25828. - func_stripname_result=${3}
  25829. - func_stripname_result=${func_stripname_result#"${1}"}
  25830. - func_stripname_result=${func_stripname_result%"${2}"}
  25831. -}
  25832. -
  25833. -# func_opt_split
  25834. -func_opt_split ()
  25835. -{
  25836. - func_opt_split_opt=${1%%=*}
  25837. - func_opt_split_arg=${1#*=}
  25838. -}
  25839. -
  25840. -# func_lo2o object
  25841. -func_lo2o ()
  25842. -{
  25843. - case ${1} in
  25844. - *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  25845. - *) func_lo2o_result=${1} ;;
  25846. - esac
  25847. -}
  25848. -
  25849. -# func_xform libobj-or-source
  25850. -func_xform ()
  25851. -{
  25852. - func_xform_result=${1%.*}.lo
  25853. -}
  25854. -
  25855. -# func_arith arithmetic-term...
  25856. -func_arith ()
  25857. -{
  25858. - func_arith_result=$(( $* ))
  25859. -}
  25860. -
  25861. -# func_len string
  25862. -# STRING may not start with a hyphen.
  25863. -func_len ()
  25864. -{
  25865. - func_len_result=${#1}
  25866. -}
  25867. -
  25868. -_LT_EOF
  25869. - ;;
  25870. - *) # Bourne compatible functions.
  25871. - cat << \_LT_EOF >> "$cfgfile"
  25872. -
  25873. -# func_dirname file append nondir_replacement
  25874. -# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  25875. -# otherwise set result to NONDIR_REPLACEMENT.
  25876. -func_dirname ()
  25877. -{
  25878. - # Extract subdirectory from the argument.
  25879. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  25880. - if test "X$func_dirname_result" = "X${1}"; then
  25881. - func_dirname_result="${3}"
  25882. - else
  25883. - func_dirname_result="$func_dirname_result${2}"
  25884. - fi
  25885. -}
  25886. -
  25887. -# func_basename file
  25888. -func_basename ()
  25889. -{
  25890. - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  25891. -}
  25892. -
  25893. -
  25894. -# func_stripname prefix suffix name
  25895. -# strip PREFIX and SUFFIX off of NAME.
  25896. -# PREFIX and SUFFIX must not contain globbing or regex special
  25897. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  25898. -# dot (in which case that matches only a dot).
  25899. -# func_strip_suffix prefix name
  25900. -func_stripname ()
  25901. -{
  25902. - case ${2} in
  25903. - .*) func_stripname_result=`$ECHO "X${3}" \
  25904. - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  25905. - *) func_stripname_result=`$ECHO "X${3}" \
  25906. - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  25907. - esac
  25908. -}
  25909. -
  25910. -# sed scripts:
  25911. -my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  25912. -my_sed_long_arg='1s/^-[^=]*=//'
  25913. -
  25914. -# func_opt_split
  25915. -func_opt_split ()
  25916. -{
  25917. - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  25918. - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  25919. -}
  25920. -
  25921. -# func_lo2o object
  25922. -func_lo2o ()
  25923. -{
  25924. - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  25925. -}
  25926. -
  25927. -# func_xform libobj-or-source
  25928. -func_xform ()
  25929. -{
  25930. - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  25931. -}
  25932. -
  25933. -# func_arith arithmetic-term...
  25934. -func_arith ()
  25935. -{
  25936. - func_arith_result=`expr "$@"`
  25937. -}
  25938. -
  25939. -# func_len string
  25940. -# STRING may not start with a hyphen.
  25941. -func_len ()
  25942. -{
  25943. - func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  25944. -}
  25945. -
  25946. -_LT_EOF
  25947. -esac
  25948. -
  25949. -case $lt_shell_append in
  25950. - yes)
  25951. - cat << \_LT_EOF >> "$cfgfile"
  25952. -
  25953. -# func_append var value
  25954. -# Append VALUE to the end of shell variable VAR.
  25955. -func_append ()
  25956. -{
  25957. - eval "$1+=\$2"
  25958. -}
  25959. -_LT_EOF
  25960. - ;;
  25961. - *)
  25962. - cat << \_LT_EOF >> "$cfgfile"
  25963. -
  25964. -# func_append var value
  25965. -# Append VALUE to the end of shell variable VAR.
  25966. -func_append ()
  25967. -{
  25968. - eval "$1=\$$1\$2"
  25969. -}
  25970. -
  25971. -_LT_EOF
  25972. - ;;
  25973. - esac
  25974. + sed '$q' "$ltmain" >> "$cfgfile" \
  25975. + || (rm -f "$cfgfile"; exit 1)
  25976. + if test x"$xsi_shell" = xyes; then
  25977. + sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
  25978. +func_dirname ()\
  25979. +{\
  25980. +\ case ${1} in\
  25981. +\ */*) func_dirname_result="${1%/*}${2}" ;;\
  25982. +\ * ) func_dirname_result="${3}" ;;\
  25983. +\ esac\
  25984. +} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
  25985. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  25986. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  25987. +test 0 -eq $? || _lt_function_replace_fail=:
  25988. +
  25989. +
  25990. + sed -e '/^func_basename ()$/,/^} # func_basename /c\
  25991. +func_basename ()\
  25992. +{\
  25993. +\ func_basename_result="${1##*/}"\
  25994. +} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
  25995. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  25996. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  25997. +test 0 -eq $? || _lt_function_replace_fail=:
  25998. +
  25999. +
  26000. + sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
  26001. +func_dirname_and_basename ()\
  26002. +{\
  26003. +\ case ${1} in\
  26004. +\ */*) func_dirname_result="${1%/*}${2}" ;;\
  26005. +\ * ) func_dirname_result="${3}" ;;\
  26006. +\ esac\
  26007. +\ func_basename_result="${1##*/}"\
  26008. +} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
  26009. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  26010. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  26011. +test 0 -eq $? || _lt_function_replace_fail=:
  26012. +
  26013. +
  26014. + sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
  26015. +func_stripname ()\
  26016. +{\
  26017. +\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
  26018. +\ # positional parameters, so assign one to ordinary parameter first.\
  26019. +\ func_stripname_result=${3}\
  26020. +\ func_stripname_result=${func_stripname_result#"${1}"}\
  26021. +\ func_stripname_result=${func_stripname_result%"${2}"}\
  26022. +} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
  26023. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  26024. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  26025. +test 0 -eq $? || _lt_function_replace_fail=:
  26026. +
  26027. +
  26028. + sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
  26029. +func_split_long_opt ()\
  26030. +{\
  26031. +\ func_split_long_opt_name=${1%%=*}\
  26032. +\ func_split_long_opt_arg=${1#*=}\
  26033. +} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
  26034. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  26035. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  26036. +test 0 -eq $? || _lt_function_replace_fail=:
  26037. +
  26038. +
  26039. + sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
  26040. +func_split_short_opt ()\
  26041. +{\
  26042. +\ func_split_short_opt_arg=${1#??}\
  26043. +\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
  26044. +} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
  26045. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  26046. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  26047. +test 0 -eq $? || _lt_function_replace_fail=:
  26048. +
  26049. +
  26050. + sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
  26051. +func_lo2o ()\
  26052. +{\
  26053. +\ case ${1} in\
  26054. +\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
  26055. +\ *) func_lo2o_result=${1} ;;\
  26056. +\ esac\
  26057. +} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
  26058. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  26059. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  26060. +test 0 -eq $? || _lt_function_replace_fail=:
  26061. +
  26062. +
  26063. + sed -e '/^func_xform ()$/,/^} # func_xform /c\
  26064. +func_xform ()\
  26065. +{\
  26066. + func_xform_result=${1%.*}.lo\
  26067. +} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
  26068. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  26069. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  26070. +test 0 -eq $? || _lt_function_replace_fail=:
  26071. +
  26072. +
  26073. + sed -e '/^func_arith ()$/,/^} # func_arith /c\
  26074. +func_arith ()\
  26075. +{\
  26076. + func_arith_result=$(( $* ))\
  26077. +} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
  26078. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  26079. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  26080. +test 0 -eq $? || _lt_function_replace_fail=:
  26081. +
  26082. +
  26083. + sed -e '/^func_len ()$/,/^} # func_len /c\
  26084. +func_len ()\
  26085. +{\
  26086. + func_len_result=${#1}\
  26087. +} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
  26088. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  26089. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  26090. +test 0 -eq $? || _lt_function_replace_fail=:
  26091. +
  26092. +fi
  26093. +
  26094. +if test x"$lt_shell_append" = xyes; then
  26095. + sed -e '/^func_append ()$/,/^} # func_append /c\
  26096. +func_append ()\
  26097. +{\
  26098. + eval "${1}+=\\${2}"\
  26099. +} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
  26100. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  26101. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  26102. +test 0 -eq $? || _lt_function_replace_fail=:
  26103. +
  26104. +
  26105. + sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
  26106. +func_append_quoted ()\
  26107. +{\
  26108. +\ func_quote_for_eval "${2}"\
  26109. +\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
  26110. +} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
  26111. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  26112. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  26113. +test 0 -eq $? || _lt_function_replace_fail=:
  26114. +
  26115. +
  26116. + # Save a `func_append' function call where possible by direct use of '+='
  26117. + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  26118. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  26119. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  26120. + test 0 -eq $? || _lt_function_replace_fail=:
  26121. +else
  26122. + # Save a `func_append' function call even when '+=' is not available
  26123. + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  26124. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  26125. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  26126. + test 0 -eq $? || _lt_function_replace_fail=:
  26127. +fi
  26128. +
  26129. +if test x"$_lt_function_replace_fail" = x":"; then
  26130. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
  26131. +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
  26132. +fi
  26133. - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  26134. - || (rm -f "$cfgfile"; exit 1)
  26135. - mv -f "$cfgfile" "$ofile" ||
  26136. + mv -f "$cfgfile" "$ofile" ||
  26137. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  26138. chmod +x "$ofile"
  26139. @@ -23368,15 +20015,12 @@
  26140. done # for ac_tag
  26141. -{ (exit 0); exit 0; }
  26142. +as_fn_exit 0
  26143. _ACEOF
  26144. -chmod +x $CONFIG_STATUS
  26145. ac_clean_files=$ac_clean_files_save
  26146. test $ac_write_fail = 0 ||
  26147. - { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
  26148. -$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
  26149. - { (exit 1); exit 1; }; }
  26150. + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  26151. # configure is writing to config.log, and then calls config.status.
  26152. @@ -23397,10 +20041,10 @@
  26153. exec 5>>config.log
  26154. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  26155. # would make configure fail if this is the last instruction.
  26156. - $ac_cs_success || { (exit 1); exit 1; }
  26157. + $ac_cs_success || as_fn_exit $?
  26158. fi
  26159. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  26160. - { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  26161. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  26162. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  26163. fi
  26164. @@ -23409,229 +20053,229 @@
  26165. # that are funny (like current default prefix) or configurable (like the
  26166. # cache) should be included.
  26167. -{ $as_echo "$as_me:$LINENO: result: " >&5
  26168. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
  26169. $as_echo "" >&6; }
  26170. -{ $as_echo "$as_me:$LINENO: result: Current configuration:" >&5
  26171. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Current configuration:" >&5
  26172. $as_echo "Current configuration:" >&6; }
  26173. -{ $as_echo "$as_me:$LINENO: result: " >&5
  26174. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
  26175. $as_echo "" >&6; }
  26176. -{ $as_echo "$as_me:$LINENO: result: Deployment location: ${prefix}" >&5
  26177. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Deployment location: ${prefix}" >&5
  26178. $as_echo " Deployment location: ${prefix}" >&6; }
  26179. -{ $as_echo "$as_me:$LINENO: result: " >&5
  26180. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
  26181. $as_echo "" >&6; }
  26182. -{ $as_echo "$as_me:$LINENO: result: Compile-time options:" >&5
  26183. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Compile-time options:" >&5
  26184. $as_echo "Compile-time options:" >&6; }
  26185. if test "${ENABLE_CACHE}" = "true"; then
  26186. - { $as_echo "$as_me:$LINENO: result: Caching is enabled" >&5
  26187. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Caching is enabled" >&5
  26188. $as_echo " Caching is enabled" >&6; }
  26189. else
  26190. - { $as_echo "$as_me:$LINENO: result: Caching is DISABLED" >&5
  26191. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Caching is DISABLED" >&5
  26192. $as_echo " Caching is DISABLED" >&6; }
  26193. fi
  26194. if test "${ENABLE_USB}" = "true"; then
  26195. - { $as_echo "$as_me:$LINENO: result: USB is enabled" >&5
  26196. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: USB is enabled" >&5
  26197. $as_echo " USB is enabled" >&6; }
  26198. else
  26199. - { $as_echo "$as_me:$LINENO: result: USB is DISABLED" >&5
  26200. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: USB is DISABLED" >&5
  26201. $as_echo " USB is DISABLED" >&6; }
  26202. fi
  26203. if test "${ENABLE_I2C}" = "true"; then
  26204. - { $as_echo "$as_me:$LINENO: result: I2C is enabled" >&5
  26205. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: I2C is enabled" >&5
  26206. $as_echo " I2C is enabled" >&6; }
  26207. else
  26208. - { $as_echo "$as_me:$LINENO: result: I2C is DISABLED" >&5
  26209. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: I2C is DISABLED" >&5
  26210. $as_echo " I2C is DISABLED" >&6; }
  26211. fi
  26212. if test "${ENABLE_HA7}" = "true"; then
  26213. - { $as_echo "$as_me:$LINENO: result: HA7Net is enabled" >&5
  26214. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: HA7Net is enabled" >&5
  26215. $as_echo " HA7Net is enabled" >&6; }
  26216. else
  26217. - { $as_echo "$as_me:$LINENO: result: HA7Net is DISABLED" >&5
  26218. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: HA7Net is DISABLED" >&5
  26219. $as_echo " HA7Net is DISABLED" >&6; }
  26220. fi
  26221. if test "${ENABLE_W1}" = "true"; then
  26222. - { $as_echo "$as_me:$LINENO: result: W1 is enabled" >&5
  26223. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: W1 is enabled" >&5
  26224. $as_echo " W1 is enabled" >&6; }
  26225. else
  26226. - { $as_echo "$as_me:$LINENO: result: W1 is DISABLED" >&5
  26227. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: W1 is DISABLED" >&5
  26228. $as_echo " W1 is DISABLED" >&6; }
  26229. fi
  26230. if test "${ENABLE_MT}" = "true"; then
  26231. - { $as_echo "$as_me:$LINENO: result: Multithreading is enabled" >&5
  26232. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Multithreading is enabled" >&5
  26233. $as_echo " Multithreading is enabled" >&6; }
  26234. else
  26235. - { $as_echo "$as_me:$LINENO: result: Multithreading is DISABLED" >&5
  26236. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Multithreading is DISABLED" >&5
  26237. $as_echo " Multithreading is DISABLED" >&6; }
  26238. fi
  26239. if test "${ENABLE_PARPORT}" = "true"; then
  26240. - { $as_echo "$as_me:$LINENO: result: Parallel port DS1410E is enabled" >&5
  26241. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Parallel port DS1410E is enabled" >&5
  26242. $as_echo " Parallel port DS1410E is enabled" >&6; }
  26243. else
  26244. - { $as_echo "$as_me:$LINENO: result: Parallel port DS1410E is DISABLED" >&5
  26245. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Parallel port DS1410E is DISABLED" >&5
  26246. $as_echo " Parallel port DS1410E is DISABLED" >&6; }
  26247. fi
  26248. if test "${ENABLE_TAI8570}" = "true"; then
  26249. - { $as_echo "$as_me:$LINENO: result: TAI8570 barometer is enabled" >&5
  26250. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: TAI8570 barometer is enabled" >&5
  26251. $as_echo " TAI8570 barometer is enabled" >&6; }
  26252. else
  26253. - { $as_echo "$as_me:$LINENO: result: TAI8570 barometer is DISABLED" >&5
  26254. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: TAI8570 barometer is DISABLED" >&5
  26255. $as_echo " TAI8570 barometer is DISABLED" >&6; }
  26256. fi
  26257. if test "${ENABLE_THERMOCOUPLE}" = "true"; then
  26258. - { $as_echo "$as_me:$LINENO: result: Thermocouple is enabled" >&5
  26259. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Thermocouple is enabled" >&5
  26260. $as_echo " Thermocouple is enabled" >&6; }
  26261. else
  26262. - { $as_echo "$as_me:$LINENO: result: Thermocouple is DISABLED" >&5
  26263. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Thermocouple is DISABLED" >&5
  26264. $as_echo " Thermocouple is DISABLED" >&6; }
  26265. fi
  26266. if test "${ENABLE_ZERO}" = "true"; then
  26267. - { $as_echo "$as_me:$LINENO: result: Zeroconf/Bonjour is enabled" >&5
  26268. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Zeroconf/Bonjour is enabled" >&5
  26269. $as_echo " Zeroconf/Bonjour is enabled" >&6; }
  26270. else
  26271. - { $as_echo "$as_me:$LINENO: result: Zeroconf/Bonjour is DISABLED" >&5
  26272. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Zeroconf/Bonjour is DISABLED" >&5
  26273. $as_echo " Zeroconf/Bonjour is DISABLED" >&6; }
  26274. fi
  26275. if test "${ENABLE_DEBUG}" = "true"; then
  26276. - { $as_echo "$as_me:$LINENO: result: Debug-output is enabled" >&5
  26277. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Debug-output is enabled" >&5
  26278. $as_echo " Debug-output is enabled" >&6; }
  26279. else
  26280. - { $as_echo "$as_me:$LINENO: result: Debug-output is DISABLED" >&5
  26281. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Debug-output is DISABLED" >&5
  26282. $as_echo " Debug-output is DISABLED" >&6; }
  26283. fi
  26284. if test "${ENABLE_PROFILING}" = "true"; then
  26285. - { $as_echo "$as_me:$LINENO: result: Profiling is enabled" >&5
  26286. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Profiling is enabled" >&5
  26287. $as_echo " Profiling is enabled" >&6; }
  26288. else
  26289. - { $as_echo "$as_me:$LINENO: result: Profiling is DISABLED" >&5
  26290. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Profiling is DISABLED" >&5
  26291. $as_echo " Profiling is DISABLED" >&6; }
  26292. fi
  26293. if test "${ENABLE_OWMALLOC}" = "true"; then
  26294. - { $as_echo "$as_me:$LINENO: result: Tracing memory allocation is enabled" >&5
  26295. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Tracing memory allocation is enabled" >&5
  26296. $as_echo "Tracing memory allocation is enabled" >&6; }
  26297. else
  26298. - { $as_echo "$as_me:$LINENO: result: Tracing memory allocation is DISABLED" >&5
  26299. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Tracing memory allocation is DISABLED" >&5
  26300. $as_echo "Tracing memory allocation is DISABLED" >&6; }
  26301. fi
  26302. -{ $as_echo "$as_me:$LINENO: result: " >&5
  26303. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
  26304. $as_echo "" >&6; }
  26305. -{ $as_echo "$as_me:$LINENO: result: Module configuration:" >&5
  26306. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Module configuration:" >&5
  26307. $as_echo "Module configuration:" >&6; }
  26308. if test "${ENABLE_OWLIB}" = "true"; then
  26309. - { $as_echo "$as_me:$LINENO: result: owlib is enabled" >&5
  26310. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owlib is enabled" >&5
  26311. $as_echo " owlib is enabled" >&6; }
  26312. else
  26313. - { $as_echo "$as_me:$LINENO: result: owlib is DISABLED" >&5
  26314. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owlib is DISABLED" >&5
  26315. $as_echo " owlib is DISABLED" >&6; }
  26316. fi
  26317. if test "${ENABLE_OWSHELL}" = "true"; then
  26318. - { $as_echo "$as_me:$LINENO: result: owshell is enabled" >&5
  26319. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owshell is enabled" >&5
  26320. $as_echo " owshell is enabled" >&6; }
  26321. else
  26322. - { $as_echo "$as_me:$LINENO: result: owshell is DISABLED" >&5
  26323. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owshell is DISABLED" >&5
  26324. $as_echo " owshell is DISABLED" >&6; }
  26325. fi
  26326. if test "${ENABLE_OWFS}" = "true"; then
  26327. - { $as_echo "$as_me:$LINENO: result: owfs is enabled" >&5
  26328. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owfs is enabled" >&5
  26329. $as_echo " owfs is enabled" >&6; }
  26330. else
  26331. - { $as_echo "$as_me:$LINENO: result: owfs is DISABLED" >&5
  26332. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owfs is DISABLED" >&5
  26333. $as_echo " owfs is DISABLED" >&6; }
  26334. fi
  26335. if test "${ENABLE_OWHTTPD}" = "true"; then
  26336. - { $as_echo "$as_me:$LINENO: result: owhttpd is enabled" >&5
  26337. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owhttpd is enabled" >&5
  26338. $as_echo " owhttpd is enabled" >&6; }
  26339. else
  26340. - { $as_echo "$as_me:$LINENO: result: owhttpd is DISABLED" >&5
  26341. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owhttpd is DISABLED" >&5
  26342. $as_echo " owhttpd is DISABLED" >&6; }
  26343. fi
  26344. if test "${ENABLE_OWFTPD}" = "true"; then
  26345. - { $as_echo "$as_me:$LINENO: result: owftpd is enabled" >&5
  26346. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owftpd is enabled" >&5
  26347. $as_echo " owftpd is enabled" >&6; }
  26348. else
  26349. - { $as_echo "$as_me:$LINENO: result: owftpd is DISABLED" >&5
  26350. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owftpd is DISABLED" >&5
  26351. $as_echo " owftpd is DISABLED" >&6; }
  26352. fi
  26353. if test "${ENABLE_OWSERVER}" = "true"; then
  26354. - { $as_echo "$as_me:$LINENO: result: owserver is enabled" >&5
  26355. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owserver is enabled" >&5
  26356. $as_echo " owserver is enabled" >&6; }
  26357. else
  26358. - { $as_echo "$as_me:$LINENO: result: owserver is DISABLED" >&5
  26359. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owserver is DISABLED" >&5
  26360. $as_echo " owserver is DISABLED" >&6; }
  26361. fi
  26362. if test "${ENABLE_OWNET}" = "true"; then
  26363. - { $as_echo "$as_me:$LINENO: result: ownet is enabled" >&5
  26364. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ownet is enabled" >&5
  26365. $as_echo " ownet is enabled" >&6; }
  26366. else
  26367. - { $as_echo "$as_me:$LINENO: result: ownet is DISABLED" >&5
  26368. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ownet is DISABLED" >&5
  26369. $as_echo " ownet is DISABLED" >&6; }
  26370. fi
  26371. if test "${ENABLE_OWNETLIB}" = "true"; then
  26372. - { $as_echo "$as_me:$LINENO: result: ownetlib is enabled" >&5
  26373. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ownetlib is enabled" >&5
  26374. $as_echo " ownetlib is enabled" >&6; }
  26375. else
  26376. - { $as_echo "$as_me:$LINENO: result: ownetlib is DISABLED" >&5
  26377. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ownetlib is DISABLED" >&5
  26378. $as_echo " ownetlib is DISABLED" >&6; }
  26379. fi
  26380. if test "${ENABLE_OWTAP}" = "true"; then
  26381. - { $as_echo "$as_me:$LINENO: result: owtap is enabled" >&5
  26382. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owtap is enabled" >&5
  26383. $as_echo " owtap is enabled" >&6; }
  26384. else
  26385. - { $as_echo "$as_me:$LINENO: result: owtap is DISABLED" >&5
  26386. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owtap is DISABLED" >&5
  26387. $as_echo " owtap is DISABLED" >&6; }
  26388. fi
  26389. if test "${ENABLE_OWMON}" = "true"; then
  26390. - { $as_echo "$as_me:$LINENO: result: owmon is enabled" >&5
  26391. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owmon is enabled" >&5
  26392. $as_echo " owmon is enabled" >&6; }
  26393. else
  26394. - { $as_echo "$as_me:$LINENO: result: owmon is DISABLED" >&5
  26395. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owmon is DISABLED" >&5
  26396. $as_echo " owmon is DISABLED" >&6; }
  26397. fi
  26398. if test "${ENABLE_OWCAPI}" = "true"; then
  26399. - { $as_echo "$as_me:$LINENO: result: owcapi is enabled" >&5
  26400. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owcapi is enabled" >&5
  26401. $as_echo " owcapi is enabled" >&6; }
  26402. else
  26403. - { $as_echo "$as_me:$LINENO: result: owcapi is DISABLED" >&5
  26404. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owcapi is DISABLED" >&5
  26405. $as_echo " owcapi is DISABLED" >&6; }
  26406. fi
  26407. if test "${ENABLE_SWIG}" = "true"; then
  26408. - { $as_echo "$as_me:$LINENO: result: swig is enabled" >&5
  26409. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: swig is enabled" >&5
  26410. $as_echo " swig is enabled" >&6; }
  26411. else
  26412. - { $as_echo "$as_me:$LINENO: result: swig is DISABLED" >&5
  26413. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: swig is DISABLED" >&5
  26414. $as_echo " swig is DISABLED" >&6; }
  26415. fi
  26416. if test "${ENABLE_OWPERL}" = "true" -a "${ENABLE_SWIG}" = "true"; then
  26417. - { $as_echo "$as_me:$LINENO: result: owperl is enabled" >&5
  26418. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owperl is enabled" >&5
  26419. $as_echo " owperl is enabled" >&6; }
  26420. else
  26421. - { $as_echo "$as_me:$LINENO: result: owperl is DISABLED" >&5
  26422. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owperl is DISABLED" >&5
  26423. $as_echo " owperl is DISABLED" >&6; }
  26424. fi
  26425. if test "${ENABLE_OWPHP}" = "true" -a "${ENABLE_SWIG}" = "true"; then
  26426. - { $as_echo "$as_me:$LINENO: result: owphp is enabled" >&5
  26427. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owphp is enabled" >&5
  26428. $as_echo " owphp is enabled" >&6; }
  26429. else
  26430. - { $as_echo "$as_me:$LINENO: result: owphp is DISABLED" >&5
  26431. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owphp is DISABLED" >&5
  26432. $as_echo " owphp is DISABLED" >&6; }
  26433. fi
  26434. if test "${ENABLE_OWPYTHON}" = "true" -a "${ENABLE_SWIG}" = "true"; then
  26435. - { $as_echo "$as_me:$LINENO: result: owpython is enabled" >&5
  26436. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owpython is enabled" >&5
  26437. $as_echo " owpython is enabled" >&6; }
  26438. else
  26439. - { $as_echo "$as_me:$LINENO: result: owpython is DISABLED" >&5
  26440. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owpython is DISABLED" >&5
  26441. $as_echo " owpython is DISABLED" >&6; }
  26442. fi
  26443. if test "${ENABLE_OWTCL}" = "true"; then
  26444. - { $as_echo "$as_me:$LINENO: result: owtcl is enabled" >&5
  26445. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owtcl is enabled" >&5
  26446. $as_echo " owtcl is enabled" >&6; }
  26447. else
  26448. - { $as_echo "$as_me:$LINENO: result: owtcl is DISABLED" >&5
  26449. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: owtcl is DISABLED" >&5
  26450. $as_echo " owtcl is DISABLED" >&6; }
  26451. fi
  26452. -{ $as_echo "$as_me:$LINENO: result: " >&5
  26453. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
  26454. $as_echo "" >&6; }
  26455. diff -Nur owfs-2.7p38.orig/configure.ac owfs-2.7p38/configure.ac
  26456. --- owfs-2.7p38.orig/configure.ac 2010-06-02 02:27:46.000000000 +0200
  26457. +++ owfs-2.7p38/configure.ac 2010-07-09 15:55:39.819002154 +0200
  26458. @@ -19,6 +19,8 @@
  26459. OWFS_INTERFACE_AGE=0
  26460. OWFS_BINARY_AGE=0
  26461. +AC_CONFIG_MACRO_DIR([m4])
  26462. +
  26463. AC_SUBST(VERSION_MAJOR)
  26464. AC_SUBST(VERSION_MINOR)
  26465. AC_SUBST(VERSION_PATCHLEVEL)
  26466. @@ -77,7 +79,6 @@
  26467. AC_LIBTOOL_WIN32_DLL
  26468. AC_PROG_LN_S
  26469. AC_PROG_MAKE_SET
  26470. -AC_PROG_RANLIB
  26471. AC_PROG_AWK
  26472. AC_LIBTOOL_DLOPEN
  26473. AM_PROG_LIBTOOL
  26474. diff -Nur owfs-2.7p38.orig/INSTALL owfs-2.7p38/INSTALL
  26475. --- owfs-2.7p38.orig/INSTALL 2010-05-08 16:21:23.000000000 +0200
  26476. +++ owfs-2.7p38/INSTALL 2010-07-09 16:01:01.283003773 +0200
  26477. @@ -1,117 +1,80 @@
  26478. -$Id: INSTALL,v 1.6 2010/05/08 14:21:23 alfille Exp $
  26479. +Installation Instructions
  26480. +*************************
  26481. -This package uses the standard UNIX installation methods, with
  26482. -scripts that tailor the code to your environment.
  26483. +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
  26484. +2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  26485. -Usually you'll use the QUICK INSTALL and can ignore all the rest.
  26486. + Copying and distribution of this file, with or without modification,
  26487. +are permitted in any medium without royalty provided the copyright
  26488. +notice and this notice are preserved. This file is offered as-is,
  26489. +without warranty of any kind.
  26490. -QUICK INSTALL: (From a source code release)
  26491. ---------------------------------------------------------------------
  26492. -1. Download and unpack owfs (you can find it on sourceforge:
  26493. - http://www.sf.net/projects/owfs )
  26494. -
  26495. -2. cd owfs # move into the directory
  26496. -
  26497. -3. ./configure
  26498. -
  26499. -4. sudo make install
  26500. -
  26501. -5. Run. Several choices:
  26502. -
  26503. - A. Filesystem using FUSE
  26504. - /opt/owfs/bin/owfs -d /dev/ttyS1 -m /mnt/1wire
  26505. - where /dev/ttyS1 is the serial port of your interface
  26506. - and /mnt/1wire is the directory to mount
  26507. -
  26508. - B. Webserver
  26509. - /opt/owfs/bin/owhttpd -u -p 4444
  26510. - Where -u is the USB bus master (DS9490)
  26511. - -p 4444 is an arbitrary post
  26512. - Fire up your web browser and look at URL
  26513. - localhost:4444
  26514. -
  26515. -6. There might be an issue with access permissions to the hardware.
  26516. - Easiest test:
  26517. - /opt/owfs/bin/owhttpd --fake=10 -p 4444
  26518. - and look at URL http://localhost:4444
  26519. - to see a simulated 1-wire network.
  26520. -
  26521. -
  26522. -
  26523. -INSTALL from development code (CVS)
  26524. ----------------------------------------------------------------------
  26525. -1. Get the source code from the server:
  26526. -
  26527. - A. Type at the command line:
  26528. - cvs -d:pserver:anonymous@owfs.cvs.sourceforge.net:/cvsroot/owfs login
  26529. - cvs -z3 -d:pserver:anonymous@owfs.cvs.sourceforge.net:/cvsroot/owfs co owfs
  26530. -
  26531. - B. You can also follow the instructions here:
  26532. - http://sourceforge.net/scm/?type=cvs&group_id=85502
  26533. - (which say the same thing)
  26534. -
  26535. - C. Later update to a newer versiion by entering the owfs directory and typing
  26536. - cvs update -dR
  26537. -
  26538. -2. Run bootstrap (this is a nuisance).
  26539. - A. Try to see if you're lucky: in the owfs directory type
  26540. - ./bootstrap
  26541. -
  26542. - B. If you get errors, the problem is probably the libtool version, so
  26543. - cp /usr/bin/libtool owfs/src/scripts/install/install.sh
  26544. - (the second pathname is a relative path into the owfs directory).
  26545. - then follow A above.
  26546. -
  26547. -3. Now you can go to step 3 of QUICKINSTALL above.
  26548. -
  26549. -
  26550. -More complete instructions: (Not owfs-specific)
  26551. ----------------------------------------------------------------------
  26552. Basic Installation
  26553. ==================
  26554. - These are generic installation instructions.
  26555. + Briefly, the shell commands `./configure; make; make install' should
  26556. +configure, build, and install this package. The following
  26557. +more-detailed instructions are generic; see the `README' file for
  26558. +instructions specific to this package. Some packages provide this
  26559. +`INSTALL' file but do not implement all of the features documented
  26560. +below. The lack of an optional feature in a given package is not
  26561. +necessarily a bug. More recommendations for GNU packages can be found
  26562. +in *note Makefile Conventions: (standards)Makefile Conventions.
  26563. The `configure' shell script attempts to guess correct values for
  26564. various system-dependent variables used during compilation. It uses
  26565. those values to create a `Makefile' in each directory of the package.
  26566. It may also create one or more `.h' files containing system-dependent
  26567. definitions. Finally, it creates a shell script `config.status' that
  26568. -you can run in the future to recreate the current configuration, a file
  26569. -`config.cache' that saves the results of its tests to speed up
  26570. -reconfiguring, and a file `config.log' containing compiler output
  26571. -(useful mainly for debugging `configure').
  26572. +you can run in the future to recreate the current configuration, and a
  26573. +file `config.log' containing compiler output (useful mainly for
  26574. +debugging `configure').
  26575. +
  26576. + It can also use an optional file (typically called `config.cache'
  26577. +and enabled with `--cache-file=config.cache' or simply `-C') that saves
  26578. +the results of its tests to speed up reconfiguring. Caching is
  26579. +disabled by default to prevent problems with accidental use of stale
  26580. +cache files.
  26581. If you need to do unusual things to compile the package, please try
  26582. to figure out how `configure' could check whether to do them, and mail
  26583. diffs or instructions to the address given in the `README' so they can
  26584. -be considered for the next release. If at some point `config.cache'
  26585. -contains results you don't want to keep, you may remove or edit it.
  26586. -
  26587. - The file `configure.in' is used to create `configure' by a program
  26588. -called `autoconf'. You only need `configure.in' if you want to change
  26589. -it or regenerate `configure' using a newer version of `autoconf'.
  26590. +be considered for the next release. If you are using the cache, and at
  26591. +some point `config.cache' contains results you don't want to keep, you
  26592. +may remove or edit it.
  26593. +
  26594. + The file `configure.ac' (or `configure.in') is used to create
  26595. +`configure' by a program called `autoconf'. You need `configure.ac' if
  26596. +you want to change it or regenerate `configure' using a newer version
  26597. +of `autoconf'.
  26598. -The simplest way to compile this package is:
  26599. + The simplest way to compile this package is:
  26600. 1. `cd' to the directory containing the package's source code and type
  26601. - `./configure' to configure the package for your system. If you're
  26602. - using `csh' on an old version of System V, you might need to type
  26603. - `sh ./configure' instead to prevent `csh' from trying to execute
  26604. - `configure' itself.
  26605. + `./configure' to configure the package for your system.
  26606. - Running `configure' takes awhile. While running, it prints some
  26607. - messages telling which features it is checking for.
  26608. + Running `configure' might take a while. While running, it prints
  26609. + some messages telling which features it is checking for.
  26610. 2. Type `make' to compile the package.
  26611. 3. Optionally, type `make check' to run any self-tests that come with
  26612. - the package.
  26613. + the package, generally using the just-built uninstalled binaries.
  26614. 4. Type `make install' to install the programs and any data files and
  26615. - documentation.
  26616. + documentation. When installing into a prefix owned by root, it is
  26617. + recommended that the package be configured and built as a regular
  26618. + user, and only the `make install' phase executed with root
  26619. + privileges.
  26620. +
  26621. + 5. Optionally, type `make installcheck' to repeat any self-tests, but
  26622. + this time using the binaries in their final installed location.
  26623. + This target does not install anything. Running this target as a
  26624. + regular user, particularly if the prior `make install' required
  26625. + root privileges, verifies that the installation completed
  26626. + correctly.
  26627. - 5. You can remove the program binaries and object files from the
  26628. + 6. You can remove the program binaries and object files from the
  26629. source code directory by typing `make clean'. To also remove the
  26630. files that `configure' created (so you can compile the package for
  26631. a different kind of computer), type `make distclean'. There is
  26632. @@ -120,62 +83,119 @@
  26633. all sorts of other programs in order to regenerate files that came
  26634. with the distribution.
  26635. + 7. Often, you can also type `make uninstall' to remove the installed
  26636. + files again. In practice, not all packages have tested that
  26637. + uninstallation works correctly, even though it is required by the
  26638. + GNU Coding Standards.
  26639. +
  26640. + 8. Some packages, particularly those that use Automake, provide `make
  26641. + distcheck', which can by used by developers to test that all other
  26642. + targets like `make install' and `make uninstall' work correctly.
  26643. + This target is generally not run by end users.
  26644. +
  26645. Compilers and Options
  26646. =====================
  26647. Some systems require unusual options for compilation or linking that
  26648. -the `configure' script does not know about. You can give `configure'
  26649. -initial values for variables by setting them in the environment. Using
  26650. -a Bourne-compatible shell, you can do that on the command line like
  26651. -this:
  26652. - CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
  26653. +the `configure' script does not know about. Run `./configure --help'
  26654. +for details on some of the pertinent environment variables.
  26655. +
  26656. + You can give `configure' initial values for configuration parameters
  26657. +by setting variables in the command line or in the environment. Here
  26658. +is an example:
  26659. +
  26660. + ./configure CC=c99 CFLAGS=-g LIBS=-lposix
  26661. -Or on systems that have the `env' program, you can do it like this:
  26662. - env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
  26663. + *Note Defining Variables::, for more details.
  26664. Compiling For Multiple Architectures
  26665. ====================================
  26666. You can compile the package for more than one kind of computer at the
  26667. same time, by placing the object files for each architecture in their
  26668. -own directory. To do this, you must use a version of `make' that
  26669. -supports the `VPATH' variable, such as GNU `make'. `cd' to the
  26670. +own directory. To do this, you can use GNU `make'. `cd' to the
  26671. directory where you want the object files and executables to go and run
  26672. the `configure' script. `configure' automatically checks for the
  26673. -source code in the directory that `configure' is in and in `..'.
  26674. +source code in the directory that `configure' is in and in `..'. This
  26675. +is known as a "VPATH" build.
  26676. - If you have to use a `make' that does not supports the `VPATH'
  26677. -variable, you have to compile the package for one architecture at a time
  26678. -in the source code directory. After you have installed the package for
  26679. -one architecture, use `make distclean' before reconfiguring for another
  26680. -architecture.
  26681. + With a non-GNU `make', it is safer to compile the package for one
  26682. +architecture at a time in the source code directory. After you have
  26683. +installed the package for one architecture, use `make distclean' before
  26684. +reconfiguring for another architecture.
  26685. +
  26686. + On MacOS X 10.5 and later systems, you can create libraries and
  26687. +executables that work on multiple system types--known as "fat" or
  26688. +"universal" binaries--by specifying multiple `-arch' options to the
  26689. +compiler but only a single `-arch' option to the preprocessor. Like
  26690. +this:
  26691. +
  26692. + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
  26693. + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
  26694. + CPP="gcc -E" CXXCPP="g++ -E"
  26695. +
  26696. + This is not guaranteed to produce working output in all cases, you
  26697. +may have to build one architecture at a time and combine the results
  26698. +using the `lipo' tool if you have problems.
  26699. Installation Names
  26700. ==================
  26701. - By default, `make install' will install the package's files in
  26702. -`/usr/local/bin', `/usr/local/man', etc. You can specify an
  26703. -installation prefix other than `/usr/local' by giving `configure' the
  26704. -option `--prefix=PATH'.
  26705. + By default, `make install' installs the package's commands under
  26706. +`/usr/local/bin', include files under `/usr/local/include', etc. You
  26707. +can specify an installation prefix other than `/usr/local' by giving
  26708. +`configure' the option `--prefix=PREFIX', where PREFIX must be an
  26709. +absolute file name.
  26710. You can specify separate installation prefixes for
  26711. architecture-specific files and architecture-independent files. If you
  26712. -give `configure' the option `--exec-prefix=PATH', the package will use
  26713. -PATH as the prefix for installing programs and libraries.
  26714. -Documentation and other data files will still use the regular prefix.
  26715. +pass the option `--exec-prefix=PREFIX' to `configure', the package uses
  26716. +PREFIX as the prefix for installing programs and libraries.
  26717. +Documentation and other data files still use the regular prefix.
  26718. In addition, if you use an unusual directory layout you can give
  26719. -options like `--bindir=PATH' to specify different values for particular
  26720. +options like `--bindir=DIR' to specify different values for particular
  26721. kinds of files. Run `configure --help' for a list of the directories
  26722. -you can set and what kinds of files go in them.
  26723. +you can set and what kinds of files go in them. In general, the
  26724. +default for these options is expressed in terms of `${prefix}', so that
  26725. +specifying just `--prefix' will affect all of the other directory
  26726. +specifications that were not explicitly provided.
  26727. +
  26728. + The most portable way to affect installation locations is to pass the
  26729. +correct locations to `configure'; however, many packages provide one or
  26730. +both of the following shortcuts of passing variable assignments to the
  26731. +`make install' command line to change installation locations without
  26732. +having to reconfigure or recompile.
  26733. +
  26734. + The first method involves providing an override variable for each
  26735. +affected directory. For example, `make install
  26736. +prefix=/alternate/directory' will choose an alternate location for all
  26737. +directory configuration variables that were expressed in terms of
  26738. +`${prefix}'. Any directories that were specified during `configure',
  26739. +but not in terms of `${prefix}', must each be overridden at install
  26740. +time for the entire installation to be relocated. The approach of
  26741. +makefile variable overrides for each directory variable is required by
  26742. +the GNU Coding Standards, and ideally causes no recompilation.
  26743. +However, some platforms have known limitations with the semantics of
  26744. +shared libraries that end up requiring recompilation when using this
  26745. +method, particularly noticeable in packages that use GNU Libtool.
  26746. +
  26747. + The second method involves providing the `DESTDIR' variable. For
  26748. +example, `make install DESTDIR=/alternate/directory' will prepend
  26749. +`/alternate/directory' before all installation names. The approach of
  26750. +`DESTDIR' overrides is not required by the GNU Coding Standards, and
  26751. +does not work on platforms that have drive letters. On the other hand,
  26752. +it does better at avoiding recompilation issues, and works well even
  26753. +when some directory options were not specified in terms of `${prefix}'
  26754. +at `configure' time.
  26755. +
  26756. +Optional Features
  26757. +=================
  26758. If the package supports it, you can cause programs to be installed
  26759. with an extra prefix or suffix on their names by giving `configure' the
  26760. option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
  26761. -Optional Features
  26762. -=================
  26763. -
  26764. Some packages pay attention to `--enable-FEATURE' options to
  26765. `configure', where FEATURE indicates an optional part of the package.
  26766. They may also pay attention to `--with-PACKAGE' options, where PACKAGE
  26767. @@ -188,25 +208,75 @@
  26768. you can use the `configure' options `--x-includes=DIR' and
  26769. `--x-libraries=DIR' to specify their locations.
  26770. + Some packages offer the ability to configure how verbose the
  26771. +execution of `make' will be. For these packages, running `./configure
  26772. +--enable-silent-rules' sets the default to minimal output, which can be
  26773. +overridden with `make V=1'; while running `./configure
  26774. +--disable-silent-rules' sets the default to verbose, which can be
  26775. +overridden with `make V=0'.
  26776. +
  26777. +Particular systems
  26778. +==================
  26779. +
  26780. + On HP-UX, the default C compiler is not ANSI C compatible. If GNU
  26781. +CC is not installed, it is recommended to use the following options in
  26782. +order to use an ANSI C compiler:
  26783. +
  26784. + ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
  26785. +
  26786. +and if that doesn't work, install pre-built binaries of GCC for HP-UX.
  26787. +
  26788. + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
  26789. +parse its `<wchar.h>' header file. The option `-nodtk' can be used as
  26790. +a workaround. If GNU CC is not installed, it is therefore recommended
  26791. +to try
  26792. +
  26793. + ./configure CC="cc"
  26794. +
  26795. +and if that doesn't work, try
  26796. +
  26797. + ./configure CC="cc -nodtk"
  26798. +
  26799. + On Solaris, don't put `/usr/ucb' early in your `PATH'. This
  26800. +directory contains several dysfunctional programs; working variants of
  26801. +these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
  26802. +in your `PATH', put it _after_ `/usr/bin'.
  26803. +
  26804. + On Haiku, software installed for all users goes in `/boot/common',
  26805. +not `/usr/local'. It is recommended to use the following options:
  26806. +
  26807. + ./configure --prefix=/boot/common
  26808. +
  26809. Specifying the System Type
  26810. ==========================
  26811. - There may be some features `configure' can not figure out
  26812. -automatically, but needs to determine by the type of host the package
  26813. -will run on. Usually `configure' can figure that out, but if it prints
  26814. -a message saying it can not guess the host type, give it the
  26815. -`--host=TYPE' option. TYPE can either be a short name for the system
  26816. -type, such as `sun4', or a canonical name with three fields:
  26817. + There may be some features `configure' cannot figure out
  26818. +automatically, but needs to determine by the type of machine the package
  26819. +will run on. Usually, assuming the package is built to be run on the
  26820. +_same_ architectures, `configure' can figure that out, but if it prints
  26821. +a message saying it cannot guess the machine type, give it the
  26822. +`--build=TYPE' option. TYPE can either be a short name for the system
  26823. +type, such as `sun4', or a canonical name which has the form:
  26824. +
  26825. CPU-COMPANY-SYSTEM
  26826. -See the file `config.sub' for the possible values of each field. If
  26827. +where SYSTEM can have one of these forms:
  26828. +
  26829. + OS
  26830. + KERNEL-OS
  26831. +
  26832. + See the file `config.sub' for the possible values of each field. If
  26833. `config.sub' isn't included in this package, then this package doesn't
  26834. -need to know the host type.
  26835. +need to know the machine type.
  26836. - If you are building compiler tools for cross-compiling, you can also
  26837. -use the `--target=TYPE' option to select the type of system they will
  26838. -produce code for and the `--build=TYPE' option to select the type of
  26839. -system on which you are compiling the package.
  26840. + If you are _building_ compiler tools for cross-compiling, you should
  26841. +use the option `--target=TYPE' to select the type of system they will
  26842. +produce code for.
  26843. +
  26844. + If you want to _use_ a cross compiler, that generates code for a
  26845. +platform different from the build platform, you should specify the
  26846. +"host" platform (i.e., that on which the generated programs will
  26847. +eventually be run) with `--host=TYPE'.
  26848. Sharing Defaults
  26849. ================
  26850. @@ -219,19 +289,55 @@
  26851. `CONFIG_SITE' environment variable to the location of the site script.
  26852. A warning: not all `configure' scripts look for a site script.
  26853. -Operation Controls
  26854. +Defining Variables
  26855. ==================
  26856. + Variables not defined in a site shell script can be set in the
  26857. +environment passed to `configure'. However, some packages may run
  26858. +configure again during the build, and the customized values of these
  26859. +variables may be lost. In order to avoid this problem, you should set
  26860. +them in the `configure' command line, using `VAR=value'. For example:
  26861. +
  26862. + ./configure CC=/usr/local2/bin/gcc
  26863. +
  26864. +causes the specified `gcc' to be used as the C compiler (unless it is
  26865. +overridden in the site shell script).
  26866. +
  26867. +Unfortunately, this technique does not work for `CONFIG_SHELL' due to
  26868. +an Autoconf bug. Until the bug is fixed you can use this workaround:
  26869. +
  26870. + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
  26871. +
  26872. +`configure' Invocation
  26873. +======================
  26874. +
  26875. `configure' recognizes the following options to control how it
  26876. operates.
  26877. -`--cache-file=FILE'
  26878. - Use and save the results of the tests in FILE instead of
  26879. - `./config.cache'. Set FILE to `/dev/null' to disable caching, for
  26880. - debugging `configure'.
  26881. -
  26882. `--help'
  26883. - Print a summary of the options to `configure', and exit.
  26884. +`-h'
  26885. + Print a summary of all of the options to `configure', and exit.
  26886. +
  26887. +`--help=short'
  26888. +`--help=recursive'
  26889. + Print a summary of the options unique to this package's
  26890. + `configure', and exit. The `short' variant lists options used
  26891. + only in the top level, while the `recursive' variant lists options
  26892. + also present in any nested packages.
  26893. +
  26894. +`--version'
  26895. +`-V'
  26896. + Print the version of Autoconf used to generate the `configure'
  26897. + script, and exit.
  26898. +
  26899. +`--cache-file=FILE'
  26900. + Enable the cache: use and save the results of the tests in FILE,
  26901. + traditionally `config.cache'. FILE defaults to `/dev/null' to
  26902. + disable caching.
  26903. +
  26904. +`--config-cache'
  26905. +`-C'
  26906. + Alias for `--cache-file=config.cache'.
  26907. `--quiet'
  26908. `--silent'
  26909. @@ -244,8 +350,16 @@
  26910. Look for the package's source code in directory DIR. Usually
  26911. `configure' can determine that directory automatically.
  26912. -`--version'
  26913. - Print the version of Autoconf used to generate the `configure'
  26914. - script, and exit.
  26915. +`--prefix=DIR'
  26916. + Use DIR as the installation prefix. *note Installation Names::
  26917. + for more details, including other options available for fine-tuning
  26918. + the installation locations.
  26919. +
  26920. +`--no-create'
  26921. +`-n'
  26922. + Run the configure checks, but stop before creating any output
  26923. + files.
  26924. +
  26925. +`configure' also accepts some other, not widely useful, options. Run
  26926. +`configure --help' for more details.
  26927. -`configure' also accepts some other, not widely useful, options.
  26928. diff -Nur owfs-2.7p38.orig/m4/libtool.m4 owfs-2.7p38/m4/libtool.m4
  26929. --- owfs-2.7p38.orig/m4/libtool.m4 1970-01-01 01:00:00.000000000 +0100
  26930. +++ owfs-2.7p38/m4/libtool.m4 2010-07-09 16:00:36.147005435 +0200
  26931. @@ -0,0 +1,7547 @@
  26932. +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
  26933. +#
  26934. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  26935. +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
  26936. +# Inc.
  26937. +# Written by Gordon Matzigkeit, 1996
  26938. +#
  26939. +# This file is free software; the Free Software Foundation gives
  26940. +# unlimited permission to copy and/or distribute it, with or without
  26941. +# modifications, as long as this notice is preserved.
  26942. +
  26943. +m4_define([_LT_COPYING], [dnl
  26944. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  26945. +# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
  26946. +# Inc.
  26947. +# Written by Gordon Matzigkeit, 1996
  26948. +#
  26949. +# This file is part of GNU Libtool.
  26950. +#
  26951. +# GNU Libtool is free software; you can redistribute it and/or
  26952. +# modify it under the terms of the GNU General Public License as
  26953. +# published by the Free Software Foundation; either version 2 of
  26954. +# the License, or (at your option) any later version.
  26955. +#
  26956. +# As a special exception to the GNU General Public License,
  26957. +# if you distribute this file as part of a program or library that
  26958. +# is built using GNU Libtool, you may include this file under the
  26959. +# same distribution terms that you use for the rest of that program.
  26960. +#
  26961. +# GNU Libtool is distributed in the hope that it will be useful,
  26962. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  26963. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  26964. +# GNU General Public License for more details.
  26965. +#
  26966. +# You should have received a copy of the GNU General Public License
  26967. +# along with GNU Libtool; see the file COPYING. If not, a copy
  26968. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  26969. +# obtained by writing to the Free Software Foundation, Inc.,
  26970. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  26971. +])
  26972. +
  26973. +# serial 57 LT_INIT
  26974. +
  26975. +
  26976. +# LT_PREREQ(VERSION)
  26977. +# ------------------
  26978. +# Complain and exit if this libtool version is less that VERSION.
  26979. +m4_defun([LT_PREREQ],
  26980. +[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
  26981. + [m4_default([$3],
  26982. + [m4_fatal([Libtool version $1 or higher is required],
  26983. + 63)])],
  26984. + [$2])])
  26985. +
  26986. +
  26987. +# _LT_CHECK_BUILDDIR
  26988. +# ------------------
  26989. +# Complain if the absolute build directory name contains unusual characters
  26990. +m4_defun([_LT_CHECK_BUILDDIR],
  26991. +[case `pwd` in
  26992. + *\ * | *\ *)
  26993. + AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
  26994. +esac
  26995. +])
  26996. +
  26997. +
  26998. +# LT_INIT([OPTIONS])
  26999. +# ------------------
  27000. +AC_DEFUN([LT_INIT],
  27001. +[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
  27002. +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  27003. +AC_BEFORE([$0], [LT_LANG])dnl
  27004. +AC_BEFORE([$0], [LT_OUTPUT])dnl
  27005. +AC_BEFORE([$0], [LTDL_INIT])dnl
  27006. +m4_require([_LT_CHECK_BUILDDIR])dnl
  27007. +
  27008. +dnl Autoconf doesn't catch unexpanded LT_ macros by default:
  27009. +m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
  27010. +m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
  27011. +dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
  27012. +dnl unless we require an AC_DEFUNed macro:
  27013. +AC_REQUIRE([LTOPTIONS_VERSION])dnl
  27014. +AC_REQUIRE([LTSUGAR_VERSION])dnl
  27015. +AC_REQUIRE([LTVERSION_VERSION])dnl
  27016. +AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  27017. +m4_require([_LT_PROG_LTMAIN])dnl
  27018. +
  27019. +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
  27020. +
  27021. +dnl Parse OPTIONS
  27022. +_LT_SET_OPTIONS([$0], [$1])
  27023. +
  27024. +# This can be used to rebuild libtool when needed
  27025. +LIBTOOL_DEPS="$ltmain"
  27026. +
  27027. +# Always use our own libtool.
  27028. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  27029. +AC_SUBST(LIBTOOL)dnl
  27030. +
  27031. +_LT_SETUP
  27032. +
  27033. +# Only expand once:
  27034. +m4_define([LT_INIT])
  27035. +])# LT_INIT
  27036. +
  27037. +# Old names:
  27038. +AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
  27039. +AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
  27040. +dnl aclocal-1.4 backwards compatibility:
  27041. +dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
  27042. +dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
  27043. +
  27044. +
  27045. +# _LT_CC_BASENAME(CC)
  27046. +# -------------------
  27047. +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  27048. +m4_defun([_LT_CC_BASENAME],
  27049. +[for cc_temp in $1""; do
  27050. + case $cc_temp in
  27051. + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  27052. + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  27053. + \-*) ;;
  27054. + *) break;;
  27055. + esac
  27056. +done
  27057. +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  27058. +])
  27059. +
  27060. +
  27061. +# _LT_FILEUTILS_DEFAULTS
  27062. +# ----------------------
  27063. +# It is okay to use these file commands and assume they have been set
  27064. +# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
  27065. +m4_defun([_LT_FILEUTILS_DEFAULTS],
  27066. +[: ${CP="cp -f"}
  27067. +: ${MV="mv -f"}
  27068. +: ${RM="rm -f"}
  27069. +])# _LT_FILEUTILS_DEFAULTS
  27070. +
  27071. +
  27072. +# _LT_SETUP
  27073. +# ---------
  27074. +m4_defun([_LT_SETUP],
  27075. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  27076. +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  27077. +AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
  27078. +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
  27079. +
  27080. +_LT_DECL([], [host_alias], [0], [The host system])dnl
  27081. +_LT_DECL([], [host], [0])dnl
  27082. +_LT_DECL([], [host_os], [0])dnl
  27083. +dnl
  27084. +_LT_DECL([], [build_alias], [0], [The build system])dnl
  27085. +_LT_DECL([], [build], [0])dnl
  27086. +_LT_DECL([], [build_os], [0])dnl
  27087. +dnl
  27088. +AC_REQUIRE([AC_PROG_CC])dnl
  27089. +AC_REQUIRE([LT_PATH_LD])dnl
  27090. +AC_REQUIRE([LT_PATH_NM])dnl
  27091. +dnl
  27092. +AC_REQUIRE([AC_PROG_LN_S])dnl
  27093. +test -z "$LN_S" && LN_S="ln -s"
  27094. +_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
  27095. +dnl
  27096. +AC_REQUIRE([LT_CMD_MAX_LEN])dnl
  27097. +_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
  27098. +_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
  27099. +dnl
  27100. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  27101. +m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  27102. +m4_require([_LT_CMD_RELOAD])dnl
  27103. +m4_require([_LT_CHECK_MAGIC_METHOD])dnl
  27104. +m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
  27105. +m4_require([_LT_CMD_OLD_ARCHIVE])dnl
  27106. +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  27107. +
  27108. +_LT_CONFIG_LIBTOOL_INIT([
  27109. +# See if we are running on zsh, and set the options which allow our
  27110. +# commands through without removal of \ escapes INIT.
  27111. +if test -n "\${ZSH_VERSION+set}" ; then
  27112. + setopt NO_GLOB_SUBST
  27113. +fi
  27114. +])
  27115. +if test -n "${ZSH_VERSION+set}" ; then
  27116. + setopt NO_GLOB_SUBST
  27117. +fi
  27118. +
  27119. +_LT_CHECK_OBJDIR
  27120. +
  27121. +m4_require([_LT_TAG_COMPILER])dnl
  27122. +
  27123. +case $host_os in
  27124. +aix3*)
  27125. + # AIX sometimes has problems with the GCC collect2 program. For some
  27126. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  27127. + # vanish in a puff of smoke.
  27128. + if test "X${COLLECT_NAMES+set}" != Xset; then
  27129. + COLLECT_NAMES=
  27130. + export COLLECT_NAMES
  27131. + fi
  27132. + ;;
  27133. +esac
  27134. +
  27135. +# Global variables:
  27136. +ofile=libtool
  27137. +can_build_shared=yes
  27138. +
  27139. +# All known linkers require a `.a' archive for static linking (except MSVC,
  27140. +# which needs '.lib').
  27141. +libext=a
  27142. +
  27143. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  27144. +
  27145. +old_CC="$CC"
  27146. +old_CFLAGS="$CFLAGS"
  27147. +
  27148. +# Set sane defaults for various variables
  27149. +test -z "$CC" && CC=cc
  27150. +test -z "$LTCC" && LTCC=$CC
  27151. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  27152. +test -z "$LD" && LD=ld
  27153. +test -z "$ac_objext" && ac_objext=o
  27154. +
  27155. +_LT_CC_BASENAME([$compiler])
  27156. +
  27157. +# Only perform the check for file, if the check method requires it
  27158. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  27159. +case $deplibs_check_method in
  27160. +file_magic*)
  27161. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  27162. + _LT_PATH_MAGIC
  27163. + fi
  27164. + ;;
  27165. +esac
  27166. +
  27167. +# Use C for the default configuration in the libtool script
  27168. +LT_SUPPORTED_TAG([CC])
  27169. +_LT_LANG_C_CONFIG
  27170. +_LT_LANG_DEFAULT_CONFIG
  27171. +_LT_CONFIG_COMMANDS
  27172. +])# _LT_SETUP
  27173. +
  27174. +
  27175. +# _LT_PREPARE_SED_QUOTE_VARS
  27176. +# --------------------------
  27177. +# Define a few sed substitution that help us do robust quoting.
  27178. +m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
  27179. +[# Backslashify metacharacters that are still active within
  27180. +# double-quoted strings.
  27181. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  27182. +
  27183. +# Same as above, but do not quote variable references.
  27184. +double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  27185. +
  27186. +# Sed substitution to delay expansion of an escaped shell variable in a
  27187. +# double_quote_subst'ed string.
  27188. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  27189. +
  27190. +# Sed substitution to delay expansion of an escaped single quote.
  27191. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  27192. +
  27193. +# Sed substitution to avoid accidental globbing in evaled expressions
  27194. +no_glob_subst='s/\*/\\\*/g'
  27195. +])
  27196. +
  27197. +# _LT_PROG_LTMAIN
  27198. +# ---------------
  27199. +# Note that this code is called both from `configure', and `config.status'
  27200. +# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
  27201. +# `config.status' has no value for ac_aux_dir unless we are using Automake,
  27202. +# so we pass a copy along to make sure it has a sensible value anyway.
  27203. +m4_defun([_LT_PROG_LTMAIN],
  27204. +[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
  27205. +_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
  27206. +ltmain="$ac_aux_dir/ltmain.sh"
  27207. +])# _LT_PROG_LTMAIN
  27208. +
  27209. +
  27210. +## ------------------------------------- ##
  27211. +## Accumulate code for creating libtool. ##
  27212. +## ------------------------------------- ##
  27213. +
  27214. +# So that we can recreate a full libtool script including additional
  27215. +# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
  27216. +# in macros and then make a single call at the end using the `libtool'
  27217. +# label.
  27218. +
  27219. +
  27220. +# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
  27221. +# ----------------------------------------
  27222. +# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  27223. +m4_define([_LT_CONFIG_LIBTOOL_INIT],
  27224. +[m4_ifval([$1],
  27225. + [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
  27226. + [$1
  27227. +])])])
  27228. +
  27229. +# Initialize.
  27230. +m4_define([_LT_OUTPUT_LIBTOOL_INIT])
  27231. +
  27232. +
  27233. +# _LT_CONFIG_LIBTOOL([COMMANDS])
  27234. +# ------------------------------
  27235. +# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  27236. +m4_define([_LT_CONFIG_LIBTOOL],
  27237. +[m4_ifval([$1],
  27238. + [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
  27239. + [$1
  27240. +])])])
  27241. +
  27242. +# Initialize.
  27243. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
  27244. +
  27245. +
  27246. +# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
  27247. +# -----------------------------------------------------
  27248. +m4_defun([_LT_CONFIG_SAVE_COMMANDS],
  27249. +[_LT_CONFIG_LIBTOOL([$1])
  27250. +_LT_CONFIG_LIBTOOL_INIT([$2])
  27251. +])
  27252. +
  27253. +
  27254. +# _LT_FORMAT_COMMENT([COMMENT])
  27255. +# -----------------------------
  27256. +# Add leading comment marks to the start of each line, and a trailing
  27257. +# full-stop to the whole comment if one is not present already.
  27258. +m4_define([_LT_FORMAT_COMMENT],
  27259. +[m4_ifval([$1], [
  27260. +m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
  27261. + [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
  27262. +)])
  27263. +
  27264. +
  27265. +
  27266. +## ------------------------ ##
  27267. +## FIXME: Eliminate VARNAME ##
  27268. +## ------------------------ ##
  27269. +
  27270. +
  27271. +# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
  27272. +# -------------------------------------------------------------------
  27273. +# CONFIGNAME is the name given to the value in the libtool script.
  27274. +# VARNAME is the (base) name used in the configure script.
  27275. +# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
  27276. +# VARNAME. Any other value will be used directly.
  27277. +m4_define([_LT_DECL],
  27278. +[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
  27279. + [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
  27280. + [m4_ifval([$1], [$1], [$2])])
  27281. + lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
  27282. + m4_ifval([$4],
  27283. + [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
  27284. + lt_dict_add_subkey([lt_decl_dict], [$2],
  27285. + [tagged?], [m4_ifval([$5], [yes], [no])])])
  27286. +])
  27287. +
  27288. +
  27289. +# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
  27290. +# --------------------------------------------------------
  27291. +m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
  27292. +
  27293. +
  27294. +# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
  27295. +# ------------------------------------------------
  27296. +m4_define([lt_decl_tag_varnames],
  27297. +[_lt_decl_filter([tagged?], [yes], $@)])
  27298. +
  27299. +
  27300. +# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
  27301. +# ---------------------------------------------------------
  27302. +m4_define([_lt_decl_filter],
  27303. +[m4_case([$#],
  27304. + [0], [m4_fatal([$0: too few arguments: $#])],
  27305. + [1], [m4_fatal([$0: too few arguments: $#: $1])],
  27306. + [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
  27307. + [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
  27308. + [lt_dict_filter([lt_decl_dict], $@)])[]dnl
  27309. +])
  27310. +
  27311. +
  27312. +# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
  27313. +# --------------------------------------------------
  27314. +m4_define([lt_decl_quote_varnames],
  27315. +[_lt_decl_filter([value], [1], $@)])
  27316. +
  27317. +
  27318. +# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
  27319. +# ---------------------------------------------------
  27320. +m4_define([lt_decl_dquote_varnames],
  27321. +[_lt_decl_filter([value], [2], $@)])
  27322. +
  27323. +
  27324. +# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
  27325. +# ---------------------------------------------------
  27326. +m4_define([lt_decl_varnames_tagged],
  27327. +[m4_assert([$# <= 2])dnl
  27328. +_$0(m4_quote(m4_default([$1], [[, ]])),
  27329. + m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
  27330. + m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
  27331. +m4_define([_lt_decl_varnames_tagged],
  27332. +[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
  27333. +
  27334. +
  27335. +# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
  27336. +# ------------------------------------------------
  27337. +m4_define([lt_decl_all_varnames],
  27338. +[_$0(m4_quote(m4_default([$1], [[, ]])),
  27339. + m4_if([$2], [],
  27340. + m4_quote(lt_decl_varnames),
  27341. + m4_quote(m4_shift($@))))[]dnl
  27342. +])
  27343. +m4_define([_lt_decl_all_varnames],
  27344. +[lt_join($@, lt_decl_varnames_tagged([$1],
  27345. + lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
  27346. +])
  27347. +
  27348. +
  27349. +# _LT_CONFIG_STATUS_DECLARE([VARNAME])
  27350. +# ------------------------------------
  27351. +# Quote a variable value, and forward it to `config.status' so that its
  27352. +# declaration there will have the same value as in `configure'. VARNAME
  27353. +# must have a single quote delimited value for this to work.
  27354. +m4_define([_LT_CONFIG_STATUS_DECLARE],
  27355. +[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
  27356. +
  27357. +
  27358. +# _LT_CONFIG_STATUS_DECLARATIONS
  27359. +# ------------------------------
  27360. +# We delimit libtool config variables with single quotes, so when
  27361. +# we write them to config.status, we have to be sure to quote all
  27362. +# embedded single quotes properly. In configure, this macro expands
  27363. +# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
  27364. +#
  27365. +# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
  27366. +m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
  27367. +[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
  27368. + [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
  27369. +
  27370. +
  27371. +# _LT_LIBTOOL_TAGS
  27372. +# ----------------
  27373. +# Output comment and list of tags supported by the script
  27374. +m4_defun([_LT_LIBTOOL_TAGS],
  27375. +[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
  27376. +available_tags="_LT_TAGS"dnl
  27377. +])
  27378. +
  27379. +
  27380. +# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
  27381. +# -----------------------------------
  27382. +# Extract the dictionary values for VARNAME (optionally with TAG) and
  27383. +# expand to a commented shell variable setting:
  27384. +#
  27385. +# # Some comment about what VAR is for.
  27386. +# visible_name=$lt_internal_name
  27387. +m4_define([_LT_LIBTOOL_DECLARE],
  27388. +[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
  27389. + [description])))[]dnl
  27390. +m4_pushdef([_libtool_name],
  27391. + m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
  27392. +m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
  27393. + [0], [_libtool_name=[$]$1],
  27394. + [1], [_libtool_name=$lt_[]$1],
  27395. + [2], [_libtool_name=$lt_[]$1],
  27396. + [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
  27397. +m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
  27398. +])
  27399. +
  27400. +
  27401. +# _LT_LIBTOOL_CONFIG_VARS
  27402. +# -----------------------
  27403. +# Produce commented declarations of non-tagged libtool config variables
  27404. +# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
  27405. +# script. Tagged libtool config variables (even for the LIBTOOL CONFIG
  27406. +# section) are produced by _LT_LIBTOOL_TAG_VARS.
  27407. +m4_defun([_LT_LIBTOOL_CONFIG_VARS],
  27408. +[m4_foreach([_lt_var],
  27409. + m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
  27410. + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
  27411. +
  27412. +
  27413. +# _LT_LIBTOOL_TAG_VARS(TAG)
  27414. +# -------------------------
  27415. +m4_define([_LT_LIBTOOL_TAG_VARS],
  27416. +[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
  27417. + [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
  27418. +
  27419. +
  27420. +# _LT_TAGVAR(VARNAME, [TAGNAME])
  27421. +# ------------------------------
  27422. +m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
  27423. +
  27424. +
  27425. +# _LT_CONFIG_COMMANDS
  27426. +# -------------------
  27427. +# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
  27428. +# variables for single and double quote escaping we saved from calls
  27429. +# to _LT_DECL, we can put quote escaped variables declarations
  27430. +# into `config.status', and then the shell code to quote escape them in
  27431. +# for loops in `config.status'. Finally, any additional code accumulated
  27432. +# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
  27433. +m4_defun([_LT_CONFIG_COMMANDS],
  27434. +[AC_PROVIDE_IFELSE([LT_OUTPUT],
  27435. + dnl If the libtool generation code has been placed in $CONFIG_LT,
  27436. + dnl instead of duplicating it all over again into config.status,
  27437. + dnl then we will have config.status run $CONFIG_LT later, so it
  27438. + dnl needs to know what name is stored there:
  27439. + [AC_CONFIG_COMMANDS([libtool],
  27440. + [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
  27441. + dnl If the libtool generation code is destined for config.status,
  27442. + dnl expand the accumulated commands and init code now:
  27443. + [AC_CONFIG_COMMANDS([libtool],
  27444. + [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
  27445. +])#_LT_CONFIG_COMMANDS
  27446. +
  27447. +
  27448. +# Initialize.
  27449. +m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
  27450. +[
  27451. +
  27452. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  27453. +# if CDPATH is set.
  27454. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  27455. +
  27456. +sed_quote_subst='$sed_quote_subst'
  27457. +double_quote_subst='$double_quote_subst'
  27458. +delay_variable_subst='$delay_variable_subst'
  27459. +_LT_CONFIG_STATUS_DECLARATIONS
  27460. +LTCC='$LTCC'
  27461. +LTCFLAGS='$LTCFLAGS'
  27462. +compiler='$compiler_DEFAULT'
  27463. +
  27464. +# A function that is used when there is no print builtin or printf.
  27465. +func_fallback_echo ()
  27466. +{
  27467. + eval 'cat <<_LTECHO_EOF
  27468. +\$[]1
  27469. +_LTECHO_EOF'
  27470. +}
  27471. +
  27472. +# Quote evaled strings.
  27473. +for var in lt_decl_all_varnames([[ \
  27474. +]], lt_decl_quote_varnames); do
  27475. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  27476. + *[[\\\\\\\`\\"\\\$]]*)
  27477. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  27478. + ;;
  27479. + *)
  27480. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  27481. + ;;
  27482. + esac
  27483. +done
  27484. +
  27485. +# Double-quote double-evaled strings.
  27486. +for var in lt_decl_all_varnames([[ \
  27487. +]], lt_decl_dquote_varnames); do
  27488. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  27489. + *[[\\\\\\\`\\"\\\$]]*)
  27490. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  27491. + ;;
  27492. + *)
  27493. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  27494. + ;;
  27495. + esac
  27496. +done
  27497. +
  27498. +_LT_OUTPUT_LIBTOOL_INIT
  27499. +])
  27500. +
  27501. +# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
  27502. +# ------------------------------------
  27503. +# Generate a child script FILE with all initialization necessary to
  27504. +# reuse the environment learned by the parent script, and make the
  27505. +# file executable. If COMMENT is supplied, it is inserted after the
  27506. +# `#!' sequence but before initialization text begins. After this
  27507. +# macro, additional text can be appended to FILE to form the body of
  27508. +# the child script. The macro ends with non-zero status if the
  27509. +# file could not be fully written (such as if the disk is full).
  27510. +m4_ifdef([AS_INIT_GENERATED],
  27511. +[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
  27512. +[m4_defun([_LT_GENERATED_FILE_INIT],
  27513. +[m4_require([AS_PREPARE])]dnl
  27514. +[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
  27515. +[lt_write_fail=0
  27516. +cat >$1 <<_ASEOF || lt_write_fail=1
  27517. +#! $SHELL
  27518. +# Generated by $as_me.
  27519. +$2
  27520. +SHELL=\${CONFIG_SHELL-$SHELL}
  27521. +export SHELL
  27522. +_ASEOF
  27523. +cat >>$1 <<\_ASEOF || lt_write_fail=1
  27524. +AS_SHELL_SANITIZE
  27525. +_AS_PREPARE
  27526. +exec AS_MESSAGE_FD>&1
  27527. +_ASEOF
  27528. +test $lt_write_fail = 0 && chmod +x $1[]dnl
  27529. +m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
  27530. +
  27531. +# LT_OUTPUT
  27532. +# ---------
  27533. +# This macro allows early generation of the libtool script (before
  27534. +# AC_OUTPUT is called), incase it is used in configure for compilation
  27535. +# tests.
  27536. +AC_DEFUN([LT_OUTPUT],
  27537. +[: ${CONFIG_LT=./config.lt}
  27538. +AC_MSG_NOTICE([creating $CONFIG_LT])
  27539. +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
  27540. +[# Run this file to recreate a libtool stub with the current configuration.])
  27541. +
  27542. +cat >>"$CONFIG_LT" <<\_LTEOF
  27543. +lt_cl_silent=false
  27544. +exec AS_MESSAGE_LOG_FD>>config.log
  27545. +{
  27546. + echo
  27547. + AS_BOX([Running $as_me.])
  27548. +} >&AS_MESSAGE_LOG_FD
  27549. +
  27550. +lt_cl_help="\
  27551. +\`$as_me' creates a local libtool stub from the current configuration,
  27552. +for use in further configure time tests before the real libtool is
  27553. +generated.
  27554. +
  27555. +Usage: $[0] [[OPTIONS]]
  27556. +
  27557. + -h, --help print this help, then exit
  27558. + -V, --version print version number, then exit
  27559. + -q, --quiet do not print progress messages
  27560. + -d, --debug don't remove temporary files
  27561. +
  27562. +Report bugs to <bug-libtool@gnu.org>."
  27563. +
  27564. +lt_cl_version="\
  27565. +m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  27566. +m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  27567. +configured by $[0], generated by m4_PACKAGE_STRING.
  27568. +
  27569. +Copyright (C) 2010 Free Software Foundation, Inc.
  27570. +This config.lt script is free software; the Free Software Foundation
  27571. +gives unlimited permision to copy, distribute and modify it."
  27572. +
  27573. +while test $[#] != 0
  27574. +do
  27575. + case $[1] in
  27576. + --version | --v* | -V )
  27577. + echo "$lt_cl_version"; exit 0 ;;
  27578. + --help | --h* | -h )
  27579. + echo "$lt_cl_help"; exit 0 ;;
  27580. + --debug | --d* | -d )
  27581. + debug=: ;;
  27582. + --quiet | --q* | --silent | --s* | -q )
  27583. + lt_cl_silent=: ;;
  27584. +
  27585. + -*) AC_MSG_ERROR([unrecognized option: $[1]
  27586. +Try \`$[0] --help' for more information.]) ;;
  27587. +
  27588. + *) AC_MSG_ERROR([unrecognized argument: $[1]
  27589. +Try \`$[0] --help' for more information.]) ;;
  27590. + esac
  27591. + shift
  27592. +done
  27593. +
  27594. +if $lt_cl_silent; then
  27595. + exec AS_MESSAGE_FD>/dev/null
  27596. +fi
  27597. +_LTEOF
  27598. +
  27599. +cat >>"$CONFIG_LT" <<_LTEOF
  27600. +_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  27601. +_LTEOF
  27602. +
  27603. +cat >>"$CONFIG_LT" <<\_LTEOF
  27604. +AC_MSG_NOTICE([creating $ofile])
  27605. +_LT_OUTPUT_LIBTOOL_COMMANDS
  27606. +AS_EXIT(0)
  27607. +_LTEOF
  27608. +chmod +x "$CONFIG_LT"
  27609. +
  27610. +# configure is writing to config.log, but config.lt does its own redirection,
  27611. +# appending to config.log, which fails on DOS, as config.log is still kept
  27612. +# open by configure. Here we exec the FD to /dev/null, effectively closing
  27613. +# config.log, so it can be properly (re)opened and appended to by config.lt.
  27614. +lt_cl_success=:
  27615. +test "$silent" = yes &&
  27616. + lt_config_lt_args="$lt_config_lt_args --quiet"
  27617. +exec AS_MESSAGE_LOG_FD>/dev/null
  27618. +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  27619. +exec AS_MESSAGE_LOG_FD>>config.log
  27620. +$lt_cl_success || AS_EXIT(1)
  27621. +])# LT_OUTPUT
  27622. +
  27623. +
  27624. +# _LT_CONFIG(TAG)
  27625. +# ---------------
  27626. +# If TAG is the built-in tag, create an initial libtool script with a
  27627. +# default configuration from the untagged config vars. Otherwise add code
  27628. +# to config.status for appending the configuration named by TAG from the
  27629. +# matching tagged config vars.
  27630. +m4_defun([_LT_CONFIG],
  27631. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  27632. +_LT_CONFIG_SAVE_COMMANDS([
  27633. + m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
  27634. + m4_if(_LT_TAG, [C], [
  27635. + # See if we are running on zsh, and set the options which allow our
  27636. + # commands through without removal of \ escapes.
  27637. + if test -n "${ZSH_VERSION+set}" ; then
  27638. + setopt NO_GLOB_SUBST
  27639. + fi
  27640. +
  27641. + cfgfile="${ofile}T"
  27642. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  27643. + $RM "$cfgfile"
  27644. +
  27645. + cat <<_LT_EOF >> "$cfgfile"
  27646. +#! $SHELL
  27647. +
  27648. +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  27649. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  27650. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  27651. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  27652. +#
  27653. +_LT_COPYING
  27654. +_LT_LIBTOOL_TAGS
  27655. +
  27656. +# ### BEGIN LIBTOOL CONFIG
  27657. +_LT_LIBTOOL_CONFIG_VARS
  27658. +_LT_LIBTOOL_TAG_VARS
  27659. +# ### END LIBTOOL CONFIG
  27660. +
  27661. +_LT_EOF
  27662. +
  27663. + case $host_os in
  27664. + aix3*)
  27665. + cat <<\_LT_EOF >> "$cfgfile"
  27666. +# AIX sometimes has problems with the GCC collect2 program. For some
  27667. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  27668. +# vanish in a puff of smoke.
  27669. +if test "X${COLLECT_NAMES+set}" != Xset; then
  27670. + COLLECT_NAMES=
  27671. + export COLLECT_NAMES
  27672. +fi
  27673. +_LT_EOF
  27674. + ;;
  27675. + esac
  27676. +
  27677. + _LT_PROG_LTMAIN
  27678. +
  27679. + # We use sed instead of cat because bash on DJGPP gets confused if
  27680. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  27681. + # text mode, it properly converts lines to CR/LF. This bash problem
  27682. + # is reportedly fixed, but why not run on old versions too?
  27683. + sed '$q' "$ltmain" >> "$cfgfile" \
  27684. + || (rm -f "$cfgfile"; exit 1)
  27685. +
  27686. + _LT_PROG_REPLACE_SHELLFNS
  27687. +
  27688. + mv -f "$cfgfile" "$ofile" ||
  27689. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  27690. + chmod +x "$ofile"
  27691. +],
  27692. +[cat <<_LT_EOF >> "$ofile"
  27693. +
  27694. +dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
  27695. +dnl in a comment (ie after a #).
  27696. +# ### BEGIN LIBTOOL TAG CONFIG: $1
  27697. +_LT_LIBTOOL_TAG_VARS(_LT_TAG)
  27698. +# ### END LIBTOOL TAG CONFIG: $1
  27699. +_LT_EOF
  27700. +])dnl /m4_if
  27701. +],
  27702. +[m4_if([$1], [], [
  27703. + PACKAGE='$PACKAGE'
  27704. + VERSION='$VERSION'
  27705. + TIMESTAMP='$TIMESTAMP'
  27706. + RM='$RM'
  27707. + ofile='$ofile'], [])
  27708. +])dnl /_LT_CONFIG_SAVE_COMMANDS
  27709. +])# _LT_CONFIG
  27710. +
  27711. +
  27712. +# LT_SUPPORTED_TAG(TAG)
  27713. +# ---------------------
  27714. +# Trace this macro to discover what tags are supported by the libtool
  27715. +# --tag option, using:
  27716. +# autoconf --trace 'LT_SUPPORTED_TAG:$1'
  27717. +AC_DEFUN([LT_SUPPORTED_TAG], [])
  27718. +
  27719. +
  27720. +# C support is built-in for now
  27721. +m4_define([_LT_LANG_C_enabled], [])
  27722. +m4_define([_LT_TAGS], [])
  27723. +
  27724. +
  27725. +# LT_LANG(LANG)
  27726. +# -------------
  27727. +# Enable libtool support for the given language if not already enabled.
  27728. +AC_DEFUN([LT_LANG],
  27729. +[AC_BEFORE([$0], [LT_OUTPUT])dnl
  27730. +m4_case([$1],
  27731. + [C], [_LT_LANG(C)],
  27732. + [C++], [_LT_LANG(CXX)],
  27733. + [Java], [_LT_LANG(GCJ)],
  27734. + [Fortran 77], [_LT_LANG(F77)],
  27735. + [Fortran], [_LT_LANG(FC)],
  27736. + [Windows Resource], [_LT_LANG(RC)],
  27737. + [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  27738. + [_LT_LANG($1)],
  27739. + [m4_fatal([$0: unsupported language: "$1"])])])dnl
  27740. +])# LT_LANG
  27741. +
  27742. +
  27743. +# _LT_LANG(LANGNAME)
  27744. +# ------------------
  27745. +m4_defun([_LT_LANG],
  27746. +[m4_ifdef([_LT_LANG_]$1[_enabled], [],
  27747. + [LT_SUPPORTED_TAG([$1])dnl
  27748. + m4_append([_LT_TAGS], [$1 ])dnl
  27749. + m4_define([_LT_LANG_]$1[_enabled], [])dnl
  27750. + _LT_LANG_$1_CONFIG($1)])dnl
  27751. +])# _LT_LANG
  27752. +
  27753. +
  27754. +# _LT_LANG_DEFAULT_CONFIG
  27755. +# -----------------------
  27756. +m4_defun([_LT_LANG_DEFAULT_CONFIG],
  27757. +[AC_PROVIDE_IFELSE([AC_PROG_CXX],
  27758. + [LT_LANG(CXX)],
  27759. + [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
  27760. +
  27761. +AC_PROVIDE_IFELSE([AC_PROG_F77],
  27762. + [LT_LANG(F77)],
  27763. + [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
  27764. +
  27765. +AC_PROVIDE_IFELSE([AC_PROG_FC],
  27766. + [LT_LANG(FC)],
  27767. + [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
  27768. +
  27769. +dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
  27770. +dnl pulling things in needlessly.
  27771. +AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  27772. + [LT_LANG(GCJ)],
  27773. + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  27774. + [LT_LANG(GCJ)],
  27775. + [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
  27776. + [LT_LANG(GCJ)],
  27777. + [m4_ifdef([AC_PROG_GCJ],
  27778. + [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
  27779. + m4_ifdef([A][M_PROG_GCJ],
  27780. + [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
  27781. + m4_ifdef([LT_PROG_GCJ],
  27782. + [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
  27783. +
  27784. +AC_PROVIDE_IFELSE([LT_PROG_RC],
  27785. + [LT_LANG(RC)],
  27786. + [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
  27787. +])# _LT_LANG_DEFAULT_CONFIG
  27788. +
  27789. +# Obsolete macros:
  27790. +AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  27791. +AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  27792. +AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  27793. +AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  27794. +AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
  27795. +dnl aclocal-1.4 backwards compatibility:
  27796. +dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
  27797. +dnl AC_DEFUN([AC_LIBTOOL_F77], [])
  27798. +dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  27799. +dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  27800. +dnl AC_DEFUN([AC_LIBTOOL_RC], [])
  27801. +
  27802. +
  27803. +# _LT_TAG_COMPILER
  27804. +# ----------------
  27805. +m4_defun([_LT_TAG_COMPILER],
  27806. +[AC_REQUIRE([AC_PROG_CC])dnl
  27807. +
  27808. +_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
  27809. +_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
  27810. +_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
  27811. +_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
  27812. +
  27813. +# If no C compiler was specified, use CC.
  27814. +LTCC=${LTCC-"$CC"}
  27815. +
  27816. +# If no C compiler flags were specified, use CFLAGS.
  27817. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  27818. +
  27819. +# Allow CC to be a program name with arguments.
  27820. +compiler=$CC
  27821. +])# _LT_TAG_COMPILER
  27822. +
  27823. +
  27824. +# _LT_COMPILER_BOILERPLATE
  27825. +# ------------------------
  27826. +# Check for compiler boilerplate output or warnings with
  27827. +# the simple compiler test code.
  27828. +m4_defun([_LT_COMPILER_BOILERPLATE],
  27829. +[m4_require([_LT_DECL_SED])dnl
  27830. +ac_outfile=conftest.$ac_objext
  27831. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  27832. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  27833. +_lt_compiler_boilerplate=`cat conftest.err`
  27834. +$RM conftest*
  27835. +])# _LT_COMPILER_BOILERPLATE
  27836. +
  27837. +
  27838. +# _LT_LINKER_BOILERPLATE
  27839. +# ----------------------
  27840. +# Check for linker boilerplate output or warnings with
  27841. +# the simple link test code.
  27842. +m4_defun([_LT_LINKER_BOILERPLATE],
  27843. +[m4_require([_LT_DECL_SED])dnl
  27844. +ac_outfile=conftest.$ac_objext
  27845. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  27846. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  27847. +_lt_linker_boilerplate=`cat conftest.err`
  27848. +$RM -r conftest*
  27849. +])# _LT_LINKER_BOILERPLATE
  27850. +
  27851. +# _LT_REQUIRED_DARWIN_CHECKS
  27852. +# -------------------------
  27853. +m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
  27854. + case $host_os in
  27855. + rhapsody* | darwin*)
  27856. + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
  27857. + AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
  27858. + AC_CHECK_TOOL([LIPO], [lipo], [:])
  27859. + AC_CHECK_TOOL([OTOOL], [otool], [:])
  27860. + AC_CHECK_TOOL([OTOOL64], [otool64], [:])
  27861. + _LT_DECL([], [DSYMUTIL], [1],
  27862. + [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
  27863. + _LT_DECL([], [NMEDIT], [1],
  27864. + [Tool to change global to local symbols on Mac OS X])
  27865. + _LT_DECL([], [LIPO], [1],
  27866. + [Tool to manipulate fat objects and archives on Mac OS X])
  27867. + _LT_DECL([], [OTOOL], [1],
  27868. + [ldd/readelf like tool for Mach-O binaries on Mac OS X])
  27869. + _LT_DECL([], [OTOOL64], [1],
  27870. + [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
  27871. +
  27872. + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
  27873. + [lt_cv_apple_cc_single_mod=no
  27874. + if test -z "${LT_MULTI_MODULE}"; then
  27875. + # By default we will add the -single_module flag. You can override
  27876. + # by either setting the environment variable LT_MULTI_MODULE
  27877. + # non-empty at configure time, or by adding -multi_module to the
  27878. + # link flags.
  27879. + rm -rf libconftest.dylib*
  27880. + echo "int foo(void){return 1;}" > conftest.c
  27881. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  27882. +-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
  27883. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  27884. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  27885. + _lt_result=$?
  27886. + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  27887. + lt_cv_apple_cc_single_mod=yes
  27888. + else
  27889. + cat conftest.err >&AS_MESSAGE_LOG_FD
  27890. + fi
  27891. + rm -rf libconftest.dylib*
  27892. + rm -f conftest.*
  27893. + fi])
  27894. + AC_CACHE_CHECK([for -exported_symbols_list linker flag],
  27895. + [lt_cv_ld_exported_symbols_list],
  27896. + [lt_cv_ld_exported_symbols_list=no
  27897. + save_LDFLAGS=$LDFLAGS
  27898. + echo "_main" > conftest.sym
  27899. + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  27900. + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  27901. + [lt_cv_ld_exported_symbols_list=yes],
  27902. + [lt_cv_ld_exported_symbols_list=no])
  27903. + LDFLAGS="$save_LDFLAGS"
  27904. + ])
  27905. + AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
  27906. + [lt_cv_ld_force_load=no
  27907. + cat > conftest.c << _LT_EOF
  27908. +int forced_loaded() { return 2;}
  27909. +_LT_EOF
  27910. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
  27911. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
  27912. + echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
  27913. + $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
  27914. + echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
  27915. + $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
  27916. + cat > conftest.c << _LT_EOF
  27917. +int main() { return 0;}
  27918. +_LT_EOF
  27919. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
  27920. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  27921. + _lt_result=$?
  27922. + if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  27923. + lt_cv_ld_force_load=yes
  27924. + else
  27925. + cat conftest.err >&AS_MESSAGE_LOG_FD
  27926. + fi
  27927. + rm -f conftest.err libconftest.a conftest conftest.c
  27928. + rm -rf conftest.dSYM
  27929. + ])
  27930. + case $host_os in
  27931. + rhapsody* | darwin1.[[012]])
  27932. + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  27933. + darwin1.*)
  27934. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  27935. + darwin*) # darwin 5.x on
  27936. + # if running on 10.5 or later, the deployment target defaults
  27937. + # to the OS version, if on x86, and 10.4, the deployment
  27938. + # target defaults to 10.4. Don't you love it?
  27939. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  27940. + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
  27941. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  27942. + 10.[[012]]*)
  27943. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  27944. + 10.*)
  27945. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  27946. + esac
  27947. + ;;
  27948. + esac
  27949. + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  27950. + _lt_dar_single_mod='$single_module'
  27951. + fi
  27952. + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  27953. + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  27954. + else
  27955. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  27956. + fi
  27957. + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  27958. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  27959. + else
  27960. + _lt_dsymutil=
  27961. + fi
  27962. + ;;
  27963. + esac
  27964. +])
  27965. +
  27966. +
  27967. +# _LT_DARWIN_LINKER_FEATURES
  27968. +# --------------------------
  27969. +# Checks for linker and compiler features on darwin
  27970. +m4_defun([_LT_DARWIN_LINKER_FEATURES],
  27971. +[
  27972. + m4_require([_LT_REQUIRED_DARWIN_CHECKS])
  27973. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  27974. + _LT_TAGVAR(hardcode_direct, $1)=no
  27975. + _LT_TAGVAR(hardcode_automatic, $1)=yes
  27976. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  27977. + if test "$lt_cv_ld_force_load" = "yes"; then
  27978. + _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  27979. + else
  27980. + _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  27981. + fi
  27982. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  27983. + _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  27984. + case $cc_basename in
  27985. + ifort*) _lt_dar_can_shared=yes ;;
  27986. + *) _lt_dar_can_shared=$GCC ;;
  27987. + esac
  27988. + if test "$_lt_dar_can_shared" = "yes"; then
  27989. + output_verbose_link_cmd=func_echo_all
  27990. + _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}"
  27991. + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  27992. + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  27993. + _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  27994. + m4_if([$1], [CXX],
  27995. +[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  27996. + _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
  27997. + _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
  27998. + fi
  27999. +],[])
  28000. + else
  28001. + _LT_TAGVAR(ld_shlibs, $1)=no
  28002. + fi
  28003. +])
  28004. +
  28005. +# _LT_SYS_MODULE_PATH_AIX
  28006. +# -----------------------
  28007. +# Links a minimal program and checks the executable
  28008. +# for the system default hardcoded library path. In most cases,
  28009. +# this is /usr/lib:/lib, but when the MPI compilers are used
  28010. +# the location of the communication and MPI libs are included too.
  28011. +# If we don't find anything, use the default library path according
  28012. +# to the aix ld manual.
  28013. +m4_defun([_LT_SYS_MODULE_PATH_AIX],
  28014. +[m4_require([_LT_DECL_SED])dnl
  28015. +AC_LINK_IFELSE(AC_LANG_PROGRAM,[
  28016. +lt_aix_libpath_sed='
  28017. + /Import File Strings/,/^$/ {
  28018. + /^0/ {
  28019. + s/^0 *\(.*\)$/\1/
  28020. + p
  28021. + }
  28022. + }'
  28023. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  28024. +# Check for a 64-bit object if we didn't find anything.
  28025. +if test -z "$aix_libpath"; then
  28026. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  28027. +fi],[])
  28028. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  28029. +])# _LT_SYS_MODULE_PATH_AIX
  28030. +
  28031. +
  28032. +# _LT_SHELL_INIT(ARG)
  28033. +# -------------------
  28034. +m4_define([_LT_SHELL_INIT],
  28035. +[m4_divert_text([M4SH-INIT], [$1
  28036. +])])# _LT_SHELL_INIT
  28037. +
  28038. +
  28039. +
  28040. +# _LT_PROG_ECHO_BACKSLASH
  28041. +# -----------------------
  28042. +# Find how we can fake an echo command that does not interpret backslash.
  28043. +# In particular, with Autoconf 2.60 or later we add some code to the start
  28044. +# of the generated configure script which will find a shell with a builtin
  28045. +# printf (which we can use as an echo command).
  28046. +m4_defun([_LT_PROG_ECHO_BACKSLASH],
  28047. +[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  28048. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  28049. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  28050. +
  28051. +AC_MSG_CHECKING([how to print strings])
  28052. +# Test print first, because it will be a builtin if present.
  28053. +if test "X`print -r -- -n 2>/dev/null`" = X-n && \
  28054. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  28055. + ECHO='print -r --'
  28056. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  28057. + ECHO='printf %s\n'
  28058. +else
  28059. + # Use this function as a fallback that always works.
  28060. + func_fallback_echo ()
  28061. + {
  28062. + eval 'cat <<_LTECHO_EOF
  28063. +$[]1
  28064. +_LTECHO_EOF'
  28065. + }
  28066. + ECHO='func_fallback_echo'
  28067. +fi
  28068. +
  28069. +# func_echo_all arg...
  28070. +# Invoke $ECHO with all args, space-separated.
  28071. +func_echo_all ()
  28072. +{
  28073. + $ECHO "$*"
  28074. +}
  28075. +
  28076. +case "$ECHO" in
  28077. + printf*) AC_MSG_RESULT([printf]) ;;
  28078. + print*) AC_MSG_RESULT([print -r]) ;;
  28079. + *) AC_MSG_RESULT([cat]) ;;
  28080. +esac
  28081. +
  28082. +m4_ifdef([_AS_DETECT_SUGGESTED],
  28083. +[_AS_DETECT_SUGGESTED([
  28084. + test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
  28085. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  28086. + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  28087. + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  28088. + PATH=/empty FPATH=/empty; export PATH FPATH
  28089. + test "X`printf %s $ECHO`" = "X$ECHO" \
  28090. + || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
  28091. +
  28092. +_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
  28093. +_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
  28094. +])# _LT_PROG_ECHO_BACKSLASH
  28095. +
  28096. +
  28097. +# _LT_ENABLE_LOCK
  28098. +# ---------------
  28099. +m4_defun([_LT_ENABLE_LOCK],
  28100. +[AC_ARG_ENABLE([libtool-lock],
  28101. + [AS_HELP_STRING([--disable-libtool-lock],
  28102. + [avoid locking (might break parallel builds)])])
  28103. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  28104. +
  28105. +# Some flags need to be propagated to the compiler or linker for good
  28106. +# libtool support.
  28107. +case $host in
  28108. +ia64-*-hpux*)
  28109. + # Find out which ABI we are using.
  28110. + echo 'int i;' > conftest.$ac_ext
  28111. + if AC_TRY_EVAL(ac_compile); then
  28112. + case `/usr/bin/file conftest.$ac_objext` in
  28113. + *ELF-32*)
  28114. + HPUX_IA64_MODE="32"
  28115. + ;;
  28116. + *ELF-64*)
  28117. + HPUX_IA64_MODE="64"
  28118. + ;;
  28119. + esac
  28120. + fi
  28121. + rm -rf conftest*
  28122. + ;;
  28123. +*-*-irix6*)
  28124. + # Find out which ABI we are using.
  28125. + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
  28126. + if AC_TRY_EVAL(ac_compile); then
  28127. + if test "$lt_cv_prog_gnu_ld" = yes; then
  28128. + case `/usr/bin/file conftest.$ac_objext` in
  28129. + *32-bit*)
  28130. + LD="${LD-ld} -melf32bsmip"
  28131. + ;;
  28132. + *N32*)
  28133. + LD="${LD-ld} -melf32bmipn32"
  28134. + ;;
  28135. + *64-bit*)
  28136. + LD="${LD-ld} -melf64bmip"
  28137. + ;;
  28138. + esac
  28139. + else
  28140. + case `/usr/bin/file conftest.$ac_objext` in
  28141. + *32-bit*)
  28142. + LD="${LD-ld} -32"
  28143. + ;;
  28144. + *N32*)
  28145. + LD="${LD-ld} -n32"
  28146. + ;;
  28147. + *64-bit*)
  28148. + LD="${LD-ld} -64"
  28149. + ;;
  28150. + esac
  28151. + fi
  28152. + fi
  28153. + rm -rf conftest*
  28154. + ;;
  28155. +
  28156. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  28157. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  28158. + # Find out which ABI we are using.
  28159. + echo 'int i;' > conftest.$ac_ext
  28160. + if AC_TRY_EVAL(ac_compile); then
  28161. + case `/usr/bin/file conftest.o` in
  28162. + *32-bit*)
  28163. + case $host in
  28164. + x86_64-*kfreebsd*-gnu)
  28165. + LD="${LD-ld} -m elf_i386_fbsd"
  28166. + ;;
  28167. + x86_64-*linux*)
  28168. + LD="${LD-ld} -m elf_i386"
  28169. + ;;
  28170. + ppc64-*linux*|powerpc64-*linux*)
  28171. + LD="${LD-ld} -m elf32ppclinux"
  28172. + ;;
  28173. + s390x-*linux*)
  28174. + LD="${LD-ld} -m elf_s390"
  28175. + ;;
  28176. + sparc64-*linux*)
  28177. + LD="${LD-ld} -m elf32_sparc"
  28178. + ;;
  28179. + esac
  28180. + ;;
  28181. + *64-bit*)
  28182. + case $host in
  28183. + x86_64-*kfreebsd*-gnu)
  28184. + LD="${LD-ld} -m elf_x86_64_fbsd"
  28185. + ;;
  28186. + x86_64-*linux*)
  28187. + LD="${LD-ld} -m elf_x86_64"
  28188. + ;;
  28189. + ppc*-*linux*|powerpc*-*linux*)
  28190. + LD="${LD-ld} -m elf64ppc"
  28191. + ;;
  28192. + s390*-*linux*|s390*-*tpf*)
  28193. + LD="${LD-ld} -m elf64_s390"
  28194. + ;;
  28195. + sparc*-*linux*)
  28196. + LD="${LD-ld} -m elf64_sparc"
  28197. + ;;
  28198. + esac
  28199. + ;;
  28200. + esac
  28201. + fi
  28202. + rm -rf conftest*
  28203. + ;;
  28204. +
  28205. +*-*-sco3.2v5*)
  28206. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  28207. + SAVE_CFLAGS="$CFLAGS"
  28208. + CFLAGS="$CFLAGS -belf"
  28209. + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  28210. + [AC_LANG_PUSH(C)
  28211. + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  28212. + AC_LANG_POP])
  28213. + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  28214. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  28215. + CFLAGS="$SAVE_CFLAGS"
  28216. + fi
  28217. + ;;
  28218. +sparc*-*solaris*)
  28219. + # Find out which ABI we are using.
  28220. + echo 'int i;' > conftest.$ac_ext
  28221. + if AC_TRY_EVAL(ac_compile); then
  28222. + case `/usr/bin/file conftest.o` in
  28223. + *64-bit*)
  28224. + case $lt_cv_prog_gnu_ld in
  28225. + yes*) LD="${LD-ld} -m elf64_sparc" ;;
  28226. + *)
  28227. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  28228. + LD="${LD-ld} -64"
  28229. + fi
  28230. + ;;
  28231. + esac
  28232. + ;;
  28233. + esac
  28234. + fi
  28235. + rm -rf conftest*
  28236. + ;;
  28237. +esac
  28238. +
  28239. +need_locks="$enable_libtool_lock"
  28240. +])# _LT_ENABLE_LOCK
  28241. +
  28242. +
  28243. +# _LT_CMD_OLD_ARCHIVE
  28244. +# -------------------
  28245. +m4_defun([_LT_CMD_OLD_ARCHIVE],
  28246. +[AC_CHECK_TOOL(AR, ar, false)
  28247. +test -z "$AR" && AR=ar
  28248. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  28249. +_LT_DECL([], [AR], [1], [The archiver])
  28250. +_LT_DECL([], [AR_FLAGS], [1])
  28251. +
  28252. +AC_CHECK_TOOL(STRIP, strip, :)
  28253. +test -z "$STRIP" && STRIP=:
  28254. +_LT_DECL([], [STRIP], [1], [A symbol stripping program])
  28255. +
  28256. +AC_CHECK_TOOL(RANLIB, ranlib, :)
  28257. +test -z "$RANLIB" && RANLIB=:
  28258. +_LT_DECL([], [RANLIB], [1],
  28259. + [Commands used to install an old-style archive])
  28260. +
  28261. +# Determine commands to create old-style static archives.
  28262. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  28263. +old_postinstall_cmds='chmod 644 $oldlib'
  28264. +old_postuninstall_cmds=
  28265. +
  28266. +if test -n "$RANLIB"; then
  28267. + case $host_os in
  28268. + openbsd*)
  28269. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  28270. + ;;
  28271. + *)
  28272. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  28273. + ;;
  28274. + esac
  28275. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  28276. +fi
  28277. +
  28278. +case $host_os in
  28279. + darwin*)
  28280. + lock_old_archive_extraction=yes ;;
  28281. + *)
  28282. + lock_old_archive_extraction=no ;;
  28283. +esac
  28284. +_LT_DECL([], [old_postinstall_cmds], [2])
  28285. +_LT_DECL([], [old_postuninstall_cmds], [2])
  28286. +_LT_TAGDECL([], [old_archive_cmds], [2],
  28287. + [Commands used to build an old-style archive])
  28288. +_LT_DECL([], [lock_old_archive_extraction], [0],
  28289. + [Whether to use a lock for old archive extraction])
  28290. +])# _LT_CMD_OLD_ARCHIVE
  28291. +
  28292. +
  28293. +# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  28294. +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
  28295. +# ----------------------------------------------------------------
  28296. +# Check whether the given compiler option works
  28297. +AC_DEFUN([_LT_COMPILER_OPTION],
  28298. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  28299. +m4_require([_LT_DECL_SED])dnl
  28300. +AC_CACHE_CHECK([$1], [$2],
  28301. + [$2=no
  28302. + m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  28303. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  28304. + lt_compiler_flag="$3"
  28305. + # Insert the option either (1) after the last *FLAGS variable, or
  28306. + # (2) before a word containing "conftest.", or (3) at the end.
  28307. + # Note that $ac_compile itself does not contain backslashes and begins
  28308. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  28309. + # The option is referenced via a variable to avoid confusing sed.
  28310. + lt_compile=`echo "$ac_compile" | $SED \
  28311. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  28312. + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  28313. + -e 's:$: $lt_compiler_flag:'`
  28314. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  28315. + (eval "$lt_compile" 2>conftest.err)
  28316. + ac_status=$?
  28317. + cat conftest.err >&AS_MESSAGE_LOG_FD
  28318. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  28319. + if (exit $ac_status) && test -s "$ac_outfile"; then
  28320. + # The compiler can only warn and ignore the option if not recognized
  28321. + # So say no if there are warnings other than the usual output.
  28322. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  28323. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  28324. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  28325. + $2=yes
  28326. + fi
  28327. + fi
  28328. + $RM conftest*
  28329. +])
  28330. +
  28331. +if test x"[$]$2" = xyes; then
  28332. + m4_if([$5], , :, [$5])
  28333. +else
  28334. + m4_if([$6], , :, [$6])
  28335. +fi
  28336. +])# _LT_COMPILER_OPTION
  28337. +
  28338. +# Old name:
  28339. +AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
  28340. +dnl aclocal-1.4 backwards compatibility:
  28341. +dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
  28342. +
  28343. +
  28344. +# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  28345. +# [ACTION-SUCCESS], [ACTION-FAILURE])
  28346. +# ----------------------------------------------------
  28347. +# Check whether the given linker option works
  28348. +AC_DEFUN([_LT_LINKER_OPTION],
  28349. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  28350. +m4_require([_LT_DECL_SED])dnl
  28351. +AC_CACHE_CHECK([$1], [$2],
  28352. + [$2=no
  28353. + save_LDFLAGS="$LDFLAGS"
  28354. + LDFLAGS="$LDFLAGS $3"
  28355. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  28356. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  28357. + # The linker can only warn and ignore the option if not recognized
  28358. + # So say no if there are warnings
  28359. + if test -s conftest.err; then
  28360. + # Append any errors to the config.log.
  28361. + cat conftest.err 1>&AS_MESSAGE_LOG_FD
  28362. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  28363. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  28364. + if diff conftest.exp conftest.er2 >/dev/null; then
  28365. + $2=yes
  28366. + fi
  28367. + else
  28368. + $2=yes
  28369. + fi
  28370. + fi
  28371. + $RM -r conftest*
  28372. + LDFLAGS="$save_LDFLAGS"
  28373. +])
  28374. +
  28375. +if test x"[$]$2" = xyes; then
  28376. + m4_if([$4], , :, [$4])
  28377. +else
  28378. + m4_if([$5], , :, [$5])
  28379. +fi
  28380. +])# _LT_LINKER_OPTION
  28381. +
  28382. +# Old name:
  28383. +AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
  28384. +dnl aclocal-1.4 backwards compatibility:
  28385. +dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
  28386. +
  28387. +
  28388. +# LT_CMD_MAX_LEN
  28389. +#---------------
  28390. +AC_DEFUN([LT_CMD_MAX_LEN],
  28391. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  28392. +# find the maximum length of command line arguments
  28393. +AC_MSG_CHECKING([the maximum length of command line arguments])
  28394. +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  28395. + i=0
  28396. + teststring="ABCD"
  28397. +
  28398. + case $build_os in
  28399. + msdosdjgpp*)
  28400. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  28401. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  28402. + # during glob expansion). Even if it were fixed, the result of this
  28403. + # check would be larger than it should be.
  28404. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  28405. + ;;
  28406. +
  28407. + gnu*)
  28408. + # Under GNU Hurd, this test is not required because there is
  28409. + # no limit to the length of command line arguments.
  28410. + # Libtool will interpret -1 as no limit whatsoever
  28411. + lt_cv_sys_max_cmd_len=-1;
  28412. + ;;
  28413. +
  28414. + cygwin* | mingw* | cegcc*)
  28415. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  28416. + # about 5 minutes as the teststring grows exponentially.
  28417. + # Worse, since 9x/ME are not pre-emptively multitasking,
  28418. + # you end up with a "frozen" computer, even though with patience
  28419. + # the test eventually succeeds (with a max line length of 256k).
  28420. + # Instead, let's just punt: use the minimum linelength reported by
  28421. + # all of the supported platforms: 8192 (on NT/2K/XP).
  28422. + lt_cv_sys_max_cmd_len=8192;
  28423. + ;;
  28424. +
  28425. + mint*)
  28426. + # On MiNT this can take a long time and run out of memory.
  28427. + lt_cv_sys_max_cmd_len=8192;
  28428. + ;;
  28429. +
  28430. + amigaos*)
  28431. + # On AmigaOS with pdksh, this test takes hours, literally.
  28432. + # So we just punt and use a minimum line length of 8192.
  28433. + lt_cv_sys_max_cmd_len=8192;
  28434. + ;;
  28435. +
  28436. + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  28437. + # This has been around since 386BSD, at least. Likely further.
  28438. + if test -x /sbin/sysctl; then
  28439. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  28440. + elif test -x /usr/sbin/sysctl; then
  28441. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  28442. + else
  28443. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  28444. + fi
  28445. + # And add a safety zone
  28446. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  28447. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  28448. + ;;
  28449. +
  28450. + interix*)
  28451. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  28452. + lt_cv_sys_max_cmd_len=196608
  28453. + ;;
  28454. +
  28455. + osf*)
  28456. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  28457. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  28458. + # nice to cause kernel panics so lets avoid the loop below.
  28459. + # First set a reasonable default.
  28460. + lt_cv_sys_max_cmd_len=16384
  28461. + #
  28462. + if test -x /sbin/sysconfig; then
  28463. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  28464. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  28465. + esac
  28466. + fi
  28467. + ;;
  28468. + sco3.2v5*)
  28469. + lt_cv_sys_max_cmd_len=102400
  28470. + ;;
  28471. + sysv5* | sco5v6* | sysv4.2uw2*)
  28472. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  28473. + if test -n "$kargmax"; then
  28474. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
  28475. + else
  28476. + lt_cv_sys_max_cmd_len=32768
  28477. + fi
  28478. + ;;
  28479. + *)
  28480. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  28481. + if test -n "$lt_cv_sys_max_cmd_len"; then
  28482. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  28483. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  28484. + else
  28485. + # Make teststring a little bigger before we do anything with it.
  28486. + # a 1K string should be a reasonable start.
  28487. + for i in 1 2 3 4 5 6 7 8 ; do
  28488. + teststring=$teststring$teststring
  28489. + done
  28490. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  28491. + # If test is not a shell built-in, we'll probably end up computing a
  28492. + # maximum length that is only half of the actual maximum length, but
  28493. + # we can't tell.
  28494. + while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  28495. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  28496. + test $i != 17 # 1/2 MB should be enough
  28497. + do
  28498. + i=`expr $i + 1`
  28499. + teststring=$teststring$teststring
  28500. + done
  28501. + # Only check the string length outside the loop.
  28502. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  28503. + teststring=
  28504. + # Add a significant safety factor because C++ compilers can tack on
  28505. + # massive amounts of additional arguments before passing them to the
  28506. + # linker. It appears as though 1/2 is a usable value.
  28507. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  28508. + fi
  28509. + ;;
  28510. + esac
  28511. +])
  28512. +if test -n $lt_cv_sys_max_cmd_len ; then
  28513. + AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
  28514. +else
  28515. + AC_MSG_RESULT(none)
  28516. +fi
  28517. +max_cmd_len=$lt_cv_sys_max_cmd_len
  28518. +_LT_DECL([], [max_cmd_len], [0],
  28519. + [What is the maximum length of a command?])
  28520. +])# LT_CMD_MAX_LEN
  28521. +
  28522. +# Old name:
  28523. +AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
  28524. +dnl aclocal-1.4 backwards compatibility:
  28525. +dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
  28526. +
  28527. +
  28528. +# _LT_HEADER_DLFCN
  28529. +# ----------------
  28530. +m4_defun([_LT_HEADER_DLFCN],
  28531. +[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
  28532. +])# _LT_HEADER_DLFCN
  28533. +
  28534. +
  28535. +# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  28536. +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  28537. +# ----------------------------------------------------------------
  28538. +m4_defun([_LT_TRY_DLOPEN_SELF],
  28539. +[m4_require([_LT_HEADER_DLFCN])dnl
  28540. +if test "$cross_compiling" = yes; then :
  28541. + [$4]
  28542. +else
  28543. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  28544. + lt_status=$lt_dlunknown
  28545. + cat > conftest.$ac_ext <<_LT_EOF
  28546. +[#line $LINENO "configure"
  28547. +#include "confdefs.h"
  28548. +
  28549. +#if HAVE_DLFCN_H
  28550. +#include <dlfcn.h>
  28551. +#endif
  28552. +
  28553. +#include <stdio.h>
  28554. +
  28555. +#ifdef RTLD_GLOBAL
  28556. +# define LT_DLGLOBAL RTLD_GLOBAL
  28557. +#else
  28558. +# ifdef DL_GLOBAL
  28559. +# define LT_DLGLOBAL DL_GLOBAL
  28560. +# else
  28561. +# define LT_DLGLOBAL 0
  28562. +# endif
  28563. +#endif
  28564. +
  28565. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  28566. + find out it does not work in some platform. */
  28567. +#ifndef LT_DLLAZY_OR_NOW
  28568. +# ifdef RTLD_LAZY
  28569. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  28570. +# else
  28571. +# ifdef DL_LAZY
  28572. +# define LT_DLLAZY_OR_NOW DL_LAZY
  28573. +# else
  28574. +# ifdef RTLD_NOW
  28575. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  28576. +# else
  28577. +# ifdef DL_NOW
  28578. +# define LT_DLLAZY_OR_NOW DL_NOW
  28579. +# else
  28580. +# define LT_DLLAZY_OR_NOW 0
  28581. +# endif
  28582. +# endif
  28583. +# endif
  28584. +# endif
  28585. +#endif
  28586. +
  28587. +/* When -fvisbility=hidden is used, assume the code has been annotated
  28588. + correspondingly for the symbols needed. */
  28589. +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  28590. +int fnord () __attribute__((visibility("default")));
  28591. +#endif
  28592. +
  28593. +int fnord () { return 42; }
  28594. +int main ()
  28595. +{
  28596. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  28597. + int status = $lt_dlunknown;
  28598. +
  28599. + if (self)
  28600. + {
  28601. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  28602. + else
  28603. + {
  28604. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  28605. + else puts (dlerror ());
  28606. + }
  28607. + /* dlclose (self); */
  28608. + }
  28609. + else
  28610. + puts (dlerror ());
  28611. +
  28612. + return status;
  28613. +}]
  28614. +_LT_EOF
  28615. + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  28616. + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  28617. + lt_status=$?
  28618. + case x$lt_status in
  28619. + x$lt_dlno_uscore) $1 ;;
  28620. + x$lt_dlneed_uscore) $2 ;;
  28621. + x$lt_dlunknown|x*) $3 ;;
  28622. + esac
  28623. + else :
  28624. + # compilation failed
  28625. + $3
  28626. + fi
  28627. +fi
  28628. +rm -fr conftest*
  28629. +])# _LT_TRY_DLOPEN_SELF
  28630. +
  28631. +
  28632. +# LT_SYS_DLOPEN_SELF
  28633. +# ------------------
  28634. +AC_DEFUN([LT_SYS_DLOPEN_SELF],
  28635. +[m4_require([_LT_HEADER_DLFCN])dnl
  28636. +if test "x$enable_dlopen" != xyes; then
  28637. + enable_dlopen=unknown
  28638. + enable_dlopen_self=unknown
  28639. + enable_dlopen_self_static=unknown
  28640. +else
  28641. + lt_cv_dlopen=no
  28642. + lt_cv_dlopen_libs=
  28643. +
  28644. + case $host_os in
  28645. + beos*)
  28646. + lt_cv_dlopen="load_add_on"
  28647. + lt_cv_dlopen_libs=
  28648. + lt_cv_dlopen_self=yes
  28649. + ;;
  28650. +
  28651. + mingw* | pw32* | cegcc*)
  28652. + lt_cv_dlopen="LoadLibrary"
  28653. + lt_cv_dlopen_libs=
  28654. + ;;
  28655. +
  28656. + cygwin*)
  28657. + lt_cv_dlopen="dlopen"
  28658. + lt_cv_dlopen_libs=
  28659. + ;;
  28660. +
  28661. + darwin*)
  28662. + # if libdl is installed we need to link against it
  28663. + AC_CHECK_LIB([dl], [dlopen],
  28664. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
  28665. + lt_cv_dlopen="dyld"
  28666. + lt_cv_dlopen_libs=
  28667. + lt_cv_dlopen_self=yes
  28668. + ])
  28669. + ;;
  28670. +
  28671. + *)
  28672. + AC_CHECK_FUNC([shl_load],
  28673. + [lt_cv_dlopen="shl_load"],
  28674. + [AC_CHECK_LIB([dld], [shl_load],
  28675. + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
  28676. + [AC_CHECK_FUNC([dlopen],
  28677. + [lt_cv_dlopen="dlopen"],
  28678. + [AC_CHECK_LIB([dl], [dlopen],
  28679. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  28680. + [AC_CHECK_LIB([svld], [dlopen],
  28681. + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  28682. + [AC_CHECK_LIB([dld], [dld_link],
  28683. + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
  28684. + ])
  28685. + ])
  28686. + ])
  28687. + ])
  28688. + ])
  28689. + ;;
  28690. + esac
  28691. +
  28692. + if test "x$lt_cv_dlopen" != xno; then
  28693. + enable_dlopen=yes
  28694. + else
  28695. + enable_dlopen=no
  28696. + fi
  28697. +
  28698. + case $lt_cv_dlopen in
  28699. + dlopen)
  28700. + save_CPPFLAGS="$CPPFLAGS"
  28701. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  28702. +
  28703. + save_LDFLAGS="$LDFLAGS"
  28704. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  28705. +
  28706. + save_LIBS="$LIBS"
  28707. + LIBS="$lt_cv_dlopen_libs $LIBS"
  28708. +
  28709. + AC_CACHE_CHECK([whether a program can dlopen itself],
  28710. + lt_cv_dlopen_self, [dnl
  28711. + _LT_TRY_DLOPEN_SELF(
  28712. + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  28713. + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  28714. + ])
  28715. +
  28716. + if test "x$lt_cv_dlopen_self" = xyes; then
  28717. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  28718. + AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  28719. + lt_cv_dlopen_self_static, [dnl
  28720. + _LT_TRY_DLOPEN_SELF(
  28721. + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  28722. + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
  28723. + ])
  28724. + fi
  28725. +
  28726. + CPPFLAGS="$save_CPPFLAGS"
  28727. + LDFLAGS="$save_LDFLAGS"
  28728. + LIBS="$save_LIBS"
  28729. + ;;
  28730. + esac
  28731. +
  28732. + case $lt_cv_dlopen_self in
  28733. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  28734. + *) enable_dlopen_self=unknown ;;
  28735. + esac
  28736. +
  28737. + case $lt_cv_dlopen_self_static in
  28738. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  28739. + *) enable_dlopen_self_static=unknown ;;
  28740. + esac
  28741. +fi
  28742. +_LT_DECL([dlopen_support], [enable_dlopen], [0],
  28743. + [Whether dlopen is supported])
  28744. +_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
  28745. + [Whether dlopen of programs is supported])
  28746. +_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
  28747. + [Whether dlopen of statically linked programs is supported])
  28748. +])# LT_SYS_DLOPEN_SELF
  28749. +
  28750. +# Old name:
  28751. +AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
  28752. +dnl aclocal-1.4 backwards compatibility:
  28753. +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
  28754. +
  28755. +
  28756. +# _LT_COMPILER_C_O([TAGNAME])
  28757. +# ---------------------------
  28758. +# Check to see if options -c and -o are simultaneously supported by compiler.
  28759. +# This macro does not hard code the compiler like AC_PROG_CC_C_O.
  28760. +m4_defun([_LT_COMPILER_C_O],
  28761. +[m4_require([_LT_DECL_SED])dnl
  28762. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  28763. +m4_require([_LT_TAG_COMPILER])dnl
  28764. +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
  28765. + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
  28766. + [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
  28767. + $RM -r conftest 2>/dev/null
  28768. + mkdir conftest
  28769. + cd conftest
  28770. + mkdir out
  28771. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  28772. +
  28773. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  28774. + # Insert the option either (1) after the last *FLAGS variable, or
  28775. + # (2) before a word containing "conftest.", or (3) at the end.
  28776. + # Note that $ac_compile itself does not contain backslashes and begins
  28777. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  28778. + lt_compile=`echo "$ac_compile" | $SED \
  28779. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  28780. + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  28781. + -e 's:$: $lt_compiler_flag:'`
  28782. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  28783. + (eval "$lt_compile" 2>out/conftest.err)
  28784. + ac_status=$?
  28785. + cat out/conftest.err >&AS_MESSAGE_LOG_FD
  28786. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  28787. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  28788. + then
  28789. + # The compiler can only warn and ignore the option if not recognized
  28790. + # So say no if there are warnings
  28791. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  28792. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  28793. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  28794. + _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  28795. + fi
  28796. + fi
  28797. + chmod u+w . 2>&AS_MESSAGE_LOG_FD
  28798. + $RM conftest*
  28799. + # SGI C++ compiler will create directory out/ii_files/ for
  28800. + # template instantiation
  28801. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  28802. + $RM out/* && rmdir out
  28803. + cd ..
  28804. + $RM -r conftest
  28805. + $RM conftest*
  28806. +])
  28807. +_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
  28808. + [Does compiler simultaneously support -c and -o options?])
  28809. +])# _LT_COMPILER_C_O
  28810. +
  28811. +
  28812. +# _LT_COMPILER_FILE_LOCKS([TAGNAME])
  28813. +# ----------------------------------
  28814. +# Check to see if we can do hard links to lock some files if needed
  28815. +m4_defun([_LT_COMPILER_FILE_LOCKS],
  28816. +[m4_require([_LT_ENABLE_LOCK])dnl
  28817. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  28818. +_LT_COMPILER_C_O([$1])
  28819. +
  28820. +hard_links="nottested"
  28821. +if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  28822. + # do not overwrite the value of need_locks provided by the user
  28823. + AC_MSG_CHECKING([if we can lock with hard links])
  28824. + hard_links=yes
  28825. + $RM conftest*
  28826. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  28827. + touch conftest.a
  28828. + ln conftest.a conftest.b 2>&5 || hard_links=no
  28829. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  28830. + AC_MSG_RESULT([$hard_links])
  28831. + if test "$hard_links" = no; then
  28832. + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
  28833. + need_locks=warn
  28834. + fi
  28835. +else
  28836. + need_locks=no
  28837. +fi
  28838. +_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
  28839. +])# _LT_COMPILER_FILE_LOCKS
  28840. +
  28841. +
  28842. +# _LT_CHECK_OBJDIR
  28843. +# ----------------
  28844. +m4_defun([_LT_CHECK_OBJDIR],
  28845. +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
  28846. +[rm -f .libs 2>/dev/null
  28847. +mkdir .libs 2>/dev/null
  28848. +if test -d .libs; then
  28849. + lt_cv_objdir=.libs
  28850. +else
  28851. + # MS-DOS does not allow filenames that begin with a dot.
  28852. + lt_cv_objdir=_libs
  28853. +fi
  28854. +rmdir .libs 2>/dev/null])
  28855. +objdir=$lt_cv_objdir
  28856. +_LT_DECL([], [objdir], [0],
  28857. + [The name of the directory that contains temporary libtool files])dnl
  28858. +m4_pattern_allow([LT_OBJDIR])dnl
  28859. +AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
  28860. + [Define to the sub-directory in which libtool stores uninstalled libraries.])
  28861. +])# _LT_CHECK_OBJDIR
  28862. +
  28863. +
  28864. +# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
  28865. +# --------------------------------------
  28866. +# Check hardcoding attributes.
  28867. +m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
  28868. +[AC_MSG_CHECKING([how to hardcode library paths into programs])
  28869. +_LT_TAGVAR(hardcode_action, $1)=
  28870. +if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
  28871. + test -n "$_LT_TAGVAR(runpath_var, $1)" ||
  28872. + test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  28873. +
  28874. + # We can hardcode non-existent directories.
  28875. + if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
  28876. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  28877. + # have to relink, otherwise we might link with an installed library
  28878. + # when we should be linking with a yet-to-be-installed one
  28879. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  28880. + test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
  28881. + # Linking always hardcodes the temporary library directory.
  28882. + _LT_TAGVAR(hardcode_action, $1)=relink
  28883. + else
  28884. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  28885. + _LT_TAGVAR(hardcode_action, $1)=immediate
  28886. + fi
  28887. +else
  28888. + # We cannot hardcode anything, or else we can only hardcode existing
  28889. + # directories.
  28890. + _LT_TAGVAR(hardcode_action, $1)=unsupported
  28891. +fi
  28892. +AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
  28893. +
  28894. +if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
  28895. + test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
  28896. + # Fast installation is not supported
  28897. + enable_fast_install=no
  28898. +elif test "$shlibpath_overrides_runpath" = yes ||
  28899. + test "$enable_shared" = no; then
  28900. + # Fast installation is not necessary
  28901. + enable_fast_install=needless
  28902. +fi
  28903. +_LT_TAGDECL([], [hardcode_action], [0],
  28904. + [How to hardcode a shared library path into an executable])
  28905. +])# _LT_LINKER_HARDCODE_LIBPATH
  28906. +
  28907. +
  28908. +# _LT_CMD_STRIPLIB
  28909. +# ----------------
  28910. +m4_defun([_LT_CMD_STRIPLIB],
  28911. +[m4_require([_LT_DECL_EGREP])
  28912. +striplib=
  28913. +old_striplib=
  28914. +AC_MSG_CHECKING([whether stripping libraries is possible])
  28915. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  28916. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  28917. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  28918. + AC_MSG_RESULT([yes])
  28919. +else
  28920. +# FIXME - insert some real tests, host_os isn't really good enough
  28921. + case $host_os in
  28922. + darwin*)
  28923. + if test -n "$STRIP" ; then
  28924. + striplib="$STRIP -x"
  28925. + old_striplib="$STRIP -S"
  28926. + AC_MSG_RESULT([yes])
  28927. + else
  28928. + AC_MSG_RESULT([no])
  28929. + fi
  28930. + ;;
  28931. + *)
  28932. + AC_MSG_RESULT([no])
  28933. + ;;
  28934. + esac
  28935. +fi
  28936. +_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
  28937. +_LT_DECL([], [striplib], [1])
  28938. +])# _LT_CMD_STRIPLIB
  28939. +
  28940. +
  28941. +# _LT_SYS_DYNAMIC_LINKER([TAG])
  28942. +# -----------------------------
  28943. +# PORTME Fill in your ld.so characteristics
  28944. +m4_defun([_LT_SYS_DYNAMIC_LINKER],
  28945. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  28946. +m4_require([_LT_DECL_EGREP])dnl
  28947. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  28948. +m4_require([_LT_DECL_OBJDUMP])dnl
  28949. +m4_require([_LT_DECL_SED])dnl
  28950. +m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  28951. +AC_MSG_CHECKING([dynamic linker characteristics])
  28952. +m4_if([$1],
  28953. + [], [
  28954. +if test "$GCC" = yes; then
  28955. + case $host_os in
  28956. + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  28957. + *) lt_awk_arg="/^libraries:/" ;;
  28958. + esac
  28959. + case $host_os in
  28960. + mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
  28961. + *) lt_sed_strip_eq="s,=/,/,g" ;;
  28962. + esac
  28963. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  28964. + case $lt_search_path_spec in
  28965. + *\;*)
  28966. + # if the path contains ";" then we assume it to be the separator
  28967. + # otherwise default to the standard path separator (i.e. ":") - it is
  28968. + # assumed that no part of a normal pathname contains ";" but that should
  28969. + # okay in the real world where ";" in dirpaths is itself problematic.
  28970. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  28971. + ;;
  28972. + *)
  28973. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  28974. + ;;
  28975. + esac
  28976. + # Ok, now we have the path, separated by spaces, we can step through it
  28977. + # and add multilib dir if necessary.
  28978. + lt_tmp_lt_search_path_spec=
  28979. + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  28980. + for lt_sys_path in $lt_search_path_spec; do
  28981. + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  28982. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  28983. + else
  28984. + test -d "$lt_sys_path" && \
  28985. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  28986. + fi
  28987. + done
  28988. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  28989. +BEGIN {RS=" "; FS="/|\n";} {
  28990. + lt_foo="";
  28991. + lt_count=0;
  28992. + for (lt_i = NF; lt_i > 0; lt_i--) {
  28993. + if ($lt_i != "" && $lt_i != ".") {
  28994. + if ($lt_i == "..") {
  28995. + lt_count++;
  28996. + } else {
  28997. + if (lt_count == 0) {
  28998. + lt_foo="/" $lt_i lt_foo;
  28999. + } else {
  29000. + lt_count--;
  29001. + }
  29002. + }
  29003. + }
  29004. + }
  29005. + if (lt_foo != "") { lt_freq[[lt_foo]]++; }
  29006. + if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
  29007. +}'`
  29008. + # AWK program above erroneously prepends '/' to C:/dos/paths
  29009. + # for these hosts.
  29010. + case $host_os in
  29011. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  29012. + $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
  29013. + esac
  29014. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  29015. +else
  29016. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  29017. +fi])
  29018. +library_names_spec=
  29019. +libname_spec='lib$name'
  29020. +soname_spec=
  29021. +shrext_cmds=".so"
  29022. +postinstall_cmds=
  29023. +postuninstall_cmds=
  29024. +finish_cmds=
  29025. +finish_eval=
  29026. +shlibpath_var=
  29027. +shlibpath_overrides_runpath=unknown
  29028. +version_type=none
  29029. +dynamic_linker="$host_os ld.so"
  29030. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  29031. +need_lib_prefix=unknown
  29032. +hardcode_into_libs=no
  29033. +
  29034. +# when you set need_version to no, make sure it does not cause -set_version
  29035. +# flags to be left without arguments
  29036. +need_version=unknown
  29037. +
  29038. +case $host_os in
  29039. +aix3*)
  29040. + version_type=linux
  29041. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  29042. + shlibpath_var=LIBPATH
  29043. +
  29044. + # AIX 3 has no versioning support, so we append a major version to the name.
  29045. + soname_spec='${libname}${release}${shared_ext}$major'
  29046. + ;;
  29047. +
  29048. +aix[[4-9]]*)
  29049. + version_type=linux
  29050. + need_lib_prefix=no
  29051. + need_version=no
  29052. + hardcode_into_libs=yes
  29053. + if test "$host_cpu" = ia64; then
  29054. + # AIX 5 supports IA64
  29055. + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  29056. + shlibpath_var=LD_LIBRARY_PATH
  29057. + else
  29058. + # With GCC up to 2.95.x, collect2 would create an import file
  29059. + # for dependence libraries. The import file would start with
  29060. + # the line `#! .'. This would cause the generated library to
  29061. + # depend on `.', always an invalid library. This was fixed in
  29062. + # development snapshots of GCC prior to 3.0.
  29063. + case $host_os in
  29064. + aix4 | aix4.[[01]] | aix4.[[01]].*)
  29065. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  29066. + echo ' yes '
  29067. + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  29068. + :
  29069. + else
  29070. + can_build_shared=no
  29071. + fi
  29072. + ;;
  29073. + esac
  29074. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  29075. + # soname into executable. Probably we can add versioning support to
  29076. + # collect2, so additional links can be useful in future.
  29077. + if test "$aix_use_runtimelinking" = yes; then
  29078. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  29079. + # instead of lib<name>.a to let people know that these are not
  29080. + # typical AIX shared libraries.
  29081. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29082. + else
  29083. + # We preserve .a as extension for shared libraries through AIX4.2
  29084. + # and later when we are not doing run time linking.
  29085. + library_names_spec='${libname}${release}.a $libname.a'
  29086. + soname_spec='${libname}${release}${shared_ext}$major'
  29087. + fi
  29088. + shlibpath_var=LIBPATH
  29089. + fi
  29090. + ;;
  29091. +
  29092. +amigaos*)
  29093. + case $host_cpu in
  29094. + powerpc)
  29095. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  29096. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  29097. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29098. + ;;
  29099. + m68k)
  29100. + library_names_spec='$libname.ixlibrary $libname.a'
  29101. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  29102. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  29103. + ;;
  29104. + esac
  29105. + ;;
  29106. +
  29107. +beos*)
  29108. + library_names_spec='${libname}${shared_ext}'
  29109. + dynamic_linker="$host_os ld.so"
  29110. + shlibpath_var=LIBRARY_PATH
  29111. + ;;
  29112. +
  29113. +bsdi[[45]]*)
  29114. + version_type=linux
  29115. + need_version=no
  29116. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29117. + soname_spec='${libname}${release}${shared_ext}$major'
  29118. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  29119. + shlibpath_var=LD_LIBRARY_PATH
  29120. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  29121. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  29122. + # the default ld.so.conf also contains /usr/contrib/lib and
  29123. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  29124. + # libtool to hard-code these into programs
  29125. + ;;
  29126. +
  29127. +cygwin* | mingw* | pw32* | cegcc*)
  29128. + version_type=windows
  29129. + shrext_cmds=".dll"
  29130. + need_version=no
  29131. + need_lib_prefix=no
  29132. +
  29133. + case $GCC,$cc_basename in
  29134. + yes,*)
  29135. + # gcc
  29136. + library_names_spec='$libname.dll.a'
  29137. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  29138. + postinstall_cmds='base_file=`basename \${file}`~
  29139. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  29140. + dldir=$destdir/`dirname \$dlpath`~
  29141. + test -d \$dldir || mkdir -p \$dldir~
  29142. + $install_prog $dir/$dlname \$dldir/$dlname~
  29143. + chmod a+x \$dldir/$dlname~
  29144. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  29145. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  29146. + fi'
  29147. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  29148. + dlpath=$dir/\$dldll~
  29149. + $RM \$dlpath'
  29150. + shlibpath_overrides_runpath=yes
  29151. +
  29152. + case $host_os in
  29153. + cygwin*)
  29154. + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  29155. + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  29156. +m4_if([$1], [],[
  29157. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
  29158. + ;;
  29159. + mingw* | cegcc*)
  29160. + # MinGW DLLs use traditional 'lib' prefix
  29161. + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  29162. + ;;
  29163. + pw32*)
  29164. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  29165. + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  29166. + ;;
  29167. + esac
  29168. + dynamic_linker='Win32 ld.exe'
  29169. + ;;
  29170. +
  29171. + *,cl*)
  29172. + # Native MSVC
  29173. + libname_spec='$name'
  29174. + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  29175. + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}.lib'
  29176. + sys_lib_search_path_spec="$LIB"
  29177. + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
  29178. + # It is most probably a Windows format PATH.
  29179. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  29180. + else
  29181. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  29182. + fi
  29183. + # FIXME: find the short name or the path components, as spaces are
  29184. + # common. (e.g. "Program Files" -> "PROGRA~1")
  29185. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  29186. + postinstall_cmds='base_file=`basename \${file}`~
  29187. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  29188. + dldir=$destdir/`dirname \$dlpath`~
  29189. + test -d \$dldir || mkdir -p \$dldir~
  29190. + $install_prog $dir/$dlname \$dldir/$dlname'
  29191. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  29192. + dlpath=$dir/\$dldll~
  29193. + $RM \$dlpath'
  29194. + shlibpath_overrides_runpath=yes
  29195. + dynamic_linker='Win32 link.exe'
  29196. + ;;
  29197. +
  29198. + *)
  29199. + # Assume MSVC wrapper
  29200. + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
  29201. + dynamic_linker='Win32 ld.exe'
  29202. + ;;
  29203. + esac
  29204. + # FIXME: first we should search . and the directory the executable is in
  29205. + shlibpath_var=PATH
  29206. + ;;
  29207. +
  29208. +darwin* | rhapsody*)
  29209. + dynamic_linker="$host_os dyld"
  29210. + version_type=darwin
  29211. + need_lib_prefix=no
  29212. + need_version=no
  29213. + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  29214. + soname_spec='${libname}${release}${major}$shared_ext'
  29215. + shlibpath_overrides_runpath=yes
  29216. + shlibpath_var=DYLD_LIBRARY_PATH
  29217. + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  29218. +m4_if([$1], [],[
  29219. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
  29220. + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  29221. + ;;
  29222. +
  29223. +dgux*)
  29224. + version_type=linux
  29225. + need_lib_prefix=no
  29226. + need_version=no
  29227. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  29228. + soname_spec='${libname}${release}${shared_ext}$major'
  29229. + shlibpath_var=LD_LIBRARY_PATH
  29230. + ;;
  29231. +
  29232. +freebsd1*)
  29233. + dynamic_linker=no
  29234. + ;;
  29235. +
  29236. +freebsd* | dragonfly*)
  29237. + # DragonFly does not have aout. When/if they implement a new
  29238. + # versioning mechanism, adjust this.
  29239. + if test -x /usr/bin/objformat; then
  29240. + objformat=`/usr/bin/objformat`
  29241. + else
  29242. + case $host_os in
  29243. + freebsd[[123]]*) objformat=aout ;;
  29244. + *) objformat=elf ;;
  29245. + esac
  29246. + fi
  29247. + version_type=freebsd-$objformat
  29248. + case $version_type in
  29249. + freebsd-elf*)
  29250. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  29251. + need_version=no
  29252. + need_lib_prefix=no
  29253. + ;;
  29254. + freebsd-*)
  29255. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  29256. + need_version=yes
  29257. + ;;
  29258. + esac
  29259. + shlibpath_var=LD_LIBRARY_PATH
  29260. + case $host_os in
  29261. + freebsd2*)
  29262. + shlibpath_overrides_runpath=yes
  29263. + ;;
  29264. + freebsd3.[[01]]* | freebsdelf3.[[01]]*)
  29265. + shlibpath_overrides_runpath=yes
  29266. + hardcode_into_libs=yes
  29267. + ;;
  29268. + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
  29269. + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
  29270. + shlibpath_overrides_runpath=no
  29271. + hardcode_into_libs=yes
  29272. + ;;
  29273. + *) # from 4.6 on, and DragonFly
  29274. + shlibpath_overrides_runpath=yes
  29275. + hardcode_into_libs=yes
  29276. + ;;
  29277. + esac
  29278. + ;;
  29279. +
  29280. +gnu*)
  29281. + version_type=linux
  29282. + need_lib_prefix=no
  29283. + need_version=no
  29284. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  29285. + soname_spec='${libname}${release}${shared_ext}$major'
  29286. + shlibpath_var=LD_LIBRARY_PATH
  29287. + hardcode_into_libs=yes
  29288. + ;;
  29289. +
  29290. +haiku*)
  29291. + version_type=linux
  29292. + need_lib_prefix=no
  29293. + need_version=no
  29294. + dynamic_linker="$host_os runtime_loader"
  29295. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  29296. + soname_spec='${libname}${release}${shared_ext}$major'
  29297. + shlibpath_var=LIBRARY_PATH
  29298. + shlibpath_overrides_runpath=yes
  29299. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  29300. + hardcode_into_libs=yes
  29301. + ;;
  29302. +
  29303. +hpux9* | hpux10* | hpux11*)
  29304. + # Give a soname corresponding to the major version so that dld.sl refuses to
  29305. + # link against other versions.
  29306. + version_type=sunos
  29307. + need_lib_prefix=no
  29308. + need_version=no
  29309. + case $host_cpu in
  29310. + ia64*)
  29311. + shrext_cmds='.so'
  29312. + hardcode_into_libs=yes
  29313. + dynamic_linker="$host_os dld.so"
  29314. + shlibpath_var=LD_LIBRARY_PATH
  29315. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  29316. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29317. + soname_spec='${libname}${release}${shared_ext}$major'
  29318. + if test "X$HPUX_IA64_MODE" = X32; then
  29319. + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  29320. + else
  29321. + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  29322. + fi
  29323. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  29324. + ;;
  29325. + hppa*64*)
  29326. + shrext_cmds='.sl'
  29327. + hardcode_into_libs=yes
  29328. + dynamic_linker="$host_os dld.sl"
  29329. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  29330. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  29331. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29332. + soname_spec='${libname}${release}${shared_ext}$major'
  29333. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  29334. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  29335. + ;;
  29336. + *)
  29337. + shrext_cmds='.sl'
  29338. + dynamic_linker="$host_os dld.sl"
  29339. + shlibpath_var=SHLIB_PATH
  29340. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  29341. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29342. + soname_spec='${libname}${release}${shared_ext}$major'
  29343. + ;;
  29344. + esac
  29345. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  29346. + postinstall_cmds='chmod 555 $lib'
  29347. + # or fails outright, so override atomically:
  29348. + install_override_mode=555
  29349. + ;;
  29350. +
  29351. +interix[[3-9]]*)
  29352. + version_type=linux
  29353. + need_lib_prefix=no
  29354. + need_version=no
  29355. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  29356. + soname_spec='${libname}${release}${shared_ext}$major'
  29357. + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  29358. + shlibpath_var=LD_LIBRARY_PATH
  29359. + shlibpath_overrides_runpath=no
  29360. + hardcode_into_libs=yes
  29361. + ;;
  29362. +
  29363. +irix5* | irix6* | nonstopux*)
  29364. + case $host_os in
  29365. + nonstopux*) version_type=nonstopux ;;
  29366. + *)
  29367. + if test "$lt_cv_prog_gnu_ld" = yes; then
  29368. + version_type=linux
  29369. + else
  29370. + version_type=irix
  29371. + fi ;;
  29372. + esac
  29373. + need_lib_prefix=no
  29374. + need_version=no
  29375. + soname_spec='${libname}${release}${shared_ext}$major'
  29376. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  29377. + case $host_os in
  29378. + irix5* | nonstopux*)
  29379. + libsuff= shlibsuff=
  29380. + ;;
  29381. + *)
  29382. + case $LD in # libtool.m4 will add one of these switches to LD
  29383. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  29384. + libsuff= shlibsuff= libmagic=32-bit;;
  29385. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  29386. + libsuff=32 shlibsuff=N32 libmagic=N32;;
  29387. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  29388. + libsuff=64 shlibsuff=64 libmagic=64-bit;;
  29389. + *) libsuff= shlibsuff= libmagic=never-match;;
  29390. + esac
  29391. + ;;
  29392. + esac
  29393. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  29394. + shlibpath_overrides_runpath=no
  29395. + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  29396. + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  29397. + hardcode_into_libs=yes
  29398. + ;;
  29399. +
  29400. +# No shared lib support for Linux oldld, aout, or coff.
  29401. +linux*oldld* | linux*aout* | linux*coff*)
  29402. + dynamic_linker=no
  29403. + ;;
  29404. +
  29405. +# This must be Linux ELF.
  29406. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  29407. + version_type=linux
  29408. + need_lib_prefix=no
  29409. + need_version=no
  29410. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29411. + soname_spec='${libname}${release}${shared_ext}$major'
  29412. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  29413. + shlibpath_var=LD_LIBRARY_PATH
  29414. + shlibpath_overrides_runpath=no
  29415. +
  29416. + # Some binutils ld are patched to set DT_RUNPATH
  29417. + AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
  29418. + [lt_cv_shlibpath_overrides_runpath=no
  29419. + save_LDFLAGS=$LDFLAGS
  29420. + save_libdir=$libdir
  29421. + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  29422. + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  29423. + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  29424. + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  29425. + [lt_cv_shlibpath_overrides_runpath=yes])])
  29426. + LDFLAGS=$save_LDFLAGS
  29427. + libdir=$save_libdir
  29428. + ])
  29429. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  29430. +
  29431. + # This implies no fast_install, which is unacceptable.
  29432. + # Some rework will be needed to allow for fast_install
  29433. + # before this can be enabled.
  29434. + hardcode_into_libs=yes
  29435. +
  29436. + # Append ld.so.conf contents to the search path
  29437. + if test -f /etc/ld.so.conf; then
  29438. + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  29439. + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  29440. + fi
  29441. +
  29442. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  29443. + # powerpc, because MkLinux only supported shared libraries with the
  29444. + # GNU dynamic linker. Since this was broken with cross compilers,
  29445. + # most powerpc-linux boxes support dynamic linking these days and
  29446. + # people can always --disable-shared, the test was removed, and we
  29447. + # assume the GNU/Linux dynamic linker is in use.
  29448. + dynamic_linker='GNU/Linux ld.so'
  29449. + ;;
  29450. +
  29451. +netbsd*)
  29452. + version_type=sunos
  29453. + need_lib_prefix=no
  29454. + need_version=no
  29455. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  29456. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  29457. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  29458. + dynamic_linker='NetBSD (a.out) ld.so'
  29459. + else
  29460. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  29461. + soname_spec='${libname}${release}${shared_ext}$major'
  29462. + dynamic_linker='NetBSD ld.elf_so'
  29463. + fi
  29464. + shlibpath_var=LD_LIBRARY_PATH
  29465. + shlibpath_overrides_runpath=yes
  29466. + hardcode_into_libs=yes
  29467. + ;;
  29468. +
  29469. +newsos6)
  29470. + version_type=linux
  29471. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29472. + shlibpath_var=LD_LIBRARY_PATH
  29473. + shlibpath_overrides_runpath=yes
  29474. + ;;
  29475. +
  29476. +*nto* | *qnx*)
  29477. + version_type=qnx
  29478. + need_lib_prefix=no
  29479. + need_version=no
  29480. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29481. + soname_spec='${libname}${release}${shared_ext}$major'
  29482. + shlibpath_var=LD_LIBRARY_PATH
  29483. + shlibpath_overrides_runpath=no
  29484. + hardcode_into_libs=yes
  29485. + dynamic_linker='ldqnx.so'
  29486. + ;;
  29487. +
  29488. +openbsd*)
  29489. + version_type=sunos
  29490. + sys_lib_dlsearch_path_spec="/usr/lib"
  29491. + need_lib_prefix=no
  29492. + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  29493. + case $host_os in
  29494. + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  29495. + *) need_version=no ;;
  29496. + esac
  29497. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  29498. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  29499. + shlibpath_var=LD_LIBRARY_PATH
  29500. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  29501. + case $host_os in
  29502. + openbsd2.[[89]] | openbsd2.[[89]].*)
  29503. + shlibpath_overrides_runpath=no
  29504. + ;;
  29505. + *)
  29506. + shlibpath_overrides_runpath=yes
  29507. + ;;
  29508. + esac
  29509. + else
  29510. + shlibpath_overrides_runpath=yes
  29511. + fi
  29512. + ;;
  29513. +
  29514. +os2*)
  29515. + libname_spec='$name'
  29516. + shrext_cmds=".dll"
  29517. + need_lib_prefix=no
  29518. + library_names_spec='$libname${shared_ext} $libname.a'
  29519. + dynamic_linker='OS/2 ld.exe'
  29520. + shlibpath_var=LIBPATH
  29521. + ;;
  29522. +
  29523. +osf3* | osf4* | osf5*)
  29524. + version_type=osf
  29525. + need_lib_prefix=no
  29526. + need_version=no
  29527. + soname_spec='${libname}${release}${shared_ext}$major'
  29528. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29529. + shlibpath_var=LD_LIBRARY_PATH
  29530. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  29531. + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  29532. + ;;
  29533. +
  29534. +rdos*)
  29535. + dynamic_linker=no
  29536. + ;;
  29537. +
  29538. +solaris*)
  29539. + version_type=linux
  29540. + need_lib_prefix=no
  29541. + need_version=no
  29542. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29543. + soname_spec='${libname}${release}${shared_ext}$major'
  29544. + shlibpath_var=LD_LIBRARY_PATH
  29545. + shlibpath_overrides_runpath=yes
  29546. + hardcode_into_libs=yes
  29547. + # ldd complains unless libraries are executable
  29548. + postinstall_cmds='chmod +x $lib'
  29549. + ;;
  29550. +
  29551. +sunos4*)
  29552. + version_type=sunos
  29553. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  29554. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  29555. + shlibpath_var=LD_LIBRARY_PATH
  29556. + shlibpath_overrides_runpath=yes
  29557. + if test "$with_gnu_ld" = yes; then
  29558. + need_lib_prefix=no
  29559. + fi
  29560. + need_version=yes
  29561. + ;;
  29562. +
  29563. +sysv4 | sysv4.3*)
  29564. + version_type=linux
  29565. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29566. + soname_spec='${libname}${release}${shared_ext}$major'
  29567. + shlibpath_var=LD_LIBRARY_PATH
  29568. + case $host_vendor in
  29569. + sni)
  29570. + shlibpath_overrides_runpath=no
  29571. + need_lib_prefix=no
  29572. + runpath_var=LD_RUN_PATH
  29573. + ;;
  29574. + siemens)
  29575. + need_lib_prefix=no
  29576. + ;;
  29577. + motorola)
  29578. + need_lib_prefix=no
  29579. + need_version=no
  29580. + shlibpath_overrides_runpath=no
  29581. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  29582. + ;;
  29583. + esac
  29584. + ;;
  29585. +
  29586. +sysv4*MP*)
  29587. + if test -d /usr/nec ;then
  29588. + version_type=linux
  29589. + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  29590. + soname_spec='$libname${shared_ext}.$major'
  29591. + shlibpath_var=LD_LIBRARY_PATH
  29592. + fi
  29593. + ;;
  29594. +
  29595. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  29596. + version_type=freebsd-elf
  29597. + need_lib_prefix=no
  29598. + need_version=no
  29599. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  29600. + soname_spec='${libname}${release}${shared_ext}$major'
  29601. + shlibpath_var=LD_LIBRARY_PATH
  29602. + shlibpath_overrides_runpath=yes
  29603. + hardcode_into_libs=yes
  29604. + if test "$with_gnu_ld" = yes; then
  29605. + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  29606. + else
  29607. + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  29608. + case $host_os in
  29609. + sco3.2v5*)
  29610. + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  29611. + ;;
  29612. + esac
  29613. + fi
  29614. + sys_lib_dlsearch_path_spec='/usr/lib'
  29615. + ;;
  29616. +
  29617. +tpf*)
  29618. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  29619. + version_type=linux
  29620. + need_lib_prefix=no
  29621. + need_version=no
  29622. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29623. + shlibpath_var=LD_LIBRARY_PATH
  29624. + shlibpath_overrides_runpath=no
  29625. + hardcode_into_libs=yes
  29626. + ;;
  29627. +
  29628. +uts4*)
  29629. + version_type=linux
  29630. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  29631. + soname_spec='${libname}${release}${shared_ext}$major'
  29632. + shlibpath_var=LD_LIBRARY_PATH
  29633. + ;;
  29634. +
  29635. +*)
  29636. + dynamic_linker=no
  29637. + ;;
  29638. +esac
  29639. +AC_MSG_RESULT([$dynamic_linker])
  29640. +test "$dynamic_linker" = no && can_build_shared=no
  29641. +
  29642. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  29643. +if test "$GCC" = yes; then
  29644. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  29645. +fi
  29646. +
  29647. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  29648. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  29649. +fi
  29650. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  29651. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  29652. +fi
  29653. +
  29654. +_LT_DECL([], [variables_saved_for_relink], [1],
  29655. + [Variables whose values should be saved in libtool wrapper scripts and
  29656. + restored at link time])
  29657. +_LT_DECL([], [need_lib_prefix], [0],
  29658. + [Do we need the "lib" prefix for modules?])
  29659. +_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
  29660. +_LT_DECL([], [version_type], [0], [Library versioning type])
  29661. +_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable])
  29662. +_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
  29663. +_LT_DECL([], [shlibpath_overrides_runpath], [0],
  29664. + [Is shlibpath searched before the hard-coded library search path?])
  29665. +_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
  29666. +_LT_DECL([], [library_names_spec], [1],
  29667. + [[List of archive names. First name is the real one, the rest are links.
  29668. + The last name is the one that the linker finds with -lNAME]])
  29669. +_LT_DECL([], [soname_spec], [1],
  29670. + [[The coded name of the library, if different from the real name]])
  29671. +_LT_DECL([], [install_override_mode], [1],
  29672. + [Permission mode override for installation of shared libraries])
  29673. +_LT_DECL([], [postinstall_cmds], [2],
  29674. + [Command to use after installation of a shared archive])
  29675. +_LT_DECL([], [postuninstall_cmds], [2],
  29676. + [Command to use after uninstallation of a shared archive])
  29677. +_LT_DECL([], [finish_cmds], [2],
  29678. + [Commands used to finish a libtool library installation in a directory])
  29679. +_LT_DECL([], [finish_eval], [1],
  29680. + [[As "finish_cmds", except a single script fragment to be evaled but
  29681. + not shown]])
  29682. +_LT_DECL([], [hardcode_into_libs], [0],
  29683. + [Whether we should hardcode library paths into libraries])
  29684. +_LT_DECL([], [sys_lib_search_path_spec], [2],
  29685. + [Compile-time system search path for libraries])
  29686. +_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
  29687. + [Run-time system search path for libraries])
  29688. +])# _LT_SYS_DYNAMIC_LINKER
  29689. +
  29690. +
  29691. +# _LT_PATH_TOOL_PREFIX(TOOL)
  29692. +# --------------------------
  29693. +# find a file program which can recognize shared library
  29694. +AC_DEFUN([_LT_PATH_TOOL_PREFIX],
  29695. +[m4_require([_LT_DECL_EGREP])dnl
  29696. +AC_MSG_CHECKING([for $1])
  29697. +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  29698. +[case $MAGIC_CMD in
  29699. +[[\\/*] | ?:[\\/]*])
  29700. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  29701. + ;;
  29702. +*)
  29703. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  29704. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  29705. +dnl $ac_dummy forces splitting on constant user-supplied paths.
  29706. +dnl POSIX.2 word splitting is done only on the output of word expansions,
  29707. +dnl not every word. This closes a longstanding sh security hole.
  29708. + ac_dummy="m4_if([$2], , $PATH, [$2])"
  29709. + for ac_dir in $ac_dummy; do
  29710. + IFS="$lt_save_ifs"
  29711. + test -z "$ac_dir" && ac_dir=.
  29712. + if test -f $ac_dir/$1; then
  29713. + lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  29714. + if test -n "$file_magic_test_file"; then
  29715. + case $deplibs_check_method in
  29716. + "file_magic "*)
  29717. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  29718. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  29719. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  29720. + $EGREP "$file_magic_regex" > /dev/null; then
  29721. + :
  29722. + else
  29723. + cat <<_LT_EOF 1>&2
  29724. +
  29725. +*** Warning: the command libtool uses to detect shared libraries,
  29726. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  29727. +*** The result is that libtool may fail to recognize shared libraries
  29728. +*** as such. This will affect the creation of libtool libraries that
  29729. +*** depend on shared libraries, but programs linked with such libtool
  29730. +*** libraries will work regardless of this problem. Nevertheless, you
  29731. +*** may want to report the problem to your system manager and/or to
  29732. +*** bug-libtool@gnu.org
  29733. +
  29734. +_LT_EOF
  29735. + fi ;;
  29736. + esac
  29737. + fi
  29738. + break
  29739. + fi
  29740. + done
  29741. + IFS="$lt_save_ifs"
  29742. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  29743. + ;;
  29744. +esac])
  29745. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  29746. +if test -n "$MAGIC_CMD"; then
  29747. + AC_MSG_RESULT($MAGIC_CMD)
  29748. +else
  29749. + AC_MSG_RESULT(no)
  29750. +fi
  29751. +_LT_DECL([], [MAGIC_CMD], [0],
  29752. + [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  29753. +])# _LT_PATH_TOOL_PREFIX
  29754. +
  29755. +# Old name:
  29756. +AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
  29757. +dnl aclocal-1.4 backwards compatibility:
  29758. +dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
  29759. +
  29760. +
  29761. +# _LT_PATH_MAGIC
  29762. +# --------------
  29763. +# find a file program which can recognize a shared library
  29764. +m4_defun([_LT_PATH_MAGIC],
  29765. +[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  29766. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  29767. + if test -n "$ac_tool_prefix"; then
  29768. + _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  29769. + else
  29770. + MAGIC_CMD=:
  29771. + fi
  29772. +fi
  29773. +])# _LT_PATH_MAGIC
  29774. +
  29775. +
  29776. +# LT_PATH_LD
  29777. +# ----------
  29778. +# find the pathname to the GNU or non-GNU linker
  29779. +AC_DEFUN([LT_PATH_LD],
  29780. +[AC_REQUIRE([AC_PROG_CC])dnl
  29781. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  29782. +AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  29783. +m4_require([_LT_DECL_SED])dnl
  29784. +m4_require([_LT_DECL_EGREP])dnl
  29785. +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
  29786. +
  29787. +AC_ARG_WITH([gnu-ld],
  29788. + [AS_HELP_STRING([--with-gnu-ld],
  29789. + [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  29790. + [test "$withval" = no || with_gnu_ld=yes],
  29791. + [with_gnu_ld=no])dnl
  29792. +
  29793. +ac_prog=ld
  29794. +if test "$GCC" = yes; then
  29795. + # Check if gcc -print-prog-name=ld gives a path.
  29796. + AC_MSG_CHECKING([for ld used by $CC])
  29797. + case $host in
  29798. + *-*-mingw*)
  29799. + # gcc leaves a trailing carriage return which upsets mingw
  29800. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  29801. + *)
  29802. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  29803. + esac
  29804. + case $ac_prog in
  29805. + # Accept absolute paths.
  29806. + [[\\/]]* | ?:[[\\/]]*)
  29807. + re_direlt='/[[^/]][[^/]]*/\.\./'
  29808. + # Canonicalize the pathname of ld
  29809. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  29810. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  29811. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  29812. + done
  29813. + test -z "$LD" && LD="$ac_prog"
  29814. + ;;
  29815. + "")
  29816. + # If it fails, then pretend we aren't using GCC.
  29817. + ac_prog=ld
  29818. + ;;
  29819. + *)
  29820. + # If it is relative, then search for the first ld in PATH.
  29821. + with_gnu_ld=unknown
  29822. + ;;
  29823. + esac
  29824. +elif test "$with_gnu_ld" = yes; then
  29825. + AC_MSG_CHECKING([for GNU ld])
  29826. +else
  29827. + AC_MSG_CHECKING([for non-GNU ld])
  29828. +fi
  29829. +AC_CACHE_VAL(lt_cv_path_LD,
  29830. +[if test -z "$LD"; then
  29831. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  29832. + for ac_dir in $PATH; do
  29833. + IFS="$lt_save_ifs"
  29834. + test -z "$ac_dir" && ac_dir=.
  29835. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  29836. + lt_cv_path_LD="$ac_dir/$ac_prog"
  29837. + # Check to see if the program is GNU ld. I'd rather use --version,
  29838. + # but apparently some variants of GNU ld only accept -v.
  29839. + # Break only if it was the GNU/non-GNU ld that we prefer.
  29840. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  29841. + *GNU* | *'with BFD'*)
  29842. + test "$with_gnu_ld" != no && break
  29843. + ;;
  29844. + *)
  29845. + test "$with_gnu_ld" != yes && break
  29846. + ;;
  29847. + esac
  29848. + fi
  29849. + done
  29850. + IFS="$lt_save_ifs"
  29851. +else
  29852. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  29853. +fi])
  29854. +LD="$lt_cv_path_LD"
  29855. +if test -n "$LD"; then
  29856. + AC_MSG_RESULT($LD)
  29857. +else
  29858. + AC_MSG_RESULT(no)
  29859. +fi
  29860. +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  29861. +_LT_PATH_LD_GNU
  29862. +AC_SUBST([LD])
  29863. +
  29864. +_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  29865. +])# LT_PATH_LD
  29866. +
  29867. +# Old names:
  29868. +AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
  29869. +AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
  29870. +dnl aclocal-1.4 backwards compatibility:
  29871. +dnl AC_DEFUN([AM_PROG_LD], [])
  29872. +dnl AC_DEFUN([AC_PROG_LD], [])
  29873. +
  29874. +
  29875. +# _LT_PATH_LD_GNU
  29876. +#- --------------
  29877. +m4_defun([_LT_PATH_LD_GNU],
  29878. +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  29879. +[# I'd rather use --version here, but apparently some GNU lds only accept -v.
  29880. +case `$LD -v 2>&1 </dev/null` in
  29881. +*GNU* | *'with BFD'*)
  29882. + lt_cv_prog_gnu_ld=yes
  29883. + ;;
  29884. +*)
  29885. + lt_cv_prog_gnu_ld=no
  29886. + ;;
  29887. +esac])
  29888. +with_gnu_ld=$lt_cv_prog_gnu_ld
  29889. +])# _LT_PATH_LD_GNU
  29890. +
  29891. +
  29892. +# _LT_CMD_RELOAD
  29893. +# --------------
  29894. +# find reload flag for linker
  29895. +# -- PORTME Some linkers may need a different reload flag.
  29896. +m4_defun([_LT_CMD_RELOAD],
  29897. +[AC_CACHE_CHECK([for $LD option to reload object files],
  29898. + lt_cv_ld_reload_flag,
  29899. + [lt_cv_ld_reload_flag='-r'])
  29900. +reload_flag=$lt_cv_ld_reload_flag
  29901. +case $reload_flag in
  29902. +"" | " "*) ;;
  29903. +*) reload_flag=" $reload_flag" ;;
  29904. +esac
  29905. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  29906. +case $host_os in
  29907. + darwin*)
  29908. + if test "$GCC" = yes; then
  29909. + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  29910. + else
  29911. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  29912. + fi
  29913. + ;;
  29914. +esac
  29915. +_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  29916. +_LT_TAGDECL([], [reload_cmds], [2])dnl
  29917. +])# _LT_CMD_RELOAD
  29918. +
  29919. +
  29920. +# _LT_CHECK_MAGIC_METHOD
  29921. +# ----------------------
  29922. +# how to check for library dependencies
  29923. +# -- PORTME fill in with the dynamic library characteristics
  29924. +m4_defun([_LT_CHECK_MAGIC_METHOD],
  29925. +[m4_require([_LT_DECL_EGREP])
  29926. +m4_require([_LT_DECL_OBJDUMP])
  29927. +AC_CACHE_CHECK([how to recognize dependent libraries],
  29928. +lt_cv_deplibs_check_method,
  29929. +[lt_cv_file_magic_cmd='$MAGIC_CMD'
  29930. +lt_cv_file_magic_test_file=
  29931. +lt_cv_deplibs_check_method='unknown'
  29932. +# Need to set the preceding variable on all platforms that support
  29933. +# interlibrary dependencies.
  29934. +# 'none' -- dependencies not supported.
  29935. +# `unknown' -- same as none, but documents that we really don't know.
  29936. +# 'pass_all' -- all dependencies passed with no checks.
  29937. +# 'test_compile' -- check by making test program.
  29938. +# 'file_magic [[regex]]' -- check by looking for files in library path
  29939. +# which responds to the $file_magic_cmd with a given extended regex.
  29940. +# If you have `file' or equivalent on your system and you're not sure
  29941. +# whether `pass_all' will *always* work, you probably want this one.
  29942. +
  29943. +case $host_os in
  29944. +aix[[4-9]]*)
  29945. + lt_cv_deplibs_check_method=pass_all
  29946. + ;;
  29947. +
  29948. +beos*)
  29949. + lt_cv_deplibs_check_method=pass_all
  29950. + ;;
  29951. +
  29952. +bsdi[[45]]*)
  29953. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
  29954. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  29955. + lt_cv_file_magic_test_file=/shlib/libc.so
  29956. + ;;
  29957. +
  29958. +cygwin*)
  29959. + # func_win32_libid is a shell function defined in ltmain.sh
  29960. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  29961. + lt_cv_file_magic_cmd='func_win32_libid'
  29962. + ;;
  29963. +
  29964. +mingw* | pw32*)
  29965. + # Base MSYS/MinGW do not provide the 'file' command needed by
  29966. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  29967. + # unless we find 'file', for example because we are cross-compiling.
  29968. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  29969. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  29970. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  29971. + lt_cv_file_magic_cmd='func_win32_libid'
  29972. + else
  29973. + # Keep this pattern in sync with the one in func_win32_libid.
  29974. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  29975. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  29976. + fi
  29977. + ;;
  29978. +
  29979. +cegcc*)
  29980. + # use the weaker test based on 'objdump'. See mingw*.
  29981. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  29982. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  29983. + ;;
  29984. +
  29985. +darwin* | rhapsody*)
  29986. + lt_cv_deplibs_check_method=pass_all
  29987. + ;;
  29988. +
  29989. +freebsd* | dragonfly*)
  29990. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  29991. + case $host_cpu in
  29992. + i*86 )
  29993. + # Not sure whether the presence of OpenBSD here was a mistake.
  29994. + # Let's accept both of them until this is cleared up.
  29995. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
  29996. + lt_cv_file_magic_cmd=/usr/bin/file
  29997. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  29998. + ;;
  29999. + esac
  30000. + else
  30001. + lt_cv_deplibs_check_method=pass_all
  30002. + fi
  30003. + ;;
  30004. +
  30005. +gnu*)
  30006. + lt_cv_deplibs_check_method=pass_all
  30007. + ;;
  30008. +
  30009. +haiku*)
  30010. + lt_cv_deplibs_check_method=pass_all
  30011. + ;;
  30012. +
  30013. +hpux10.20* | hpux11*)
  30014. + lt_cv_file_magic_cmd=/usr/bin/file
  30015. + case $host_cpu in
  30016. + ia64*)
  30017. + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
  30018. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  30019. + ;;
  30020. + hppa*64*)
  30021. + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
  30022. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  30023. + ;;
  30024. + *)
  30025. + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
  30026. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  30027. + ;;
  30028. + esac
  30029. + ;;
  30030. +
  30031. +interix[[3-9]]*)
  30032. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  30033. + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
  30034. + ;;
  30035. +
  30036. +irix5* | irix6* | nonstopux*)
  30037. + case $LD in
  30038. + *-32|*"-32 ") libmagic=32-bit;;
  30039. + *-n32|*"-n32 ") libmagic=N32;;
  30040. + *-64|*"-64 ") libmagic=64-bit;;
  30041. + *) libmagic=never-match;;
  30042. + esac
  30043. + lt_cv_deplibs_check_method=pass_all
  30044. + ;;
  30045. +
  30046. +# This must be Linux ELF.
  30047. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  30048. + lt_cv_deplibs_check_method=pass_all
  30049. + ;;
  30050. +
  30051. +netbsd*)
  30052. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  30053. + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  30054. + else
  30055. + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
  30056. + fi
  30057. + ;;
  30058. +
  30059. +newos6*)
  30060. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
  30061. + lt_cv_file_magic_cmd=/usr/bin/file
  30062. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  30063. + ;;
  30064. +
  30065. +*nto* | *qnx*)
  30066. + lt_cv_deplibs_check_method=pass_all
  30067. + ;;
  30068. +
  30069. +openbsd*)
  30070. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  30071. + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
  30072. + else
  30073. + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  30074. + fi
  30075. + ;;
  30076. +
  30077. +osf3* | osf4* | osf5*)
  30078. + lt_cv_deplibs_check_method=pass_all
  30079. + ;;
  30080. +
  30081. +rdos*)
  30082. + lt_cv_deplibs_check_method=pass_all
  30083. + ;;
  30084. +
  30085. +solaris*)
  30086. + lt_cv_deplibs_check_method=pass_all
  30087. + ;;
  30088. +
  30089. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  30090. + lt_cv_deplibs_check_method=pass_all
  30091. + ;;
  30092. +
  30093. +sysv4 | sysv4.3*)
  30094. + case $host_vendor in
  30095. + motorola)
  30096. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
  30097. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  30098. + ;;
  30099. + ncr)
  30100. + lt_cv_deplibs_check_method=pass_all
  30101. + ;;
  30102. + sequent)
  30103. + lt_cv_file_magic_cmd='/bin/file'
  30104. + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
  30105. + ;;
  30106. + sni)
  30107. + lt_cv_file_magic_cmd='/bin/file'
  30108. + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
  30109. + lt_cv_file_magic_test_file=/lib/libc.so
  30110. + ;;
  30111. + siemens)
  30112. + lt_cv_deplibs_check_method=pass_all
  30113. + ;;
  30114. + pc)
  30115. + lt_cv_deplibs_check_method=pass_all
  30116. + ;;
  30117. + esac
  30118. + ;;
  30119. +
  30120. +tpf*)
  30121. + lt_cv_deplibs_check_method=pass_all
  30122. + ;;
  30123. +esac
  30124. +])
  30125. +
  30126. +file_magic_glob=
  30127. +want_nocaseglob=no
  30128. +if test "$build" = "$host"; then
  30129. + case $host_os in
  30130. + mingw* | pw32*)
  30131. + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  30132. + want_nocaseglob=yes
  30133. + else
  30134. + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
  30135. + fi
  30136. + ;;
  30137. + esac
  30138. +fi
  30139. +
  30140. +file_magic_cmd=$lt_cv_file_magic_cmd
  30141. +deplibs_check_method=$lt_cv_deplibs_check_method
  30142. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  30143. +
  30144. +_LT_DECL([], [deplibs_check_method], [1],
  30145. + [Method to check whether dependent libraries are shared objects])
  30146. +_LT_DECL([], [file_magic_cmd], [1],
  30147. + [Command to use when deplibs_check_method = "file_magic"])
  30148. +_LT_DECL([], [file_magic_glob], [1],
  30149. + [How to find potential files when deplibs_check_method = "file_magic"])
  30150. +_LT_DECL([], [want_nocaseglob], [1],
  30151. + [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
  30152. +])# _LT_CHECK_MAGIC_METHOD
  30153. +
  30154. +
  30155. +# LT_PATH_NM
  30156. +# ----------
  30157. +# find the pathname to a BSD- or MS-compatible name lister
  30158. +AC_DEFUN([LT_PATH_NM],
  30159. +[AC_REQUIRE([AC_PROG_CC])dnl
  30160. +AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  30161. +[if test -n "$NM"; then
  30162. + # Let the user override the test.
  30163. + lt_cv_path_NM="$NM"
  30164. +else
  30165. + lt_nm_to_check="${ac_tool_prefix}nm"
  30166. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  30167. + lt_nm_to_check="$lt_nm_to_check nm"
  30168. + fi
  30169. + for lt_tmp_nm in $lt_nm_to_check; do
  30170. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  30171. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  30172. + IFS="$lt_save_ifs"
  30173. + test -z "$ac_dir" && ac_dir=.
  30174. + tmp_nm="$ac_dir/$lt_tmp_nm"
  30175. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  30176. + # Check to see if the nm accepts a BSD-compat flag.
  30177. + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  30178. + # nm: unknown option "B" ignored
  30179. + # Tru64's nm complains that /dev/null is an invalid object file
  30180. + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  30181. + */dev/null* | *'Invalid file or object type'*)
  30182. + lt_cv_path_NM="$tmp_nm -B"
  30183. + break
  30184. + ;;
  30185. + *)
  30186. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  30187. + */dev/null*)
  30188. + lt_cv_path_NM="$tmp_nm -p"
  30189. + break
  30190. + ;;
  30191. + *)
  30192. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  30193. + continue # so that we can try to find one that supports BSD flags
  30194. + ;;
  30195. + esac
  30196. + ;;
  30197. + esac
  30198. + fi
  30199. + done
  30200. + IFS="$lt_save_ifs"
  30201. + done
  30202. + : ${lt_cv_path_NM=no}
  30203. +fi])
  30204. +if test "$lt_cv_path_NM" != "no"; then
  30205. + NM="$lt_cv_path_NM"
  30206. +else
  30207. + # Didn't find any BSD compatible name lister, look for dumpbin.
  30208. + if test -n "$DUMPBIN"; then :
  30209. + # Let the user override the test.
  30210. + else
  30211. + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
  30212. + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  30213. + *COFF*)
  30214. + DUMPBIN="$DUMPBIN -symbols"
  30215. + ;;
  30216. + *)
  30217. + DUMPBIN=:
  30218. + ;;
  30219. + esac
  30220. + fi
  30221. + AC_SUBST([DUMPBIN])
  30222. + if test "$DUMPBIN" != ":"; then
  30223. + NM="$DUMPBIN"
  30224. + fi
  30225. +fi
  30226. +test -z "$NM" && NM=nm
  30227. +AC_SUBST([NM])
  30228. +_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  30229. +
  30230. +AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  30231. + [lt_cv_nm_interface="BSD nm"
  30232. + echo "int some_variable = 0;" > conftest.$ac_ext
  30233. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  30234. + (eval "$ac_compile" 2>conftest.err)
  30235. + cat conftest.err >&AS_MESSAGE_LOG_FD
  30236. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  30237. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  30238. + cat conftest.err >&AS_MESSAGE_LOG_FD
  30239. + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
  30240. + cat conftest.out >&AS_MESSAGE_LOG_FD
  30241. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  30242. + lt_cv_nm_interface="MS dumpbin"
  30243. + fi
  30244. + rm -f conftest*])
  30245. +])# LT_PATH_NM
  30246. +
  30247. +# Old names:
  30248. +AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
  30249. +AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
  30250. +dnl aclocal-1.4 backwards compatibility:
  30251. +dnl AC_DEFUN([AM_PROG_NM], [])
  30252. +dnl AC_DEFUN([AC_PROG_NM], [])
  30253. +
  30254. +# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
  30255. +# --------------------------------
  30256. +# how to determine the name of the shared library
  30257. +# associated with a specific link library.
  30258. +# -- PORTME fill in with the dynamic library characteristics
  30259. +m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
  30260. +[m4_require([_LT_DECL_EGREP])
  30261. +m4_require([_LT_DECL_OBJDUMP])
  30262. +m4_require([_LT_DECL_DLLTOOL])
  30263. +AC_CACHE_CHECK([how to associate runtime and link libraries],
  30264. +lt_cv_sharedlib_from_linklib_cmd,
  30265. +[lt_cv_sharedlib_from_linklib_cmd='unknown'
  30266. +
  30267. +case $host_os in
  30268. +cygwin* | mingw* | pw32* | cegcc*)
  30269. + # two different shell functions defined in ltmain.sh
  30270. + # decide which to use based on capabilities of $DLLTOOL
  30271. + case `$DLLTOOL --help 2>&1` in
  30272. + *--identify-strict*)
  30273. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  30274. + ;;
  30275. + *)
  30276. + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  30277. + ;;
  30278. + esac
  30279. + ;;
  30280. +*)
  30281. + # fallback: assume linklib IS sharedlib
  30282. + lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  30283. + ;;
  30284. +esac
  30285. +])
  30286. +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  30287. +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  30288. +
  30289. +_LT_DECL([], [sharedlib_from_linklib_cmd], [1],
  30290. + [Command to associate shared and link libraries])
  30291. +])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
  30292. +
  30293. +
  30294. +# _LT_PATH_MANIFEST_TOOL
  30295. +# ----------------------
  30296. +# locate the manifest tool
  30297. +m4_defun([_LT_PATH_MANIFEST_TOOL],
  30298. +[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
  30299. +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  30300. +AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
  30301. + [lt_cv_path_mainfest_tool=no
  30302. + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
  30303. + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  30304. + cat conftest.err >&AS_MESSAGE_LOG_FD
  30305. + if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  30306. + lt_cv_path_mainfest_tool=yes
  30307. + fi
  30308. + rm -f conftest*])
  30309. +if test "x$lt_cv_path_mainfest_tool" != xyes; then
  30310. + MANIFEST_TOOL=:
  30311. +fi
  30312. +_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
  30313. +])# _LT_PATH_MANIFEST_TOOL
  30314. +
  30315. +
  30316. +# LT_LIB_M
  30317. +# --------
  30318. +# check for math library
  30319. +AC_DEFUN([LT_LIB_M],
  30320. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  30321. +LIBM=
  30322. +case $host in
  30323. +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
  30324. + # These system don't have libm, or don't need it
  30325. + ;;
  30326. +*-ncr-sysv4.3*)
  30327. + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  30328. + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  30329. + ;;
  30330. +*)
  30331. + AC_CHECK_LIB(m, cos, LIBM="-lm")
  30332. + ;;
  30333. +esac
  30334. +AC_SUBST([LIBM])
  30335. +])# LT_LIB_M
  30336. +
  30337. +# Old name:
  30338. +AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
  30339. +dnl aclocal-1.4 backwards compatibility:
  30340. +dnl AC_DEFUN([AC_CHECK_LIBM], [])
  30341. +
  30342. +
  30343. +# _LT_COMPILER_NO_RTTI([TAGNAME])
  30344. +# -------------------------------
  30345. +m4_defun([_LT_COMPILER_NO_RTTI],
  30346. +[m4_require([_LT_TAG_COMPILER])dnl
  30347. +
  30348. +_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  30349. +
  30350. +if test "$GCC" = yes; then
  30351. + case $cc_basename in
  30352. + nvcc*)
  30353. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
  30354. + *)
  30355. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
  30356. + esac
  30357. +
  30358. + _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  30359. + lt_cv_prog_compiler_rtti_exceptions,
  30360. + [-fno-rtti -fno-exceptions], [],
  30361. + [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  30362. +fi
  30363. +_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
  30364. + [Compiler flag to turn off builtin functions])
  30365. +])# _LT_COMPILER_NO_RTTI
  30366. +
  30367. +
  30368. +# _LT_CMD_GLOBAL_SYMBOLS
  30369. +# ----------------------
  30370. +m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
  30371. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  30372. +AC_REQUIRE([AC_PROG_CC])dnl
  30373. +AC_REQUIRE([AC_PROG_AWK])dnl
  30374. +AC_REQUIRE([LT_PATH_NM])dnl
  30375. +AC_REQUIRE([LT_PATH_LD])dnl
  30376. +m4_require([_LT_DECL_SED])dnl
  30377. +m4_require([_LT_DECL_EGREP])dnl
  30378. +m4_require([_LT_TAG_COMPILER])dnl
  30379. +
  30380. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  30381. +AC_MSG_CHECKING([command to parse $NM output from $compiler object])
  30382. +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
  30383. +[
  30384. +# These are sane defaults that work on at least a few old systems.
  30385. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  30386. +
  30387. +# Character class describing NM global symbol codes.
  30388. +symcode='[[BCDEGRST]]'
  30389. +
  30390. +# Regexp to match symbols that can be accessed directly from C.
  30391. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  30392. +
  30393. +# Define system-specific variables.
  30394. +case $host_os in
  30395. +aix*)
  30396. + symcode='[[BCDT]]'
  30397. + ;;
  30398. +cygwin* | mingw* | pw32* | cegcc*)
  30399. + symcode='[[ABCDGISTW]]'
  30400. + ;;
  30401. +hpux*)
  30402. + if test "$host_cpu" = ia64; then
  30403. + symcode='[[ABCDEGRST]]'
  30404. + fi
  30405. + ;;
  30406. +irix* | nonstopux*)
  30407. + symcode='[[BCDEGRST]]'
  30408. + ;;
  30409. +osf*)
  30410. + symcode='[[BCDEGQRST]]'
  30411. + ;;
  30412. +solaris*)
  30413. + symcode='[[BDRT]]'
  30414. + ;;
  30415. +sco3.2v5*)
  30416. + symcode='[[DT]]'
  30417. + ;;
  30418. +sysv4.2uw2*)
  30419. + symcode='[[DT]]'
  30420. + ;;
  30421. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  30422. + symcode='[[ABDT]]'
  30423. + ;;
  30424. +sysv4)
  30425. + symcode='[[DFNSTU]]'
  30426. + ;;
  30427. +esac
  30428. +
  30429. +# If we're using GNU nm, then use its standard symbol codes.
  30430. +case `$NM -V 2>&1` in
  30431. +*GNU* | *'with BFD'*)
  30432. + symcode='[[ABCDGIRSTW]]' ;;
  30433. +esac
  30434. +
  30435. +# Transform an extracted symbol line into a proper C declaration.
  30436. +# Some systems (esp. on ia64) link data and code symbols differently,
  30437. +# so use this general approach.
  30438. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  30439. +
  30440. +# Transform an extracted symbol line into symbol name and symbol address
  30441. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
  30442. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
  30443. +
  30444. +# Handle CRLF in mingw tool chain
  30445. +opt_cr=
  30446. +case $build_os in
  30447. +mingw*)
  30448. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  30449. + ;;
  30450. +esac
  30451. +
  30452. +# Try without a prefix underscore, then with it.
  30453. +for ac_symprfx in "" "_"; do
  30454. +
  30455. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  30456. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  30457. +
  30458. + # Write the raw and C identifiers.
  30459. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  30460. + # Fake it for dumpbin and say T for any non-static function
  30461. + # and D for any global variable.
  30462. + # Also find C++ and __fastcall symbols from MSVC++,
  30463. + # which start with @ or ?.
  30464. + lt_cv_sys_global_symbol_pipe="$AWK ['"\
  30465. +" {last_section=section; section=\$ 3};"\
  30466. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  30467. +" \$ 0!~/External *\|/{next};"\
  30468. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  30469. +" {if(hide[section]) next};"\
  30470. +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  30471. +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  30472. +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  30473. +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  30474. +" ' prfx=^$ac_symprfx]"
  30475. + else
  30476. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  30477. + fi
  30478. +
  30479. + # Check to see that the pipe works correctly.
  30480. + pipe_works=no
  30481. +
  30482. + rm -f conftest*
  30483. + cat > conftest.$ac_ext <<_LT_EOF
  30484. +#ifdef __cplusplus
  30485. +extern "C" {
  30486. +#endif
  30487. +char nm_test_var;
  30488. +void nm_test_func(void);
  30489. +void nm_test_func(void){}
  30490. +#ifdef __cplusplus
  30491. +}
  30492. +#endif
  30493. +int main(){nm_test_var='a';nm_test_func();return(0);}
  30494. +_LT_EOF
  30495. +
  30496. + if AC_TRY_EVAL(ac_compile); then
  30497. + # Now try to grab the symbols.
  30498. + nlist=conftest.nm
  30499. + if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
  30500. + # Try sorting and uniquifying the output.
  30501. + if sort "$nlist" | uniq > "$nlist"T; then
  30502. + mv -f "$nlist"T "$nlist"
  30503. + else
  30504. + rm -f "$nlist"T
  30505. + fi
  30506. +
  30507. + # Make sure that we snagged all the symbols we need.
  30508. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  30509. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  30510. + cat <<_LT_EOF > conftest.$ac_ext
  30511. +#ifdef __cplusplus
  30512. +extern "C" {
  30513. +#endif
  30514. +
  30515. +_LT_EOF
  30516. + # Now generate the symbol file.
  30517. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  30518. +
  30519. + cat <<_LT_EOF >> conftest.$ac_ext
  30520. +
  30521. +/* The mapping between symbol names and symbols. */
  30522. +const struct {
  30523. + const char *name;
  30524. + void *address;
  30525. +}
  30526. +lt__PROGRAM__LTX_preloaded_symbols[[]] =
  30527. +{
  30528. + { "@PROGRAM@", (void *) 0 },
  30529. +_LT_EOF
  30530. + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  30531. + cat <<\_LT_EOF >> conftest.$ac_ext
  30532. + {0, (void *) 0}
  30533. +};
  30534. +
  30535. +/* This works around a problem in FreeBSD linker */
  30536. +#ifdef FREEBSD_WORKAROUND
  30537. +static const void *lt_preloaded_setup() {
  30538. + return lt__PROGRAM__LTX_preloaded_symbols;
  30539. +}
  30540. +#endif
  30541. +
  30542. +#ifdef __cplusplus
  30543. +}
  30544. +#endif
  30545. +_LT_EOF
  30546. + # Now try linking the two files.
  30547. + mv conftest.$ac_objext conftstm.$ac_objext
  30548. + lt_save_LIBS="$LIBS"
  30549. + lt_save_CFLAGS="$CFLAGS"
  30550. + LIBS="conftstm.$ac_objext"
  30551. + CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  30552. + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  30553. + pipe_works=yes
  30554. + fi
  30555. + LIBS="$lt_save_LIBS"
  30556. + CFLAGS="$lt_save_CFLAGS"
  30557. + else
  30558. + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  30559. + fi
  30560. + else
  30561. + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
  30562. + fi
  30563. + else
  30564. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  30565. + fi
  30566. + else
  30567. + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
  30568. + cat conftest.$ac_ext >&5
  30569. + fi
  30570. + rm -rf conftest* conftst*
  30571. +
  30572. + # Do not use the global_symbol_pipe unless it works.
  30573. + if test "$pipe_works" = yes; then
  30574. + break
  30575. + else
  30576. + lt_cv_sys_global_symbol_pipe=
  30577. + fi
  30578. +done
  30579. +])
  30580. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  30581. + lt_cv_sys_global_symbol_to_cdecl=
  30582. +fi
  30583. +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  30584. + AC_MSG_RESULT(failed)
  30585. +else
  30586. + AC_MSG_RESULT(ok)
  30587. +fi
  30588. +
  30589. +# Response file support.
  30590. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  30591. + nm_file_list_spec='@'
  30592. +elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
  30593. + nm_file_list_spec='@'
  30594. +fi
  30595. +
  30596. +_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
  30597. + [Take the output of nm and produce a listing of raw symbols and C names])
  30598. +_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
  30599. + [Transform the output of nm in a proper C declaration])
  30600. +_LT_DECL([global_symbol_to_c_name_address],
  30601. + [lt_cv_sys_global_symbol_to_c_name_address], [1],
  30602. + [Transform the output of nm in a C name address pair])
  30603. +_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
  30604. + [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
  30605. + [Transform the output of nm in a C name address pair when lib prefix is needed])
  30606. +_LT_DECL([], [nm_file_list_spec], [1],
  30607. + [Specify filename containing input files for $NM])
  30608. +]) # _LT_CMD_GLOBAL_SYMBOLS
  30609. +
  30610. +
  30611. +# _LT_COMPILER_PIC([TAGNAME])
  30612. +# ---------------------------
  30613. +m4_defun([_LT_COMPILER_PIC],
  30614. +[m4_require([_LT_TAG_COMPILER])dnl
  30615. +_LT_TAGVAR(lt_prog_compiler_wl, $1)=
  30616. +_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  30617. +_LT_TAGVAR(lt_prog_compiler_static, $1)=
  30618. +
  30619. +m4_if([$1], [CXX], [
  30620. + # C++ specific cases for pic, static, wl, etc.
  30621. + if test "$GXX" = yes; then
  30622. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  30623. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  30624. +
  30625. + case $host_os in
  30626. + aix*)
  30627. + # All AIX code is PIC.
  30628. + if test "$host_cpu" = ia64; then
  30629. + # AIX 5 now supports IA64 processor
  30630. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  30631. + fi
  30632. + ;;
  30633. +
  30634. + amigaos*)
  30635. + case $host_cpu in
  30636. + powerpc)
  30637. + # see comment about AmigaOS4 .so support
  30638. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  30639. + ;;
  30640. + m68k)
  30641. + # FIXME: we need at least 68020 code to build shared libraries, but
  30642. + # adding the `-m68020' flag to GCC prevents building anything better,
  30643. + # like `-m68040'.
  30644. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  30645. + ;;
  30646. + esac
  30647. + ;;
  30648. +
  30649. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  30650. + # PIC is the default for these OSes.
  30651. + ;;
  30652. + mingw* | cygwin* | os2* | pw32* | cegcc*)
  30653. + # This hack is so that the source file can tell whether it is being
  30654. + # built for inclusion in a dll (and should export symbols for example).
  30655. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  30656. + # (--disable-auto-import) libraries
  30657. + m4_if([$1], [GCJ], [],
  30658. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  30659. + ;;
  30660. + darwin* | rhapsody*)
  30661. + # PIC is the default on this platform
  30662. + # Common symbols not allowed in MH_DYLIB files
  30663. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  30664. + ;;
  30665. + *djgpp*)
  30666. + # DJGPP does not support shared libraries at all
  30667. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  30668. + ;;
  30669. + haiku*)
  30670. + # PIC is the default for Haiku.
  30671. + # The "-static" flag exists, but is broken.
  30672. + _LT_TAGVAR(lt_prog_compiler_static, $1)=
  30673. + ;;
  30674. + interix[[3-9]]*)
  30675. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  30676. + # Instead, we relocate shared libraries at runtime.
  30677. + ;;
  30678. + sysv4*MP*)
  30679. + if test -d /usr/nec; then
  30680. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  30681. + fi
  30682. + ;;
  30683. + hpux*)
  30684. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  30685. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  30686. + # sets the default TLS model and affects inlining.
  30687. + case $host_cpu in
  30688. + hppa*64*)
  30689. + ;;
  30690. + *)
  30691. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  30692. + ;;
  30693. + esac
  30694. + ;;
  30695. + *qnx* | *nto*)
  30696. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  30697. + # it will coredump.
  30698. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  30699. + ;;
  30700. + *)
  30701. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  30702. + ;;
  30703. + esac
  30704. + else
  30705. + case $host_os in
  30706. + aix[[4-9]]*)
  30707. + # All AIX code is PIC.
  30708. + if test "$host_cpu" = ia64; then
  30709. + # AIX 5 now supports IA64 processor
  30710. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  30711. + else
  30712. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  30713. + fi
  30714. + ;;
  30715. + chorus*)
  30716. + case $cc_basename in
  30717. + cxch68*)
  30718. + # Green Hills C++ Compiler
  30719. + # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
  30720. + ;;
  30721. + esac
  30722. + ;;
  30723. + dgux*)
  30724. + case $cc_basename in
  30725. + ec++*)
  30726. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  30727. + ;;
  30728. + ghcx*)
  30729. + # Green Hills C++ Compiler
  30730. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  30731. + ;;
  30732. + *)
  30733. + ;;
  30734. + esac
  30735. + ;;
  30736. + freebsd* | dragonfly*)
  30737. + # FreeBSD uses GNU C++
  30738. + ;;
  30739. + hpux9* | hpux10* | hpux11*)
  30740. + case $cc_basename in
  30741. + CC*)
  30742. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  30743. + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  30744. + if test "$host_cpu" != ia64; then
  30745. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  30746. + fi
  30747. + ;;
  30748. + aCC*)
  30749. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  30750. + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  30751. + case $host_cpu in
  30752. + hppa*64*|ia64*)
  30753. + # +Z the default
  30754. + ;;
  30755. + *)
  30756. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  30757. + ;;
  30758. + esac
  30759. + ;;
  30760. + *)
  30761. + ;;
  30762. + esac
  30763. + ;;
  30764. + interix*)
  30765. + # This is c89, which is MS Visual C++ (no shared libs)
  30766. + # Anyone wants to do a port?
  30767. + ;;
  30768. + irix5* | irix6* | nonstopux*)
  30769. + case $cc_basename in
  30770. + CC*)
  30771. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  30772. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  30773. + # CC pic flag -KPIC is the default.
  30774. + ;;
  30775. + *)
  30776. + ;;
  30777. + esac
  30778. + ;;
  30779. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  30780. + case $cc_basename in
  30781. + KCC*)
  30782. + # KAI C++ Compiler
  30783. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  30784. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  30785. + ;;
  30786. + ecpc* )
  30787. + # old Intel C++ for x86_64 which still supported -KPIC.
  30788. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  30789. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  30790. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  30791. + ;;
  30792. + icpc* )
  30793. + # Intel C++, used to be incompatible with GCC.
  30794. + # ICC 10 doesn't accept -KPIC any more.
  30795. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  30796. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  30797. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  30798. + ;;
  30799. + pgCC* | pgcpp*)
  30800. + # Portland Group C++ compiler
  30801. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  30802. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  30803. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  30804. + ;;
  30805. + cxx*)
  30806. + # Compaq C++
  30807. + # Make sure the PIC flag is empty. It appears that all Alpha
  30808. + # Linux and Compaq Tru64 Unix objects are PIC.
  30809. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  30810. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  30811. + ;;
  30812. + xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
  30813. + # IBM XL 8.0, 9.0 on PPC and BlueGene
  30814. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  30815. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  30816. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  30817. + ;;
  30818. + *)
  30819. + case `$CC -V 2>&1 | sed 5q` in
  30820. + *Sun\ C*)
  30821. + # Sun C++ 5.9
  30822. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  30823. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  30824. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  30825. + ;;
  30826. + esac
  30827. + ;;
  30828. + esac
  30829. + ;;
  30830. + lynxos*)
  30831. + ;;
  30832. + m88k*)
  30833. + ;;
  30834. + mvs*)
  30835. + case $cc_basename in
  30836. + cxx*)
  30837. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  30838. + ;;
  30839. + *)
  30840. + ;;
  30841. + esac
  30842. + ;;
  30843. + netbsd*)
  30844. + ;;
  30845. + *qnx* | *nto*)
  30846. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  30847. + # it will coredump.
  30848. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  30849. + ;;
  30850. + osf3* | osf4* | osf5*)
  30851. + case $cc_basename in
  30852. + KCC*)
  30853. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  30854. + ;;
  30855. + RCC*)
  30856. + # Rational C++ 2.4.1
  30857. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  30858. + ;;
  30859. + cxx*)
  30860. + # Digital/Compaq C++
  30861. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  30862. + # Make sure the PIC flag is empty. It appears that all Alpha
  30863. + # Linux and Compaq Tru64 Unix objects are PIC.
  30864. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  30865. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  30866. + ;;
  30867. + *)
  30868. + ;;
  30869. + esac
  30870. + ;;
  30871. + psos*)
  30872. + ;;
  30873. + solaris*)
  30874. + case $cc_basename in
  30875. + CC* | sunCC*)
  30876. + # Sun C++ 4.2, 5.x and Centerline C++
  30877. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  30878. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  30879. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  30880. + ;;
  30881. + gcx*)
  30882. + # Green Hills C++ Compiler
  30883. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  30884. + ;;
  30885. + *)
  30886. + ;;
  30887. + esac
  30888. + ;;
  30889. + sunos4*)
  30890. + case $cc_basename in
  30891. + CC*)
  30892. + # Sun C++ 4.x
  30893. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  30894. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  30895. + ;;
  30896. + lcc*)
  30897. + # Lucid
  30898. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  30899. + ;;
  30900. + *)
  30901. + ;;
  30902. + esac
  30903. + ;;
  30904. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  30905. + case $cc_basename in
  30906. + CC*)
  30907. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  30908. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  30909. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  30910. + ;;
  30911. + esac
  30912. + ;;
  30913. + tandem*)
  30914. + case $cc_basename in
  30915. + NCC*)
  30916. + # NonStop-UX NCC 3.20
  30917. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  30918. + ;;
  30919. + *)
  30920. + ;;
  30921. + esac
  30922. + ;;
  30923. + vxworks*)
  30924. + ;;
  30925. + *)
  30926. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  30927. + ;;
  30928. + esac
  30929. + fi
  30930. +],
  30931. +[
  30932. + if test "$GCC" = yes; then
  30933. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  30934. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  30935. +
  30936. + case $host_os in
  30937. + aix*)
  30938. + # All AIX code is PIC.
  30939. + if test "$host_cpu" = ia64; then
  30940. + # AIX 5 now supports IA64 processor
  30941. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  30942. + fi
  30943. + ;;
  30944. +
  30945. + amigaos*)
  30946. + case $host_cpu in
  30947. + powerpc)
  30948. + # see comment about AmigaOS4 .so support
  30949. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  30950. + ;;
  30951. + m68k)
  30952. + # FIXME: we need at least 68020 code to build shared libraries, but
  30953. + # adding the `-m68020' flag to GCC prevents building anything better,
  30954. + # like `-m68040'.
  30955. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  30956. + ;;
  30957. + esac
  30958. + ;;
  30959. +
  30960. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  30961. + # PIC is the default for these OSes.
  30962. + ;;
  30963. +
  30964. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  30965. + # This hack is so that the source file can tell whether it is being
  30966. + # built for inclusion in a dll (and should export symbols for example).
  30967. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  30968. + # (--disable-auto-import) libraries
  30969. + m4_if([$1], [GCJ], [],
  30970. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  30971. + ;;
  30972. +
  30973. + darwin* | rhapsody*)
  30974. + # PIC is the default on this platform
  30975. + # Common symbols not allowed in MH_DYLIB files
  30976. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  30977. + ;;
  30978. +
  30979. + haiku*)
  30980. + # PIC is the default for Haiku.
  30981. + # The "-static" flag exists, but is broken.
  30982. + _LT_TAGVAR(lt_prog_compiler_static, $1)=
  30983. + ;;
  30984. +
  30985. + hpux*)
  30986. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  30987. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  30988. + # sets the default TLS model and affects inlining.
  30989. + case $host_cpu in
  30990. + hppa*64*)
  30991. + # +Z the default
  30992. + ;;
  30993. + *)
  30994. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  30995. + ;;
  30996. + esac
  30997. + ;;
  30998. +
  30999. + interix[[3-9]]*)
  31000. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  31001. + # Instead, we relocate shared libraries at runtime.
  31002. + ;;
  31003. +
  31004. + msdosdjgpp*)
  31005. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  31006. + # on systems that don't support them.
  31007. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  31008. + enable_shared=no
  31009. + ;;
  31010. +
  31011. + *nto* | *qnx*)
  31012. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  31013. + # it will coredump.
  31014. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  31015. + ;;
  31016. +
  31017. + sysv4*MP*)
  31018. + if test -d /usr/nec; then
  31019. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  31020. + fi
  31021. + ;;
  31022. +
  31023. + *)
  31024. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  31025. + ;;
  31026. + esac
  31027. +
  31028. + case $cc_basename in
  31029. + nvcc*) # Cuda Compiler Driver 2.2
  31030. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
  31031. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
  31032. + ;;
  31033. + esac
  31034. + else
  31035. + # PORTME Check for flag to pass linker flags through the system compiler.
  31036. + case $host_os in
  31037. + aix*)
  31038. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  31039. + if test "$host_cpu" = ia64; then
  31040. + # AIX 5 now supports IA64 processor
  31041. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  31042. + else
  31043. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  31044. + fi
  31045. + ;;
  31046. +
  31047. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  31048. + # This hack is so that the source file can tell whether it is being
  31049. + # built for inclusion in a dll (and should export symbols for example).
  31050. + m4_if([$1], [GCJ], [],
  31051. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  31052. + ;;
  31053. +
  31054. + hpux9* | hpux10* | hpux11*)
  31055. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  31056. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  31057. + # not for PA HP-UX.
  31058. + case $host_cpu in
  31059. + hppa*64*|ia64*)
  31060. + # +Z the default
  31061. + ;;
  31062. + *)
  31063. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  31064. + ;;
  31065. + esac
  31066. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  31067. + _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  31068. + ;;
  31069. +
  31070. + irix5* | irix6* | nonstopux*)
  31071. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  31072. + # PIC (with -KPIC) is the default.
  31073. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  31074. + ;;
  31075. +
  31076. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  31077. + case $cc_basename in
  31078. + # old Intel for x86_64 which still supported -KPIC.
  31079. + ecc*)
  31080. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  31081. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  31082. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  31083. + ;;
  31084. + # icc used to be incompatible with GCC.
  31085. + # ICC 10 doesn't accept -KPIC any more.
  31086. + icc* | ifort*)
  31087. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  31088. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  31089. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  31090. + ;;
  31091. + # Lahey Fortran 8.1.
  31092. + lf95*)
  31093. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  31094. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
  31095. + _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
  31096. + ;;
  31097. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  31098. + # Portland Group compilers (*not* the Pentium gcc compiler,
  31099. + # which looks to be a dead project)
  31100. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  31101. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  31102. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  31103. + ;;
  31104. + ccc*)
  31105. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  31106. + # All Alpha code is PIC.
  31107. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  31108. + ;;
  31109. + xl* | bgxl* | bgf* | mpixl*)
  31110. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  31111. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  31112. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  31113. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  31114. + ;;
  31115. + *)
  31116. + case `$CC -V 2>&1 | sed 5q` in
  31117. + *Sun\ F* | *Sun*Fortran*)
  31118. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  31119. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  31120. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  31121. + _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  31122. + ;;
  31123. + *Sun\ C*)
  31124. + # Sun C 5.9
  31125. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  31126. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  31127. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  31128. + ;;
  31129. + esac
  31130. + ;;
  31131. + esac
  31132. + ;;
  31133. +
  31134. + newsos6)
  31135. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  31136. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  31137. + ;;
  31138. +
  31139. + *nto* | *qnx*)
  31140. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  31141. + # it will coredump.
  31142. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  31143. + ;;
  31144. +
  31145. + osf3* | osf4* | osf5*)
  31146. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  31147. + # All OSF/1 code is PIC.
  31148. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  31149. + ;;
  31150. +
  31151. + rdos*)
  31152. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  31153. + ;;
  31154. +
  31155. + solaris*)
  31156. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  31157. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  31158. + case $cc_basename in
  31159. + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  31160. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  31161. + *)
  31162. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  31163. + esac
  31164. + ;;
  31165. +
  31166. + sunos4*)
  31167. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  31168. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  31169. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  31170. + ;;
  31171. +
  31172. + sysv4 | sysv4.2uw2* | sysv4.3*)
  31173. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  31174. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  31175. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  31176. + ;;
  31177. +
  31178. + sysv4*MP*)
  31179. + if test -d /usr/nec ;then
  31180. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  31181. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  31182. + fi
  31183. + ;;
  31184. +
  31185. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  31186. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  31187. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  31188. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  31189. + ;;
  31190. +
  31191. + unicos*)
  31192. + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  31193. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  31194. + ;;
  31195. +
  31196. + uts4*)
  31197. + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  31198. + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  31199. + ;;
  31200. +
  31201. + *)
  31202. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  31203. + ;;
  31204. + esac
  31205. + fi
  31206. +])
  31207. +case $host_os in
  31208. + # For platforms which do not support PIC, -DPIC is meaningless:
  31209. + *djgpp*)
  31210. + _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  31211. + ;;
  31212. + *)
  31213. + _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
  31214. + ;;
  31215. +esac
  31216. +
  31217. +AC_CACHE_CHECK([for $compiler option to produce PIC],
  31218. + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
  31219. + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  31220. +_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
  31221. +
  31222. +#
  31223. +# Check to make sure the PIC flag actually works.
  31224. +#
  31225. +if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
  31226. + _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
  31227. + [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
  31228. + [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
  31229. + [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
  31230. + "" | " "*) ;;
  31231. + *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  31232. + esac],
  31233. + [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  31234. + _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  31235. +fi
  31236. +_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
  31237. + [Additional compiler flags for building library objects])
  31238. +
  31239. +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  31240. + [How to pass a linker flag through the compiler])
  31241. +#
  31242. +# Check to make sure the static flag actually works.
  31243. +#
  31244. +wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
  31245. +_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
  31246. + _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
  31247. + $lt_tmp_static_flag,
  31248. + [],
  31249. + [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
  31250. +_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
  31251. + [Compiler flag to prevent dynamic linking])
  31252. +])# _LT_COMPILER_PIC
  31253. +
  31254. +
  31255. +# _LT_LINKER_SHLIBS([TAGNAME])
  31256. +# ----------------------------
  31257. +# See if the linker supports building shared libraries.
  31258. +m4_defun([_LT_LINKER_SHLIBS],
  31259. +[AC_REQUIRE([LT_PATH_LD])dnl
  31260. +AC_REQUIRE([LT_PATH_NM])dnl
  31261. +m4_require([_LT_PATH_MANIFEST_TOOL])dnl
  31262. +m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  31263. +m4_require([_LT_DECL_EGREP])dnl
  31264. +m4_require([_LT_DECL_SED])dnl
  31265. +m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  31266. +m4_require([_LT_TAG_COMPILER])dnl
  31267. +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  31268. +m4_if([$1], [CXX], [
  31269. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  31270. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  31271. + case $host_os in
  31272. + aix[[4-9]]*)
  31273. + # If we're using GNU nm, then we don't want the "-C" option.
  31274. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  31275. + # Also, AIX nm treats weak defined symbols like other global defined
  31276. + # symbols, whereas GNU nm marks them as "W".
  31277. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  31278. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  31279. + else
  31280. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  31281. + fi
  31282. + ;;
  31283. + pw32*)
  31284. + _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  31285. + ;;
  31286. + cygwin* | mingw* | cegcc*)
  31287. + case $cc_basename in
  31288. + cl*) ;;
  31289. + *)
  31290. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
  31291. + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
  31292. + ;;
  31293. + esac
  31294. + ;;
  31295. + *)
  31296. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  31297. + ;;
  31298. + esac
  31299. +], [
  31300. + runpath_var=
  31301. + _LT_TAGVAR(allow_undefined_flag, $1)=
  31302. + _LT_TAGVAR(always_export_symbols, $1)=no
  31303. + _LT_TAGVAR(archive_cmds, $1)=
  31304. + _LT_TAGVAR(archive_expsym_cmds, $1)=
  31305. + _LT_TAGVAR(compiler_needs_object, $1)=no
  31306. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  31307. + _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  31308. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  31309. + _LT_TAGVAR(hardcode_automatic, $1)=no
  31310. + _LT_TAGVAR(hardcode_direct, $1)=no
  31311. + _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  31312. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  31313. + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  31314. + _LT_TAGVAR(hardcode_libdir_separator, $1)=
  31315. + _LT_TAGVAR(hardcode_minus_L, $1)=no
  31316. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  31317. + _LT_TAGVAR(inherit_rpath, $1)=no
  31318. + _LT_TAGVAR(link_all_deplibs, $1)=unknown
  31319. + _LT_TAGVAR(module_cmds, $1)=
  31320. + _LT_TAGVAR(module_expsym_cmds, $1)=
  31321. + _LT_TAGVAR(old_archive_from_new_cmds, $1)=
  31322. + _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  31323. + _LT_TAGVAR(thread_safe_flag_spec, $1)=
  31324. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  31325. + # include_expsyms should be a list of space-separated symbols to be *always*
  31326. + # included in the symbol list
  31327. + _LT_TAGVAR(include_expsyms, $1)=
  31328. + # exclude_expsyms can be an extended regexp of symbols to exclude
  31329. + # it will be wrapped by ` (' and `)$', so one must not match beginning or
  31330. + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  31331. + # as well as any symbol that contains `d'.
  31332. + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  31333. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  31334. + # platforms (ab)use it in PIC code, but their linkers get confused if
  31335. + # the symbol is explicitly referenced. Since portable code cannot
  31336. + # rely on this symbol name, it's probably fine to never include it in
  31337. + # preloaded symbol tables.
  31338. + # Exclude shared library initialization/finalization symbols.
  31339. +dnl Note also adjust exclude_expsyms for C++ above.
  31340. + extract_expsyms_cmds=
  31341. +
  31342. + case $host_os in
  31343. + cygwin* | mingw* | pw32* | cegcc*)
  31344. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  31345. + # When not using gcc, we currently assume that we are using
  31346. + # Microsoft Visual C++.
  31347. + if test "$GCC" != yes; then
  31348. + with_gnu_ld=no
  31349. + fi
  31350. + ;;
  31351. + interix*)
  31352. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  31353. + with_gnu_ld=yes
  31354. + ;;
  31355. + openbsd*)
  31356. + with_gnu_ld=no
  31357. + ;;
  31358. + esac
  31359. +
  31360. + _LT_TAGVAR(ld_shlibs, $1)=yes
  31361. +
  31362. + # On some targets, GNU ld is compatible enough with the native linker
  31363. + # that we're better off using the native interface for both.
  31364. + lt_use_gnu_ld_interface=no
  31365. + if test "$with_gnu_ld" = yes; then
  31366. + case $host_os in
  31367. + aix*)
  31368. + # The AIX port of GNU ld has always aspired to compatibility
  31369. + # with the native linker. However, as the warning in the GNU ld
  31370. + # block says, versions before 2.19.5* couldn't really create working
  31371. + # shared libraries, regardless of the interface used.
  31372. + case `$LD -v 2>&1` in
  31373. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  31374. + *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
  31375. + *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
  31376. + *)
  31377. + lt_use_gnu_ld_interface=yes
  31378. + ;;
  31379. + esac
  31380. + ;;
  31381. + *)
  31382. + lt_use_gnu_ld_interface=yes
  31383. + ;;
  31384. + esac
  31385. + fi
  31386. +
  31387. + if test "$lt_use_gnu_ld_interface" = yes; then
  31388. + # If archive_cmds runs LD, not CC, wlarc should be empty
  31389. + wlarc='${wl}'
  31390. +
  31391. + # Set some defaults for GNU ld with shared library support. These
  31392. + # are reset later if shared libraries are not supported. Putting them
  31393. + # here allows them to be overridden if necessary.
  31394. + runpath_var=LD_RUN_PATH
  31395. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  31396. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  31397. + # ancient GNU ld didn't support --whole-archive et. al.
  31398. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  31399. + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  31400. + else
  31401. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  31402. + fi
  31403. + supports_anon_versioning=no
  31404. + case `$LD -v 2>&1` in
  31405. + *GNU\ gold*) supports_anon_versioning=yes ;;
  31406. + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  31407. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  31408. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  31409. + *\ 2.11.*) ;; # other 2.11 versions
  31410. + *) supports_anon_versioning=yes ;;
  31411. + esac
  31412. +
  31413. + # See if GNU ld supports shared libraries.
  31414. + case $host_os in
  31415. + aix[[3-9]]*)
  31416. + # On AIX/PPC, the GNU linker is very broken
  31417. + if test "$host_cpu" != ia64; then
  31418. + _LT_TAGVAR(ld_shlibs, $1)=no
  31419. + cat <<_LT_EOF 1>&2
  31420. +
  31421. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  31422. +*** to be unable to reliably create shared libraries on AIX.
  31423. +*** Therefore, libtool is disabling shared libraries support. If you
  31424. +*** really care for shared libraries, you may want to install binutils
  31425. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  31426. +*** You will then need to restart the configuration process.
  31427. +
  31428. +_LT_EOF
  31429. + fi
  31430. + ;;
  31431. +
  31432. + amigaos*)
  31433. + case $host_cpu in
  31434. + powerpc)
  31435. + # see comment about AmigaOS4 .so support
  31436. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  31437. + _LT_TAGVAR(archive_expsym_cmds, $1)=''
  31438. + ;;
  31439. + m68k)
  31440. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  31441. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  31442. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  31443. + ;;
  31444. + esac
  31445. + ;;
  31446. +
  31447. + beos*)
  31448. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  31449. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  31450. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  31451. + # support --undefined. This deserves some investigation. FIXME
  31452. + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  31453. + else
  31454. + _LT_TAGVAR(ld_shlibs, $1)=no
  31455. + fi
  31456. + ;;
  31457. +
  31458. + cygwin* | mingw* | pw32* | cegcc*)
  31459. + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  31460. + # as there is no search path for DLLs.
  31461. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  31462. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
  31463. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  31464. + _LT_TAGVAR(always_export_symbols, $1)=no
  31465. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  31466. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
  31467. + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
  31468. +
  31469. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  31470. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  31471. + # If the export-symbols file already is a .def file (1st line
  31472. + # is EXPORTS), use it as is; otherwise, prepend...
  31473. + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  31474. + cp $export_symbols $output_objdir/$soname.def;
  31475. + else
  31476. + echo EXPORTS > $output_objdir/$soname.def;
  31477. + cat $export_symbols >> $output_objdir/$soname.def;
  31478. + fi~
  31479. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  31480. + else
  31481. + _LT_TAGVAR(ld_shlibs, $1)=no
  31482. + fi
  31483. + ;;
  31484. +
  31485. + haiku*)
  31486. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  31487. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  31488. + ;;
  31489. +
  31490. + interix[[3-9]]*)
  31491. + _LT_TAGVAR(hardcode_direct, $1)=no
  31492. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  31493. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  31494. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  31495. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  31496. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  31497. + # default) and relocated if they conflict, which is a slow very memory
  31498. + # consuming and fragmenting process. To avoid this, we pick a random,
  31499. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  31500. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  31501. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  31502. + _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'
  31503. + ;;
  31504. +
  31505. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  31506. + tmp_diet=no
  31507. + if test "$host_os" = linux-dietlibc; then
  31508. + case $cc_basename in
  31509. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  31510. + esac
  31511. + fi
  31512. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  31513. + && test "$tmp_diet" = no
  31514. + then
  31515. + tmp_addflag=
  31516. + tmp_sharedflag='-shared'
  31517. + case $cc_basename,$host_cpu in
  31518. + pgcc*) # Portland Group C compiler
  31519. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  31520. + tmp_addflag=' $pic_flag'
  31521. + ;;
  31522. + pgf77* | pgf90* | pgf95* | pgfortran*)
  31523. + # Portland Group f77 and f90 compilers
  31524. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  31525. + tmp_addflag=' $pic_flag -Mnomain' ;;
  31526. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  31527. + tmp_addflag=' -i_dynamic' ;;
  31528. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  31529. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  31530. + ifc* | ifort*) # Intel Fortran compiler
  31531. + tmp_addflag=' -nofor_main' ;;
  31532. + lf95*) # Lahey Fortran 8.1
  31533. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  31534. + tmp_sharedflag='--shared' ;;
  31535. + xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  31536. + tmp_sharedflag='-qmkshrobj'
  31537. + tmp_addflag= ;;
  31538. + nvcc*) # Cuda Compiler Driver 2.2
  31539. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  31540. + _LT_TAGVAR(compiler_needs_object, $1)=yes
  31541. + ;;
  31542. + esac
  31543. + case `$CC -V 2>&1 | sed 5q` in
  31544. + *Sun\ C*) # Sun C 5.9
  31545. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  31546. + _LT_TAGVAR(compiler_needs_object, $1)=yes
  31547. + tmp_sharedflag='-G' ;;
  31548. + *Sun\ F*) # Sun Fortran 8.3
  31549. + tmp_sharedflag='-G' ;;
  31550. + esac
  31551. + _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  31552. +
  31553. + if test "x$supports_anon_versioning" = xyes; then
  31554. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  31555. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  31556. + echo "local: *; };" >> $output_objdir/$libname.ver~
  31557. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  31558. + fi
  31559. +
  31560. + case $cc_basename in
  31561. + xlf* | bgf* | bgxlf* | mpixlf*)
  31562. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  31563. + _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
  31564. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  31565. + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  31566. + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  31567. + if test "x$supports_anon_versioning" = xyes; then
  31568. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  31569. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  31570. + echo "local: *; };" >> $output_objdir/$libname.ver~
  31571. + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  31572. + fi
  31573. + ;;
  31574. + esac
  31575. + else
  31576. + _LT_TAGVAR(ld_shlibs, $1)=no
  31577. + fi
  31578. + ;;
  31579. +
  31580. + netbsd*)
  31581. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  31582. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  31583. + wlarc=
  31584. + else
  31585. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  31586. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  31587. + fi
  31588. + ;;
  31589. +
  31590. + solaris*)
  31591. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  31592. + _LT_TAGVAR(ld_shlibs, $1)=no
  31593. + cat <<_LT_EOF 1>&2
  31594. +
  31595. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  31596. +*** create shared libraries on Solaris systems. Therefore, libtool
  31597. +*** is disabling shared libraries support. We urge you to upgrade GNU
  31598. +*** binutils to release 2.9.1 or newer. Another option is to modify
  31599. +*** your PATH or compiler configuration so that the native linker is
  31600. +*** used, and then restart.
  31601. +
  31602. +_LT_EOF
  31603. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  31604. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  31605. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  31606. + else
  31607. + _LT_TAGVAR(ld_shlibs, $1)=no
  31608. + fi
  31609. + ;;
  31610. +
  31611. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  31612. + case `$LD -v 2>&1` in
  31613. + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
  31614. + _LT_TAGVAR(ld_shlibs, $1)=no
  31615. + cat <<_LT_EOF 1>&2
  31616. +
  31617. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  31618. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  31619. +*** is disabling shared libraries support. We urge you to upgrade GNU
  31620. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  31621. +*** your PATH or compiler configuration so that the native linker is
  31622. +*** used, and then restart.
  31623. +
  31624. +_LT_EOF
  31625. + ;;
  31626. + *)
  31627. + # For security reasons, it is highly recommended that you always
  31628. + # use absolute paths for naming shared libraries, and exclude the
  31629. + # DT_RUNPATH tag from executables and libraries. But doing so
  31630. + # requires that you compile everything twice, which is a pain.
  31631. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  31632. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  31633. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  31634. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  31635. + else
  31636. + _LT_TAGVAR(ld_shlibs, $1)=no
  31637. + fi
  31638. + ;;
  31639. + esac
  31640. + ;;
  31641. +
  31642. + sunos4*)
  31643. + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  31644. + wlarc=
  31645. + _LT_TAGVAR(hardcode_direct, $1)=yes
  31646. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  31647. + ;;
  31648. +
  31649. + *)
  31650. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  31651. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  31652. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  31653. + else
  31654. + _LT_TAGVAR(ld_shlibs, $1)=no
  31655. + fi
  31656. + ;;
  31657. + esac
  31658. +
  31659. + if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
  31660. + runpath_var=
  31661. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  31662. + _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  31663. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  31664. + fi
  31665. + else
  31666. + # PORTME fill in a description of your system's linker (not GNU ld)
  31667. + case $host_os in
  31668. + aix3*)
  31669. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  31670. + _LT_TAGVAR(always_export_symbols, $1)=yes
  31671. + _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  31672. + # Note: this linker hardcodes the directories in LIBPATH if there
  31673. + # are no directories specified by -L.
  31674. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  31675. + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  31676. + # Neither direct hardcoding nor static linking is supported with a
  31677. + # broken collect2.
  31678. + _LT_TAGVAR(hardcode_direct, $1)=unsupported
  31679. + fi
  31680. + ;;
  31681. +
  31682. + aix[[4-9]]*)
  31683. + if test "$host_cpu" = ia64; then
  31684. + # On IA64, the linker does run time linking by default, so we don't
  31685. + # have to do anything special.
  31686. + aix_use_runtimelinking=no
  31687. + exp_sym_flag='-Bexport'
  31688. + no_entry_flag=""
  31689. + else
  31690. + # If we're using GNU nm, then we don't want the "-C" option.
  31691. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  31692. + # Also, AIX nm treats weak defined symbols like other global
  31693. + # defined symbols, whereas GNU nm marks them as "W".
  31694. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  31695. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  31696. + else
  31697. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  31698. + fi
  31699. + aix_use_runtimelinking=no
  31700. +
  31701. + # Test if we are trying to use run time linking or normal
  31702. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  31703. + # need to do runtime linking.
  31704. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  31705. + for ld_flag in $LDFLAGS; do
  31706. + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  31707. + aix_use_runtimelinking=yes
  31708. + break
  31709. + fi
  31710. + done
  31711. + ;;
  31712. + esac
  31713. +
  31714. + exp_sym_flag='-bexport'
  31715. + no_entry_flag='-bnoentry'
  31716. + fi
  31717. +
  31718. + # When large executables or shared objects are built, AIX ld can
  31719. + # have problems creating the table of contents. If linking a library
  31720. + # or program results in "error TOC overflow" add -mminimal-toc to
  31721. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  31722. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  31723. +
  31724. + _LT_TAGVAR(archive_cmds, $1)=''
  31725. + _LT_TAGVAR(hardcode_direct, $1)=yes
  31726. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  31727. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  31728. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  31729. + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  31730. +
  31731. + if test "$GCC" = yes; then
  31732. + case $host_os in aix4.[[012]]|aix4.[[012]].*)
  31733. + # We only want to do this on AIX 4.2 and lower, the check
  31734. + # below for broken collect2 doesn't work under 4.3+
  31735. + collect2name=`${CC} -print-prog-name=collect2`
  31736. + if test -f "$collect2name" &&
  31737. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  31738. + then
  31739. + # We have reworked collect2
  31740. + :
  31741. + else
  31742. + # We have old collect2
  31743. + _LT_TAGVAR(hardcode_direct, $1)=unsupported
  31744. + # It fails to find uninstalled libraries when the uninstalled
  31745. + # path is not listed in the libpath. Setting hardcode_minus_L
  31746. + # to unsupported forces relinking
  31747. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  31748. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  31749. + _LT_TAGVAR(hardcode_libdir_separator, $1)=
  31750. + fi
  31751. + ;;
  31752. + esac
  31753. + shared_flag='-shared'
  31754. + if test "$aix_use_runtimelinking" = yes; then
  31755. + shared_flag="$shared_flag "'${wl}-G'
  31756. + fi
  31757. + else
  31758. + # not using gcc
  31759. + if test "$host_cpu" = ia64; then
  31760. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  31761. + # chokes on -Wl,-G. The following line is correct:
  31762. + shared_flag='-G'
  31763. + else
  31764. + if test "$aix_use_runtimelinking" = yes; then
  31765. + shared_flag='${wl}-G'
  31766. + else
  31767. + shared_flag='${wl}-bM:SRE'
  31768. + fi
  31769. + fi
  31770. + fi
  31771. +
  31772. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  31773. + # It seems that -bexpall does not export symbols beginning with
  31774. + # underscore (_), so it is better to generate a list of symbols to export.
  31775. + _LT_TAGVAR(always_export_symbols, $1)=yes
  31776. + if test "$aix_use_runtimelinking" = yes; then
  31777. + # Warning - without using the other runtime loading flags (-brtl),
  31778. + # -berok will link without error, but may produce a broken library.
  31779. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  31780. + # Determine the default libpath from the value encoded in an
  31781. + # empty executable.
  31782. + _LT_SYS_MODULE_PATH_AIX
  31783. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  31784. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  31785. + else
  31786. + if test "$host_cpu" = ia64; then
  31787. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  31788. + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  31789. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  31790. + else
  31791. + # Determine the default libpath from the value encoded in an
  31792. + # empty executable.
  31793. + _LT_SYS_MODULE_PATH_AIX
  31794. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  31795. + # Warning - without using the other run time loading flags,
  31796. + # -berok will link without error, but may produce a broken library.
  31797. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  31798. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  31799. + if test "$with_gnu_ld" = yes; then
  31800. + # We only use this code for GNU lds that support --whole-archive.
  31801. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  31802. + else
  31803. + # Exported symbols can be pulled into shared objects from archives
  31804. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  31805. + fi
  31806. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  31807. + # This is similar to how AIX traditionally builds its shared libraries.
  31808. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  31809. + fi
  31810. + fi
  31811. + ;;
  31812. +
  31813. + amigaos*)
  31814. + case $host_cpu in
  31815. + powerpc)
  31816. + # see comment about AmigaOS4 .so support
  31817. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  31818. + _LT_TAGVAR(archive_expsym_cmds, $1)=''
  31819. + ;;
  31820. + m68k)
  31821. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  31822. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  31823. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  31824. + ;;
  31825. + esac
  31826. + ;;
  31827. +
  31828. + bsdi[[45]]*)
  31829. + _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  31830. + ;;
  31831. +
  31832. + cygwin* | mingw* | pw32* | cegcc*)
  31833. + # When not using gcc, we currently assume that we are using
  31834. + # Microsoft Visual C++.
  31835. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  31836. + # no search path for DLLs.
  31837. + case $cc_basename in
  31838. + cl*)
  31839. + # Native MSVC
  31840. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  31841. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  31842. + _LT_TAGVAR(always_export_symbols, $1)=yes
  31843. + _LT_TAGVAR(file_list_spec, $1)='@'
  31844. + # Tell ltmain to make .lib files, not .a files.
  31845. + libext=lib
  31846. + # Tell ltmain to make .dll files, not .so files.
  31847. + shrext_cmds=".dll"
  31848. + # FIXME: Setting linknames here is a bad hack.
  31849. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  31850. + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  31851. + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  31852. + else
  31853. + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  31854. + fi~
  31855. + $CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs @$output_objdir/$soname.exp -Wl,-DLL~
  31856. + linknames='
  31857. + # The linker will not automatically build a static lib if we build a DLL.
  31858. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  31859. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  31860. + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
  31861. + # Don't use ranlib
  31862. + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
  31863. + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
  31864. + case $lt_outputfile in
  31865. + *.exe|*.EXE) ;;
  31866. + *) lt_outputfile="$lt_outputfile.exe" ;;
  31867. + esac~
  31868. + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  31869. + $MANIFEST_TOOL -manifest "$lt_outputfile.manifest" -outputresource:"$lt_outputfile" || exit 1;
  31870. + $RM "$lt_outputfile.manifest";
  31871. + fi'
  31872. + ;;
  31873. + *)
  31874. + # Assume MSVC wrapper
  31875. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  31876. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  31877. + # Tell ltmain to make .lib files, not .a files.
  31878. + libext=lib
  31879. + # Tell ltmain to make .dll files, not .so files.
  31880. + shrext_cmds=".dll"
  31881. + # FIXME: Setting linknames here is a bad hack.
  31882. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  31883. + # The linker will automatically build a .lib file if we build a DLL.
  31884. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  31885. + # FIXME: Should let the user specify the lib program.
  31886. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  31887. + _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  31888. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  31889. + ;;
  31890. + esac
  31891. + ;;
  31892. +
  31893. + darwin* | rhapsody*)
  31894. + _LT_DARWIN_LINKER_FEATURES($1)
  31895. + ;;
  31896. +
  31897. + dgux*)
  31898. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  31899. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  31900. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  31901. + ;;
  31902. +
  31903. + freebsd1*)
  31904. + _LT_TAGVAR(ld_shlibs, $1)=no
  31905. + ;;
  31906. +
  31907. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  31908. + # support. Future versions do this automatically, but an explicit c++rt0.o
  31909. + # does not break anything, and helps significantly (at the cost of a little
  31910. + # extra space).
  31911. + freebsd2.2*)
  31912. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  31913. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  31914. + _LT_TAGVAR(hardcode_direct, $1)=yes
  31915. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  31916. + ;;
  31917. +
  31918. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  31919. + freebsd2*)
  31920. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  31921. + _LT_TAGVAR(hardcode_direct, $1)=yes
  31922. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  31923. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  31924. + ;;
  31925. +
  31926. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  31927. + freebsd* | dragonfly*)
  31928. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  31929. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  31930. + _LT_TAGVAR(hardcode_direct, $1)=yes
  31931. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  31932. + ;;
  31933. +
  31934. + hpux9*)
  31935. + if test "$GCC" = yes; then
  31936. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  31937. + else
  31938. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  31939. + fi
  31940. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  31941. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  31942. + _LT_TAGVAR(hardcode_direct, $1)=yes
  31943. +
  31944. + # hardcode_minus_L: Not really in the search PATH,
  31945. + # but as the default location of the library.
  31946. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  31947. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  31948. + ;;
  31949. +
  31950. + hpux10*)
  31951. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  31952. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  31953. + else
  31954. + _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  31955. + fi
  31956. + if test "$with_gnu_ld" = no; then
  31957. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  31958. + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  31959. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  31960. + _LT_TAGVAR(hardcode_direct, $1)=yes
  31961. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  31962. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  31963. + # hardcode_minus_L: Not really in the search PATH,
  31964. + # but as the default location of the library.
  31965. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  31966. + fi
  31967. + ;;
  31968. +
  31969. + hpux11*)
  31970. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  31971. + case $host_cpu in
  31972. + hppa*64*)
  31973. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  31974. + ;;
  31975. + ia64*)
  31976. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  31977. + ;;
  31978. + *)
  31979. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  31980. + ;;
  31981. + esac
  31982. + else
  31983. + case $host_cpu in
  31984. + hppa*64*)
  31985. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  31986. + ;;
  31987. + ia64*)
  31988. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  31989. + ;;
  31990. + *)
  31991. + m4_if($1, [], [
  31992. + # Older versions of the 11.00 compiler do not understand -b yet
  31993. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  31994. + _LT_LINKER_OPTION([if $CC understands -b],
  31995. + _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
  31996. + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
  31997. + [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
  31998. + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
  31999. + ;;
  32000. + esac
  32001. + fi
  32002. + if test "$with_gnu_ld" = no; then
  32003. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  32004. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  32005. +
  32006. + case $host_cpu in
  32007. + hppa*64*|ia64*)
  32008. + _LT_TAGVAR(hardcode_direct, $1)=no
  32009. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  32010. + ;;
  32011. + *)
  32012. + _LT_TAGVAR(hardcode_direct, $1)=yes
  32013. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  32014. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  32015. +
  32016. + # hardcode_minus_L: Not really in the search PATH,
  32017. + # but as the default location of the library.
  32018. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  32019. + ;;
  32020. + esac
  32021. + fi
  32022. + ;;
  32023. +
  32024. + irix5* | irix6* | nonstopux*)
  32025. + if test "$GCC" = yes; then
  32026. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  32027. + # Try to use the -exported_symbol ld option, if it does not
  32028. + # work, assume that -exports_file does not work either and
  32029. + # implicitly export all symbols.
  32030. + save_LDFLAGS="$LDFLAGS"
  32031. + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  32032. + AC_LINK_IFELSE(int foo(void) {},
  32033. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  32034. + )
  32035. + LDFLAGS="$save_LDFLAGS"
  32036. + else
  32037. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  32038. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  32039. + fi
  32040. + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  32041. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  32042. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  32043. + _LT_TAGVAR(inherit_rpath, $1)=yes
  32044. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  32045. + ;;
  32046. +
  32047. + netbsd*)
  32048. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  32049. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  32050. + else
  32051. + _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  32052. + fi
  32053. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  32054. + _LT_TAGVAR(hardcode_direct, $1)=yes
  32055. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  32056. + ;;
  32057. +
  32058. + newsos6)
  32059. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32060. + _LT_TAGVAR(hardcode_direct, $1)=yes
  32061. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  32062. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  32063. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  32064. + ;;
  32065. +
  32066. + *nto* | *qnx*)
  32067. + ;;
  32068. +
  32069. + openbsd*)
  32070. + if test -f /usr/libexec/ld.so; then
  32071. + _LT_TAGVAR(hardcode_direct, $1)=yes
  32072. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  32073. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  32074. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  32075. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  32076. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  32077. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  32078. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  32079. + else
  32080. + case $host_os in
  32081. + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  32082. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  32083. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  32084. + ;;
  32085. + *)
  32086. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  32087. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  32088. + ;;
  32089. + esac
  32090. + fi
  32091. + else
  32092. + _LT_TAGVAR(ld_shlibs, $1)=no
  32093. + fi
  32094. + ;;
  32095. +
  32096. + os2*)
  32097. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  32098. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  32099. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  32100. + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  32101. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  32102. + ;;
  32103. +
  32104. + osf3*)
  32105. + if test "$GCC" = yes; then
  32106. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  32107. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  32108. + else
  32109. + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  32110. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  32111. + fi
  32112. + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  32113. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  32114. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  32115. + ;;
  32116. +
  32117. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  32118. + if test "$GCC" = yes; then
  32119. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  32120. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  32121. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  32122. + else
  32123. + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  32124. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  32125. + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  32126. + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  32127. +
  32128. + # Both c and cxx compiler support -rpath directly
  32129. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  32130. + fi
  32131. + _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  32132. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  32133. + ;;
  32134. +
  32135. + solaris*)
  32136. + _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
  32137. + if test "$GCC" = yes; then
  32138. + wlarc='${wl}'
  32139. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  32140. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  32141. + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  32142. + else
  32143. + case `$CC -V 2>&1` in
  32144. + *"Compilers 5.0"*)
  32145. + wlarc=''
  32146. + _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32147. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  32148. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  32149. + ;;
  32150. + *)
  32151. + wlarc='${wl}'
  32152. + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  32153. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  32154. + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  32155. + ;;
  32156. + esac
  32157. + fi
  32158. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  32159. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  32160. + case $host_os in
  32161. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  32162. + *)
  32163. + # The compiler driver will combine and reorder linker options,
  32164. + # but understands `-z linker_flag'. GCC discards it without `$wl',
  32165. + # but is careful enough not to reorder.
  32166. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  32167. + if test "$GCC" = yes; then
  32168. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  32169. + else
  32170. + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  32171. + fi
  32172. + ;;
  32173. + esac
  32174. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  32175. + ;;
  32176. +
  32177. + sunos4*)
  32178. + if test "x$host_vendor" = xsequent; then
  32179. + # Use $CC to link under sequent, because it throws in some extra .o
  32180. + # files that make .init and .fini sections work.
  32181. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  32182. + else
  32183. + _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  32184. + fi
  32185. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  32186. + _LT_TAGVAR(hardcode_direct, $1)=yes
  32187. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  32188. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  32189. + ;;
  32190. +
  32191. + sysv4)
  32192. + case $host_vendor in
  32193. + sni)
  32194. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32195. + _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
  32196. + ;;
  32197. + siemens)
  32198. + ## LD is ld it makes a PLAMLIB
  32199. + ## CC just makes a GrossModule.
  32200. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  32201. + _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
  32202. + _LT_TAGVAR(hardcode_direct, $1)=no
  32203. + ;;
  32204. + motorola)
  32205. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32206. + _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
  32207. + ;;
  32208. + esac
  32209. + runpath_var='LD_RUN_PATH'
  32210. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  32211. + ;;
  32212. +
  32213. + sysv4.3*)
  32214. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32215. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  32216. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
  32217. + ;;
  32218. +
  32219. + sysv4*MP*)
  32220. + if test -d /usr/nec; then
  32221. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32222. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  32223. + runpath_var=LD_RUN_PATH
  32224. + hardcode_runpath_var=yes
  32225. + _LT_TAGVAR(ld_shlibs, $1)=yes
  32226. + fi
  32227. + ;;
  32228. +
  32229. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  32230. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  32231. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  32232. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  32233. + runpath_var='LD_RUN_PATH'
  32234. +
  32235. + if test "$GCC" = yes; then
  32236. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  32237. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  32238. + else
  32239. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  32240. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  32241. + fi
  32242. + ;;
  32243. +
  32244. + sysv5* | sco3.2v5* | sco5v6*)
  32245. + # Note: We can NOT use -z defs as we might desire, because we do not
  32246. + # link with -lc, and that would cause any symbols used from libc to
  32247. + # always be unresolved, which means just about no library would
  32248. + # ever link correctly. If we're not using GNU ld we use -z text
  32249. + # though, which does catch some bad symbols but isn't as heavy-handed
  32250. + # as -z defs.
  32251. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  32252. + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  32253. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  32254. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  32255. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  32256. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  32257. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  32258. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  32259. + runpath_var='LD_RUN_PATH'
  32260. +
  32261. + if test "$GCC" = yes; then
  32262. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  32263. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  32264. + else
  32265. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  32266. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  32267. + fi
  32268. + ;;
  32269. +
  32270. + uts4*)
  32271. + _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  32272. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  32273. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  32274. + ;;
  32275. +
  32276. + *)
  32277. + _LT_TAGVAR(ld_shlibs, $1)=no
  32278. + ;;
  32279. + esac
  32280. +
  32281. + if test x$host_vendor = xsni; then
  32282. + case $host in
  32283. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  32284. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
  32285. + ;;
  32286. + esac
  32287. + fi
  32288. + fi
  32289. +])
  32290. +AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  32291. +test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  32292. +
  32293. +_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
  32294. +
  32295. +_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
  32296. +_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
  32297. +_LT_DECL([], [extract_expsyms_cmds], [2],
  32298. + [The commands to extract the exported symbol list from a shared archive])
  32299. +
  32300. +#
  32301. +# Do we need to explicitly link libc?
  32302. +#
  32303. +case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
  32304. +x|xyes)
  32305. + # Assume -lc should be added
  32306. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  32307. +
  32308. + if test "$enable_shared" = yes && test "$GCC" = yes; then
  32309. + case $_LT_TAGVAR(archive_cmds, $1) in
  32310. + *'~'*)
  32311. + # FIXME: we may have to deal with multi-command sequences.
  32312. + ;;
  32313. + '$CC '*)
  32314. + # Test whether the compiler implicitly links with -lc since on some
  32315. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  32316. + # to ld, don't add -lc before -lgcc.
  32317. + AC_CACHE_CHECK([whether -lc should be explicitly linked in],
  32318. + [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
  32319. + [$RM conftest*
  32320. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  32321. +
  32322. + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  32323. + soname=conftest
  32324. + lib=conftest
  32325. + libobjs=conftest.$ac_objext
  32326. + deplibs=
  32327. + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  32328. + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  32329. + compiler_flags=-v
  32330. + linker_flags=-v
  32331. + verstring=
  32332. + output_objdir=.
  32333. + libname=conftest
  32334. + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  32335. + _LT_TAGVAR(allow_undefined_flag, $1)=
  32336. + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  32337. + then
  32338. + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  32339. + else
  32340. + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  32341. + fi
  32342. + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  32343. + else
  32344. + cat conftest.err 1>&5
  32345. + fi
  32346. + $RM conftest*
  32347. + ])
  32348. + _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
  32349. + ;;
  32350. + esac
  32351. + fi
  32352. + ;;
  32353. +esac
  32354. +
  32355. +_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
  32356. + [Whether or not to add -lc for building shared libraries])
  32357. +_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
  32358. + [enable_shared_with_static_runtimes], [0],
  32359. + [Whether or not to disallow shared libs when runtime libs are static])
  32360. +_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
  32361. + [Compiler flag to allow reflexive dlopens])
  32362. +_LT_TAGDECL([], [whole_archive_flag_spec], [1],
  32363. + [Compiler flag to generate shared objects directly from archives])
  32364. +_LT_TAGDECL([], [compiler_needs_object], [1],
  32365. + [Whether the compiler copes with passing no objects directly])
  32366. +_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
  32367. + [Create an old-style archive from a shared archive])
  32368. +_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
  32369. + [Create a temporary old-style archive to link instead of a shared archive])
  32370. +_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
  32371. +_LT_TAGDECL([], [archive_expsym_cmds], [2])
  32372. +_LT_TAGDECL([], [module_cmds], [2],
  32373. + [Commands used to build a loadable module if different from building
  32374. + a shared archive.])
  32375. +_LT_TAGDECL([], [module_expsym_cmds], [2])
  32376. +_LT_TAGDECL([], [with_gnu_ld], [1],
  32377. + [Whether we are building with GNU ld or not])
  32378. +_LT_TAGDECL([], [allow_undefined_flag], [1],
  32379. + [Flag that allows shared libraries with undefined symbols to be built])
  32380. +_LT_TAGDECL([], [no_undefined_flag], [1],
  32381. + [Flag that enforces no undefined symbols])
  32382. +_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
  32383. + [Flag to hardcode $libdir into a binary during linking.
  32384. + This must work even if $libdir does not exist])
  32385. +_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
  32386. + [[If ld is used when linking, flag to hardcode $libdir into a binary
  32387. + during linking. This must work even if $libdir does not exist]])
  32388. +_LT_TAGDECL([], [hardcode_libdir_separator], [1],
  32389. + [Whether we need a single "-rpath" flag with a separated argument])
  32390. +_LT_TAGDECL([], [hardcode_direct], [0],
  32391. + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  32392. + DIR into the resulting binary])
  32393. +_LT_TAGDECL([], [hardcode_direct_absolute], [0],
  32394. + [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  32395. + DIR into the resulting binary and the resulting library dependency is
  32396. + "absolute", i.e impossible to change by setting ${shlibpath_var} if the
  32397. + library is relocated])
  32398. +_LT_TAGDECL([], [hardcode_minus_L], [0],
  32399. + [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  32400. + into the resulting binary])
  32401. +_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
  32402. + [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  32403. + into the resulting binary])
  32404. +_LT_TAGDECL([], [hardcode_automatic], [0],
  32405. + [Set to "yes" if building a shared library automatically hardcodes DIR
  32406. + into the library and all subsequent libraries and executables linked
  32407. + against it])
  32408. +_LT_TAGDECL([], [inherit_rpath], [0],
  32409. + [Set to yes if linker adds runtime paths of dependent libraries
  32410. + to runtime path list])
  32411. +_LT_TAGDECL([], [link_all_deplibs], [0],
  32412. + [Whether libtool must link a program against all its dependency libraries])
  32413. +_LT_TAGDECL([], [fix_srcfile_path], [1],
  32414. + [Fix the shell variable $srcfile for the compiler])
  32415. +_LT_TAGDECL([], [always_export_symbols], [0],
  32416. + [Set to "yes" if exported symbols are required])
  32417. +_LT_TAGDECL([], [export_symbols_cmds], [2],
  32418. + [The commands to list exported symbols])
  32419. +_LT_TAGDECL([], [exclude_expsyms], [1],
  32420. + [Symbols that should not be listed in the preloaded symbols])
  32421. +_LT_TAGDECL([], [include_expsyms], [1],
  32422. + [Symbols that must always be exported])
  32423. +_LT_TAGDECL([], [prelink_cmds], [2],
  32424. + [Commands necessary for linking programs (against libraries) with templates])
  32425. +_LT_TAGDECL([], [postlink_cmds], [2],
  32426. + [Commands necessary for finishing linking programs])
  32427. +_LT_TAGDECL([], [file_list_spec], [1],
  32428. + [Specify filename containing input files])
  32429. +dnl FIXME: Not yet implemented
  32430. +dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
  32431. +dnl [Compiler flag to generate thread safe objects])
  32432. +])# _LT_LINKER_SHLIBS
  32433. +
  32434. +
  32435. +# _LT_LANG_C_CONFIG([TAG])
  32436. +# ------------------------
  32437. +# Ensure that the configuration variables for a C compiler are suitably
  32438. +# defined. These variables are subsequently used by _LT_CONFIG to write
  32439. +# the compiler configuration to `libtool'.
  32440. +m4_defun([_LT_LANG_C_CONFIG],
  32441. +[m4_require([_LT_DECL_EGREP])dnl
  32442. +lt_save_CC="$CC"
  32443. +AC_LANG_PUSH(C)
  32444. +
  32445. +# Source file extension for C test sources.
  32446. +ac_ext=c
  32447. +
  32448. +# Object file extension for compiled C test sources.
  32449. +objext=o
  32450. +_LT_TAGVAR(objext, $1)=$objext
  32451. +
  32452. +# Code to be used in simple compile tests
  32453. +lt_simple_compile_test_code="int some_variable = 0;"
  32454. +
  32455. +# Code to be used in simple link tests
  32456. +lt_simple_link_test_code='int main(){return(0);}'
  32457. +
  32458. +_LT_TAG_COMPILER
  32459. +# Save the default compiler, since it gets overwritten when the other
  32460. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  32461. +compiler_DEFAULT=$CC
  32462. +
  32463. +# save warnings/boilerplate of simple test code
  32464. +_LT_COMPILER_BOILERPLATE
  32465. +_LT_LINKER_BOILERPLATE
  32466. +
  32467. +## CAVEAT EMPTOR:
  32468. +## There is no encapsulation within the following macros, do not change
  32469. +## the running order or otherwise move them around unless you know exactly
  32470. +## what you are doing...
  32471. +if test -n "$compiler"; then
  32472. + _LT_COMPILER_NO_RTTI($1)
  32473. + _LT_COMPILER_PIC($1)
  32474. + _LT_COMPILER_C_O($1)
  32475. + _LT_COMPILER_FILE_LOCKS($1)
  32476. + _LT_LINKER_SHLIBS($1)
  32477. + _LT_SYS_DYNAMIC_LINKER($1)
  32478. + _LT_LINKER_HARDCODE_LIBPATH($1)
  32479. + LT_SYS_DLOPEN_SELF
  32480. + _LT_CMD_STRIPLIB
  32481. +
  32482. + # Report which library types will actually be built
  32483. + AC_MSG_CHECKING([if libtool supports shared libraries])
  32484. + AC_MSG_RESULT([$can_build_shared])
  32485. +
  32486. + AC_MSG_CHECKING([whether to build shared libraries])
  32487. + test "$can_build_shared" = "no" && enable_shared=no
  32488. +
  32489. + # On AIX, shared libraries and static libraries use the same namespace, and
  32490. + # are all built from PIC.
  32491. + case $host_os in
  32492. + aix3*)
  32493. + test "$enable_shared" = yes && enable_static=no
  32494. + if test -n "$RANLIB"; then
  32495. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  32496. + postinstall_cmds='$RANLIB $lib'
  32497. + fi
  32498. + ;;
  32499. +
  32500. + aix[[4-9]]*)
  32501. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  32502. + test "$enable_shared" = yes && enable_static=no
  32503. + fi
  32504. + ;;
  32505. + esac
  32506. + AC_MSG_RESULT([$enable_shared])
  32507. +
  32508. + AC_MSG_CHECKING([whether to build static libraries])
  32509. + # Make sure either enable_shared or enable_static is yes.
  32510. + test "$enable_shared" = yes || enable_static=yes
  32511. + AC_MSG_RESULT([$enable_static])
  32512. +
  32513. + _LT_CONFIG($1)
  32514. +fi
  32515. +AC_LANG_POP
  32516. +CC="$lt_save_CC"
  32517. +])# _LT_LANG_C_CONFIG
  32518. +
  32519. +
  32520. +# _LT_LANG_CXX_CONFIG([TAG])
  32521. +# --------------------------
  32522. +# Ensure that the configuration variables for a C++ compiler are suitably
  32523. +# defined. These variables are subsequently used by _LT_CONFIG to write
  32524. +# the compiler configuration to `libtool'.
  32525. +m4_defun([_LT_LANG_CXX_CONFIG],
  32526. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  32527. +m4_require([_LT_DECL_EGREP])dnl
  32528. +m4_require([_LT_PATH_MANIFEST_TOOL])dnl
  32529. +if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  32530. + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  32531. + (test "X$CXX" != "Xg++"))) ; then
  32532. + AC_PROG_CXXCPP
  32533. +else
  32534. + _lt_caught_CXX_error=yes
  32535. +fi
  32536. +
  32537. +AC_LANG_PUSH(C++)
  32538. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  32539. +_LT_TAGVAR(allow_undefined_flag, $1)=
  32540. +_LT_TAGVAR(always_export_symbols, $1)=no
  32541. +_LT_TAGVAR(archive_expsym_cmds, $1)=
  32542. +_LT_TAGVAR(compiler_needs_object, $1)=no
  32543. +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  32544. +_LT_TAGVAR(hardcode_direct, $1)=no
  32545. +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  32546. +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  32547. +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  32548. +_LT_TAGVAR(hardcode_libdir_separator, $1)=
  32549. +_LT_TAGVAR(hardcode_minus_L, $1)=no
  32550. +_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  32551. +_LT_TAGVAR(hardcode_automatic, $1)=no
  32552. +_LT_TAGVAR(inherit_rpath, $1)=no
  32553. +_LT_TAGVAR(module_cmds, $1)=
  32554. +_LT_TAGVAR(module_expsym_cmds, $1)=
  32555. +_LT_TAGVAR(link_all_deplibs, $1)=unknown
  32556. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  32557. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  32558. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  32559. +_LT_TAGVAR(no_undefined_flag, $1)=
  32560. +_LT_TAGVAR(whole_archive_flag_spec, $1)=
  32561. +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  32562. +
  32563. +# Source file extension for C++ test sources.
  32564. +ac_ext=cpp
  32565. +
  32566. +# Object file extension for compiled C++ test sources.
  32567. +objext=o
  32568. +_LT_TAGVAR(objext, $1)=$objext
  32569. +
  32570. +# No sense in running all these tests if we already determined that
  32571. +# the CXX compiler isn't working. Some variables (like enable_shared)
  32572. +# are currently assumed to apply to all compilers on this platform,
  32573. +# and will be corrupted by setting them based on a non-working compiler.
  32574. +if test "$_lt_caught_CXX_error" != yes; then
  32575. + # Code to be used in simple compile tests
  32576. + lt_simple_compile_test_code="int some_variable = 0;"
  32577. +
  32578. + # Code to be used in simple link tests
  32579. + lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
  32580. +
  32581. + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  32582. + _LT_TAG_COMPILER
  32583. +
  32584. + # save warnings/boilerplate of simple test code
  32585. + _LT_COMPILER_BOILERPLATE
  32586. + _LT_LINKER_BOILERPLATE
  32587. +
  32588. + # Allow CC to be a program name with arguments.
  32589. + lt_save_CC=$CC
  32590. + lt_save_LD=$LD
  32591. + lt_save_GCC=$GCC
  32592. + GCC=$GXX
  32593. + lt_save_with_gnu_ld=$with_gnu_ld
  32594. + lt_save_path_LD=$lt_cv_path_LD
  32595. + if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  32596. + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  32597. + else
  32598. + $as_unset lt_cv_prog_gnu_ld
  32599. + fi
  32600. + if test -n "${lt_cv_path_LDCXX+set}"; then
  32601. + lt_cv_path_LD=$lt_cv_path_LDCXX
  32602. + else
  32603. + $as_unset lt_cv_path_LD
  32604. + fi
  32605. + test -z "${LDCXX+set}" || LD=$LDCXX
  32606. + CC=${CXX-"c++"}
  32607. + compiler=$CC
  32608. + _LT_TAGVAR(compiler, $1)=$CC
  32609. + _LT_CC_BASENAME([$compiler])
  32610. +
  32611. + if test -n "$compiler"; then
  32612. + # We don't want -fno-exception when compiling C++ code, so set the
  32613. + # no_builtin_flag separately
  32614. + if test "$GXX" = yes; then
  32615. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  32616. + else
  32617. + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  32618. + fi
  32619. +
  32620. + if test "$GXX" = yes; then
  32621. + # Set up default GNU C++ configuration
  32622. +
  32623. + LT_PATH_LD
  32624. +
  32625. + # Check if GNU C++ uses GNU ld as the underlying linker, since the
  32626. + # archiving commands below assume that GNU ld is being used.
  32627. + if test "$with_gnu_ld" = yes; then
  32628. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  32629. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  32630. +
  32631. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  32632. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  32633. +
  32634. + # If archive_cmds runs LD, not CC, wlarc should be empty
  32635. + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  32636. + # investigate it a little bit more. (MM)
  32637. + wlarc='${wl}'
  32638. +
  32639. + # ancient GNU ld didn't support --whole-archive et. al.
  32640. + if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  32641. + $GREP 'no-whole-archive' > /dev/null; then
  32642. + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  32643. + else
  32644. + _LT_TAGVAR(whole_archive_flag_spec, $1)=
  32645. + fi
  32646. + else
  32647. + with_gnu_ld=no
  32648. + wlarc=
  32649. +
  32650. + # A generic and very simple default shared library creation
  32651. + # command for GNU C++ for the case where it uses the native
  32652. + # linker, instead of GNU ld. If possible, this setting should
  32653. + # overridden to take advantage of the native linker features on
  32654. + # the platform it is being used on.
  32655. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  32656. + fi
  32657. +
  32658. + # Commands to make compiler produce verbose output that lists
  32659. + # what "hidden" libraries, object files and flags are used when
  32660. + # linking a shared library.
  32661. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  32662. +
  32663. + else
  32664. + GXX=no
  32665. + with_gnu_ld=no
  32666. + wlarc=
  32667. + fi
  32668. +
  32669. + # PORTME: fill in a description of your system's C++ link characteristics
  32670. + AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  32671. + _LT_TAGVAR(ld_shlibs, $1)=yes
  32672. + case $host_os in
  32673. + aix3*)
  32674. + # FIXME: insert proper C++ library support
  32675. + _LT_TAGVAR(ld_shlibs, $1)=no
  32676. + ;;
  32677. + aix[[4-9]]*)
  32678. + if test "$host_cpu" = ia64; then
  32679. + # On IA64, the linker does run time linking by default, so we don't
  32680. + # have to do anything special.
  32681. + aix_use_runtimelinking=no
  32682. + exp_sym_flag='-Bexport'
  32683. + no_entry_flag=""
  32684. + else
  32685. + aix_use_runtimelinking=no
  32686. +
  32687. + # Test if we are trying to use run time linking or normal
  32688. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  32689. + # need to do runtime linking.
  32690. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  32691. + for ld_flag in $LDFLAGS; do
  32692. + case $ld_flag in
  32693. + *-brtl*)
  32694. + aix_use_runtimelinking=yes
  32695. + break
  32696. + ;;
  32697. + esac
  32698. + done
  32699. + ;;
  32700. + esac
  32701. +
  32702. + exp_sym_flag='-bexport'
  32703. + no_entry_flag='-bnoentry'
  32704. + fi
  32705. +
  32706. + # When large executables or shared objects are built, AIX ld can
  32707. + # have problems creating the table of contents. If linking a library
  32708. + # or program results in "error TOC overflow" add -mminimal-toc to
  32709. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  32710. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  32711. +
  32712. + _LT_TAGVAR(archive_cmds, $1)=''
  32713. + _LT_TAGVAR(hardcode_direct, $1)=yes
  32714. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  32715. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  32716. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  32717. + _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  32718. +
  32719. + if test "$GXX" = yes; then
  32720. + case $host_os in aix4.[[012]]|aix4.[[012]].*)
  32721. + # We only want to do this on AIX 4.2 and lower, the check
  32722. + # below for broken collect2 doesn't work under 4.3+
  32723. + collect2name=`${CC} -print-prog-name=collect2`
  32724. + if test -f "$collect2name" &&
  32725. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  32726. + then
  32727. + # We have reworked collect2
  32728. + :
  32729. + else
  32730. + # We have old collect2
  32731. + _LT_TAGVAR(hardcode_direct, $1)=unsupported
  32732. + # It fails to find uninstalled libraries when the uninstalled
  32733. + # path is not listed in the libpath. Setting hardcode_minus_L
  32734. + # to unsupported forces relinking
  32735. + _LT_TAGVAR(hardcode_minus_L, $1)=yes
  32736. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  32737. + _LT_TAGVAR(hardcode_libdir_separator, $1)=
  32738. + fi
  32739. + esac
  32740. + shared_flag='-shared'
  32741. + if test "$aix_use_runtimelinking" = yes; then
  32742. + shared_flag="$shared_flag "'${wl}-G'
  32743. + fi
  32744. + else
  32745. + # not using gcc
  32746. + if test "$host_cpu" = ia64; then
  32747. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  32748. + # chokes on -Wl,-G. The following line is correct:
  32749. + shared_flag='-G'
  32750. + else
  32751. + if test "$aix_use_runtimelinking" = yes; then
  32752. + shared_flag='${wl}-G'
  32753. + else
  32754. + shared_flag='${wl}-bM:SRE'
  32755. + fi
  32756. + fi
  32757. + fi
  32758. +
  32759. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  32760. + # It seems that -bexpall does not export symbols beginning with
  32761. + # underscore (_), so it is better to generate a list of symbols to
  32762. + # export.
  32763. + _LT_TAGVAR(always_export_symbols, $1)=yes
  32764. + if test "$aix_use_runtimelinking" = yes; then
  32765. + # Warning - without using the other runtime loading flags (-brtl),
  32766. + # -berok will link without error, but may produce a broken library.
  32767. + _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  32768. + # Determine the default libpath from the value encoded in an empty
  32769. + # executable.
  32770. + _LT_SYS_MODULE_PATH_AIX
  32771. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  32772. +
  32773. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  32774. + else
  32775. + if test "$host_cpu" = ia64; then
  32776. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  32777. + _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  32778. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  32779. + else
  32780. + # Determine the default libpath from the value encoded in an
  32781. + # empty executable.
  32782. + _LT_SYS_MODULE_PATH_AIX
  32783. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  32784. + # Warning - without using the other run time loading flags,
  32785. + # -berok will link without error, but may produce a broken library.
  32786. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  32787. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  32788. + if test "$with_gnu_ld" = yes; then
  32789. + # We only use this code for GNU lds that support --whole-archive.
  32790. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  32791. + else
  32792. + # Exported symbols can be pulled into shared objects from archives
  32793. + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  32794. + fi
  32795. + _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  32796. + # This is similar to how AIX traditionally builds its shared
  32797. + # libraries.
  32798. + _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  32799. + fi
  32800. + fi
  32801. + ;;
  32802. +
  32803. + beos*)
  32804. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  32805. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  32806. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  32807. + # support --undefined. This deserves some investigation. FIXME
  32808. + _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  32809. + else
  32810. + _LT_TAGVAR(ld_shlibs, $1)=no
  32811. + fi
  32812. + ;;
  32813. +
  32814. + chorus*)
  32815. + case $cc_basename in
  32816. + *)
  32817. + # FIXME: insert proper C++ library support
  32818. + _LT_TAGVAR(ld_shlibs, $1)=no
  32819. + ;;
  32820. + esac
  32821. + ;;
  32822. +
  32823. + cygwin* | mingw* | pw32* | cegcc*)
  32824. + case $GXX,$cc_basename in
  32825. + ,cl* | no,cl*)
  32826. + # Native MSVC
  32827. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  32828. + # no search path for DLLs.
  32829. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  32830. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  32831. + _LT_TAGVAR(always_export_symbols, $1)=yes
  32832. + _LT_TAGVAR(file_list_spec, $1)='@'
  32833. + # Tell ltmain to make .lib files, not .a files.
  32834. + libext=lib
  32835. + # Tell ltmain to make .dll files, not .so files.
  32836. + shrext_cmds=".dll"
  32837. + # FIXME: Setting linknames here is a bad hack.
  32838. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
  32839. + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  32840. + $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
  32841. + else
  32842. + $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
  32843. + fi~
  32844. + $CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs @$output_objdir/$soname.exp -Wl,-DLL~
  32845. + linknames='
  32846. + # The linker will not automatically build a static lib if we build a DLL.
  32847. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  32848. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  32849. + # Don't use ranlib
  32850. + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
  32851. + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
  32852. + case $lt_outputfile in
  32853. + *.exe|*.EXE) ;;
  32854. + *) lt_outputfile="$lt_outputfile.exe" ;;
  32855. + esac~
  32856. + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
  32857. + $MANIFEST_TOOL -manifest "$lt_outputfile.manifest" -outputresource:"$lt_outputfile" || exit 1;
  32858. + $RM "$lt_outputfile.manifest";
  32859. + fi'
  32860. + ;;
  32861. + *)
  32862. + # g++
  32863. + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  32864. + # as there is no search path for DLLs.
  32865. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  32866. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
  32867. + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  32868. + _LT_TAGVAR(always_export_symbols, $1)=no
  32869. + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  32870. +
  32871. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  32872. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  32873. + # If the export-symbols file already is a .def file (1st line
  32874. + # is EXPORTS), use it as is; otherwise, prepend...
  32875. + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  32876. + cp $export_symbols $output_objdir/$soname.def;
  32877. + else
  32878. + echo EXPORTS > $output_objdir/$soname.def;
  32879. + cat $export_symbols >> $output_objdir/$soname.def;
  32880. + fi~
  32881. + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  32882. + else
  32883. + _LT_TAGVAR(ld_shlibs, $1)=no
  32884. + fi
  32885. + ;;
  32886. + esac
  32887. + ;;
  32888. + darwin* | rhapsody*)
  32889. + _LT_DARWIN_LINKER_FEATURES($1)
  32890. + ;;
  32891. +
  32892. + dgux*)
  32893. + case $cc_basename in
  32894. + ec++*)
  32895. + # FIXME: insert proper C++ library support
  32896. + _LT_TAGVAR(ld_shlibs, $1)=no
  32897. + ;;
  32898. + ghcx*)
  32899. + # Green Hills C++ Compiler
  32900. + # FIXME: insert proper C++ library support
  32901. + _LT_TAGVAR(ld_shlibs, $1)=no
  32902. + ;;
  32903. + *)
  32904. + # FIXME: insert proper C++ library support
  32905. + _LT_TAGVAR(ld_shlibs, $1)=no
  32906. + ;;
  32907. + esac
  32908. + ;;
  32909. +
  32910. + freebsd[[12]]*)
  32911. + # C++ shared libraries reported to be fairly broken before
  32912. + # switch to ELF
  32913. + _LT_TAGVAR(ld_shlibs, $1)=no
  32914. + ;;
  32915. +
  32916. + freebsd-elf*)
  32917. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  32918. + ;;
  32919. +
  32920. + freebsd* | dragonfly*)
  32921. + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  32922. + # conventions
  32923. + _LT_TAGVAR(ld_shlibs, $1)=yes
  32924. + ;;
  32925. +
  32926. + gnu*)
  32927. + ;;
  32928. +
  32929. + haiku*)
  32930. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  32931. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  32932. + ;;
  32933. +
  32934. + hpux9*)
  32935. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  32936. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  32937. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  32938. + _LT_TAGVAR(hardcode_direct, $1)=yes
  32939. + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  32940. + # but as the default
  32941. + # location of the library.
  32942. +
  32943. + case $cc_basename in
  32944. + CC*)
  32945. + # FIXME: insert proper C++ library support
  32946. + _LT_TAGVAR(ld_shlibs, $1)=no
  32947. + ;;
  32948. + aCC*)
  32949. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  32950. + # Commands to make compiler produce verbose output that lists
  32951. + # what "hidden" libraries, object files and flags are used when
  32952. + # linking a shared library.
  32953. + #
  32954. + # There doesn't appear to be a way to prevent this compiler from
  32955. + # explicitly linking system object files so we need to strip them
  32956. + # from the output so that they don't get included in the library
  32957. + # dependencies.
  32958. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  32959. + ;;
  32960. + *)
  32961. + if test "$GXX" = yes; then
  32962. + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  32963. + else
  32964. + # FIXME: insert proper C++ library support
  32965. + _LT_TAGVAR(ld_shlibs, $1)=no
  32966. + fi
  32967. + ;;
  32968. + esac
  32969. + ;;
  32970. +
  32971. + hpux10*|hpux11*)
  32972. + if test $with_gnu_ld = no; then
  32973. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  32974. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  32975. +
  32976. + case $host_cpu in
  32977. + hppa*64*|ia64*)
  32978. + ;;
  32979. + *)
  32980. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  32981. + ;;
  32982. + esac
  32983. + fi
  32984. + case $host_cpu in
  32985. + hppa*64*|ia64*)
  32986. + _LT_TAGVAR(hardcode_direct, $1)=no
  32987. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  32988. + ;;
  32989. + *)
  32990. + _LT_TAGVAR(hardcode_direct, $1)=yes
  32991. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  32992. + _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  32993. + # but as the default
  32994. + # location of the library.
  32995. + ;;
  32996. + esac
  32997. +
  32998. + case $cc_basename in
  32999. + CC*)
  33000. + # FIXME: insert proper C++ library support
  33001. + _LT_TAGVAR(ld_shlibs, $1)=no
  33002. + ;;
  33003. + aCC*)
  33004. + case $host_cpu in
  33005. + hppa*64*)
  33006. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  33007. + ;;
  33008. + ia64*)
  33009. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  33010. + ;;
  33011. + *)
  33012. + _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  33013. + ;;
  33014. + esac
  33015. + # Commands to make compiler produce verbose output that lists
  33016. + # what "hidden" libraries, object files and flags are used when
  33017. + # linking a shared library.
  33018. + #
  33019. + # There doesn't appear to be a way to prevent this compiler from
  33020. + # explicitly linking system object files so we need to strip them
  33021. + # from the output so that they don't get included in the library
  33022. + # dependencies.
  33023. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  33024. + ;;
  33025. + *)
  33026. + if test "$GXX" = yes; then
  33027. + if test $with_gnu_ld = no; then
  33028. + case $host_cpu in
  33029. + hppa*64*)
  33030. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  33031. + ;;
  33032. + ia64*)
  33033. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  33034. + ;;
  33035. + *)
  33036. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  33037. + ;;
  33038. + esac
  33039. + fi
  33040. + else
  33041. + # FIXME: insert proper C++ library support
  33042. + _LT_TAGVAR(ld_shlibs, $1)=no
  33043. + fi
  33044. + ;;
  33045. + esac
  33046. + ;;
  33047. +
  33048. + interix[[3-9]]*)
  33049. + _LT_TAGVAR(hardcode_direct, $1)=no
  33050. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  33051. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  33052. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  33053. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  33054. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  33055. + # default) and relocated if they conflict, which is a slow very memory
  33056. + # consuming and fragmenting process. To avoid this, we pick a random,
  33057. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  33058. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  33059. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  33060. + _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'
  33061. + ;;
  33062. + irix5* | irix6*)
  33063. + case $cc_basename in
  33064. + CC*)
  33065. + # SGI C++
  33066. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  33067. +
  33068. + # Archives containing C++ object files must be created using
  33069. + # "CC -ar", where "CC" is the IRIX C++ compiler. This is
  33070. + # necessary to make sure instantiated templates are included
  33071. + # in the archive.
  33072. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  33073. + ;;
  33074. + *)
  33075. + if test "$GXX" = yes; then
  33076. + if test "$with_gnu_ld" = no; then
  33077. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  33078. + else
  33079. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
  33080. + fi
  33081. + fi
  33082. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  33083. + ;;
  33084. + esac
  33085. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  33086. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  33087. + _LT_TAGVAR(inherit_rpath, $1)=yes
  33088. + ;;
  33089. +
  33090. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  33091. + case $cc_basename in
  33092. + KCC*)
  33093. + # Kuck and Associates, Inc. (KAI) C++ Compiler
  33094. +
  33095. + # KCC will only create a shared library if the output file
  33096. + # ends with ".so" (or ".sl" for HP-UX), so rename the library
  33097. + # to its proper name (with version) after linking.
  33098. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  33099. + _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
  33100. + # Commands to make compiler produce verbose output that lists
  33101. + # what "hidden" libraries, object files and flags are used when
  33102. + # linking a shared library.
  33103. + #
  33104. + # There doesn't appear to be a way to prevent this compiler from
  33105. + # explicitly linking system object files so we need to strip them
  33106. + # from the output so that they don't get included in the library
  33107. + # dependencies.
  33108. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  33109. +
  33110. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  33111. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  33112. +
  33113. + # Archives containing C++ object files must be created using
  33114. + # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  33115. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  33116. + ;;
  33117. + icpc* | ecpc* )
  33118. + # Intel C++
  33119. + with_gnu_ld=yes
  33120. + # version 8.0 and above of icpc choke on multiply defined symbols
  33121. + # if we add $predep_objects and $postdep_objects, however 7.1 and
  33122. + # earlier do not add the objects themselves.
  33123. + case `$CC -V 2>&1` in
  33124. + *"Version 7."*)
  33125. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  33126. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  33127. + ;;
  33128. + *) # Version 8.0 or newer
  33129. + tmp_idyn=
  33130. + case $host_cpu in
  33131. + ia64*) tmp_idyn=' -i_dynamic';;
  33132. + esac
  33133. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  33134. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  33135. + ;;
  33136. + esac
  33137. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  33138. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  33139. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  33140. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  33141. + ;;
  33142. + pgCC* | pgcpp*)
  33143. + # Portland Group C++ compiler
  33144. + case `$CC -V` in
  33145. + *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
  33146. + _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
  33147. + rm -rf $tpldir~
  33148. + $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  33149. + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
  33150. + _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
  33151. + rm -rf $tpldir~
  33152. + $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  33153. + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
  33154. + $RANLIB $oldlib'
  33155. + _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
  33156. + rm -rf $tpldir~
  33157. + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  33158. + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  33159. + _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
  33160. + rm -rf $tpldir~
  33161. + $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  33162. + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  33163. + ;;
  33164. + *) # Version 6 and above use weak symbols
  33165. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  33166. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  33167. + ;;
  33168. + esac
  33169. +
  33170. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  33171. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  33172. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  33173. + ;;
  33174. + cxx*)
  33175. + # Compaq C++
  33176. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  33177. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
  33178. +
  33179. + runpath_var=LD_RUN_PATH
  33180. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  33181. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  33182. +
  33183. + # Commands to make compiler produce verbose output that lists
  33184. + # what "hidden" libraries, object files and flags are used when
  33185. + # linking a shared library.
  33186. + #
  33187. + # There doesn't appear to be a way to prevent this compiler from
  33188. + # explicitly linking system object files so we need to strip them
  33189. + # from the output so that they don't get included in the library
  33190. + # dependencies.
  33191. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
  33192. + ;;
  33193. + xl* | mpixl* | bgxl*)
  33194. + # IBM XL 8.0 on PPC, with GNU ld
  33195. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  33196. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  33197. + _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  33198. + if test "x$supports_anon_versioning" = xyes; then
  33199. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  33200. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  33201. + echo "local: *; };" >> $output_objdir/$libname.ver~
  33202. + $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  33203. + fi
  33204. + ;;
  33205. + *)
  33206. + case `$CC -V 2>&1 | sed 5q` in
  33207. + *Sun\ C*)
  33208. + # Sun C++ 5.9
  33209. + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  33210. + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  33211. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
  33212. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  33213. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  33214. + _LT_TAGVAR(compiler_needs_object, $1)=yes
  33215. +
  33216. + # Not sure whether something based on
  33217. + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  33218. + # would be better.
  33219. + output_verbose_link_cmd='func_echo_all'
  33220. +
  33221. + # Archives containing C++ object files must be created using
  33222. + # "CC -xar", where "CC" is the Sun C++ compiler. This is
  33223. + # necessary to make sure instantiated templates are included
  33224. + # in the archive.
  33225. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  33226. + ;;
  33227. + esac
  33228. + ;;
  33229. + esac
  33230. + ;;
  33231. +
  33232. + lynxos*)
  33233. + # FIXME: insert proper C++ library support
  33234. + _LT_TAGVAR(ld_shlibs, $1)=no
  33235. + ;;
  33236. +
  33237. + m88k*)
  33238. + # FIXME: insert proper C++ library support
  33239. + _LT_TAGVAR(ld_shlibs, $1)=no
  33240. + ;;
  33241. +
  33242. + mvs*)
  33243. + case $cc_basename in
  33244. + cxx*)
  33245. + # FIXME: insert proper C++ library support
  33246. + _LT_TAGVAR(ld_shlibs, $1)=no
  33247. + ;;
  33248. + *)
  33249. + # FIXME: insert proper C++ library support
  33250. + _LT_TAGVAR(ld_shlibs, $1)=no
  33251. + ;;
  33252. + esac
  33253. + ;;
  33254. +
  33255. + netbsd*)
  33256. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  33257. + _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  33258. + wlarc=
  33259. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  33260. + _LT_TAGVAR(hardcode_direct, $1)=yes
  33261. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  33262. + fi
  33263. + # Workaround some broken pre-1.5 toolchains
  33264. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  33265. + ;;
  33266. +
  33267. + *nto* | *qnx*)
  33268. + _LT_TAGVAR(ld_shlibs, $1)=yes
  33269. + ;;
  33270. +
  33271. + openbsd2*)
  33272. + # C++ shared libraries are fairly broken
  33273. + _LT_TAGVAR(ld_shlibs, $1)=no
  33274. + ;;
  33275. +
  33276. + openbsd*)
  33277. + if test -f /usr/libexec/ld.so; then
  33278. + _LT_TAGVAR(hardcode_direct, $1)=yes
  33279. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  33280. + _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  33281. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  33282. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  33283. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  33284. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  33285. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  33286. + _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  33287. + fi
  33288. + output_verbose_link_cmd=func_echo_all
  33289. + else
  33290. + _LT_TAGVAR(ld_shlibs, $1)=no
  33291. + fi
  33292. + ;;
  33293. +
  33294. + osf3* | osf4* | osf5*)
  33295. + case $cc_basename in
  33296. + KCC*)
  33297. + # Kuck and Associates, Inc. (KAI) C++ Compiler
  33298. +
  33299. + # KCC will only create a shared library if the output file
  33300. + # ends with ".so" (or ".sl" for HP-UX), so rename the library
  33301. + # to its proper name (with version) after linking.
  33302. + _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  33303. +
  33304. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  33305. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  33306. +
  33307. + # Archives containing C++ object files must be created using
  33308. + # the KAI C++ compiler.
  33309. + case $host in
  33310. + osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
  33311. + *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
  33312. + esac
  33313. + ;;
  33314. + RCC*)
  33315. + # Rational C++ 2.4.1
  33316. + # FIXME: insert proper C++ library support
  33317. + _LT_TAGVAR(ld_shlibs, $1)=no
  33318. + ;;
  33319. + cxx*)
  33320. + case $host in
  33321. + osf3*)
  33322. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  33323. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  33324. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  33325. + ;;
  33326. + *)
  33327. + _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  33328. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  33329. + _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  33330. + echo "-hidden">> $lib.exp~
  33331. + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
  33332. + $RM $lib.exp'
  33333. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  33334. + ;;
  33335. + esac
  33336. +
  33337. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  33338. +
  33339. + # Commands to make compiler produce verbose output that lists
  33340. + # what "hidden" libraries, object files and flags are used when
  33341. + # linking a shared library.
  33342. + #
  33343. + # There doesn't appear to be a way to prevent this compiler from
  33344. + # explicitly linking system object files so we need to strip them
  33345. + # from the output so that they don't get included in the library
  33346. + # dependencies.
  33347. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
  33348. + ;;
  33349. + *)
  33350. + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  33351. + _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  33352. + case $host in
  33353. + osf3*)
  33354. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  33355. + ;;
  33356. + *)
  33357. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  33358. + ;;
  33359. + esac
  33360. +
  33361. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  33362. + _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  33363. +
  33364. + # Commands to make compiler produce verbose output that lists
  33365. + # what "hidden" libraries, object files and flags are used when
  33366. + # linking a shared library.
  33367. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  33368. +
  33369. + else
  33370. + # FIXME: insert proper C++ library support
  33371. + _LT_TAGVAR(ld_shlibs, $1)=no
  33372. + fi
  33373. + ;;
  33374. + esac
  33375. + ;;
  33376. +
  33377. + psos*)
  33378. + # FIXME: insert proper C++ library support
  33379. + _LT_TAGVAR(ld_shlibs, $1)=no
  33380. + ;;
  33381. +
  33382. + sunos4*)
  33383. + case $cc_basename in
  33384. + CC*)
  33385. + # Sun C++ 4.x
  33386. + # FIXME: insert proper C++ library support
  33387. + _LT_TAGVAR(ld_shlibs, $1)=no
  33388. + ;;
  33389. + lcc*)
  33390. + # Lucid
  33391. + # FIXME: insert proper C++ library support
  33392. + _LT_TAGVAR(ld_shlibs, $1)=no
  33393. + ;;
  33394. + *)
  33395. + # FIXME: insert proper C++ library support
  33396. + _LT_TAGVAR(ld_shlibs, $1)=no
  33397. + ;;
  33398. + esac
  33399. + ;;
  33400. +
  33401. + solaris*)
  33402. + case $cc_basename in
  33403. + CC* | sunCC*)
  33404. + # Sun C++ 4.2, 5.x and Centerline C++
  33405. + _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
  33406. + _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  33407. + _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  33408. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  33409. + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  33410. +
  33411. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  33412. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  33413. + case $host_os in
  33414. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  33415. + *)
  33416. + # The compiler driver will combine and reorder linker options,
  33417. + # but understands `-z linker_flag'.
  33418. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  33419. + _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  33420. + ;;
  33421. + esac
  33422. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  33423. +
  33424. + output_verbose_link_cmd='func_echo_all'
  33425. +
  33426. + # Archives containing C++ object files must be created using
  33427. + # "CC -xar", where "CC" is the Sun C++ compiler. This is
  33428. + # necessary to make sure instantiated templates are included
  33429. + # in the archive.
  33430. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  33431. + ;;
  33432. + gcx*)
  33433. + # Green Hills C++ Compiler
  33434. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  33435. +
  33436. + # The C++ compiler must be used to create the archive.
  33437. + _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  33438. + ;;
  33439. + *)
  33440. + # GNU C++ compiler with Solaris linker
  33441. + if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  33442. + _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  33443. + if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  33444. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  33445. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  33446. + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  33447. +
  33448. + # Commands to make compiler produce verbose output that lists
  33449. + # what "hidden" libraries, object files and flags are used when
  33450. + # linking a shared library.
  33451. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  33452. + else
  33453. + # g++ 2.7 appears to require `-G' NOT `-shared' on this
  33454. + # platform.
  33455. + _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  33456. + _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  33457. + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  33458. +
  33459. + # Commands to make compiler produce verbose output that lists
  33460. + # what "hidden" libraries, object files and flags are used when
  33461. + # linking a shared library.
  33462. + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
  33463. + fi
  33464. +
  33465. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  33466. + case $host_os in
  33467. + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  33468. + *)
  33469. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  33470. + ;;
  33471. + esac
  33472. + fi
  33473. + ;;
  33474. + esac
  33475. + ;;
  33476. +
  33477. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  33478. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  33479. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  33480. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  33481. + runpath_var='LD_RUN_PATH'
  33482. +
  33483. + case $cc_basename in
  33484. + CC*)
  33485. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  33486. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  33487. + ;;
  33488. + *)
  33489. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  33490. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  33491. + ;;
  33492. + esac
  33493. + ;;
  33494. +
  33495. + sysv5* | sco3.2v5* | sco5v6*)
  33496. + # Note: We can NOT use -z defs as we might desire, because we do not
  33497. + # link with -lc, and that would cause any symbols used from libc to
  33498. + # always be unresolved, which means just about no library would
  33499. + # ever link correctly. If we're not using GNU ld we use -z text
  33500. + # though, which does catch some bad symbols but isn't as heavy-handed
  33501. + # as -z defs.
  33502. + _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  33503. + _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  33504. + _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  33505. + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  33506. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  33507. + _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  33508. + _LT_TAGVAR(link_all_deplibs, $1)=yes
  33509. + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  33510. + runpath_var='LD_RUN_PATH'
  33511. +
  33512. + case $cc_basename in
  33513. + CC*)
  33514. + _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  33515. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  33516. + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
  33517. + '"$_LT_TAGVAR(old_archive_cmds, $1)"
  33518. + _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
  33519. + '"$_LT_TAGVAR(reload_cmds, $1)"
  33520. + ;;
  33521. + *)
  33522. + _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  33523. + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  33524. + ;;
  33525. + esac
  33526. + ;;
  33527. +
  33528. + tandem*)
  33529. + case $cc_basename in
  33530. + NCC*)
  33531. + # NonStop-UX NCC 3.20
  33532. + # FIXME: insert proper C++ library support
  33533. + _LT_TAGVAR(ld_shlibs, $1)=no
  33534. + ;;
  33535. + *)
  33536. + # FIXME: insert proper C++ library support
  33537. + _LT_TAGVAR(ld_shlibs, $1)=no
  33538. + ;;
  33539. + esac
  33540. + ;;
  33541. +
  33542. + vxworks*)
  33543. + # FIXME: insert proper C++ library support
  33544. + _LT_TAGVAR(ld_shlibs, $1)=no
  33545. + ;;
  33546. +
  33547. + *)
  33548. + # FIXME: insert proper C++ library support
  33549. + _LT_TAGVAR(ld_shlibs, $1)=no
  33550. + ;;
  33551. + esac
  33552. +
  33553. + AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  33554. + test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  33555. +
  33556. + _LT_TAGVAR(GCC, $1)="$GXX"
  33557. + _LT_TAGVAR(LD, $1)="$LD"
  33558. +
  33559. + ## CAVEAT EMPTOR:
  33560. + ## There is no encapsulation within the following macros, do not change
  33561. + ## the running order or otherwise move them around unless you know exactly
  33562. + ## what you are doing...
  33563. + _LT_SYS_HIDDEN_LIBDEPS($1)
  33564. + _LT_COMPILER_PIC($1)
  33565. + _LT_COMPILER_C_O($1)
  33566. + _LT_COMPILER_FILE_LOCKS($1)
  33567. + _LT_LINKER_SHLIBS($1)
  33568. + _LT_SYS_DYNAMIC_LINKER($1)
  33569. + _LT_LINKER_HARDCODE_LIBPATH($1)
  33570. +
  33571. + _LT_CONFIG($1)
  33572. + fi # test -n "$compiler"
  33573. +
  33574. + CC=$lt_save_CC
  33575. + LDCXX=$LD
  33576. + LD=$lt_save_LD
  33577. + GCC=$lt_save_GCC
  33578. + with_gnu_ld=$lt_save_with_gnu_ld
  33579. + lt_cv_path_LDCXX=$lt_cv_path_LD
  33580. + lt_cv_path_LD=$lt_save_path_LD
  33581. + lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  33582. + lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  33583. +fi # test "$_lt_caught_CXX_error" != yes
  33584. +
  33585. +AC_LANG_POP
  33586. +])# _LT_LANG_CXX_CONFIG
  33587. +
  33588. +
  33589. +# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
  33590. +# ---------------------------------
  33591. +# Figure out "hidden" library dependencies from verbose
  33592. +# compiler output when linking a shared library.
  33593. +# Parse the compiler output and extract the necessary
  33594. +# objects, libraries and library flags.
  33595. +m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
  33596. +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  33597. +# Dependencies to place before and after the object being linked:
  33598. +_LT_TAGVAR(predep_objects, $1)=
  33599. +_LT_TAGVAR(postdep_objects, $1)=
  33600. +_LT_TAGVAR(predeps, $1)=
  33601. +_LT_TAGVAR(postdeps, $1)=
  33602. +_LT_TAGVAR(compiler_lib_search_path, $1)=
  33603. +
  33604. +dnl we can't use the lt_simple_compile_test_code here,
  33605. +dnl because it contains code intended for an executable,
  33606. +dnl not a library. It's possible we should let each
  33607. +dnl tag define a new lt_????_link_test_code variable,
  33608. +dnl but it's only used here...
  33609. +m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
  33610. +int a;
  33611. +void foo (void) { a = 0; }
  33612. +_LT_EOF
  33613. +], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
  33614. +class Foo
  33615. +{
  33616. +public:
  33617. + Foo (void) { a = 0; }
  33618. +private:
  33619. + int a;
  33620. +};
  33621. +_LT_EOF
  33622. +], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
  33623. + subroutine foo
  33624. + implicit none
  33625. + integer*4 a
  33626. + a=0
  33627. + return
  33628. + end
  33629. +_LT_EOF
  33630. +], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
  33631. + subroutine foo
  33632. + implicit none
  33633. + integer a
  33634. + a=0
  33635. + return
  33636. + end
  33637. +_LT_EOF
  33638. +], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
  33639. +public class foo {
  33640. + private int a;
  33641. + public void bar (void) {
  33642. + a = 0;
  33643. + }
  33644. +};
  33645. +_LT_EOF
  33646. +])
  33647. +dnl Parse the compiler output and extract the necessary
  33648. +dnl objects, libraries and library flags.
  33649. +if AC_TRY_EVAL(ac_compile); then
  33650. + # Parse the compiler output and extract the necessary
  33651. + # objects, libraries and library flags.
  33652. +
  33653. + # Sentinel used to keep track of whether or not we are before
  33654. + # the conftest object file.
  33655. + pre_test_object_deps_done=no
  33656. +
  33657. + for p in `eval "$output_verbose_link_cmd"`; do
  33658. + case $p in
  33659. +
  33660. + -L* | -R* | -l*)
  33661. + # Some compilers place space between "-{L,R}" and the path.
  33662. + # Remove the space.
  33663. + if test $p = "-L" ||
  33664. + test $p = "-R"; then
  33665. + prev=$p
  33666. + continue
  33667. + else
  33668. + prev=
  33669. + fi
  33670. +
  33671. + if test "$pre_test_object_deps_done" = no; then
  33672. + case $p in
  33673. + -L* | -R*)
  33674. + # Internal compiler library paths should come after those
  33675. + # provided the user. The postdeps already come after the
  33676. + # user supplied libs so there is no need to process them.
  33677. + if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
  33678. + _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  33679. + else
  33680. + _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  33681. + fi
  33682. + ;;
  33683. + # The "-l" case would never come before the object being
  33684. + # linked, so don't bother handling this case.
  33685. + esac
  33686. + else
  33687. + if test -z "$_LT_TAGVAR(postdeps, $1)"; then
  33688. + _LT_TAGVAR(postdeps, $1)="${prev}${p}"
  33689. + else
  33690. + _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
  33691. + fi
  33692. + fi
  33693. + ;;
  33694. +
  33695. + *.$objext)
  33696. + # This assumes that the test object file only shows up
  33697. + # once in the compiler output.
  33698. + if test "$p" = "conftest.$objext"; then
  33699. + pre_test_object_deps_done=yes
  33700. + continue
  33701. + fi
  33702. +
  33703. + if test "$pre_test_object_deps_done" = no; then
  33704. + if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
  33705. + _LT_TAGVAR(predep_objects, $1)="$p"
  33706. + else
  33707. + _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
  33708. + fi
  33709. + else
  33710. + if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
  33711. + _LT_TAGVAR(postdep_objects, $1)="$p"
  33712. + else
  33713. + _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
  33714. + fi
  33715. + fi
  33716. + ;;
  33717. +
  33718. + *) ;; # Ignore the rest.
  33719. +
  33720. + esac
  33721. + done
  33722. +
  33723. + # Clean up.
  33724. + rm -f a.out a.exe
  33725. +else
  33726. + echo "libtool.m4: error: problem compiling $1 test program"
  33727. +fi
  33728. +
  33729. +$RM -f confest.$objext
  33730. +
  33731. +# PORTME: override above test on systems where it is broken
  33732. +m4_if([$1], [CXX],
  33733. +[case $host_os in
  33734. +interix[[3-9]]*)
  33735. + # Interix 3.5 installs completely hosed .la files for C++, so rather than
  33736. + # hack all around it, let's just trust "g++" to DTRT.
  33737. + _LT_TAGVAR(predep_objects,$1)=
  33738. + _LT_TAGVAR(postdep_objects,$1)=
  33739. + _LT_TAGVAR(postdeps,$1)=
  33740. + ;;
  33741. +
  33742. +linux*)
  33743. + case `$CC -V 2>&1 | sed 5q` in
  33744. + *Sun\ C*)
  33745. + # Sun C++ 5.9
  33746. +
  33747. + # The more standards-conforming stlport4 library is
  33748. + # incompatible with the Cstd library. Avoid specifying
  33749. + # it if it's in CXXFLAGS. Ignore libCrun as
  33750. + # -library=stlport4 depends on it.
  33751. + case " $CXX $CXXFLAGS " in
  33752. + *" -library=stlport4 "*)
  33753. + solaris_use_stlport4=yes
  33754. + ;;
  33755. + esac
  33756. +
  33757. + if test "$solaris_use_stlport4" != yes; then
  33758. + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  33759. + fi
  33760. + ;;
  33761. + esac
  33762. + ;;
  33763. +
  33764. +solaris*)
  33765. + case $cc_basename in
  33766. + CC* | sunCC*)
  33767. + # The more standards-conforming stlport4 library is
  33768. + # incompatible with the Cstd library. Avoid specifying
  33769. + # it if it's in CXXFLAGS. Ignore libCrun as
  33770. + # -library=stlport4 depends on it.
  33771. + case " $CXX $CXXFLAGS " in
  33772. + *" -library=stlport4 "*)
  33773. + solaris_use_stlport4=yes
  33774. + ;;
  33775. + esac
  33776. +
  33777. + # Adding this requires a known-good setup of shared libraries for
  33778. + # Sun compiler versions before 5.6, else PIC objects from an old
  33779. + # archive will be linked into the output, leading to subtle bugs.
  33780. + if test "$solaris_use_stlport4" != yes; then
  33781. + _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  33782. + fi
  33783. + ;;
  33784. + esac
  33785. + ;;
  33786. +esac
  33787. +])
  33788. +
  33789. +case " $_LT_TAGVAR(postdeps, $1) " in
  33790. +*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
  33791. +esac
  33792. + _LT_TAGVAR(compiler_lib_search_dirs, $1)=
  33793. +if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
  33794. + _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  33795. +fi
  33796. +_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
  33797. + [The directories searched by this compiler when creating a shared library])
  33798. +_LT_TAGDECL([], [predep_objects], [1],
  33799. + [Dependencies to place before and after the objects being linked to
  33800. + create a shared library])
  33801. +_LT_TAGDECL([], [postdep_objects], [1])
  33802. +_LT_TAGDECL([], [predeps], [1])
  33803. +_LT_TAGDECL([], [postdeps], [1])
  33804. +_LT_TAGDECL([], [compiler_lib_search_path], [1],
  33805. + [The library search path used internally by the compiler when linking
  33806. + a shared library])
  33807. +])# _LT_SYS_HIDDEN_LIBDEPS
  33808. +
  33809. +
  33810. +# _LT_LANG_F77_CONFIG([TAG])
  33811. +# --------------------------
  33812. +# Ensure that the configuration variables for a Fortran 77 compiler are
  33813. +# suitably defined. These variables are subsequently used by _LT_CONFIG
  33814. +# to write the compiler configuration to `libtool'.
  33815. +m4_defun([_LT_LANG_F77_CONFIG],
  33816. +[AC_LANG_PUSH(Fortran 77)
  33817. +if test -z "$F77" || test "X$F77" = "Xno"; then
  33818. + _lt_disable_F77=yes
  33819. +fi
  33820. +
  33821. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  33822. +_LT_TAGVAR(allow_undefined_flag, $1)=
  33823. +_LT_TAGVAR(always_export_symbols, $1)=no
  33824. +_LT_TAGVAR(archive_expsym_cmds, $1)=
  33825. +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  33826. +_LT_TAGVAR(hardcode_direct, $1)=no
  33827. +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  33828. +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  33829. +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  33830. +_LT_TAGVAR(hardcode_libdir_separator, $1)=
  33831. +_LT_TAGVAR(hardcode_minus_L, $1)=no
  33832. +_LT_TAGVAR(hardcode_automatic, $1)=no
  33833. +_LT_TAGVAR(inherit_rpath, $1)=no
  33834. +_LT_TAGVAR(module_cmds, $1)=
  33835. +_LT_TAGVAR(module_expsym_cmds, $1)=
  33836. +_LT_TAGVAR(link_all_deplibs, $1)=unknown
  33837. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  33838. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  33839. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  33840. +_LT_TAGVAR(no_undefined_flag, $1)=
  33841. +_LT_TAGVAR(whole_archive_flag_spec, $1)=
  33842. +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  33843. +
  33844. +# Source file extension for f77 test sources.
  33845. +ac_ext=f
  33846. +
  33847. +# Object file extension for compiled f77 test sources.
  33848. +objext=o
  33849. +_LT_TAGVAR(objext, $1)=$objext
  33850. +
  33851. +# No sense in running all these tests if we already determined that
  33852. +# the F77 compiler isn't working. Some variables (like enable_shared)
  33853. +# are currently assumed to apply to all compilers on this platform,
  33854. +# and will be corrupted by setting them based on a non-working compiler.
  33855. +if test "$_lt_disable_F77" != yes; then
  33856. + # Code to be used in simple compile tests
  33857. + lt_simple_compile_test_code="\
  33858. + subroutine t
  33859. + return
  33860. + end
  33861. +"
  33862. +
  33863. + # Code to be used in simple link tests
  33864. + lt_simple_link_test_code="\
  33865. + program t
  33866. + end
  33867. +"
  33868. +
  33869. + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  33870. + _LT_TAG_COMPILER
  33871. +
  33872. + # save warnings/boilerplate of simple test code
  33873. + _LT_COMPILER_BOILERPLATE
  33874. + _LT_LINKER_BOILERPLATE
  33875. +
  33876. + # Allow CC to be a program name with arguments.
  33877. + lt_save_CC="$CC"
  33878. + lt_save_GCC=$GCC
  33879. + CC=${F77-"f77"}
  33880. + compiler=$CC
  33881. + _LT_TAGVAR(compiler, $1)=$CC
  33882. + _LT_CC_BASENAME([$compiler])
  33883. + GCC=$G77
  33884. + if test -n "$compiler"; then
  33885. + AC_MSG_CHECKING([if libtool supports shared libraries])
  33886. + AC_MSG_RESULT([$can_build_shared])
  33887. +
  33888. + AC_MSG_CHECKING([whether to build shared libraries])
  33889. + test "$can_build_shared" = "no" && enable_shared=no
  33890. +
  33891. + # On AIX, shared libraries and static libraries use the same namespace, and
  33892. + # are all built from PIC.
  33893. + case $host_os in
  33894. + aix3*)
  33895. + test "$enable_shared" = yes && enable_static=no
  33896. + if test -n "$RANLIB"; then
  33897. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  33898. + postinstall_cmds='$RANLIB $lib'
  33899. + fi
  33900. + ;;
  33901. + aix[[4-9]]*)
  33902. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  33903. + test "$enable_shared" = yes && enable_static=no
  33904. + fi
  33905. + ;;
  33906. + esac
  33907. + AC_MSG_RESULT([$enable_shared])
  33908. +
  33909. + AC_MSG_CHECKING([whether to build static libraries])
  33910. + # Make sure either enable_shared or enable_static is yes.
  33911. + test "$enable_shared" = yes || enable_static=yes
  33912. + AC_MSG_RESULT([$enable_static])
  33913. +
  33914. + _LT_TAGVAR(GCC, $1)="$G77"
  33915. + _LT_TAGVAR(LD, $1)="$LD"
  33916. +
  33917. + ## CAVEAT EMPTOR:
  33918. + ## There is no encapsulation within the following macros, do not change
  33919. + ## the running order or otherwise move them around unless you know exactly
  33920. + ## what you are doing...
  33921. + _LT_COMPILER_PIC($1)
  33922. + _LT_COMPILER_C_O($1)
  33923. + _LT_COMPILER_FILE_LOCKS($1)
  33924. + _LT_LINKER_SHLIBS($1)
  33925. + _LT_SYS_DYNAMIC_LINKER($1)
  33926. + _LT_LINKER_HARDCODE_LIBPATH($1)
  33927. +
  33928. + _LT_CONFIG($1)
  33929. + fi # test -n "$compiler"
  33930. +
  33931. + GCC=$lt_save_GCC
  33932. + CC="$lt_save_CC"
  33933. +fi # test "$_lt_disable_F77" != yes
  33934. +
  33935. +AC_LANG_POP
  33936. +])# _LT_LANG_F77_CONFIG
  33937. +
  33938. +
  33939. +# _LT_LANG_FC_CONFIG([TAG])
  33940. +# -------------------------
  33941. +# Ensure that the configuration variables for a Fortran compiler are
  33942. +# suitably defined. These variables are subsequently used by _LT_CONFIG
  33943. +# to write the compiler configuration to `libtool'.
  33944. +m4_defun([_LT_LANG_FC_CONFIG],
  33945. +[AC_LANG_PUSH(Fortran)
  33946. +
  33947. +if test -z "$FC" || test "X$FC" = "Xno"; then
  33948. + _lt_disable_FC=yes
  33949. +fi
  33950. +
  33951. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  33952. +_LT_TAGVAR(allow_undefined_flag, $1)=
  33953. +_LT_TAGVAR(always_export_symbols, $1)=no
  33954. +_LT_TAGVAR(archive_expsym_cmds, $1)=
  33955. +_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  33956. +_LT_TAGVAR(hardcode_direct, $1)=no
  33957. +_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  33958. +_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  33959. +_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  33960. +_LT_TAGVAR(hardcode_libdir_separator, $1)=
  33961. +_LT_TAGVAR(hardcode_minus_L, $1)=no
  33962. +_LT_TAGVAR(hardcode_automatic, $1)=no
  33963. +_LT_TAGVAR(inherit_rpath, $1)=no
  33964. +_LT_TAGVAR(module_cmds, $1)=
  33965. +_LT_TAGVAR(module_expsym_cmds, $1)=
  33966. +_LT_TAGVAR(link_all_deplibs, $1)=unknown
  33967. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  33968. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  33969. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  33970. +_LT_TAGVAR(no_undefined_flag, $1)=
  33971. +_LT_TAGVAR(whole_archive_flag_spec, $1)=
  33972. +_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  33973. +
  33974. +# Source file extension for fc test sources.
  33975. +ac_ext=${ac_fc_srcext-f}
  33976. +
  33977. +# Object file extension for compiled fc test sources.
  33978. +objext=o
  33979. +_LT_TAGVAR(objext, $1)=$objext
  33980. +
  33981. +# No sense in running all these tests if we already determined that
  33982. +# the FC compiler isn't working. Some variables (like enable_shared)
  33983. +# are currently assumed to apply to all compilers on this platform,
  33984. +# and will be corrupted by setting them based on a non-working compiler.
  33985. +if test "$_lt_disable_FC" != yes; then
  33986. + # Code to be used in simple compile tests
  33987. + lt_simple_compile_test_code="\
  33988. + subroutine t
  33989. + return
  33990. + end
  33991. +"
  33992. +
  33993. + # Code to be used in simple link tests
  33994. + lt_simple_link_test_code="\
  33995. + program t
  33996. + end
  33997. +"
  33998. +
  33999. + # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  34000. + _LT_TAG_COMPILER
  34001. +
  34002. + # save warnings/boilerplate of simple test code
  34003. + _LT_COMPILER_BOILERPLATE
  34004. + _LT_LINKER_BOILERPLATE
  34005. +
  34006. + # Allow CC to be a program name with arguments.
  34007. + lt_save_CC="$CC"
  34008. + lt_save_GCC=$GCC
  34009. + CC=${FC-"f95"}
  34010. + compiler=$CC
  34011. + GCC=$ac_cv_fc_compiler_gnu
  34012. +
  34013. + _LT_TAGVAR(compiler, $1)=$CC
  34014. + _LT_CC_BASENAME([$compiler])
  34015. +
  34016. + if test -n "$compiler"; then
  34017. + AC_MSG_CHECKING([if libtool supports shared libraries])
  34018. + AC_MSG_RESULT([$can_build_shared])
  34019. +
  34020. + AC_MSG_CHECKING([whether to build shared libraries])
  34021. + test "$can_build_shared" = "no" && enable_shared=no
  34022. +
  34023. + # On AIX, shared libraries and static libraries use the same namespace, and
  34024. + # are all built from PIC.
  34025. + case $host_os in
  34026. + aix3*)
  34027. + test "$enable_shared" = yes && enable_static=no
  34028. + if test -n "$RANLIB"; then
  34029. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  34030. + postinstall_cmds='$RANLIB $lib'
  34031. + fi
  34032. + ;;
  34033. + aix[[4-9]]*)
  34034. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  34035. + test "$enable_shared" = yes && enable_static=no
  34036. + fi
  34037. + ;;
  34038. + esac
  34039. + AC_MSG_RESULT([$enable_shared])
  34040. +
  34041. + AC_MSG_CHECKING([whether to build static libraries])
  34042. + # Make sure either enable_shared or enable_static is yes.
  34043. + test "$enable_shared" = yes || enable_static=yes
  34044. + AC_MSG_RESULT([$enable_static])
  34045. +
  34046. + _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
  34047. + _LT_TAGVAR(LD, $1)="$LD"
  34048. +
  34049. + ## CAVEAT EMPTOR:
  34050. + ## There is no encapsulation within the following macros, do not change
  34051. + ## the running order or otherwise move them around unless you know exactly
  34052. + ## what you are doing...
  34053. + _LT_SYS_HIDDEN_LIBDEPS($1)
  34054. + _LT_COMPILER_PIC($1)
  34055. + _LT_COMPILER_C_O($1)
  34056. + _LT_COMPILER_FILE_LOCKS($1)
  34057. + _LT_LINKER_SHLIBS($1)
  34058. + _LT_SYS_DYNAMIC_LINKER($1)
  34059. + _LT_LINKER_HARDCODE_LIBPATH($1)
  34060. +
  34061. + _LT_CONFIG($1)
  34062. + fi # test -n "$compiler"
  34063. +
  34064. + GCC=$lt_save_GCC
  34065. + CC="$lt_save_CC"
  34066. +fi # test "$_lt_disable_FC" != yes
  34067. +
  34068. +AC_LANG_POP
  34069. +])# _LT_LANG_FC_CONFIG
  34070. +
  34071. +
  34072. +# _LT_LANG_GCJ_CONFIG([TAG])
  34073. +# --------------------------
  34074. +# Ensure that the configuration variables for the GNU Java Compiler compiler
  34075. +# are suitably defined. These variables are subsequently used by _LT_CONFIG
  34076. +# to write the compiler configuration to `libtool'.
  34077. +m4_defun([_LT_LANG_GCJ_CONFIG],
  34078. +[AC_REQUIRE([LT_PROG_GCJ])dnl
  34079. +AC_LANG_SAVE
  34080. +
  34081. +# Source file extension for Java test sources.
  34082. +ac_ext=java
  34083. +
  34084. +# Object file extension for compiled Java test sources.
  34085. +objext=o
  34086. +_LT_TAGVAR(objext, $1)=$objext
  34087. +
  34088. +# Code to be used in simple compile tests
  34089. +lt_simple_compile_test_code="class foo {}"
  34090. +
  34091. +# Code to be used in simple link tests
  34092. +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
  34093. +
  34094. +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  34095. +_LT_TAG_COMPILER
  34096. +
  34097. +# save warnings/boilerplate of simple test code
  34098. +_LT_COMPILER_BOILERPLATE
  34099. +_LT_LINKER_BOILERPLATE
  34100. +
  34101. +# Allow CC to be a program name with arguments.
  34102. +lt_save_CC="$CC"
  34103. +lt_save_GCC=$GCC
  34104. +GCC=yes
  34105. +CC=${GCJ-"gcj"}
  34106. +compiler=$CC
  34107. +_LT_TAGVAR(compiler, $1)=$CC
  34108. +_LT_TAGVAR(LD, $1)="$LD"
  34109. +_LT_CC_BASENAME([$compiler])
  34110. +
  34111. +# GCJ did not exist at the time GCC didn't implicitly link libc in.
  34112. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  34113. +
  34114. +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  34115. +_LT_TAGVAR(reload_flag, $1)=$reload_flag
  34116. +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
  34117. +
  34118. +## CAVEAT EMPTOR:
  34119. +## There is no encapsulation within the following macros, do not change
  34120. +## the running order or otherwise move them around unless you know exactly
  34121. +## what you are doing...
  34122. +if test -n "$compiler"; then
  34123. + _LT_COMPILER_NO_RTTI($1)
  34124. + _LT_COMPILER_PIC($1)
  34125. + _LT_COMPILER_C_O($1)
  34126. + _LT_COMPILER_FILE_LOCKS($1)
  34127. + _LT_LINKER_SHLIBS($1)
  34128. + _LT_LINKER_HARDCODE_LIBPATH($1)
  34129. +
  34130. + _LT_CONFIG($1)
  34131. +fi
  34132. +
  34133. +AC_LANG_RESTORE
  34134. +
  34135. +GCC=$lt_save_GCC
  34136. +CC="$lt_save_CC"
  34137. +])# _LT_LANG_GCJ_CONFIG
  34138. +
  34139. +
  34140. +# _LT_LANG_RC_CONFIG([TAG])
  34141. +# -------------------------
  34142. +# Ensure that the configuration variables for the Windows resource compiler
  34143. +# are suitably defined. These variables are subsequently used by _LT_CONFIG
  34144. +# to write the compiler configuration to `libtool'.
  34145. +m4_defun([_LT_LANG_RC_CONFIG],
  34146. +[AC_REQUIRE([LT_PROG_RC])dnl
  34147. +AC_LANG_SAVE
  34148. +
  34149. +# Source file extension for RC test sources.
  34150. +ac_ext=rc
  34151. +
  34152. +# Object file extension for compiled RC test sources.
  34153. +objext=o
  34154. +_LT_TAGVAR(objext, $1)=$objext
  34155. +
  34156. +# Code to be used in simple compile tests
  34157. +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  34158. +
  34159. +# Code to be used in simple link tests
  34160. +lt_simple_link_test_code="$lt_simple_compile_test_code"
  34161. +
  34162. +# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  34163. +_LT_TAG_COMPILER
  34164. +
  34165. +# save warnings/boilerplate of simple test code
  34166. +_LT_COMPILER_BOILERPLATE
  34167. +_LT_LINKER_BOILERPLATE
  34168. +
  34169. +# Allow CC to be a program name with arguments.
  34170. +lt_save_CC="$CC"
  34171. +lt_save_GCC=$GCC
  34172. +GCC=
  34173. +CC=${RC-"windres"}
  34174. +compiler=$CC
  34175. +_LT_TAGVAR(compiler, $1)=$CC
  34176. +_LT_CC_BASENAME([$compiler])
  34177. +_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  34178. +
  34179. +if test -n "$compiler"; then
  34180. + :
  34181. + _LT_CONFIG($1)
  34182. +fi
  34183. +
  34184. +GCC=$lt_save_GCC
  34185. +AC_LANG_RESTORE
  34186. +CC="$lt_save_CC"
  34187. +])# _LT_LANG_RC_CONFIG
  34188. +
  34189. +
  34190. +# LT_PROG_GCJ
  34191. +# -----------
  34192. +AC_DEFUN([LT_PROG_GCJ],
  34193. +[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  34194. + [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  34195. + [AC_CHECK_TOOL(GCJ, gcj,)
  34196. + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  34197. + AC_SUBST(GCJFLAGS)])])[]dnl
  34198. +])
  34199. +
  34200. +# Old name:
  34201. +AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
  34202. +dnl aclocal-1.4 backwards compatibility:
  34203. +dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
  34204. +
  34205. +
  34206. +# LT_PROG_RC
  34207. +# ----------
  34208. +AC_DEFUN([LT_PROG_RC],
  34209. +[AC_CHECK_TOOL(RC, windres,)
  34210. +])
  34211. +
  34212. +# Old name:
  34213. +AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
  34214. +dnl aclocal-1.4 backwards compatibility:
  34215. +dnl AC_DEFUN([LT_AC_PROG_RC], [])
  34216. +
  34217. +
  34218. +# _LT_DECL_EGREP
  34219. +# --------------
  34220. +# If we don't have a new enough Autoconf to choose the best grep
  34221. +# available, choose the one first in the user's PATH.
  34222. +m4_defun([_LT_DECL_EGREP],
  34223. +[AC_REQUIRE([AC_PROG_EGREP])dnl
  34224. +AC_REQUIRE([AC_PROG_FGREP])dnl
  34225. +test -z "$GREP" && GREP=grep
  34226. +_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
  34227. +_LT_DECL([], [EGREP], [1], [An ERE matcher])
  34228. +_LT_DECL([], [FGREP], [1], [A literal string matcher])
  34229. +dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
  34230. +AC_SUBST([GREP])
  34231. +])
  34232. +
  34233. +
  34234. +# _LT_DECL_OBJDUMP
  34235. +# --------------
  34236. +# If we don't have a new enough Autoconf to choose the best objdump
  34237. +# available, choose the one first in the user's PATH.
  34238. +m4_defun([_LT_DECL_OBJDUMP],
  34239. +[AC_CHECK_TOOL(OBJDUMP, objdump, false)
  34240. +test -z "$OBJDUMP" && OBJDUMP=objdump
  34241. +_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
  34242. +AC_SUBST([OBJDUMP])
  34243. +])
  34244. +
  34245. +# _LT_DECL_DLLTOOL
  34246. +# ----------------
  34247. +# Ensure DLLTOOL variable is set.
  34248. +m4_defun([_LT_DECL_DLLTOOL],
  34249. +[AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  34250. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  34251. +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])
  34252. +AC_SUBST([DLLTOOL])
  34253. +])
  34254. +
  34255. +# _LT_DECL_SED
  34256. +# ------------
  34257. +# Check for a fully-functional sed program, that truncates
  34258. +# as few characters as possible. Prefer GNU sed if found.
  34259. +m4_defun([_LT_DECL_SED],
  34260. +[AC_PROG_SED
  34261. +test -z "$SED" && SED=sed
  34262. +Xsed="$SED -e 1s/^X//"
  34263. +_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
  34264. +_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
  34265. + [Sed that helps us avoid accidentally triggering echo(1) options like -n])
  34266. +])# _LT_DECL_SED
  34267. +
  34268. +m4_ifndef([AC_PROG_SED], [
  34269. +############################################################
  34270. +# NOTE: This macro has been submitted for inclusion into #
  34271. +# GNU Autoconf as AC_PROG_SED. When it is available in #
  34272. +# a released version of Autoconf we should remove this #
  34273. +# macro and use it instead. #
  34274. +############################################################
  34275. +
  34276. +m4_defun([AC_PROG_SED],
  34277. +[AC_MSG_CHECKING([for a sed that does not truncate output])
  34278. +AC_CACHE_VAL(lt_cv_path_SED,
  34279. +[# Loop through the user's path and test for sed and gsed.
  34280. +# Then use that list of sed's as ones to test for truncation.
  34281. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  34282. +for as_dir in $PATH
  34283. +do
  34284. + IFS=$as_save_IFS
  34285. + test -z "$as_dir" && as_dir=.
  34286. + for lt_ac_prog in sed gsed; do
  34287. + for ac_exec_ext in '' $ac_executable_extensions; do
  34288. + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  34289. + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  34290. + fi
  34291. + done
  34292. + done
  34293. +done
  34294. +IFS=$as_save_IFS
  34295. +lt_ac_max=0
  34296. +lt_ac_count=0
  34297. +# Add /usr/xpg4/bin/sed as it is typically found on Solaris
  34298. +# along with /bin/sed that truncates output.
  34299. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  34300. + test ! -f $lt_ac_sed && continue
  34301. + cat /dev/null > conftest.in
  34302. + lt_ac_count=0
  34303. + echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  34304. + # Check for GNU sed and select it if it is found.
  34305. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  34306. + lt_cv_path_SED=$lt_ac_sed
  34307. + break
  34308. + fi
  34309. + while true; do
  34310. + cat conftest.in conftest.in >conftest.tmp
  34311. + mv conftest.tmp conftest.in
  34312. + cp conftest.in conftest.nl
  34313. + echo >>conftest.nl
  34314. + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  34315. + cmp -s conftest.out conftest.nl || break
  34316. + # 10000 chars as input seems more than enough
  34317. + test $lt_ac_count -gt 10 && break
  34318. + lt_ac_count=`expr $lt_ac_count + 1`
  34319. + if test $lt_ac_count -gt $lt_ac_max; then
  34320. + lt_ac_max=$lt_ac_count
  34321. + lt_cv_path_SED=$lt_ac_sed
  34322. + fi
  34323. + done
  34324. +done
  34325. +])
  34326. +SED=$lt_cv_path_SED
  34327. +AC_SUBST([SED])
  34328. +AC_MSG_RESULT([$SED])
  34329. +])#AC_PROG_SED
  34330. +])#m4_ifndef
  34331. +
  34332. +# Old name:
  34333. +AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
  34334. +dnl aclocal-1.4 backwards compatibility:
  34335. +dnl AC_DEFUN([LT_AC_PROG_SED], [])
  34336. +
  34337. +
  34338. +# _LT_CHECK_SHELL_FEATURES
  34339. +# ------------------------
  34340. +# Find out whether the shell is Bourne or XSI compatible,
  34341. +# or has some other useful features.
  34342. +m4_defun([_LT_CHECK_SHELL_FEATURES],
  34343. +[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
  34344. +# Try some XSI features
  34345. +xsi_shell=no
  34346. +( _lt_dummy="a/b/c"
  34347. + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
  34348. + = c,a/b,b/c, \
  34349. + && eval 'test $(( 1 + 1 )) -eq 2 \
  34350. + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  34351. + && xsi_shell=yes
  34352. +AC_MSG_RESULT([$xsi_shell])
  34353. +_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
  34354. +
  34355. +AC_MSG_CHECKING([whether the shell understands "+="])
  34356. +lt_shell_append=no
  34357. +( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
  34358. + >/dev/null 2>&1 \
  34359. + && lt_shell_append=yes
  34360. +AC_MSG_RESULT([$lt_shell_append])
  34361. +_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
  34362. +
  34363. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  34364. + lt_unset=unset
  34365. +else
  34366. + lt_unset=false
  34367. +fi
  34368. +_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
  34369. +
  34370. +# test EBCDIC or ASCII
  34371. +case `echo X|tr X '\101'` in
  34372. + A) # ASCII based system
  34373. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  34374. + lt_SP2NL='tr \040 \012'
  34375. + lt_NL2SP='tr \015\012 \040\040'
  34376. + ;;
  34377. + *) # EBCDIC based system
  34378. + lt_SP2NL='tr \100 \n'
  34379. + lt_NL2SP='tr \r\n \100\100'
  34380. + ;;
  34381. +esac
  34382. +_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
  34383. +_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
  34384. +])# _LT_CHECK_SHELL_FEATURES
  34385. +
  34386. +
  34387. +# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY)
  34388. +# ------------------------------------------------------
  34389. +# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and
  34390. +# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY.
  34391. +m4_defun([_LT_PROG_FUNCTION_REPLACE],
  34392. +[dnl {
  34393. +sed -e '/^$1 ()$/,/^} # $1 /c\
  34394. +$1 ()\
  34395. +{\
  34396. +m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1])
  34397. +} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \
  34398. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  34399. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  34400. +test 0 -eq $? || _lt_function_replace_fail=:
  34401. +])
  34402. +
  34403. +
  34404. +# _LT_PROG_REPLACE_SHELLFNS
  34405. +# -------------------------
  34406. +# Replace existing portable implementations of several shell functions with
  34407. +# equivalent extended shell implementations where those features are available..
  34408. +m4_defun([_LT_PROG_REPLACE_SHELLFNS],
  34409. +[if test x"$xsi_shell" = xyes; then
  34410. + _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl
  34411. + case ${1} in
  34412. + */*) func_dirname_result="${1%/*}${2}" ;;
  34413. + * ) func_dirname_result="${3}" ;;
  34414. + esac])
  34415. +
  34416. + _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl
  34417. + func_basename_result="${1##*/}"])
  34418. +
  34419. + _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl
  34420. + case ${1} in
  34421. + */*) func_dirname_result="${1%/*}${2}" ;;
  34422. + * ) func_dirname_result="${3}" ;;
  34423. + esac
  34424. + func_basename_result="${1##*/}"])
  34425. +
  34426. + _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl
  34427. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  34428. + # positional parameters, so assign one to ordinary parameter first.
  34429. + func_stripname_result=${3}
  34430. + func_stripname_result=${func_stripname_result#"${1}"}
  34431. + func_stripname_result=${func_stripname_result%"${2}"}])
  34432. +
  34433. + _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl
  34434. + func_split_long_opt_name=${1%%=*}
  34435. + func_split_long_opt_arg=${1#*=}])
  34436. +
  34437. + _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl
  34438. + func_split_short_opt_arg=${1#??}
  34439. + func_split_short_opt_name=${1%"$func_split_short_opt_arg"}])
  34440. +
  34441. + _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl
  34442. + case ${1} in
  34443. + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  34444. + *) func_lo2o_result=${1} ;;
  34445. + esac])
  34446. +
  34447. + _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo])
  34448. +
  34449. + _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))])
  34450. +
  34451. + _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}])
  34452. +fi
  34453. +
  34454. +if test x"$lt_shell_append" = xyes; then
  34455. + _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"])
  34456. +
  34457. + _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl
  34458. + func_quote_for_eval "${2}"
  34459. +dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \
  34460. + eval "${1}+=\\\\ \\$func_quote_for_eval_result"])
  34461. +
  34462. + # Save a `func_append' function call where possible by direct use of '+='
  34463. + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  34464. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  34465. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  34466. + test 0 -eq $? || _lt_function_replace_fail=:
  34467. +else
  34468. + # Save a `func_append' function call even when '+=' is not available
  34469. + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  34470. + && mv -f "$cfgfile.tmp" "$cfgfile" \
  34471. + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  34472. + test 0 -eq $? || _lt_function_replace_fail=:
  34473. +fi
  34474. +
  34475. +if test x"$_lt_function_replace_fail" = x":"; then
  34476. + AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])
  34477. +fi
  34478. +])
  34479. diff -Nur owfs-2.7p38.orig/m4/lt~obsolete.m4 owfs-2.7p38/m4/lt~obsolete.m4
  34480. --- owfs-2.7p38.orig/m4/lt~obsolete.m4 1970-01-01 01:00:00.000000000 +0100
  34481. +++ owfs-2.7p38/m4/lt~obsolete.m4 2010-07-09 16:00:36.387001100 +0200
  34482. @@ -0,0 +1,98 @@
  34483. +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
  34484. +#
  34485. +# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
  34486. +# Written by Scott James Remnant, 2004.
  34487. +#
  34488. +# This file is free software; the Free Software Foundation gives
  34489. +# unlimited permission to copy and/or distribute it, with or without
  34490. +# modifications, as long as this notice is preserved.
  34491. +
  34492. +# serial 5 lt~obsolete.m4
  34493. +
  34494. +# These exist entirely to fool aclocal when bootstrapping libtool.
  34495. +#
  34496. +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
  34497. +# which have later been changed to m4_define as they aren't part of the
  34498. +# exported API, or moved to Autoconf or Automake where they belong.
  34499. +#
  34500. +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
  34501. +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
  34502. +# using a macro with the same name in our local m4/libtool.m4 it'll
  34503. +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
  34504. +# and doesn't know about Autoconf macros at all.)
  34505. +#
  34506. +# So we provide this file, which has a silly filename so it's always
  34507. +# included after everything else. This provides aclocal with the
  34508. +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
  34509. +# because those macros already exist, or will be overwritten later.
  34510. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
  34511. +#
  34512. +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
  34513. +# Yes, that means every name once taken will need to remain here until
  34514. +# we give up compatibility with versions before 1.7, at which point
  34515. +# we need to keep only those names which we still refer to.
  34516. +
  34517. +# This is to help aclocal find these macros, as it can't see m4_define.
  34518. +AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  34519. +
  34520. +m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
  34521. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
  34522. +m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
  34523. +m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
  34524. +m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
  34525. +m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
  34526. +m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
  34527. +m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
  34528. +m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
  34529. +m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
  34530. +m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
  34531. +m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
  34532. +m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
  34533. +m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
  34534. +m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
  34535. +m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
  34536. +m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
  34537. +m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
  34538. +m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
  34539. +m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
  34540. +m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
  34541. +m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
  34542. +m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
  34543. +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
  34544. +m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
  34545. +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
  34546. +m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
  34547. +m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
  34548. +m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
  34549. +m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
  34550. +m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
  34551. +m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
  34552. +m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
  34553. +m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
  34554. +m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
  34555. +m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
  34556. +m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
  34557. +m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
  34558. +m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
  34559. +m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
  34560. +m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
  34561. +m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
  34562. +m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
  34563. +m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
  34564. +m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
  34565. +m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
  34566. +m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
  34567. +m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
  34568. +m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
  34569. +m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
  34570. +m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
  34571. +m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
  34572. +m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
  34573. +m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
  34574. +m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
  34575. +m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
  34576. +m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
  34577. +m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
  34578. +m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
  34579. +m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
  34580. +m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
  34581. diff -Nur owfs-2.7p38.orig/m4/ltoptions.m4 owfs-2.7p38/m4/ltoptions.m4
  34582. --- owfs-2.7p38.orig/m4/ltoptions.m4 1970-01-01 01:00:00.000000000 +0100
  34583. +++ owfs-2.7p38/m4/ltoptions.m4 2010-07-09 16:00:36.203003355 +0200
  34584. @@ -0,0 +1,369 @@
  34585. +# Helper functions for option handling. -*- Autoconf -*-
  34586. +#
  34587. +# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
  34588. +# Inc.
  34589. +# Written by Gary V. Vaughan, 2004
  34590. +#
  34591. +# This file is free software; the Free Software Foundation gives
  34592. +# unlimited permission to copy and/or distribute it, with or without
  34593. +# modifications, as long as this notice is preserved.
  34594. +
  34595. +# serial 7 ltoptions.m4
  34596. +
  34597. +# This is to help aclocal find these macros, as it can't see m4_define.
  34598. +AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  34599. +
  34600. +
  34601. +# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
  34602. +# ------------------------------------------
  34603. +m4_define([_LT_MANGLE_OPTION],
  34604. +[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
  34605. +
  34606. +
  34607. +# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
  34608. +# ---------------------------------------
  34609. +# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
  34610. +# matching handler defined, dispatch to it. Other OPTION-NAMEs are
  34611. +# saved as a flag.
  34612. +m4_define([_LT_SET_OPTION],
  34613. +[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
  34614. +m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
  34615. + _LT_MANGLE_DEFUN([$1], [$2]),
  34616. + [m4_warning([Unknown $1 option `$2'])])[]dnl
  34617. +])
  34618. +
  34619. +
  34620. +# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
  34621. +# ------------------------------------------------------------
  34622. +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
  34623. +m4_define([_LT_IF_OPTION],
  34624. +[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
  34625. +
  34626. +
  34627. +# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
  34628. +# -------------------------------------------------------
  34629. +# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
  34630. +# are set.
  34631. +m4_define([_LT_UNLESS_OPTIONS],
  34632. +[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  34633. + [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
  34634. + [m4_define([$0_found])])])[]dnl
  34635. +m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
  34636. +])[]dnl
  34637. +])
  34638. +
  34639. +
  34640. +# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
  34641. +# ----------------------------------------
  34642. +# OPTION-LIST is a space-separated list of Libtool options associated
  34643. +# with MACRO-NAME. If any OPTION has a matching handler declared with
  34644. +# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
  34645. +# the unknown option and exit.
  34646. +m4_defun([_LT_SET_OPTIONS],
  34647. +[# Set options
  34648. +m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  34649. + [_LT_SET_OPTION([$1], _LT_Option)])
  34650. +
  34651. +m4_if([$1],[LT_INIT],[
  34652. + dnl
  34653. + dnl Simply set some default values (i.e off) if boolean options were not
  34654. + dnl specified:
  34655. + _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
  34656. + ])
  34657. + _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
  34658. + ])
  34659. + dnl
  34660. + dnl If no reference was made to various pairs of opposing options, then
  34661. + dnl we run the default mode handler for the pair. For example, if neither
  34662. + dnl `shared' nor `disable-shared' was passed, we enable building of shared
  34663. + dnl archives by default:
  34664. + _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
  34665. + _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
  34666. + _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
  34667. + _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
  34668. + [_LT_ENABLE_FAST_INSTALL])
  34669. + ])
  34670. +])# _LT_SET_OPTIONS
  34671. +
  34672. +
  34673. +## --------------------------------- ##
  34674. +## Macros to handle LT_INIT options. ##
  34675. +## --------------------------------- ##
  34676. +
  34677. +# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
  34678. +# -----------------------------------------
  34679. +m4_define([_LT_MANGLE_DEFUN],
  34680. +[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
  34681. +
  34682. +
  34683. +# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
  34684. +# -----------------------------------------------
  34685. +m4_define([LT_OPTION_DEFINE],
  34686. +[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
  34687. +])# LT_OPTION_DEFINE
  34688. +
  34689. +
  34690. +# dlopen
  34691. +# ------
  34692. +LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
  34693. +])
  34694. +
  34695. +AU_DEFUN([AC_LIBTOOL_DLOPEN],
  34696. +[_LT_SET_OPTION([LT_INIT], [dlopen])
  34697. +AC_DIAGNOSE([obsolete],
  34698. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  34699. +put the `dlopen' option into LT_INIT's first parameter.])
  34700. +])
  34701. +
  34702. +dnl aclocal-1.4 backwards compatibility:
  34703. +dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
  34704. +
  34705. +
  34706. +# win32-dll
  34707. +# ---------
  34708. +# Declare package support for building win32 dll's.
  34709. +LT_OPTION_DEFINE([LT_INIT], [win32-dll],
  34710. +[enable_win32_dll=yes
  34711. +
  34712. +case $host in
  34713. +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
  34714. + AC_CHECK_TOOL(AS, as, false)
  34715. + AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  34716. + AC_CHECK_TOOL(OBJDUMP, objdump, false)
  34717. + ;;
  34718. +esac
  34719. +
  34720. +test -z "$AS" && AS=as
  34721. +_LT_DECL([], [AS], [1], [Assembler program])dnl
  34722. +
  34723. +test -z "$DLLTOOL" && DLLTOOL=dlltool
  34724. +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
  34725. +
  34726. +test -z "$OBJDUMP" && OBJDUMP=objdump
  34727. +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
  34728. +])# win32-dll
  34729. +
  34730. +AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
  34731. +[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  34732. +_LT_SET_OPTION([LT_INIT], [win32-dll])
  34733. +AC_DIAGNOSE([obsolete],
  34734. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  34735. +put the `win32-dll' option into LT_INIT's first parameter.])
  34736. +])
  34737. +
  34738. +dnl aclocal-1.4 backwards compatibility:
  34739. +dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
  34740. +
  34741. +
  34742. +# _LT_ENABLE_SHARED([DEFAULT])
  34743. +# ----------------------------
  34744. +# implement the --enable-shared flag, and supports the `shared' and
  34745. +# `disable-shared' LT_INIT options.
  34746. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  34747. +m4_define([_LT_ENABLE_SHARED],
  34748. +[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
  34749. +AC_ARG_ENABLE([shared],
  34750. + [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
  34751. + [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
  34752. + [p=${PACKAGE-default}
  34753. + case $enableval in
  34754. + yes) enable_shared=yes ;;
  34755. + no) enable_shared=no ;;
  34756. + *)
  34757. + enable_shared=no
  34758. + # Look at the argument we got. We use all the common list separators.
  34759. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  34760. + for pkg in $enableval; do
  34761. + IFS="$lt_save_ifs"
  34762. + if test "X$pkg" = "X$p"; then
  34763. + enable_shared=yes
  34764. + fi
  34765. + done
  34766. + IFS="$lt_save_ifs"
  34767. + ;;
  34768. + esac],
  34769. + [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
  34770. +
  34771. + _LT_DECL([build_libtool_libs], [enable_shared], [0],
  34772. + [Whether or not to build shared libraries])
  34773. +])# _LT_ENABLE_SHARED
  34774. +
  34775. +LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
  34776. +LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
  34777. +
  34778. +# Old names:
  34779. +AC_DEFUN([AC_ENABLE_SHARED],
  34780. +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
  34781. +])
  34782. +
  34783. +AC_DEFUN([AC_DISABLE_SHARED],
  34784. +[_LT_SET_OPTION([LT_INIT], [disable-shared])
  34785. +])
  34786. +
  34787. +AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  34788. +AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  34789. +
  34790. +dnl aclocal-1.4 backwards compatibility:
  34791. +dnl AC_DEFUN([AM_ENABLE_SHARED], [])
  34792. +dnl AC_DEFUN([AM_DISABLE_SHARED], [])
  34793. +
  34794. +
  34795. +
  34796. +# _LT_ENABLE_STATIC([DEFAULT])
  34797. +# ----------------------------
  34798. +# implement the --enable-static flag, and support the `static' and
  34799. +# `disable-static' LT_INIT options.
  34800. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  34801. +m4_define([_LT_ENABLE_STATIC],
  34802. +[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
  34803. +AC_ARG_ENABLE([static],
  34804. + [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
  34805. + [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
  34806. + [p=${PACKAGE-default}
  34807. + case $enableval in
  34808. + yes) enable_static=yes ;;
  34809. + no) enable_static=no ;;
  34810. + *)
  34811. + enable_static=no
  34812. + # Look at the argument we got. We use all the common list separators.
  34813. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  34814. + for pkg in $enableval; do
  34815. + IFS="$lt_save_ifs"
  34816. + if test "X$pkg" = "X$p"; then
  34817. + enable_static=yes
  34818. + fi
  34819. + done
  34820. + IFS="$lt_save_ifs"
  34821. + ;;
  34822. + esac],
  34823. + [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
  34824. +
  34825. + _LT_DECL([build_old_libs], [enable_static], [0],
  34826. + [Whether or not to build static libraries])
  34827. +])# _LT_ENABLE_STATIC
  34828. +
  34829. +LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
  34830. +LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
  34831. +
  34832. +# Old names:
  34833. +AC_DEFUN([AC_ENABLE_STATIC],
  34834. +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
  34835. +])
  34836. +
  34837. +AC_DEFUN([AC_DISABLE_STATIC],
  34838. +[_LT_SET_OPTION([LT_INIT], [disable-static])
  34839. +])
  34840. +
  34841. +AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  34842. +AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  34843. +
  34844. +dnl aclocal-1.4 backwards compatibility:
  34845. +dnl AC_DEFUN([AM_ENABLE_STATIC], [])
  34846. +dnl AC_DEFUN([AM_DISABLE_STATIC], [])
  34847. +
  34848. +
  34849. +
  34850. +# _LT_ENABLE_FAST_INSTALL([DEFAULT])
  34851. +# ----------------------------------
  34852. +# implement the --enable-fast-install flag, and support the `fast-install'
  34853. +# and `disable-fast-install' LT_INIT options.
  34854. +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
  34855. +m4_define([_LT_ENABLE_FAST_INSTALL],
  34856. +[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
  34857. +AC_ARG_ENABLE([fast-install],
  34858. + [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
  34859. + [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
  34860. + [p=${PACKAGE-default}
  34861. + case $enableval in
  34862. + yes) enable_fast_install=yes ;;
  34863. + no) enable_fast_install=no ;;
  34864. + *)
  34865. + enable_fast_install=no
  34866. + # Look at the argument we got. We use all the common list separators.
  34867. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  34868. + for pkg in $enableval; do
  34869. + IFS="$lt_save_ifs"
  34870. + if test "X$pkg" = "X$p"; then
  34871. + enable_fast_install=yes
  34872. + fi
  34873. + done
  34874. + IFS="$lt_save_ifs"
  34875. + ;;
  34876. + esac],
  34877. + [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
  34878. +
  34879. +_LT_DECL([fast_install], [enable_fast_install], [0],
  34880. + [Whether or not to optimize for fast installation])dnl
  34881. +])# _LT_ENABLE_FAST_INSTALL
  34882. +
  34883. +LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
  34884. +LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
  34885. +
  34886. +# Old names:
  34887. +AU_DEFUN([AC_ENABLE_FAST_INSTALL],
  34888. +[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  34889. +AC_DIAGNOSE([obsolete],
  34890. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  34891. +the `fast-install' option into LT_INIT's first parameter.])
  34892. +])
  34893. +
  34894. +AU_DEFUN([AC_DISABLE_FAST_INSTALL],
  34895. +[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  34896. +AC_DIAGNOSE([obsolete],
  34897. +[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  34898. +the `disable-fast-install' option into LT_INIT's first parameter.])
  34899. +])
  34900. +
  34901. +dnl aclocal-1.4 backwards compatibility:
  34902. +dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
  34903. +dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
  34904. +
  34905. +
  34906. +# _LT_WITH_PIC([MODE])
  34907. +# --------------------
  34908. +# implement the --with-pic flag, and support the `pic-only' and `no-pic'
  34909. +# LT_INIT options.
  34910. +# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
  34911. +m4_define([_LT_WITH_PIC],
  34912. +[AC_ARG_WITH([pic],
  34913. + [AS_HELP_STRING([--with-pic],
  34914. + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
  34915. + [pic_mode="$withval"],
  34916. + [pic_mode=default])
  34917. +
  34918. +test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
  34919. +
  34920. +_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
  34921. +])# _LT_WITH_PIC
  34922. +
  34923. +LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
  34924. +LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
  34925. +
  34926. +# Old name:
  34927. +AU_DEFUN([AC_LIBTOOL_PICMODE],
  34928. +[_LT_SET_OPTION([LT_INIT], [pic-only])
  34929. +AC_DIAGNOSE([obsolete],
  34930. +[$0: Remove this warning and the call to _LT_SET_OPTION when you
  34931. +put the `pic-only' option into LT_INIT's first parameter.])
  34932. +])
  34933. +
  34934. +dnl aclocal-1.4 backwards compatibility:
  34935. +dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
  34936. +
  34937. +## ----------------- ##
  34938. +## LTDL_INIT Options ##
  34939. +## ----------------- ##
  34940. +
  34941. +m4_define([_LTDL_MODE], [])
  34942. +LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
  34943. + [m4_define([_LTDL_MODE], [nonrecursive])])
  34944. +LT_OPTION_DEFINE([LTDL_INIT], [recursive],
  34945. + [m4_define([_LTDL_MODE], [recursive])])
  34946. +LT_OPTION_DEFINE([LTDL_INIT], [subproject],
  34947. + [m4_define([_LTDL_MODE], [subproject])])
  34948. +
  34949. +m4_define([_LTDL_TYPE], [])
  34950. +LT_OPTION_DEFINE([LTDL_INIT], [installable],
  34951. + [m4_define([_LTDL_TYPE], [installable])])
  34952. +LT_OPTION_DEFINE([LTDL_INIT], [convenience],
  34953. + [m4_define([_LTDL_TYPE], [convenience])])
  34954. diff -Nur owfs-2.7p38.orig/m4/ltsugar.m4 owfs-2.7p38/m4/ltsugar.m4
  34955. --- owfs-2.7p38.orig/m4/ltsugar.m4 1970-01-01 01:00:00.000000000 +0100
  34956. +++ owfs-2.7p38/m4/ltsugar.m4 2010-07-09 16:00:36.263001225 +0200
  34957. @@ -0,0 +1,123 @@
  34958. +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
  34959. +#
  34960. +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  34961. +# Written by Gary V. Vaughan, 2004
  34962. +#
  34963. +# This file is free software; the Free Software Foundation gives
  34964. +# unlimited permission to copy and/or distribute it, with or without
  34965. +# modifications, as long as this notice is preserved.
  34966. +
  34967. +# serial 6 ltsugar.m4
  34968. +
  34969. +# This is to help aclocal find these macros, as it can't see m4_define.
  34970. +AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
  34971. +
  34972. +
  34973. +# lt_join(SEP, ARG1, [ARG2...])
  34974. +# -----------------------------
  34975. +# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
  34976. +# associated separator.
  34977. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
  34978. +# versions in m4sugar had bugs.
  34979. +m4_define([lt_join],
  34980. +[m4_if([$#], [1], [],
  34981. + [$#], [2], [[$2]],
  34982. + [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
  34983. +m4_define([_lt_join],
  34984. +[m4_if([$#$2], [2], [],
  34985. + [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
  34986. +
  34987. +
  34988. +# lt_car(LIST)
  34989. +# lt_cdr(LIST)
  34990. +# ------------
  34991. +# Manipulate m4 lists.
  34992. +# These macros are necessary as long as will still need to support
  34993. +# Autoconf-2.59 which quotes differently.
  34994. +m4_define([lt_car], [[$1]])
  34995. +m4_define([lt_cdr],
  34996. +[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
  34997. + [$#], 1, [],
  34998. + [m4_dquote(m4_shift($@))])])
  34999. +m4_define([lt_unquote], $1)
  35000. +
  35001. +
  35002. +# lt_append(MACRO-NAME, STRING, [SEPARATOR])
  35003. +# ------------------------------------------
  35004. +# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
  35005. +# Note that neither SEPARATOR nor STRING are expanded; they are appended
  35006. +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
  35007. +# No SEPARATOR is output if MACRO-NAME was previously undefined (different
  35008. +# than defined and empty).
  35009. +#
  35010. +# This macro is needed until we can rely on Autoconf 2.62, since earlier
  35011. +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
  35012. +m4_define([lt_append],
  35013. +[m4_define([$1],
  35014. + m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
  35015. +
  35016. +
  35017. +
  35018. +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
  35019. +# ----------------------------------------------------------
  35020. +# Produce a SEP delimited list of all paired combinations of elements of
  35021. +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
  35022. +# has the form PREFIXmINFIXSUFFIXn.
  35023. +# Needed until we can rely on m4_combine added in Autoconf 2.62.
  35024. +m4_define([lt_combine],
  35025. +[m4_if(m4_eval([$# > 3]), [1],
  35026. + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
  35027. +[[m4_foreach([_Lt_prefix], [$2],
  35028. + [m4_foreach([_Lt_suffix],
  35029. + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
  35030. + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
  35031. +
  35032. +
  35033. +# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
  35034. +# -----------------------------------------------------------------------
  35035. +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
  35036. +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
  35037. +m4_define([lt_if_append_uniq],
  35038. +[m4_ifdef([$1],
  35039. + [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
  35040. + [lt_append([$1], [$2], [$3])$4],
  35041. + [$5])],
  35042. + [lt_append([$1], [$2], [$3])$4])])
  35043. +
  35044. +
  35045. +# lt_dict_add(DICT, KEY, VALUE)
  35046. +# -----------------------------
  35047. +m4_define([lt_dict_add],
  35048. +[m4_define([$1($2)], [$3])])
  35049. +
  35050. +
  35051. +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
  35052. +# --------------------------------------------
  35053. +m4_define([lt_dict_add_subkey],
  35054. +[m4_define([$1($2:$3)], [$4])])
  35055. +
  35056. +
  35057. +# lt_dict_fetch(DICT, KEY, [SUBKEY])
  35058. +# ----------------------------------
  35059. +m4_define([lt_dict_fetch],
  35060. +[m4_ifval([$3],
  35061. + m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
  35062. + m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
  35063. +
  35064. +
  35065. +# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
  35066. +# -----------------------------------------------------------------
  35067. +m4_define([lt_if_dict_fetch],
  35068. +[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
  35069. + [$5],
  35070. + [$6])])
  35071. +
  35072. +
  35073. +# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
  35074. +# --------------------------------------------------------------
  35075. +m4_define([lt_dict_filter],
  35076. +[m4_if([$5], [], [],
  35077. + [lt_join(m4_quote(m4_default([$4], [[, ]])),
  35078. + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
  35079. + [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
  35080. +])
  35081. diff -Nur owfs-2.7p38.orig/m4/ltversion.m4 owfs-2.7p38/m4/ltversion.m4
  35082. --- owfs-2.7p38.orig/m4/ltversion.m4 1970-01-01 01:00:00.000000000 +0100
  35083. +++ owfs-2.7p38/m4/ltversion.m4 2010-07-09 16:00:36.323004121 +0200
  35084. @@ -0,0 +1,23 @@
  35085. +# ltversion.m4 -- version numbers -*- Autoconf -*-
  35086. +#
  35087. +# Copyright (C) 2004 Free Software Foundation, Inc.
  35088. +# Written by Scott James Remnant, 2004
  35089. +#
  35090. +# This file is free software; the Free Software Foundation gives
  35091. +# unlimited permission to copy and/or distribute it, with or without
  35092. +# modifications, as long as this notice is preserved.
  35093. +
  35094. +# Generated from ltversion.in.
  35095. +
  35096. +# serial 3216 ltversion.m4
  35097. +# This file is part of GNU Libtool
  35098. +
  35099. +m4_define([LT_PACKAGE_VERSION], [2.2.11a])
  35100. +m4_define([LT_PACKAGE_REVISION], [1.3216])
  35101. +
  35102. +AC_DEFUN([LTVERSION_VERSION],
  35103. +[macro_version='2.2.11a'
  35104. +macro_revision='1.3216'
  35105. +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  35106. +_LT_DECL(, macro_revision, 0)
  35107. +])
  35108. diff -Nur owfs-2.7p38.orig/Makefile.am owfs-2.7p38/Makefile.am
  35109. --- owfs-2.7p38.orig/Makefile.am 2009-07-10 13:32:47.000000000 +0200
  35110. +++ owfs-2.7p38/Makefile.am 2010-07-09 16:00:21.263122683 +0200
  35111. @@ -1,3 +1,4 @@
  35112. +ACLOCAL_AMFLAGS = -I m4
  35113. SUBDIRS = src module
  35114. RPMMACROS = ${HOME}/.rpmmacros
  35115. RPMDIR = ${HOME}/.rpm
  35116. diff -Nur owfs-2.7p38.orig/Makefile.in owfs-2.7p38/Makefile.in
  35117. --- owfs-2.7p38.orig/Makefile.in 2010-06-04 03:00:42.000000000 +0200
  35118. +++ owfs-2.7p38/Makefile.in 2010-07-09 16:01:01.390998816 +0200
  35119. @@ -1,8 +1,9 @@
  35120. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  35121. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  35122. # @configure_input@
  35123. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  35124. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  35125. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  35126. +# Inc.
  35127. # This Makefile.in is free software; the Free Software Foundation
  35128. # gives unlimited permission to copy and/or distribute it,
  35129. # with or without modifications, as long as this notice is preserved.
  35130. @@ -15,8 +16,9 @@
  35131. @SET_MAKE@
  35132. VPATH = @srcdir@
  35133. pkgdatadir = $(datadir)/@PACKAGE@
  35134. -pkglibdir = $(libdir)/@PACKAGE@
  35135. pkgincludedir = $(includedir)/@PACKAGE@
  35136. +pkglibdir = $(libdir)/@PACKAGE@
  35137. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  35138. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  35139. install_sh_DATA = $(install_sh) -c -m 644
  35140. install_sh_PROGRAM = $(install_sh) -c
  35141. @@ -48,8 +50,10 @@
  35142. src/scripts/install/install-sh src/scripts/install/ltmain.sh \
  35143. src/scripts/install/missing src/scripts/install/mkinstalldirs
  35144. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  35145. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  35146. - $(top_srcdir)/acx_pthread.m4 \
  35147. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  35148. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  35149. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  35150. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  35151. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  35152. $(top_srcdir)/module/swig/php/php.m4 \
  35153. $(top_srcdir)/module/swig/python/python.m4 \
  35154. @@ -68,6 +72,7 @@
  35155. module/swig/perl5/OW/Makefile.linux \
  35156. module/swig/perl5/OW/Makefile.osx \
  35157. module/swig/php/example/load_php_OW.php
  35158. +CONFIG_CLEAN_VPATH_FILES =
  35159. SOURCES =
  35160. DIST_SOURCES =
  35161. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  35162. @@ -79,6 +84,9 @@
  35163. ps-recursive uninstall-recursive
  35164. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  35165. distclean-recursive maintainer-clean-recursive
  35166. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  35167. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  35168. + distdir dist dist-all distcheck
  35169. ETAGS = etags
  35170. CTAGS = ctags
  35171. DIST_SUBDIRS = $(SUBDIRS)
  35172. @@ -86,9 +94,34 @@
  35173. distdir = $(PACKAGE)-$(VERSION)
  35174. top_distdir = $(distdir)
  35175. am__remove_distdir = \
  35176. - { test ! -d $(distdir) \
  35177. - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
  35178. - && rm -fr $(distdir); }; }
  35179. + { test ! -d "$(distdir)" \
  35180. + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  35181. + && rm -fr "$(distdir)"; }; }
  35182. +am__relativize = \
  35183. + dir0=`pwd`; \
  35184. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  35185. + sed_rest='s,^[^/]*/*,,'; \
  35186. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  35187. + sed_butlast='s,/*[^/]*$$,,'; \
  35188. + while test -n "$$dir1"; do \
  35189. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  35190. + if test "$$first" != "."; then \
  35191. + if test "$$first" = ".."; then \
  35192. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  35193. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  35194. + else \
  35195. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  35196. + if test "$$first2" = "$$first"; then \
  35197. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  35198. + else \
  35199. + dir2="../$$dir2"; \
  35200. + fi; \
  35201. + dir0="$$dir0"/"$$first"; \
  35202. + fi; \
  35203. + fi; \
  35204. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  35205. + done; \
  35206. + reldir="$$dir2"
  35207. DIST_ARCHIVES = $(distdir).tar.gz
  35208. GZIP_ENV = --best
  35209. distuninstallcheck_listfiles = find . -type f -print
  35210. @@ -186,6 +219,7 @@
  35211. LT_RELEASE = @LT_RELEASE@
  35212. LT_REVISION = @LT_REVISION@
  35213. MAKEINFO = @MAKEINFO@
  35214. +MANIFEST_TOOL = @MANIFEST_TOOL@
  35215. MKDIR_P = @MKDIR_P@
  35216. NM = @NM@
  35217. NMEDIT = @NMEDIT@
  35218. @@ -217,6 +251,7 @@
  35219. PACKAGE_NAME = @PACKAGE_NAME@
  35220. PACKAGE_STRING = @PACKAGE_STRING@
  35221. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  35222. +PACKAGE_URL = @PACKAGE_URL@
  35223. PACKAGE_VERSION = @PACKAGE_VERSION@
  35224. PATH_SEPARATOR = @PATH_SEPARATOR@
  35225. PERL = @PERL@
  35226. @@ -322,7 +357,6 @@
  35227. libexecdir = @libexecdir@
  35228. localedir = @localedir@
  35229. localstatedir = @localstatedir@
  35230. -lt_ECHO = @lt_ECHO@
  35231. mandir = @mandir@
  35232. mkdir_p = @mkdir_p@
  35233. oldincludedir = @oldincludedir@
  35234. @@ -342,6 +376,7 @@
  35235. top_build_prefix = @top_build_prefix@
  35236. top_builddir = @top_builddir@
  35237. top_srcdir = @top_srcdir@
  35238. +ACLOCAL_AMFLAGS = -I m4
  35239. SUBDIRS = src module
  35240. RPMMACROS = ${HOME}/.rpmmacros
  35241. RPMDIR = ${HOME}/.rpm
  35242. @@ -355,15 +390,15 @@
  35243. @for dep in $?; do \
  35244. case '$(am__configure_deps)' in \
  35245. *$$dep*) \
  35246. - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
  35247. - cd $(srcdir) && $(AUTOMAKE) --gnu \
  35248. + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
  35249. + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
  35250. && exit 0; \
  35251. exit 1;; \
  35252. esac; \
  35253. done; \
  35254. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
  35255. - cd $(top_srcdir) && \
  35256. - $(AUTOMAKE) --gnu Makefile
  35257. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
  35258. + $(am__cd) $(top_srcdir) && \
  35259. + $(AUTOMAKE) --gnu Makefile
  35260. .PRECIOUS: Makefile
  35261. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  35262. @case '$?' in \
  35263. @@ -379,9 +414,10 @@
  35264. $(SHELL) ./config.status --recheck
  35265. $(top_srcdir)/configure: $(am__configure_deps)
  35266. - cd $(srcdir) && $(AUTOCONF)
  35267. + $(am__cd) $(srcdir) && $(AUTOCONF)
  35268. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  35269. - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  35270. + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  35271. +$(am__aclocal_m4_deps):
  35272. module/ownet/php/examples/ownet_example.php: $(top_builddir)/config.status $(top_srcdir)/module/ownet/php/examples/ownet_example.php.in
  35273. cd $(top_builddir) && $(SHELL) ./config.status $@
  35274. module/ownet/c/src/example/Makefile: $(top_builddir)/config.status $(top_srcdir)/module/ownet/c/src/example/Makefile.in
  35275. @@ -413,7 +449,7 @@
  35276. # (which will cause the Makefiles to be regenerated when you run `make');
  35277. # (2) otherwise, pass the desired values on the `make' command line.
  35278. $(RECURSIVE_TARGETS):
  35279. - @failcom='exit 1'; \
  35280. + @fail= failcom='exit 1'; \
  35281. for f in x $$MAKEFLAGS; do \
  35282. case $$f in \
  35283. *=* | --[!k]*);; \
  35284. @@ -430,7 +466,7 @@
  35285. else \
  35286. local_target="$$target"; \
  35287. fi; \
  35288. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  35289. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  35290. || eval $$failcom; \
  35291. done; \
  35292. if test "$$dot_seen" = "no"; then \
  35293. @@ -438,7 +474,7 @@
  35294. fi; test -z "$$fail"
  35295. $(RECURSIVE_CLEAN_TARGETS):
  35296. - @failcom='exit 1'; \
  35297. + @fail= failcom='exit 1'; \
  35298. for f in x $$MAKEFLAGS; do \
  35299. case $$f in \
  35300. *=* | --[!k]*);; \
  35301. @@ -464,16 +500,16 @@
  35302. else \
  35303. local_target="$$target"; \
  35304. fi; \
  35305. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  35306. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  35307. || eval $$failcom; \
  35308. done && test -z "$$fail"
  35309. tags-recursive:
  35310. list='$(SUBDIRS)'; for subdir in $$list; do \
  35311. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  35312. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  35313. done
  35314. ctags-recursive:
  35315. list='$(SUBDIRS)'; for subdir in $$list; do \
  35316. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  35317. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  35318. done
  35319. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  35320. @@ -488,7 +524,7 @@
  35321. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  35322. $(TAGS_FILES) $(LISP)
  35323. - tags=; \
  35324. + set x; \
  35325. here=`pwd`; \
  35326. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  35327. include_option=--etags-include; \
  35328. @@ -500,7 +536,7 @@
  35329. list='$(SUBDIRS)'; for subdir in $$list; do \
  35330. if test "$$subdir" = .; then :; else \
  35331. test ! -f $$subdir/TAGS || \
  35332. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  35333. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  35334. fi; \
  35335. done; \
  35336. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  35337. @@ -509,36 +545,41 @@
  35338. done | \
  35339. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  35340. END { if (nonempty) { for (i in files) print i; }; }'`; \
  35341. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  35342. + shift; \
  35343. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  35344. test -n "$$unique" || unique=$$empty_fix; \
  35345. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  35346. - $$tags $$unique; \
  35347. + if test $$# -gt 0; then \
  35348. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  35349. + "$$@" $$unique; \
  35350. + else \
  35351. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  35352. + $$unique; \
  35353. + fi; \
  35354. fi
  35355. ctags: CTAGS
  35356. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  35357. $(TAGS_FILES) $(LISP)
  35358. - tags=; \
  35359. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  35360. unique=`for i in $$list; do \
  35361. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  35362. done | \
  35363. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  35364. END { if (nonempty) { for (i in files) print i; }; }'`; \
  35365. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  35366. + test -z "$(CTAGS_ARGS)$$unique" \
  35367. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  35368. - $$tags $$unique
  35369. + $$unique
  35370. GTAGS:
  35371. here=`$(am__cd) $(top_builddir) && pwd` \
  35372. - && cd $(top_srcdir) \
  35373. - && gtags -i $(GTAGS_ARGS) $$here
  35374. + && $(am__cd) $(top_srcdir) \
  35375. + && gtags -i $(GTAGS_ARGS) "$$here"
  35376. distclean-tags:
  35377. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  35378. distdir: $(DISTFILES)
  35379. $(am__remove_distdir)
  35380. - test -d $(distdir) || mkdir $(distdir)
  35381. + test -d "$(distdir)" || mkdir "$(distdir)"
  35382. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  35383. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  35384. list='$(DISTFILES)'; \
  35385. @@ -554,38 +595,55 @@
  35386. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  35387. if test -d $$d/$$file; then \
  35388. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  35389. + if test -d "$(distdir)/$$file"; then \
  35390. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  35391. + fi; \
  35392. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  35393. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  35394. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  35395. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  35396. fi; \
  35397. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  35398. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  35399. else \
  35400. - test -f $(distdir)/$$file \
  35401. - || cp -p $$d/$$file $(distdir)/$$file \
  35402. + test -f "$(distdir)/$$file" \
  35403. + || cp -p $$d/$$file "$(distdir)/$$file" \
  35404. || exit 1; \
  35405. fi; \
  35406. done
  35407. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  35408. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  35409. if test "$$subdir" = .; then :; else \
  35410. test -d "$(distdir)/$$subdir" \
  35411. || $(MKDIR_P) "$(distdir)/$$subdir" \
  35412. || exit 1; \
  35413. - distdir=`$(am__cd) $(distdir) && pwd`; \
  35414. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  35415. - (cd $$subdir && \
  35416. + fi; \
  35417. + done
  35418. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  35419. + if test "$$subdir" = .; then :; else \
  35420. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  35421. + $(am__relativize); \
  35422. + new_distdir=$$reldir; \
  35423. + dir1=$$subdir; dir2="$(top_distdir)"; \
  35424. + $(am__relativize); \
  35425. + new_top_distdir=$$reldir; \
  35426. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  35427. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  35428. + ($(am__cd) $$subdir && \
  35429. $(MAKE) $(AM_MAKEFLAGS) \
  35430. - top_distdir="$$top_distdir" \
  35431. - distdir="$$distdir/$$subdir" \
  35432. + top_distdir="$$new_top_distdir" \
  35433. + distdir="$$new_distdir" \
  35434. am__remove_distdir=: \
  35435. am__skip_length_check=: \
  35436. + am__skip_mode_fix=: \
  35437. distdir) \
  35438. || exit 1; \
  35439. fi; \
  35440. done
  35441. - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  35442. + -test -n "$(am__skip_mode_fix)" \
  35443. + || find "$(distdir)" -type d ! -perm -755 \
  35444. + -exec chmod u+rwx,go+rx {} \; -o \
  35445. ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  35446. ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  35447. ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  35448. - || chmod -R a+r $(distdir)
  35449. + || chmod -R a+r "$(distdir)"
  35450. dist-gzip: distdir
  35451. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  35452. $(am__remove_distdir)
  35453. @@ -598,6 +656,10 @@
  35454. tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  35455. $(am__remove_distdir)
  35456. +dist-xz: distdir
  35457. + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  35458. + $(am__remove_distdir)
  35459. +
  35460. dist-tarZ: distdir
  35461. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  35462. $(am__remove_distdir)
  35463. @@ -621,15 +683,17 @@
  35464. distcheck: dist
  35465. case '$(DIST_ARCHIVES)' in \
  35466. *.tar.gz*) \
  35467. - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
  35468. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  35469. *.tar.bz2*) \
  35470. - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
  35471. + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  35472. *.tar.lzma*) \
  35473. - unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
  35474. + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  35475. + *.tar.xz*) \
  35476. + xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  35477. *.tar.Z*) \
  35478. uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  35479. *.shar.gz*) \
  35480. - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
  35481. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  35482. *.zip*) \
  35483. unzip $(distdir).zip ;;\
  35484. esac
  35485. @@ -637,9 +701,11 @@
  35486. mkdir $(distdir)/_build
  35487. mkdir $(distdir)/_inst
  35488. chmod a-w $(distdir)
  35489. + test -d $(distdir)/_build || exit 0; \
  35490. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  35491. && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  35492. - && cd $(distdir)/_build \
  35493. + && am__cwd=`pwd` \
  35494. + && $(am__cd) $(distdir)/_build \
  35495. && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  35496. $(DISTCHECK_CONFIGURE_FLAGS) \
  35497. && $(MAKE) $(AM_MAKEFLAGS) \
  35498. @@ -661,13 +727,15 @@
  35499. && rm -rf "$$dc_destdir" \
  35500. && $(MAKE) $(AM_MAKEFLAGS) dist \
  35501. && rm -rf $(DIST_ARCHIVES) \
  35502. - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
  35503. + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  35504. + && cd "$$am__cwd" \
  35505. + || exit 1
  35506. $(am__remove_distdir)
  35507. @(echo "$(distdir) archives ready for distribution: "; \
  35508. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  35509. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  35510. distuninstallcheck:
  35511. - @cd $(distuninstallcheck_dir) \
  35512. + @$(am__cd) '$(distuninstallcheck_dir)' \
  35513. && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  35514. || { echo "ERROR: files left after uninstall:" ; \
  35515. if test -n "$(DESTDIR)"; then \
  35516. @@ -724,6 +792,8 @@
  35517. html: html-recursive
  35518. +html-am:
  35519. +
  35520. info: info-recursive
  35521. info-am:
  35522. @@ -732,18 +802,28 @@
  35523. install-dvi: install-dvi-recursive
  35524. +install-dvi-am:
  35525. +
  35526. install-exec-am:
  35527. install-html: install-html-recursive
  35528. +install-html-am:
  35529. +
  35530. install-info: install-info-recursive
  35531. +install-info-am:
  35532. +
  35533. install-man:
  35534. install-pdf: install-pdf-recursive
  35535. +install-pdf-am:
  35536. +
  35537. install-ps: install-ps-recursive
  35538. +install-ps-am:
  35539. +
  35540. installcheck-am:
  35541. maintainer-clean: maintainer-clean-recursive
  35542. @@ -766,24 +846,24 @@
  35543. uninstall-am:
  35544. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  35545. - install-strip
  35546. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  35547. + install-am install-strip tags-recursive
  35548. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  35549. all all-am am--refresh check check-am clean clean-generic \
  35550. clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
  35551. - dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \
  35552. - distclean distclean-generic distclean-libtool distclean-tags \
  35553. - distcleancheck distdir distuninstallcheck dvi dvi-am html \
  35554. - html-am info info-am install install-am install-data \
  35555. - install-data-am install-dvi install-dvi-am install-exec \
  35556. - install-exec-am install-html install-html-am install-info \
  35557. - install-info-am install-man install-pdf install-pdf-am \
  35558. - install-ps install-ps-am install-strip installcheck \
  35559. - installcheck-am installdirs installdirs-am maintainer-clean \
  35560. - maintainer-clean-generic mostlyclean mostlyclean-generic \
  35561. - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
  35562. - uninstall uninstall-am
  35563. + dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
  35564. + distcheck distclean distclean-generic distclean-libtool \
  35565. + distclean-tags distcleancheck distdir distuninstallcheck dvi \
  35566. + dvi-am html html-am info info-am install install-am \
  35567. + install-data install-data-am install-dvi install-dvi-am \
  35568. + install-exec install-exec-am install-html install-html-am \
  35569. + install-info install-info-am install-man install-pdf \
  35570. + install-pdf-am install-ps install-ps-am install-strip \
  35571. + installcheck installcheck-am installdirs installdirs-am \
  35572. + maintainer-clean maintainer-clean-generic mostlyclean \
  35573. + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  35574. + tags tags-recursive uninstall uninstall-am
  35575. clean-generic:
  35576. @@ -818,6 +898,7 @@
  35577. rpmcvs: preparerpm
  35578. @LN_S@ -f `pwd`/@PACKAGE@-@VERSION@.tar.gz ${RPMDIR}/SOURCES/@PACKAGE@-@VERSION@_cvs_`date +"%Y%m%d"`.tar.gz
  35579. cd ${RPMDIR}/SPECS && @RPMBUILD@ -ba @PACKAGE@.spec --define 'cvs 1'
  35580. +
  35581. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  35582. # Otherwise a system limit (for SysV at least) may be exceeded.
  35583. .NOEXPORT:
  35584. diff -Nur owfs-2.7p38.orig/module/Makefile.in owfs-2.7p38/module/Makefile.in
  35585. --- owfs-2.7p38.orig/module/Makefile.in 2010-06-04 03:00:35.000000000 +0200
  35586. +++ owfs-2.7p38/module/Makefile.in 2010-07-09 16:00:52.510998450 +0200
  35587. @@ -1,8 +1,9 @@
  35588. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  35589. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  35590. # @configure_input@
  35591. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  35592. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  35593. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  35594. +# Inc.
  35595. # This Makefile.in is free software; the Free Software Foundation
  35596. # gives unlimited permission to copy and/or distribute it,
  35597. # with or without modifications, as long as this notice is preserved.
  35598. @@ -15,8 +16,9 @@
  35599. @SET_MAKE@
  35600. VPATH = @srcdir@
  35601. pkgdatadir = $(datadir)/@PACKAGE@
  35602. -pkglibdir = $(libdir)/@PACKAGE@
  35603. pkgincludedir = $(includedir)/@PACKAGE@
  35604. +pkglibdir = $(libdir)/@PACKAGE@
  35605. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  35606. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  35607. install_sh_DATA = $(install_sh) -c -m 644
  35608. install_sh_PROGRAM = $(install_sh) -c
  35609. @@ -35,8 +37,10 @@
  35610. subdir = module
  35611. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  35612. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  35613. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  35614. - $(top_srcdir)/acx_pthread.m4 \
  35615. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  35616. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  35617. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  35618. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  35619. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  35620. $(top_srcdir)/module/swig/php/php.m4 \
  35621. $(top_srcdir)/module/swig/python/python.m4 \
  35622. @@ -47,6 +51,7 @@
  35623. $(top_srcdir)/src/scripts/install/mkinstalldirs
  35624. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  35625. CONFIG_CLEAN_FILES =
  35626. +CONFIG_CLEAN_VPATH_FILES =
  35627. SOURCES =
  35628. DIST_SOURCES =
  35629. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  35630. @@ -58,11 +63,39 @@
  35631. ps-recursive uninstall-recursive
  35632. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  35633. distclean-recursive maintainer-clean-recursive
  35634. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  35635. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  35636. + distdir
  35637. ETAGS = etags
  35638. CTAGS = ctags
  35639. DIST_SUBDIRS = owshell ownet owlib owhttpd owserver owfs owftpd owcapi \
  35640. owtap owmon swig owtcl
  35641. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  35642. +am__relativize = \
  35643. + dir0=`pwd`; \
  35644. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  35645. + sed_rest='s,^[^/]*/*,,'; \
  35646. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  35647. + sed_butlast='s,/*[^/]*$$,,'; \
  35648. + while test -n "$$dir1"; do \
  35649. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  35650. + if test "$$first" != "."; then \
  35651. + if test "$$first" = ".."; then \
  35652. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  35653. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  35654. + else \
  35655. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  35656. + if test "$$first2" = "$$first"; then \
  35657. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  35658. + else \
  35659. + dir2="../$$dir2"; \
  35660. + fi; \
  35661. + dir0="$$dir0"/"$$first"; \
  35662. + fi; \
  35663. + fi; \
  35664. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  35665. + done; \
  35666. + reldir="$$dir2"
  35667. ACLOCAL = @ACLOCAL@
  35668. AMTAR = @AMTAR@
  35669. AR = @AR@
  35670. @@ -156,6 +189,7 @@
  35671. LT_RELEASE = @LT_RELEASE@
  35672. LT_REVISION = @LT_REVISION@
  35673. MAKEINFO = @MAKEINFO@
  35674. +MANIFEST_TOOL = @MANIFEST_TOOL@
  35675. MKDIR_P = @MKDIR_P@
  35676. NM = @NM@
  35677. NMEDIT = @NMEDIT@
  35678. @@ -187,6 +221,7 @@
  35679. PACKAGE_NAME = @PACKAGE_NAME@
  35680. PACKAGE_STRING = @PACKAGE_STRING@
  35681. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  35682. +PACKAGE_URL = @PACKAGE_URL@
  35683. PACKAGE_VERSION = @PACKAGE_VERSION@
  35684. PATH_SEPARATOR = @PATH_SEPARATOR@
  35685. PERL = @PERL@
  35686. @@ -292,7 +327,6 @@
  35687. libexecdir = @libexecdir@
  35688. localedir = @localedir@
  35689. localstatedir = @localstatedir@
  35690. -lt_ECHO = @lt_ECHO@
  35691. mandir = @mandir@
  35692. mkdir_p = @mkdir_p@
  35693. oldincludedir = @oldincludedir@
  35694. @@ -337,9 +371,9 @@
  35695. exit 1;; \
  35696. esac; \
  35697. done; \
  35698. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/Makefile'; \
  35699. - cd $(top_srcdir) && \
  35700. - $(AUTOMAKE) --gnu module/Makefile
  35701. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/Makefile'; \
  35702. + $(am__cd) $(top_srcdir) && \
  35703. + $(AUTOMAKE) --gnu module/Makefile
  35704. .PRECIOUS: Makefile
  35705. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  35706. @case '$?' in \
  35707. @@ -357,6 +391,7 @@
  35708. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  35709. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  35710. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  35711. +$(am__aclocal_m4_deps):
  35712. mostlyclean-libtool:
  35713. -rm -f *.lo
  35714. @@ -371,7 +406,7 @@
  35715. # (which will cause the Makefiles to be regenerated when you run `make');
  35716. # (2) otherwise, pass the desired values on the `make' command line.
  35717. $(RECURSIVE_TARGETS):
  35718. - @failcom='exit 1'; \
  35719. + @fail= failcom='exit 1'; \
  35720. for f in x $$MAKEFLAGS; do \
  35721. case $$f in \
  35722. *=* | --[!k]*);; \
  35723. @@ -388,7 +423,7 @@
  35724. else \
  35725. local_target="$$target"; \
  35726. fi; \
  35727. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  35728. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  35729. || eval $$failcom; \
  35730. done; \
  35731. if test "$$dot_seen" = "no"; then \
  35732. @@ -396,7 +431,7 @@
  35733. fi; test -z "$$fail"
  35734. $(RECURSIVE_CLEAN_TARGETS):
  35735. - @failcom='exit 1'; \
  35736. + @fail= failcom='exit 1'; \
  35737. for f in x $$MAKEFLAGS; do \
  35738. case $$f in \
  35739. *=* | --[!k]*);; \
  35740. @@ -422,16 +457,16 @@
  35741. else \
  35742. local_target="$$target"; \
  35743. fi; \
  35744. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  35745. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  35746. || eval $$failcom; \
  35747. done && test -z "$$fail"
  35748. tags-recursive:
  35749. list='$(SUBDIRS)'; for subdir in $$list; do \
  35750. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  35751. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  35752. done
  35753. ctags-recursive:
  35754. list='$(SUBDIRS)'; for subdir in $$list; do \
  35755. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  35756. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  35757. done
  35758. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  35759. @@ -446,7 +481,7 @@
  35760. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  35761. $(TAGS_FILES) $(LISP)
  35762. - tags=; \
  35763. + set x; \
  35764. here=`pwd`; \
  35765. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  35766. include_option=--etags-include; \
  35767. @@ -458,7 +493,7 @@
  35768. list='$(SUBDIRS)'; for subdir in $$list; do \
  35769. if test "$$subdir" = .; then :; else \
  35770. test ! -f $$subdir/TAGS || \
  35771. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  35772. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  35773. fi; \
  35774. done; \
  35775. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  35776. @@ -467,29 +502,34 @@
  35777. done | \
  35778. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  35779. END { if (nonempty) { for (i in files) print i; }; }'`; \
  35780. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  35781. + shift; \
  35782. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  35783. test -n "$$unique" || unique=$$empty_fix; \
  35784. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  35785. - $$tags $$unique; \
  35786. + if test $$# -gt 0; then \
  35787. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  35788. + "$$@" $$unique; \
  35789. + else \
  35790. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  35791. + $$unique; \
  35792. + fi; \
  35793. fi
  35794. ctags: CTAGS
  35795. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  35796. $(TAGS_FILES) $(LISP)
  35797. - tags=; \
  35798. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  35799. unique=`for i in $$list; do \
  35800. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  35801. done | \
  35802. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  35803. END { if (nonempty) { for (i in files) print i; }; }'`; \
  35804. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  35805. + test -z "$(CTAGS_ARGS)$$unique" \
  35806. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  35807. - $$tags $$unique
  35808. + $$unique
  35809. GTAGS:
  35810. here=`$(am__cd) $(top_builddir) && pwd` \
  35811. - && cd $(top_srcdir) \
  35812. - && gtags -i $(GTAGS_ARGS) $$here
  35813. + && $(am__cd) $(top_srcdir) \
  35814. + && gtags -i $(GTAGS_ARGS) "$$here"
  35815. distclean-tags:
  35816. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  35817. @@ -510,29 +550,44 @@
  35818. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  35819. if test -d $$d/$$file; then \
  35820. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  35821. + if test -d "$(distdir)/$$file"; then \
  35822. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  35823. + fi; \
  35824. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  35825. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  35826. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  35827. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  35828. fi; \
  35829. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  35830. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  35831. else \
  35832. - test -f $(distdir)/$$file \
  35833. - || cp -p $$d/$$file $(distdir)/$$file \
  35834. + test -f "$(distdir)/$$file" \
  35835. + || cp -p $$d/$$file "$(distdir)/$$file" \
  35836. || exit 1; \
  35837. fi; \
  35838. done
  35839. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  35840. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  35841. if test "$$subdir" = .; then :; else \
  35842. test -d "$(distdir)/$$subdir" \
  35843. || $(MKDIR_P) "$(distdir)/$$subdir" \
  35844. || exit 1; \
  35845. - distdir=`$(am__cd) $(distdir) && pwd`; \
  35846. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  35847. - (cd $$subdir && \
  35848. + fi; \
  35849. + done
  35850. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  35851. + if test "$$subdir" = .; then :; else \
  35852. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  35853. + $(am__relativize); \
  35854. + new_distdir=$$reldir; \
  35855. + dir1=$$subdir; dir2="$(top_distdir)"; \
  35856. + $(am__relativize); \
  35857. + new_top_distdir=$$reldir; \
  35858. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  35859. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  35860. + ($(am__cd) $$subdir && \
  35861. $(MAKE) $(AM_MAKEFLAGS) \
  35862. - top_distdir="$$top_distdir" \
  35863. - distdir="$$distdir/$$subdir" \
  35864. + top_distdir="$$new_top_distdir" \
  35865. + distdir="$$new_distdir" \
  35866. am__remove_distdir=: \
  35867. am__skip_length_check=: \
  35868. + am__skip_mode_fix=: \
  35869. distdir) \
  35870. || exit 1; \
  35871. fi; \
  35872. @@ -560,6 +615,7 @@
  35873. distclean-generic:
  35874. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  35875. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  35876. maintainer-clean-generic:
  35877. @echo "This command is intended for maintainers to use"
  35878. @@ -578,6 +634,8 @@
  35879. html: html-recursive
  35880. +html-am:
  35881. +
  35882. info: info-recursive
  35883. info-am:
  35884. @@ -586,18 +644,28 @@
  35885. install-dvi: install-dvi-recursive
  35886. +install-dvi-am:
  35887. +
  35888. install-exec-am:
  35889. install-html: install-html-recursive
  35890. +install-html-am:
  35891. +
  35892. install-info: install-info-recursive
  35893. +install-info-am:
  35894. +
  35895. install-man:
  35896. install-pdf: install-pdf-recursive
  35897. +install-pdf-am:
  35898. +
  35899. install-ps: install-ps-recursive
  35900. +install-ps-am:
  35901. +
  35902. installcheck-am:
  35903. maintainer-clean: maintainer-clean-recursive
  35904. @@ -618,8 +686,8 @@
  35905. uninstall-am:
  35906. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  35907. - install-strip
  35908. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  35909. + install-am install-strip tags-recursive
  35910. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  35911. all all-am check check-am clean clean-generic clean-libtool \
  35912. @@ -639,6 +707,7 @@
  35913. clean-generic:
  35914. @RM@ -f *~ .*~
  35915. +
  35916. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  35917. # Otherwise a system limit (for SysV at least) may be exceeded.
  35918. .NOEXPORT:
  35919. diff -Nur owfs-2.7p38.orig/module/owcapi/Makefile.in owfs-2.7p38/module/owcapi/Makefile.in
  35920. --- owfs-2.7p38.orig/module/owcapi/Makefile.in 2010-06-04 03:00:35.000000000 +0200
  35921. +++ owfs-2.7p38/module/owcapi/Makefile.in 2010-07-09 16:00:52.650998959 +0200
  35922. @@ -1,8 +1,9 @@
  35923. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  35924. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  35925. # @configure_input@
  35926. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  35927. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  35928. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  35929. +# Inc.
  35930. # This Makefile.in is free software; the Free Software Foundation
  35931. # gives unlimited permission to copy and/or distribute it,
  35932. # with or without modifications, as long as this notice is preserved.
  35933. @@ -15,8 +16,9 @@
  35934. @SET_MAKE@
  35935. VPATH = @srcdir@
  35936. pkgdatadir = $(datadir)/@PACKAGE@
  35937. -pkglibdir = $(libdir)/@PACKAGE@
  35938. pkgincludedir = $(includedir)/@PACKAGE@
  35939. +pkglibdir = $(libdir)/@PACKAGE@
  35940. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  35941. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  35942. install_sh_DATA = $(install_sh) -c -m 644
  35943. install_sh_PROGRAM = $(install_sh) -c
  35944. @@ -35,8 +37,10 @@
  35945. subdir = module/owcapi
  35946. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  35947. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  35948. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  35949. - $(top_srcdir)/acx_pthread.m4 \
  35950. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  35951. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  35952. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  35953. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  35954. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  35955. $(top_srcdir)/module/swig/php/php.m4 \
  35956. $(top_srcdir)/module/swig/python/python.m4 \
  35957. @@ -47,6 +51,7 @@
  35958. $(top_srcdir)/src/scripts/install/mkinstalldirs
  35959. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  35960. CONFIG_CLEAN_FILES =
  35961. +CONFIG_CLEAN_VPATH_FILES =
  35962. SOURCES =
  35963. DIST_SOURCES =
  35964. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  35965. @@ -58,10 +63,38 @@
  35966. ps-recursive uninstall-recursive
  35967. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  35968. distclean-recursive maintainer-clean-recursive
  35969. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  35970. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  35971. + distdir
  35972. ETAGS = etags
  35973. CTAGS = ctags
  35974. DIST_SUBDIRS = $(SUBDIRS)
  35975. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  35976. +am__relativize = \
  35977. + dir0=`pwd`; \
  35978. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  35979. + sed_rest='s,^[^/]*/*,,'; \
  35980. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  35981. + sed_butlast='s,/*[^/]*$$,,'; \
  35982. + while test -n "$$dir1"; do \
  35983. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  35984. + if test "$$first" != "."; then \
  35985. + if test "$$first" = ".."; then \
  35986. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  35987. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  35988. + else \
  35989. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  35990. + if test "$$first2" = "$$first"; then \
  35991. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  35992. + else \
  35993. + dir2="../$$dir2"; \
  35994. + fi; \
  35995. + dir0="$$dir0"/"$$first"; \
  35996. + fi; \
  35997. + fi; \
  35998. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  35999. + done; \
  36000. + reldir="$$dir2"
  36001. ACLOCAL = @ACLOCAL@
  36002. AMTAR = @AMTAR@
  36003. AR = @AR@
  36004. @@ -155,6 +188,7 @@
  36005. LT_RELEASE = @LT_RELEASE@
  36006. LT_REVISION = @LT_REVISION@
  36007. MAKEINFO = @MAKEINFO@
  36008. +MANIFEST_TOOL = @MANIFEST_TOOL@
  36009. MKDIR_P = @MKDIR_P@
  36010. NM = @NM@
  36011. NMEDIT = @NMEDIT@
  36012. @@ -186,6 +220,7 @@
  36013. PACKAGE_NAME = @PACKAGE_NAME@
  36014. PACKAGE_STRING = @PACKAGE_STRING@
  36015. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  36016. +PACKAGE_URL = @PACKAGE_URL@
  36017. PACKAGE_VERSION = @PACKAGE_VERSION@
  36018. PATH_SEPARATOR = @PATH_SEPARATOR@
  36019. PERL = @PERL@
  36020. @@ -291,7 +326,6 @@
  36021. libexecdir = @libexecdir@
  36022. localedir = @localedir@
  36023. localstatedir = @localstatedir@
  36024. -lt_ECHO = @lt_ECHO@
  36025. mandir = @mandir@
  36026. mkdir_p = @mkdir_p@
  36027. oldincludedir = @oldincludedir@
  36028. @@ -324,9 +358,9 @@
  36029. exit 1;; \
  36030. esac; \
  36031. done; \
  36032. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owcapi/Makefile'; \
  36033. - cd $(top_srcdir) && \
  36034. - $(AUTOMAKE) --gnu module/owcapi/Makefile
  36035. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owcapi/Makefile'; \
  36036. + $(am__cd) $(top_srcdir) && \
  36037. + $(AUTOMAKE) --gnu module/owcapi/Makefile
  36038. .PRECIOUS: Makefile
  36039. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  36040. @case '$?' in \
  36041. @@ -344,6 +378,7 @@
  36042. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  36043. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  36044. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  36045. +$(am__aclocal_m4_deps):
  36046. mostlyclean-libtool:
  36047. -rm -f *.lo
  36048. @@ -358,7 +393,7 @@
  36049. # (which will cause the Makefiles to be regenerated when you run `make');
  36050. # (2) otherwise, pass the desired values on the `make' command line.
  36051. $(RECURSIVE_TARGETS):
  36052. - @failcom='exit 1'; \
  36053. + @fail= failcom='exit 1'; \
  36054. for f in x $$MAKEFLAGS; do \
  36055. case $$f in \
  36056. *=* | --[!k]*);; \
  36057. @@ -375,7 +410,7 @@
  36058. else \
  36059. local_target="$$target"; \
  36060. fi; \
  36061. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  36062. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  36063. || eval $$failcom; \
  36064. done; \
  36065. if test "$$dot_seen" = "no"; then \
  36066. @@ -383,7 +418,7 @@
  36067. fi; test -z "$$fail"
  36068. $(RECURSIVE_CLEAN_TARGETS):
  36069. - @failcom='exit 1'; \
  36070. + @fail= failcom='exit 1'; \
  36071. for f in x $$MAKEFLAGS; do \
  36072. case $$f in \
  36073. *=* | --[!k]*);; \
  36074. @@ -409,16 +444,16 @@
  36075. else \
  36076. local_target="$$target"; \
  36077. fi; \
  36078. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  36079. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  36080. || eval $$failcom; \
  36081. done && test -z "$$fail"
  36082. tags-recursive:
  36083. list='$(SUBDIRS)'; for subdir in $$list; do \
  36084. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  36085. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  36086. done
  36087. ctags-recursive:
  36088. list='$(SUBDIRS)'; for subdir in $$list; do \
  36089. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  36090. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  36091. done
  36092. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  36093. @@ -433,7 +468,7 @@
  36094. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  36095. $(TAGS_FILES) $(LISP)
  36096. - tags=; \
  36097. + set x; \
  36098. here=`pwd`; \
  36099. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  36100. include_option=--etags-include; \
  36101. @@ -445,7 +480,7 @@
  36102. list='$(SUBDIRS)'; for subdir in $$list; do \
  36103. if test "$$subdir" = .; then :; else \
  36104. test ! -f $$subdir/TAGS || \
  36105. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  36106. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  36107. fi; \
  36108. done; \
  36109. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  36110. @@ -454,29 +489,34 @@
  36111. done | \
  36112. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  36113. END { if (nonempty) { for (i in files) print i; }; }'`; \
  36114. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  36115. + shift; \
  36116. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  36117. test -n "$$unique" || unique=$$empty_fix; \
  36118. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  36119. - $$tags $$unique; \
  36120. + if test $$# -gt 0; then \
  36121. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  36122. + "$$@" $$unique; \
  36123. + else \
  36124. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  36125. + $$unique; \
  36126. + fi; \
  36127. fi
  36128. ctags: CTAGS
  36129. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  36130. $(TAGS_FILES) $(LISP)
  36131. - tags=; \
  36132. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  36133. unique=`for i in $$list; do \
  36134. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  36135. done | \
  36136. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  36137. END { if (nonempty) { for (i in files) print i; }; }'`; \
  36138. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  36139. + test -z "$(CTAGS_ARGS)$$unique" \
  36140. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  36141. - $$tags $$unique
  36142. + $$unique
  36143. GTAGS:
  36144. here=`$(am__cd) $(top_builddir) && pwd` \
  36145. - && cd $(top_srcdir) \
  36146. - && gtags -i $(GTAGS_ARGS) $$here
  36147. + && $(am__cd) $(top_srcdir) \
  36148. + && gtags -i $(GTAGS_ARGS) "$$here"
  36149. distclean-tags:
  36150. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  36151. @@ -497,29 +537,44 @@
  36152. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  36153. if test -d $$d/$$file; then \
  36154. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  36155. + if test -d "$(distdir)/$$file"; then \
  36156. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  36157. + fi; \
  36158. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  36159. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  36160. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  36161. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  36162. fi; \
  36163. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  36164. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  36165. else \
  36166. - test -f $(distdir)/$$file \
  36167. - || cp -p $$d/$$file $(distdir)/$$file \
  36168. + test -f "$(distdir)/$$file" \
  36169. + || cp -p $$d/$$file "$(distdir)/$$file" \
  36170. || exit 1; \
  36171. fi; \
  36172. done
  36173. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  36174. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  36175. if test "$$subdir" = .; then :; else \
  36176. test -d "$(distdir)/$$subdir" \
  36177. || $(MKDIR_P) "$(distdir)/$$subdir" \
  36178. || exit 1; \
  36179. - distdir=`$(am__cd) $(distdir) && pwd`; \
  36180. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  36181. - (cd $$subdir && \
  36182. + fi; \
  36183. + done
  36184. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  36185. + if test "$$subdir" = .; then :; else \
  36186. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  36187. + $(am__relativize); \
  36188. + new_distdir=$$reldir; \
  36189. + dir1=$$subdir; dir2="$(top_distdir)"; \
  36190. + $(am__relativize); \
  36191. + new_top_distdir=$$reldir; \
  36192. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  36193. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  36194. + ($(am__cd) $$subdir && \
  36195. $(MAKE) $(AM_MAKEFLAGS) \
  36196. - top_distdir="$$top_distdir" \
  36197. - distdir="$$distdir/$$subdir" \
  36198. + top_distdir="$$new_top_distdir" \
  36199. + distdir="$$new_distdir" \
  36200. am__remove_distdir=: \
  36201. am__skip_length_check=: \
  36202. + am__skip_mode_fix=: \
  36203. distdir) \
  36204. || exit 1; \
  36205. fi; \
  36206. @@ -547,6 +602,7 @@
  36207. distclean-generic:
  36208. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  36209. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  36210. maintainer-clean-generic:
  36211. @echo "This command is intended for maintainers to use"
  36212. @@ -565,6 +621,8 @@
  36213. html: html-recursive
  36214. +html-am:
  36215. +
  36216. info: info-recursive
  36217. info-am:
  36218. @@ -573,18 +631,28 @@
  36219. install-dvi: install-dvi-recursive
  36220. +install-dvi-am:
  36221. +
  36222. install-exec-am:
  36223. install-html: install-html-recursive
  36224. +install-html-am:
  36225. +
  36226. install-info: install-info-recursive
  36227. +install-info-am:
  36228. +
  36229. install-man:
  36230. install-pdf: install-pdf-recursive
  36231. +install-pdf-am:
  36232. +
  36233. install-ps: install-ps-recursive
  36234. +install-ps-am:
  36235. +
  36236. installcheck-am:
  36237. maintainer-clean: maintainer-clean-recursive
  36238. @@ -605,8 +673,8 @@
  36239. uninstall-am:
  36240. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  36241. - install-strip
  36242. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  36243. + install-am install-strip tags-recursive
  36244. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  36245. all all-am check check-am clean clean-generic clean-libtool \
  36246. @@ -626,6 +694,7 @@
  36247. clean-generic:
  36248. @RM@ -f *~ .*~
  36249. +
  36250. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  36251. # Otherwise a system limit (for SysV at least) may be exceeded.
  36252. .NOEXPORT:
  36253. diff -Nur owfs-2.7p38.orig/module/owcapi/src/c/Makefile.in owfs-2.7p38/module/owcapi/src/c/Makefile.in
  36254. --- owfs-2.7p38.orig/module/owcapi/src/c/Makefile.in 2010-06-04 03:00:35.000000000 +0200
  36255. +++ owfs-2.7p38/module/owcapi/src/c/Makefile.in 2010-07-09 16:00:53.034999552 +0200
  36256. @@ -1,8 +1,9 @@
  36257. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  36258. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  36259. # @configure_input@
  36260. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  36261. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  36262. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  36263. +# Inc.
  36264. # This Makefile.in is free software; the Free Software Foundation
  36265. # gives unlimited permission to copy and/or distribute it,
  36266. # with or without modifications, as long as this notice is preserved.
  36267. @@ -18,8 +19,9 @@
  36268. VPATH = @srcdir@
  36269. pkgdatadir = $(datadir)/@PACKAGE@
  36270. -pkglibdir = $(libdir)/@PACKAGE@
  36271. pkgincludedir = $(includedir)/@PACKAGE@
  36272. +pkglibdir = $(libdir)/@PACKAGE@
  36273. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  36274. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  36275. install_sh_DATA = $(install_sh) -c -m 644
  36276. install_sh_PROGRAM = $(install_sh) -c
  36277. @@ -38,8 +40,10 @@
  36278. subdir = module/owcapi/src/c
  36279. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  36280. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  36281. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  36282. - $(top_srcdir)/acx_pthread.m4 \
  36283. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  36284. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  36285. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  36286. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  36287. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  36288. $(top_srcdir)/module/swig/php/php.m4 \
  36289. $(top_srcdir)/module/swig/python/python.m4 \
  36290. @@ -50,14 +54,29 @@
  36291. $(top_srcdir)/src/scripts/install/mkinstalldirs
  36292. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  36293. CONFIG_CLEAN_FILES =
  36294. +CONFIG_CLEAN_VPATH_FILES =
  36295. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  36296. am__vpath_adj = case $$p in \
  36297. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  36298. *) f=$$p;; \
  36299. esac;
  36300. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  36301. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  36302. +am__install_max = 40
  36303. +am__nobase_strip_setup = \
  36304. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  36305. +am__nobase_strip = \
  36306. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  36307. +am__nobase_list = $(am__nobase_strip_setup); \
  36308. + for p in $$list; do echo "$$p $$p"; done | \
  36309. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  36310. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  36311. + if (++n[$$2] == $(am__install_max)) \
  36312. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  36313. + END { for (dir in files) print dir, files[dir] }'
  36314. +am__base_list = \
  36315. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  36316. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  36317. am__installdirs = "$(DESTDIR)$(libdir)"
  36318. -libLTLIBRARIES_INSTALL = $(INSTALL)
  36319. LTLIBRARIES = $(lib_LTLIBRARIES)
  36320. libowcapi_la_LIBADD =
  36321. am_libowcapi_la_OBJECTS = owcapi.lo
  36322. @@ -68,6 +87,7 @@
  36323. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src/include
  36324. depcomp = $(SHELL) $(top_srcdir)/src/scripts/install/depcomp
  36325. am__depfiles_maybe = depfiles
  36326. +am__mv = mv -f
  36327. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  36328. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  36329. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  36330. @@ -175,6 +195,7 @@
  36331. LT_RELEASE = @LT_RELEASE@
  36332. LT_REVISION = @LT_REVISION@
  36333. MAKEINFO = @MAKEINFO@
  36334. +MANIFEST_TOOL = @MANIFEST_TOOL@
  36335. MKDIR_P = @MKDIR_P@
  36336. NM = @NM@
  36337. NMEDIT = @NMEDIT@
  36338. @@ -206,6 +227,7 @@
  36339. PACKAGE_NAME = @PACKAGE_NAME@
  36340. PACKAGE_STRING = @PACKAGE_STRING@
  36341. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  36342. +PACKAGE_URL = @PACKAGE_URL@
  36343. PACKAGE_VERSION = @PACKAGE_VERSION@
  36344. PATH_SEPARATOR = @PATH_SEPARATOR@
  36345. PERL = @PERL@
  36346. @@ -311,7 +333,6 @@
  36347. libexecdir = @libexecdir@
  36348. localedir = @localedir@
  36349. localstatedir = @localstatedir@
  36350. -lt_ECHO = @lt_ECHO@
  36351. mandir = @mandir@
  36352. mkdir_p = @mkdir_p@
  36353. oldincludedir = @oldincludedir@
  36354. @@ -368,9 +389,9 @@
  36355. exit 1;; \
  36356. esac; \
  36357. done; \
  36358. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owcapi/src/c/Makefile'; \
  36359. - cd $(top_srcdir) && \
  36360. - $(AUTOMAKE) --gnu module/owcapi/src/c/Makefile
  36361. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owcapi/src/c/Makefile'; \
  36362. + $(am__cd) $(top_srcdir) && \
  36363. + $(AUTOMAKE) --gnu module/owcapi/src/c/Makefile
  36364. .PRECIOUS: Makefile
  36365. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  36366. @case '$?' in \
  36367. @@ -388,23 +409,28 @@
  36368. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  36369. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  36370. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  36371. +$(am__aclocal_m4_deps):
  36372. install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  36373. @$(NORMAL_INSTALL)
  36374. test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
  36375. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  36376. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  36377. + list2=; for p in $$list; do \
  36378. if test -f $$p; then \
  36379. - f=$(am__strip_dir) \
  36380. - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
  36381. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
  36382. + list2="$$list2 $$p"; \
  36383. else :; fi; \
  36384. - done
  36385. + done; \
  36386. + test -z "$$list2" || { \
  36387. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
  36388. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
  36389. + }
  36390. uninstall-libLTLIBRARIES:
  36391. @$(NORMAL_UNINSTALL)
  36392. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  36393. - p=$(am__strip_dir) \
  36394. - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
  36395. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
  36396. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  36397. + for p in $$list; do \
  36398. + $(am__strip_dir) \
  36399. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
  36400. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
  36401. done
  36402. clean-libLTLIBRARIES:
  36403. @@ -428,21 +454,21 @@
  36404. .c.o:
  36405. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  36406. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  36407. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  36408. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  36409. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  36410. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  36411. .c.obj:
  36412. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  36413. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  36414. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  36415. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  36416. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  36417. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  36418. .c.lo:
  36419. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  36420. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  36421. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  36422. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  36423. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  36424. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  36425. @@ -465,7 +491,7 @@
  36426. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  36427. $(TAGS_FILES) $(LISP)
  36428. - tags=; \
  36429. + set x; \
  36430. here=`pwd`; \
  36431. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  36432. unique=`for i in $$list; do \
  36433. @@ -473,29 +499,34 @@
  36434. done | \
  36435. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  36436. END { if (nonempty) { for (i in files) print i; }; }'`; \
  36437. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  36438. + shift; \
  36439. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  36440. test -n "$$unique" || unique=$$empty_fix; \
  36441. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  36442. - $$tags $$unique; \
  36443. + if test $$# -gt 0; then \
  36444. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  36445. + "$$@" $$unique; \
  36446. + else \
  36447. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  36448. + $$unique; \
  36449. + fi; \
  36450. fi
  36451. ctags: CTAGS
  36452. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  36453. $(TAGS_FILES) $(LISP)
  36454. - tags=; \
  36455. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  36456. unique=`for i in $$list; do \
  36457. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  36458. done | \
  36459. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  36460. END { if (nonempty) { for (i in files) print i; }; }'`; \
  36461. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  36462. + test -z "$(CTAGS_ARGS)$$unique" \
  36463. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  36464. - $$tags $$unique
  36465. + $$unique
  36466. GTAGS:
  36467. here=`$(am__cd) $(top_builddir) && pwd` \
  36468. - && cd $(top_srcdir) \
  36469. - && gtags -i $(GTAGS_ARGS) $$here
  36470. + && $(am__cd) $(top_srcdir) \
  36471. + && gtags -i $(GTAGS_ARGS) "$$here"
  36472. distclean-tags:
  36473. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  36474. @@ -516,13 +547,17 @@
  36475. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  36476. if test -d $$d/$$file; then \
  36477. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  36478. + if test -d "$(distdir)/$$file"; then \
  36479. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  36480. + fi; \
  36481. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  36482. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  36483. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  36484. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  36485. fi; \
  36486. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  36487. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  36488. else \
  36489. - test -f $(distdir)/$$file \
  36490. - || cp -p $$d/$$file $(distdir)/$$file \
  36491. + test -f "$(distdir)/$$file" \
  36492. + || cp -p $$d/$$file "$(distdir)/$$file" \
  36493. || exit 1; \
  36494. fi; \
  36495. done
  36496. @@ -551,6 +586,7 @@
  36497. distclean-generic:
  36498. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  36499. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  36500. maintainer-clean-generic:
  36501. @echo "This command is intended for maintainers to use"
  36502. @@ -572,6 +608,8 @@
  36503. html: html-am
  36504. +html-am:
  36505. +
  36506. info: info-am
  36507. info-am:
  36508. @@ -580,18 +618,28 @@
  36509. install-dvi: install-dvi-am
  36510. +install-dvi-am:
  36511. +
  36512. install-exec-am: install-libLTLIBRARIES
  36513. install-html: install-html-am
  36514. +install-html-am:
  36515. +
  36516. install-info: install-info-am
  36517. +install-info-am:
  36518. +
  36519. install-man:
  36520. install-pdf: install-pdf-am
  36521. +install-pdf-am:
  36522. +
  36523. install-ps: install-ps-am
  36524. +install-ps-am:
  36525. +
  36526. installcheck-am:
  36527. maintainer-clean: maintainer-clean-am
  36528. @@ -634,6 +682,7 @@
  36529. clean-generic:
  36530. @RM@ -f *~ .*~
  36531. +
  36532. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  36533. # Otherwise a system limit (for SysV at least) may be exceeded.
  36534. .NOEXPORT:
  36535. diff -Nur owfs-2.7p38.orig/module/owcapi/src/include/Makefile.in owfs-2.7p38/module/owcapi/src/include/Makefile.in
  36536. --- owfs-2.7p38.orig/module/owcapi/src/include/Makefile.in 2010-06-04 03:00:35.000000000 +0200
  36537. +++ owfs-2.7p38/module/owcapi/src/include/Makefile.in 2010-07-09 16:00:53.182998570 +0200
  36538. @@ -1,8 +1,9 @@
  36539. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  36540. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  36541. # @configure_input@
  36542. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  36543. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  36544. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  36545. +# Inc.
  36546. # This Makefile.in is free software; the Free Software Foundation
  36547. # gives unlimited permission to copy and/or distribute it,
  36548. # with or without modifications, as long as this notice is preserved.
  36549. @@ -16,8 +17,9 @@
  36550. VPATH = @srcdir@
  36551. pkgdatadir = $(datadir)/@PACKAGE@
  36552. -pkglibdir = $(libdir)/@PACKAGE@
  36553. pkgincludedir = $(includedir)/@PACKAGE@
  36554. +pkglibdir = $(libdir)/@PACKAGE@
  36555. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  36556. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  36557. install_sh_DATA = $(install_sh) -c -m 644
  36558. install_sh_PROGRAM = $(install_sh) -c
  36559. @@ -36,8 +38,10 @@
  36560. subdir = module/owcapi/src/include
  36561. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  36562. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  36563. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  36564. - $(top_srcdir)/acx_pthread.m4 \
  36565. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  36566. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  36567. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  36568. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  36569. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  36570. $(top_srcdir)/module/swig/php/php.m4 \
  36571. $(top_srcdir)/module/swig/python/python.m4 \
  36572. @@ -48,6 +52,7 @@
  36573. $(top_srcdir)/src/scripts/install/mkinstalldirs
  36574. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  36575. CONFIG_CLEAN_FILES =
  36576. +CONFIG_CLEAN_VPATH_FILES =
  36577. SOURCES =
  36578. DIST_SOURCES =
  36579. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  36580. @@ -55,9 +60,23 @@
  36581. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  36582. *) f=$$p;; \
  36583. esac;
  36584. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  36585. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  36586. +am__install_max = 40
  36587. +am__nobase_strip_setup = \
  36588. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  36589. +am__nobase_strip = \
  36590. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  36591. +am__nobase_list = $(am__nobase_strip_setup); \
  36592. + for p in $$list; do echo "$$p $$p"; done | \
  36593. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  36594. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  36595. + if (++n[$$2] == $(am__install_max)) \
  36596. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  36597. + END { for (dir in files) print dir, files[dir] }'
  36598. +am__base_list = \
  36599. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  36600. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  36601. am__installdirs = "$(DESTDIR)$(headerdir)"
  36602. -headerDATA_INSTALL = $(INSTALL_DATA)
  36603. DATA = $(header_DATA)
  36604. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  36605. ACLOCAL = @ACLOCAL@
  36606. @@ -153,6 +172,7 @@
  36607. LT_RELEASE = @LT_RELEASE@
  36608. LT_REVISION = @LT_REVISION@
  36609. MAKEINFO = @MAKEINFO@
  36610. +MANIFEST_TOOL = @MANIFEST_TOOL@
  36611. MKDIR_P = @MKDIR_P@
  36612. NM = @NM@
  36613. NMEDIT = @NMEDIT@
  36614. @@ -184,6 +204,7 @@
  36615. PACKAGE_NAME = @PACKAGE_NAME@
  36616. PACKAGE_STRING = @PACKAGE_STRING@
  36617. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  36618. +PACKAGE_URL = @PACKAGE_URL@
  36619. PACKAGE_VERSION = @PACKAGE_VERSION@
  36620. PATH_SEPARATOR = @PATH_SEPARATOR@
  36621. PERL = @PERL@
  36622. @@ -289,7 +310,6 @@
  36623. libexecdir = @libexecdir@
  36624. localedir = @localedir@
  36625. localstatedir = @localstatedir@
  36626. -lt_ECHO = @lt_ECHO@
  36627. mandir = @mandir@
  36628. mkdir_p = @mkdir_p@
  36629. oldincludedir = @oldincludedir@
  36630. @@ -324,9 +344,9 @@
  36631. exit 1;; \
  36632. esac; \
  36633. done; \
  36634. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owcapi/src/include/Makefile'; \
  36635. - cd $(top_srcdir) && \
  36636. - $(AUTOMAKE) --gnu module/owcapi/src/include/Makefile
  36637. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owcapi/src/include/Makefile'; \
  36638. + $(am__cd) $(top_srcdir) && \
  36639. + $(AUTOMAKE) --gnu module/owcapi/src/include/Makefile
  36640. .PRECIOUS: Makefile
  36641. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  36642. @case '$?' in \
  36643. @@ -344,6 +364,7 @@
  36644. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  36645. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  36646. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  36647. +$(am__aclocal_m4_deps):
  36648. mostlyclean-libtool:
  36649. -rm -f *.lo
  36650. @@ -353,20 +374,23 @@
  36651. install-headerDATA: $(header_DATA)
  36652. @$(NORMAL_INSTALL)
  36653. test -z "$(headerdir)" || $(MKDIR_P) "$(DESTDIR)$(headerdir)"
  36654. - @list='$(header_DATA)'; for p in $$list; do \
  36655. + @list='$(header_DATA)'; test -n "$(headerdir)" || list=; \
  36656. + for p in $$list; do \
  36657. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  36658. - f=$(am__strip_dir) \
  36659. - echo " $(headerDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(headerdir)/$$f'"; \
  36660. - $(headerDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(headerdir)/$$f"; \
  36661. + echo "$$d$$p"; \
  36662. + done | $(am__base_list) | \
  36663. + while read files; do \
  36664. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(headerdir)'"; \
  36665. + $(INSTALL_DATA) $$files "$(DESTDIR)$(headerdir)" || exit $$?; \
  36666. done
  36667. uninstall-headerDATA:
  36668. @$(NORMAL_UNINSTALL)
  36669. - @list='$(header_DATA)'; for p in $$list; do \
  36670. - f=$(am__strip_dir) \
  36671. - echo " rm -f '$(DESTDIR)$(headerdir)/$$f'"; \
  36672. - rm -f "$(DESTDIR)$(headerdir)/$$f"; \
  36673. - done
  36674. + @list='$(header_DATA)'; test -n "$(headerdir)" || list=; \
  36675. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  36676. + test -n "$$files" || exit 0; \
  36677. + echo " ( cd '$(DESTDIR)$(headerdir)' && rm -f" $$files ")"; \
  36678. + cd "$(DESTDIR)$(headerdir)" && rm -f $$files
  36679. tags: TAGS
  36680. TAGS:
  36681. @@ -390,13 +414,17 @@
  36682. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  36683. if test -d $$d/$$file; then \
  36684. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  36685. + if test -d "$(distdir)/$$file"; then \
  36686. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  36687. + fi; \
  36688. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  36689. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  36690. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  36691. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  36692. fi; \
  36693. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  36694. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  36695. else \
  36696. - test -f $(distdir)/$$file \
  36697. - || cp -p $$d/$$file $(distdir)/$$file \
  36698. + test -f "$(distdir)/$$file" \
  36699. + || cp -p $$d/$$file "$(distdir)/$$file" \
  36700. || exit 1; \
  36701. fi; \
  36702. done
  36703. @@ -425,6 +453,7 @@
  36704. distclean-generic:
  36705. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  36706. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  36707. maintainer-clean-generic:
  36708. @echo "This command is intended for maintainers to use"
  36709. @@ -443,6 +472,8 @@
  36710. html: html-am
  36711. +html-am:
  36712. +
  36713. info: info-am
  36714. info-am:
  36715. @@ -451,18 +482,28 @@
  36716. install-dvi: install-dvi-am
  36717. +install-dvi-am:
  36718. +
  36719. install-exec-am:
  36720. install-html: install-html-am
  36721. +install-html-am:
  36722. +
  36723. install-info: install-info-am
  36724. +install-info-am:
  36725. +
  36726. install-man:
  36727. install-pdf: install-pdf-am
  36728. +install-pdf-am:
  36729. +
  36730. install-ps: install-ps-am
  36731. +install-ps-am:
  36732. +
  36733. installcheck-am:
  36734. maintainer-clean: maintainer-clean-am
  36735. @@ -501,6 +542,7 @@
  36736. clean-generic:
  36737. @RM@ -f *~ .*~
  36738. +
  36739. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  36740. # Otherwise a system limit (for SysV at least) may be exceeded.
  36741. .NOEXPORT:
  36742. diff -Nur owfs-2.7p38.orig/module/owcapi/src/Makefile.in owfs-2.7p38/module/owcapi/src/Makefile.in
  36743. --- owfs-2.7p38.orig/module/owcapi/src/Makefile.in 2010-06-04 03:00:35.000000000 +0200
  36744. +++ owfs-2.7p38/module/owcapi/src/Makefile.in 2010-07-09 16:00:52.794998875 +0200
  36745. @@ -1,8 +1,9 @@
  36746. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  36747. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  36748. # @configure_input@
  36749. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  36750. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  36751. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  36752. +# Inc.
  36753. # This Makefile.in is free software; the Free Software Foundation
  36754. # gives unlimited permission to copy and/or distribute it,
  36755. # with or without modifications, as long as this notice is preserved.
  36756. @@ -15,8 +16,9 @@
  36757. @SET_MAKE@
  36758. VPATH = @srcdir@
  36759. pkgdatadir = $(datadir)/@PACKAGE@
  36760. -pkglibdir = $(libdir)/@PACKAGE@
  36761. pkgincludedir = $(includedir)/@PACKAGE@
  36762. +pkglibdir = $(libdir)/@PACKAGE@
  36763. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  36764. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  36765. install_sh_DATA = $(install_sh) -c -m 644
  36766. install_sh_PROGRAM = $(install_sh) -c
  36767. @@ -35,8 +37,10 @@
  36768. subdir = module/owcapi/src
  36769. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  36770. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  36771. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  36772. - $(top_srcdir)/acx_pthread.m4 \
  36773. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  36774. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  36775. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  36776. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  36777. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  36778. $(top_srcdir)/module/swig/php/php.m4 \
  36779. $(top_srcdir)/module/swig/python/python.m4 \
  36780. @@ -47,6 +51,7 @@
  36781. $(top_srcdir)/src/scripts/install/mkinstalldirs
  36782. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  36783. CONFIG_CLEAN_FILES =
  36784. +CONFIG_CLEAN_VPATH_FILES =
  36785. SOURCES =
  36786. DIST_SOURCES =
  36787. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  36788. @@ -58,10 +63,38 @@
  36789. ps-recursive uninstall-recursive
  36790. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  36791. distclean-recursive maintainer-clean-recursive
  36792. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  36793. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  36794. + distdir
  36795. ETAGS = etags
  36796. CTAGS = ctags
  36797. DIST_SUBDIRS = $(SUBDIRS)
  36798. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  36799. +am__relativize = \
  36800. + dir0=`pwd`; \
  36801. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  36802. + sed_rest='s,^[^/]*/*,,'; \
  36803. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  36804. + sed_butlast='s,/*[^/]*$$,,'; \
  36805. + while test -n "$$dir1"; do \
  36806. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  36807. + if test "$$first" != "."; then \
  36808. + if test "$$first" = ".."; then \
  36809. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  36810. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  36811. + else \
  36812. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  36813. + if test "$$first2" = "$$first"; then \
  36814. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  36815. + else \
  36816. + dir2="../$$dir2"; \
  36817. + fi; \
  36818. + dir0="$$dir0"/"$$first"; \
  36819. + fi; \
  36820. + fi; \
  36821. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  36822. + done; \
  36823. + reldir="$$dir2"
  36824. ACLOCAL = @ACLOCAL@
  36825. AMTAR = @AMTAR@
  36826. AR = @AR@
  36827. @@ -155,6 +188,7 @@
  36828. LT_RELEASE = @LT_RELEASE@
  36829. LT_REVISION = @LT_REVISION@
  36830. MAKEINFO = @MAKEINFO@
  36831. +MANIFEST_TOOL = @MANIFEST_TOOL@
  36832. MKDIR_P = @MKDIR_P@
  36833. NM = @NM@
  36834. NMEDIT = @NMEDIT@
  36835. @@ -186,6 +220,7 @@
  36836. PACKAGE_NAME = @PACKAGE_NAME@
  36837. PACKAGE_STRING = @PACKAGE_STRING@
  36838. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  36839. +PACKAGE_URL = @PACKAGE_URL@
  36840. PACKAGE_VERSION = @PACKAGE_VERSION@
  36841. PATH_SEPARATOR = @PATH_SEPARATOR@
  36842. PERL = @PERL@
  36843. @@ -291,7 +326,6 @@
  36844. libexecdir = @libexecdir@
  36845. localedir = @localedir@
  36846. localstatedir = @localstatedir@
  36847. -lt_ECHO = @lt_ECHO@
  36848. mandir = @mandir@
  36849. mkdir_p = @mkdir_p@
  36850. oldincludedir = @oldincludedir@
  36851. @@ -327,9 +361,9 @@
  36852. exit 1;; \
  36853. esac; \
  36854. done; \
  36855. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owcapi/src/Makefile'; \
  36856. - cd $(top_srcdir) && \
  36857. - $(AUTOMAKE) --gnu module/owcapi/src/Makefile
  36858. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owcapi/src/Makefile'; \
  36859. + $(am__cd) $(top_srcdir) && \
  36860. + $(AUTOMAKE) --gnu module/owcapi/src/Makefile
  36861. .PRECIOUS: Makefile
  36862. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  36863. @case '$?' in \
  36864. @@ -347,6 +381,7 @@
  36865. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  36866. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  36867. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  36868. +$(am__aclocal_m4_deps):
  36869. mostlyclean-libtool:
  36870. -rm -f *.lo
  36871. @@ -361,7 +396,7 @@
  36872. # (which will cause the Makefiles to be regenerated when you run `make');
  36873. # (2) otherwise, pass the desired values on the `make' command line.
  36874. $(RECURSIVE_TARGETS):
  36875. - @failcom='exit 1'; \
  36876. + @fail= failcom='exit 1'; \
  36877. for f in x $$MAKEFLAGS; do \
  36878. case $$f in \
  36879. *=* | --[!k]*);; \
  36880. @@ -378,7 +413,7 @@
  36881. else \
  36882. local_target="$$target"; \
  36883. fi; \
  36884. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  36885. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  36886. || eval $$failcom; \
  36887. done; \
  36888. if test "$$dot_seen" = "no"; then \
  36889. @@ -386,7 +421,7 @@
  36890. fi; test -z "$$fail"
  36891. $(RECURSIVE_CLEAN_TARGETS):
  36892. - @failcom='exit 1'; \
  36893. + @fail= failcom='exit 1'; \
  36894. for f in x $$MAKEFLAGS; do \
  36895. case $$f in \
  36896. *=* | --[!k]*);; \
  36897. @@ -412,16 +447,16 @@
  36898. else \
  36899. local_target="$$target"; \
  36900. fi; \
  36901. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  36902. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  36903. || eval $$failcom; \
  36904. done && test -z "$$fail"
  36905. tags-recursive:
  36906. list='$(SUBDIRS)'; for subdir in $$list; do \
  36907. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  36908. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  36909. done
  36910. ctags-recursive:
  36911. list='$(SUBDIRS)'; for subdir in $$list; do \
  36912. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  36913. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  36914. done
  36915. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  36916. @@ -436,7 +471,7 @@
  36917. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  36918. $(TAGS_FILES) $(LISP)
  36919. - tags=; \
  36920. + set x; \
  36921. here=`pwd`; \
  36922. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  36923. include_option=--etags-include; \
  36924. @@ -448,7 +483,7 @@
  36925. list='$(SUBDIRS)'; for subdir in $$list; do \
  36926. if test "$$subdir" = .; then :; else \
  36927. test ! -f $$subdir/TAGS || \
  36928. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  36929. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  36930. fi; \
  36931. done; \
  36932. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  36933. @@ -457,29 +492,34 @@
  36934. done | \
  36935. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  36936. END { if (nonempty) { for (i in files) print i; }; }'`; \
  36937. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  36938. + shift; \
  36939. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  36940. test -n "$$unique" || unique=$$empty_fix; \
  36941. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  36942. - $$tags $$unique; \
  36943. + if test $$# -gt 0; then \
  36944. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  36945. + "$$@" $$unique; \
  36946. + else \
  36947. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  36948. + $$unique; \
  36949. + fi; \
  36950. fi
  36951. ctags: CTAGS
  36952. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  36953. $(TAGS_FILES) $(LISP)
  36954. - tags=; \
  36955. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  36956. unique=`for i in $$list; do \
  36957. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  36958. done | \
  36959. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  36960. END { if (nonempty) { for (i in files) print i; }; }'`; \
  36961. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  36962. + test -z "$(CTAGS_ARGS)$$unique" \
  36963. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  36964. - $$tags $$unique
  36965. + $$unique
  36966. GTAGS:
  36967. here=`$(am__cd) $(top_builddir) && pwd` \
  36968. - && cd $(top_srcdir) \
  36969. - && gtags -i $(GTAGS_ARGS) $$here
  36970. + && $(am__cd) $(top_srcdir) \
  36971. + && gtags -i $(GTAGS_ARGS) "$$here"
  36972. distclean-tags:
  36973. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  36974. @@ -500,29 +540,44 @@
  36975. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  36976. if test -d $$d/$$file; then \
  36977. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  36978. + if test -d "$(distdir)/$$file"; then \
  36979. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  36980. + fi; \
  36981. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  36982. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  36983. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  36984. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  36985. fi; \
  36986. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  36987. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  36988. else \
  36989. - test -f $(distdir)/$$file \
  36990. - || cp -p $$d/$$file $(distdir)/$$file \
  36991. + test -f "$(distdir)/$$file" \
  36992. + || cp -p $$d/$$file "$(distdir)/$$file" \
  36993. || exit 1; \
  36994. fi; \
  36995. done
  36996. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  36997. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  36998. if test "$$subdir" = .; then :; else \
  36999. test -d "$(distdir)/$$subdir" \
  37000. || $(MKDIR_P) "$(distdir)/$$subdir" \
  37001. || exit 1; \
  37002. - distdir=`$(am__cd) $(distdir) && pwd`; \
  37003. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  37004. - (cd $$subdir && \
  37005. + fi; \
  37006. + done
  37007. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  37008. + if test "$$subdir" = .; then :; else \
  37009. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  37010. + $(am__relativize); \
  37011. + new_distdir=$$reldir; \
  37012. + dir1=$$subdir; dir2="$(top_distdir)"; \
  37013. + $(am__relativize); \
  37014. + new_top_distdir=$$reldir; \
  37015. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  37016. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  37017. + ($(am__cd) $$subdir && \
  37018. $(MAKE) $(AM_MAKEFLAGS) \
  37019. - top_distdir="$$top_distdir" \
  37020. - distdir="$$distdir/$$subdir" \
  37021. + top_distdir="$$new_top_distdir" \
  37022. + distdir="$$new_distdir" \
  37023. am__remove_distdir=: \
  37024. am__skip_length_check=: \
  37025. + am__skip_mode_fix=: \
  37026. distdir) \
  37027. || exit 1; \
  37028. fi; \
  37029. @@ -550,6 +605,7 @@
  37030. distclean-generic:
  37031. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  37032. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  37033. maintainer-clean-generic:
  37034. @echo "This command is intended for maintainers to use"
  37035. @@ -568,6 +624,8 @@
  37036. html: html-recursive
  37037. +html-am:
  37038. +
  37039. info: info-recursive
  37040. info-am:
  37041. @@ -576,18 +634,28 @@
  37042. install-dvi: install-dvi-recursive
  37043. +install-dvi-am:
  37044. +
  37045. install-exec-am:
  37046. install-html: install-html-recursive
  37047. +install-html-am:
  37048. +
  37049. install-info: install-info-recursive
  37050. +install-info-am:
  37051. +
  37052. install-man:
  37053. install-pdf: install-pdf-recursive
  37054. +install-pdf-am:
  37055. +
  37056. install-ps: install-ps-recursive
  37057. +install-ps-am:
  37058. +
  37059. installcheck-am:
  37060. maintainer-clean: maintainer-clean-recursive
  37061. @@ -608,8 +676,8 @@
  37062. uninstall-am:
  37063. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  37064. - install-strip
  37065. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  37066. + install-am install-strip tags-recursive
  37067. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  37068. all all-am check check-am clean clean-generic clean-libtool \
  37069. @@ -629,6 +697,7 @@
  37070. clean-generic:
  37071. @RM@ -f *~ .*~
  37072. +
  37073. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  37074. # Otherwise a system limit (for SysV at least) may be exceeded.
  37075. .NOEXPORT:
  37076. diff -Nur owfs-2.7p38.orig/module/owfs/Makefile.in owfs-2.7p38/module/owfs/Makefile.in
  37077. --- owfs-2.7p38.orig/module/owfs/Makefile.in 2010-06-04 03:00:35.000000000 +0200
  37078. +++ owfs-2.7p38/module/owfs/Makefile.in 2010-07-09 16:00:53.378998963 +0200
  37079. @@ -1,8 +1,9 @@
  37080. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  37081. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  37082. # @configure_input@
  37083. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  37084. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  37085. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  37086. +# Inc.
  37087. # This Makefile.in is free software; the Free Software Foundation
  37088. # gives unlimited permission to copy and/or distribute it,
  37089. # with or without modifications, as long as this notice is preserved.
  37090. @@ -15,8 +16,9 @@
  37091. @SET_MAKE@
  37092. VPATH = @srcdir@
  37093. pkgdatadir = $(datadir)/@PACKAGE@
  37094. -pkglibdir = $(libdir)/@PACKAGE@
  37095. pkgincludedir = $(includedir)/@PACKAGE@
  37096. +pkglibdir = $(libdir)/@PACKAGE@
  37097. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  37098. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  37099. install_sh_DATA = $(install_sh) -c -m 644
  37100. install_sh_PROGRAM = $(install_sh) -c
  37101. @@ -35,8 +37,10 @@
  37102. subdir = module/owfs
  37103. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  37104. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  37105. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  37106. - $(top_srcdir)/acx_pthread.m4 \
  37107. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  37108. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  37109. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  37110. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  37111. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  37112. $(top_srcdir)/module/swig/php/php.m4 \
  37113. $(top_srcdir)/module/swig/python/python.m4 \
  37114. @@ -47,6 +51,7 @@
  37115. $(top_srcdir)/src/scripts/install/mkinstalldirs
  37116. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  37117. CONFIG_CLEAN_FILES =
  37118. +CONFIG_CLEAN_VPATH_FILES =
  37119. SOURCES =
  37120. DIST_SOURCES =
  37121. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  37122. @@ -58,10 +63,38 @@
  37123. ps-recursive uninstall-recursive
  37124. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  37125. distclean-recursive maintainer-clean-recursive
  37126. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  37127. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  37128. + distdir
  37129. ETAGS = etags
  37130. CTAGS = ctags
  37131. DIST_SUBDIRS = $(SUBDIRS)
  37132. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  37133. +am__relativize = \
  37134. + dir0=`pwd`; \
  37135. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  37136. + sed_rest='s,^[^/]*/*,,'; \
  37137. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  37138. + sed_butlast='s,/*[^/]*$$,,'; \
  37139. + while test -n "$$dir1"; do \
  37140. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  37141. + if test "$$first" != "."; then \
  37142. + if test "$$first" = ".."; then \
  37143. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  37144. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  37145. + else \
  37146. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  37147. + if test "$$first2" = "$$first"; then \
  37148. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  37149. + else \
  37150. + dir2="../$$dir2"; \
  37151. + fi; \
  37152. + dir0="$$dir0"/"$$first"; \
  37153. + fi; \
  37154. + fi; \
  37155. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  37156. + done; \
  37157. + reldir="$$dir2"
  37158. ACLOCAL = @ACLOCAL@
  37159. AMTAR = @AMTAR@
  37160. AR = @AR@
  37161. @@ -155,6 +188,7 @@
  37162. LT_RELEASE = @LT_RELEASE@
  37163. LT_REVISION = @LT_REVISION@
  37164. MAKEINFO = @MAKEINFO@
  37165. +MANIFEST_TOOL = @MANIFEST_TOOL@
  37166. MKDIR_P = @MKDIR_P@
  37167. NM = @NM@
  37168. NMEDIT = @NMEDIT@
  37169. @@ -186,6 +220,7 @@
  37170. PACKAGE_NAME = @PACKAGE_NAME@
  37171. PACKAGE_STRING = @PACKAGE_STRING@
  37172. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  37173. +PACKAGE_URL = @PACKAGE_URL@
  37174. PACKAGE_VERSION = @PACKAGE_VERSION@
  37175. PATH_SEPARATOR = @PATH_SEPARATOR@
  37176. PERL = @PERL@
  37177. @@ -291,7 +326,6 @@
  37178. libexecdir = @libexecdir@
  37179. localedir = @localedir@
  37180. localstatedir = @localstatedir@
  37181. -lt_ECHO = @lt_ECHO@
  37182. mandir = @mandir@
  37183. mkdir_p = @mkdir_p@
  37184. oldincludedir = @oldincludedir@
  37185. @@ -324,9 +358,9 @@
  37186. exit 1;; \
  37187. esac; \
  37188. done; \
  37189. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owfs/Makefile'; \
  37190. - cd $(top_srcdir) && \
  37191. - $(AUTOMAKE) --gnu module/owfs/Makefile
  37192. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owfs/Makefile'; \
  37193. + $(am__cd) $(top_srcdir) && \
  37194. + $(AUTOMAKE) --gnu module/owfs/Makefile
  37195. .PRECIOUS: Makefile
  37196. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  37197. @case '$?' in \
  37198. @@ -344,6 +378,7 @@
  37199. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  37200. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  37201. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  37202. +$(am__aclocal_m4_deps):
  37203. mostlyclean-libtool:
  37204. -rm -f *.lo
  37205. @@ -358,7 +393,7 @@
  37206. # (which will cause the Makefiles to be regenerated when you run `make');
  37207. # (2) otherwise, pass the desired values on the `make' command line.
  37208. $(RECURSIVE_TARGETS):
  37209. - @failcom='exit 1'; \
  37210. + @fail= failcom='exit 1'; \
  37211. for f in x $$MAKEFLAGS; do \
  37212. case $$f in \
  37213. *=* | --[!k]*);; \
  37214. @@ -375,7 +410,7 @@
  37215. else \
  37216. local_target="$$target"; \
  37217. fi; \
  37218. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  37219. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  37220. || eval $$failcom; \
  37221. done; \
  37222. if test "$$dot_seen" = "no"; then \
  37223. @@ -383,7 +418,7 @@
  37224. fi; test -z "$$fail"
  37225. $(RECURSIVE_CLEAN_TARGETS):
  37226. - @failcom='exit 1'; \
  37227. + @fail= failcom='exit 1'; \
  37228. for f in x $$MAKEFLAGS; do \
  37229. case $$f in \
  37230. *=* | --[!k]*);; \
  37231. @@ -409,16 +444,16 @@
  37232. else \
  37233. local_target="$$target"; \
  37234. fi; \
  37235. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  37236. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  37237. || eval $$failcom; \
  37238. done && test -z "$$fail"
  37239. tags-recursive:
  37240. list='$(SUBDIRS)'; for subdir in $$list; do \
  37241. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  37242. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  37243. done
  37244. ctags-recursive:
  37245. list='$(SUBDIRS)'; for subdir in $$list; do \
  37246. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  37247. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  37248. done
  37249. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  37250. @@ -433,7 +468,7 @@
  37251. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  37252. $(TAGS_FILES) $(LISP)
  37253. - tags=; \
  37254. + set x; \
  37255. here=`pwd`; \
  37256. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  37257. include_option=--etags-include; \
  37258. @@ -445,7 +480,7 @@
  37259. list='$(SUBDIRS)'; for subdir in $$list; do \
  37260. if test "$$subdir" = .; then :; else \
  37261. test ! -f $$subdir/TAGS || \
  37262. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  37263. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  37264. fi; \
  37265. done; \
  37266. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  37267. @@ -454,29 +489,34 @@
  37268. done | \
  37269. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  37270. END { if (nonempty) { for (i in files) print i; }; }'`; \
  37271. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  37272. + shift; \
  37273. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  37274. test -n "$$unique" || unique=$$empty_fix; \
  37275. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  37276. - $$tags $$unique; \
  37277. + if test $$# -gt 0; then \
  37278. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  37279. + "$$@" $$unique; \
  37280. + else \
  37281. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  37282. + $$unique; \
  37283. + fi; \
  37284. fi
  37285. ctags: CTAGS
  37286. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  37287. $(TAGS_FILES) $(LISP)
  37288. - tags=; \
  37289. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  37290. unique=`for i in $$list; do \
  37291. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  37292. done | \
  37293. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  37294. END { if (nonempty) { for (i in files) print i; }; }'`; \
  37295. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  37296. + test -z "$(CTAGS_ARGS)$$unique" \
  37297. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  37298. - $$tags $$unique
  37299. + $$unique
  37300. GTAGS:
  37301. here=`$(am__cd) $(top_builddir) && pwd` \
  37302. - && cd $(top_srcdir) \
  37303. - && gtags -i $(GTAGS_ARGS) $$here
  37304. + && $(am__cd) $(top_srcdir) \
  37305. + && gtags -i $(GTAGS_ARGS) "$$here"
  37306. distclean-tags:
  37307. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  37308. @@ -497,29 +537,44 @@
  37309. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  37310. if test -d $$d/$$file; then \
  37311. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  37312. + if test -d "$(distdir)/$$file"; then \
  37313. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  37314. + fi; \
  37315. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  37316. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  37317. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  37318. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  37319. fi; \
  37320. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  37321. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  37322. else \
  37323. - test -f $(distdir)/$$file \
  37324. - || cp -p $$d/$$file $(distdir)/$$file \
  37325. + test -f "$(distdir)/$$file" \
  37326. + || cp -p $$d/$$file "$(distdir)/$$file" \
  37327. || exit 1; \
  37328. fi; \
  37329. done
  37330. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  37331. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  37332. if test "$$subdir" = .; then :; else \
  37333. test -d "$(distdir)/$$subdir" \
  37334. || $(MKDIR_P) "$(distdir)/$$subdir" \
  37335. || exit 1; \
  37336. - distdir=`$(am__cd) $(distdir) && pwd`; \
  37337. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  37338. - (cd $$subdir && \
  37339. + fi; \
  37340. + done
  37341. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  37342. + if test "$$subdir" = .; then :; else \
  37343. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  37344. + $(am__relativize); \
  37345. + new_distdir=$$reldir; \
  37346. + dir1=$$subdir; dir2="$(top_distdir)"; \
  37347. + $(am__relativize); \
  37348. + new_top_distdir=$$reldir; \
  37349. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  37350. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  37351. + ($(am__cd) $$subdir && \
  37352. $(MAKE) $(AM_MAKEFLAGS) \
  37353. - top_distdir="$$top_distdir" \
  37354. - distdir="$$distdir/$$subdir" \
  37355. + top_distdir="$$new_top_distdir" \
  37356. + distdir="$$new_distdir" \
  37357. am__remove_distdir=: \
  37358. am__skip_length_check=: \
  37359. + am__skip_mode_fix=: \
  37360. distdir) \
  37361. || exit 1; \
  37362. fi; \
  37363. @@ -547,6 +602,7 @@
  37364. distclean-generic:
  37365. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  37366. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  37367. maintainer-clean-generic:
  37368. @echo "This command is intended for maintainers to use"
  37369. @@ -565,6 +621,8 @@
  37370. html: html-recursive
  37371. +html-am:
  37372. +
  37373. info: info-recursive
  37374. info-am:
  37375. @@ -573,18 +631,28 @@
  37376. install-dvi: install-dvi-recursive
  37377. +install-dvi-am:
  37378. +
  37379. install-exec-am:
  37380. install-html: install-html-recursive
  37381. +install-html-am:
  37382. +
  37383. install-info: install-info-recursive
  37384. +install-info-am:
  37385. +
  37386. install-man:
  37387. install-pdf: install-pdf-recursive
  37388. +install-pdf-am:
  37389. +
  37390. install-ps: install-ps-recursive
  37391. +install-ps-am:
  37392. +
  37393. installcheck-am:
  37394. maintainer-clean: maintainer-clean-recursive
  37395. @@ -605,8 +673,8 @@
  37396. uninstall-am:
  37397. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  37398. - install-strip
  37399. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  37400. + install-am install-strip tags-recursive
  37401. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  37402. all all-am check check-am clean clean-generic clean-libtool \
  37403. @@ -626,6 +694,7 @@
  37404. clean-generic:
  37405. @RM@ -f *~ .*~
  37406. +
  37407. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  37408. # Otherwise a system limit (for SysV at least) may be exceeded.
  37409. .NOEXPORT:
  37410. diff -Nur owfs-2.7p38.orig/module/owfs/src/c/Makefile.in owfs-2.7p38/module/owfs/src/c/Makefile.in
  37411. --- owfs-2.7p38.orig/module/owfs/src/c/Makefile.in 2010-06-04 03:00:36.000000000 +0200
  37412. +++ owfs-2.7p38/module/owfs/src/c/Makefile.in 2010-07-09 16:00:53.734998494 +0200
  37413. @@ -1,8 +1,9 @@
  37414. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  37415. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  37416. # @configure_input@
  37417. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  37418. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  37419. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  37420. +# Inc.
  37421. # This Makefile.in is free software; the Free Software Foundation
  37422. # gives unlimited permission to copy and/or distribute it,
  37423. # with or without modifications, as long as this notice is preserved.
  37424. @@ -18,8 +19,9 @@
  37425. VPATH = @srcdir@
  37426. pkgdatadir = $(datadir)/@PACKAGE@
  37427. -pkglibdir = $(libdir)/@PACKAGE@
  37428. pkgincludedir = $(includedir)/@PACKAGE@
  37429. +pkglibdir = $(libdir)/@PACKAGE@
  37430. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  37431. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  37432. install_sh_DATA = $(install_sh) -c -m 644
  37433. install_sh_PROGRAM = $(install_sh) -c
  37434. @@ -39,8 +41,10 @@
  37435. subdir = module/owfs/src/c
  37436. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  37437. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  37438. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  37439. - $(top_srcdir)/acx_pthread.m4 \
  37440. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  37441. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  37442. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  37443. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  37444. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  37445. $(top_srcdir)/module/swig/php/php.m4 \
  37446. $(top_srcdir)/module/swig/python/python.m4 \
  37447. @@ -51,8 +55,8 @@
  37448. $(top_srcdir)/src/scripts/install/mkinstalldirs
  37449. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  37450. CONFIG_CLEAN_FILES =
  37451. +CONFIG_CLEAN_VPATH_FILES =
  37452. am__installdirs = "$(DESTDIR)$(bindir)"
  37453. -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  37454. PROGRAMS = $(bin_PROGRAMS)
  37455. am_owfs_OBJECTS = owfs.$(OBJEXT) owfs_callback.$(OBJEXT) \
  37456. fuse_line.$(OBJEXT)
  37457. @@ -62,6 +66,7 @@
  37458. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src/include
  37459. depcomp = $(SHELL) $(top_srcdir)/src/scripts/install/depcomp
  37460. am__depfiles_maybe = depfiles
  37461. +am__mv = mv -f
  37462. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  37463. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  37464. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  37465. @@ -169,6 +174,7 @@
  37466. LT_RELEASE = @LT_RELEASE@
  37467. LT_REVISION = @LT_REVISION@
  37468. MAKEINFO = @MAKEINFO@
  37469. +MANIFEST_TOOL = @MANIFEST_TOOL@
  37470. MKDIR_P = @MKDIR_P@
  37471. NM = @NM@
  37472. NMEDIT = @NMEDIT@
  37473. @@ -200,6 +206,7 @@
  37474. PACKAGE_NAME = @PACKAGE_NAME@
  37475. PACKAGE_STRING = @PACKAGE_STRING@
  37476. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  37477. +PACKAGE_URL = @PACKAGE_URL@
  37478. PACKAGE_VERSION = @PACKAGE_VERSION@
  37479. PATH_SEPARATOR = @PATH_SEPARATOR@
  37480. PERL = @PERL@
  37481. @@ -305,7 +312,6 @@
  37482. libexecdir = @libexecdir@
  37483. localedir = @localedir@
  37484. localstatedir = @localstatedir@
  37485. -lt_ECHO = @lt_ECHO@
  37486. mandir = @mandir@
  37487. mkdir_p = @mkdir_p@
  37488. oldincludedir = @oldincludedir@
  37489. @@ -360,9 +366,9 @@
  37490. exit 1;; \
  37491. esac; \
  37492. done; \
  37493. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owfs/src/c/Makefile'; \
  37494. - cd $(top_srcdir) && \
  37495. - $(AUTOMAKE) --gnu module/owfs/src/c/Makefile
  37496. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owfs/src/c/Makefile'; \
  37497. + $(am__cd) $(top_srcdir) && \
  37498. + $(AUTOMAKE) --gnu module/owfs/src/c/Makefile
  37499. .PRECIOUS: Makefile
  37500. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  37501. @case '$?' in \
  37502. @@ -380,34 +386,50 @@
  37503. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  37504. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  37505. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  37506. +$(am__aclocal_m4_deps):
  37507. install-binPROGRAMS: $(bin_PROGRAMS)
  37508. @$(NORMAL_INSTALL)
  37509. test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  37510. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  37511. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  37512. - if test -f $$p \
  37513. - || test -f $$p1 \
  37514. - ; then \
  37515. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  37516. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  37517. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  37518. - else :; fi; \
  37519. - done
  37520. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  37521. + for p in $$list; do echo "$$p $$p"; done | \
  37522. + sed 's/$(EXEEXT)$$//' | \
  37523. + while read p p1; do if test -f $$p || test -f $$p1; \
  37524. + then echo "$$p"; echo "$$p"; else :; fi; \
  37525. + done | \
  37526. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  37527. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  37528. + sed 'N;N;N;s,\n, ,g' | \
  37529. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  37530. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  37531. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  37532. + else { print "f", $$3 "/" $$4, $$1; } } \
  37533. + END { for (d in files) print "f", d, files[d] }' | \
  37534. + while read type dir files; do \
  37535. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  37536. + test -z "$$files" || { \
  37537. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  37538. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  37539. + } \
  37540. + ; done
  37541. uninstall-binPROGRAMS:
  37542. @$(NORMAL_UNINSTALL)
  37543. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  37544. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  37545. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  37546. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  37547. - done
  37548. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  37549. + files=`for p in $$list; do echo "$$p"; done | \
  37550. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  37551. + -e 's/$$/$(EXEEXT)/' `; \
  37552. + test -n "$$list" || exit 0; \
  37553. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  37554. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  37555. clean-binPROGRAMS:
  37556. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  37557. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  37558. - echo " rm -f $$p $$f"; \
  37559. - rm -f $$p $$f ; \
  37560. - done
  37561. + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
  37562. + echo " rm -f" $$list; \
  37563. + rm -f $$list || exit $$?; \
  37564. + test -n "$(EXEEXT)" || exit 0; \
  37565. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  37566. + echo " rm -f" $$list; \
  37567. + rm -f $$list
  37568. owfs$(EXEEXT): $(owfs_OBJECTS) $(owfs_DEPENDENCIES)
  37569. @rm -f owfs$(EXEEXT)
  37570. $(LINK) $(owfs_OBJECTS) $(owfs_LDADD) $(LIBS)
  37571. @@ -424,21 +446,21 @@
  37572. .c.o:
  37573. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  37574. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  37575. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  37576. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  37577. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  37578. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  37579. .c.obj:
  37580. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  37581. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  37582. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  37583. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  37584. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  37585. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  37586. .c.lo:
  37587. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  37588. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  37589. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  37590. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  37591. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  37592. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  37593. @@ -461,7 +483,7 @@
  37594. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  37595. $(TAGS_FILES) $(LISP)
  37596. - tags=; \
  37597. + set x; \
  37598. here=`pwd`; \
  37599. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  37600. unique=`for i in $$list; do \
  37601. @@ -469,29 +491,34 @@
  37602. done | \
  37603. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  37604. END { if (nonempty) { for (i in files) print i; }; }'`; \
  37605. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  37606. + shift; \
  37607. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  37608. test -n "$$unique" || unique=$$empty_fix; \
  37609. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  37610. - $$tags $$unique; \
  37611. + if test $$# -gt 0; then \
  37612. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  37613. + "$$@" $$unique; \
  37614. + else \
  37615. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  37616. + $$unique; \
  37617. + fi; \
  37618. fi
  37619. ctags: CTAGS
  37620. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  37621. $(TAGS_FILES) $(LISP)
  37622. - tags=; \
  37623. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  37624. unique=`for i in $$list; do \
  37625. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  37626. done | \
  37627. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  37628. END { if (nonempty) { for (i in files) print i; }; }'`; \
  37629. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  37630. + test -z "$(CTAGS_ARGS)$$unique" \
  37631. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  37632. - $$tags $$unique
  37633. + $$unique
  37634. GTAGS:
  37635. here=`$(am__cd) $(top_builddir) && pwd` \
  37636. - && cd $(top_srcdir) \
  37637. - && gtags -i $(GTAGS_ARGS) $$here
  37638. + && $(am__cd) $(top_srcdir) \
  37639. + && gtags -i $(GTAGS_ARGS) "$$here"
  37640. distclean-tags:
  37641. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  37642. @@ -512,13 +539,17 @@
  37643. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  37644. if test -d $$d/$$file; then \
  37645. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  37646. + if test -d "$(distdir)/$$file"; then \
  37647. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  37648. + fi; \
  37649. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  37650. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  37651. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  37652. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  37653. fi; \
  37654. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  37655. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  37656. else \
  37657. - test -f $(distdir)/$$file \
  37658. - || cp -p $$d/$$file $(distdir)/$$file \
  37659. + test -f "$(distdir)/$$file" \
  37660. + || cp -p $$d/$$file "$(distdir)/$$file" \
  37661. || exit 1; \
  37662. fi; \
  37663. done
  37664. @@ -547,6 +578,7 @@
  37665. distclean-generic:
  37666. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  37667. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  37668. maintainer-clean-generic:
  37669. @echo "This command is intended for maintainers to use"
  37670. @@ -567,6 +599,8 @@
  37671. html: html-am
  37672. +html-am:
  37673. +
  37674. info: info-am
  37675. info-am:
  37676. @@ -575,18 +609,28 @@
  37677. install-dvi: install-dvi-am
  37678. +install-dvi-am:
  37679. +
  37680. install-exec-am: install-binPROGRAMS
  37681. install-html: install-html-am
  37682. +install-html-am:
  37683. +
  37684. install-info: install-info-am
  37685. +install-info-am:
  37686. +
  37687. install-man:
  37688. install-pdf: install-pdf-am
  37689. +install-pdf-am:
  37690. +
  37691. install-ps: install-ps-am
  37692. +install-ps-am:
  37693. +
  37694. installcheck-am:
  37695. maintainer-clean: maintainer-clean-am
  37696. @@ -629,6 +673,7 @@
  37697. clean-generic:
  37698. @RM@ -f *~ .*~
  37699. +
  37700. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  37701. # Otherwise a system limit (for SysV at least) may be exceeded.
  37702. .NOEXPORT:
  37703. diff -Nur owfs-2.7p38.orig/module/owfs/src/include/Makefile.in owfs-2.7p38/module/owfs/src/include/Makefile.in
  37704. --- owfs-2.7p38.orig/module/owfs/src/include/Makefile.in 2010-06-04 03:00:36.000000000 +0200
  37705. +++ owfs-2.7p38/module/owfs/src/include/Makefile.in 2010-07-09 16:00:53.906998339 +0200
  37706. @@ -1,8 +1,9 @@
  37707. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  37708. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  37709. # @configure_input@
  37710. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  37711. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  37712. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  37713. +# Inc.
  37714. # This Makefile.in is free software; the Free Software Foundation
  37715. # gives unlimited permission to copy and/or distribute it,
  37716. # with or without modifications, as long as this notice is preserved.
  37717. @@ -16,8 +17,9 @@
  37718. VPATH = @srcdir@
  37719. pkgdatadir = $(datadir)/@PACKAGE@
  37720. -pkglibdir = $(libdir)/@PACKAGE@
  37721. pkgincludedir = $(includedir)/@PACKAGE@
  37722. +pkglibdir = $(libdir)/@PACKAGE@
  37723. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  37724. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  37725. install_sh_DATA = $(install_sh) -c -m 644
  37726. install_sh_PROGRAM = $(install_sh) -c
  37727. @@ -37,8 +39,10 @@
  37728. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  37729. $(srcdir)/Makefile.in
  37730. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  37731. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  37732. - $(top_srcdir)/acx_pthread.m4 \
  37733. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  37734. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  37735. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  37736. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  37737. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  37738. $(top_srcdir)/module/swig/php/php.m4 \
  37739. $(top_srcdir)/module/swig/python/python.m4 \
  37740. @@ -49,6 +53,7 @@
  37741. $(top_srcdir)/src/scripts/install/mkinstalldirs
  37742. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  37743. CONFIG_CLEAN_FILES =
  37744. +CONFIG_CLEAN_VPATH_FILES =
  37745. SOURCES =
  37746. DIST_SOURCES =
  37747. HEADERS = $(noinst_HEADERS)
  37748. @@ -148,6 +153,7 @@
  37749. LT_RELEASE = @LT_RELEASE@
  37750. LT_REVISION = @LT_REVISION@
  37751. MAKEINFO = @MAKEINFO@
  37752. +MANIFEST_TOOL = @MANIFEST_TOOL@
  37753. MKDIR_P = @MKDIR_P@
  37754. NM = @NM@
  37755. NMEDIT = @NMEDIT@
  37756. @@ -179,6 +185,7 @@
  37757. PACKAGE_NAME = @PACKAGE_NAME@
  37758. PACKAGE_STRING = @PACKAGE_STRING@
  37759. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  37760. +PACKAGE_URL = @PACKAGE_URL@
  37761. PACKAGE_VERSION = @PACKAGE_VERSION@
  37762. PATH_SEPARATOR = @PATH_SEPARATOR@
  37763. PERL = @PERL@
  37764. @@ -284,7 +291,6 @@
  37765. libexecdir = @libexecdir@
  37766. localedir = @localedir@
  37767. localstatedir = @localstatedir@
  37768. -lt_ECHO = @lt_ECHO@
  37769. mandir = @mandir@
  37770. mkdir_p = @mkdir_p@
  37771. oldincludedir = @oldincludedir@
  37772. @@ -317,9 +323,9 @@
  37773. exit 1;; \
  37774. esac; \
  37775. done; \
  37776. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owfs/src/include/Makefile'; \
  37777. - cd $(top_srcdir) && \
  37778. - $(AUTOMAKE) --gnu module/owfs/src/include/Makefile
  37779. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owfs/src/include/Makefile'; \
  37780. + $(am__cd) $(top_srcdir) && \
  37781. + $(AUTOMAKE) --gnu module/owfs/src/include/Makefile
  37782. .PRECIOUS: Makefile
  37783. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  37784. @case '$?' in \
  37785. @@ -337,6 +343,7 @@
  37786. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  37787. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  37788. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  37789. +$(am__aclocal_m4_deps):
  37790. mostlyclean-libtool:
  37791. -rm -f *.lo
  37792. @@ -356,7 +363,7 @@
  37793. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  37794. $(TAGS_FILES) $(LISP)
  37795. - tags=; \
  37796. + set x; \
  37797. here=`pwd`; \
  37798. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  37799. unique=`for i in $$list; do \
  37800. @@ -364,29 +371,34 @@
  37801. done | \
  37802. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  37803. END { if (nonempty) { for (i in files) print i; }; }'`; \
  37804. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  37805. + shift; \
  37806. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  37807. test -n "$$unique" || unique=$$empty_fix; \
  37808. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  37809. - $$tags $$unique; \
  37810. + if test $$# -gt 0; then \
  37811. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  37812. + "$$@" $$unique; \
  37813. + else \
  37814. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  37815. + $$unique; \
  37816. + fi; \
  37817. fi
  37818. ctags: CTAGS
  37819. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  37820. $(TAGS_FILES) $(LISP)
  37821. - tags=; \
  37822. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  37823. unique=`for i in $$list; do \
  37824. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  37825. done | \
  37826. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  37827. END { if (nonempty) { for (i in files) print i; }; }'`; \
  37828. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  37829. + test -z "$(CTAGS_ARGS)$$unique" \
  37830. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  37831. - $$tags $$unique
  37832. + $$unique
  37833. GTAGS:
  37834. here=`$(am__cd) $(top_builddir) && pwd` \
  37835. - && cd $(top_srcdir) \
  37836. - && gtags -i $(GTAGS_ARGS) $$here
  37837. + && $(am__cd) $(top_srcdir) \
  37838. + && gtags -i $(GTAGS_ARGS) "$$here"
  37839. distclean-tags:
  37840. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  37841. @@ -407,13 +419,17 @@
  37842. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  37843. if test -d $$d/$$file; then \
  37844. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  37845. + if test -d "$(distdir)/$$file"; then \
  37846. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  37847. + fi; \
  37848. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  37849. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  37850. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  37851. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  37852. fi; \
  37853. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  37854. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  37855. else \
  37856. - test -f $(distdir)/$$file \
  37857. - || cp -p $$d/$$file $(distdir)/$$file \
  37858. + test -f "$(distdir)/$$file" \
  37859. + || cp -p $$d/$$file "$(distdir)/$$file" \
  37860. || exit 1; \
  37861. fi; \
  37862. done
  37863. @@ -439,6 +455,7 @@
  37864. distclean-generic:
  37865. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  37866. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  37867. maintainer-clean-generic:
  37868. @echo "This command is intended for maintainers to use"
  37869. @@ -457,6 +474,8 @@
  37870. html: html-am
  37871. +html-am:
  37872. +
  37873. info: info-am
  37874. info-am:
  37875. @@ -465,18 +484,28 @@
  37876. install-dvi: install-dvi-am
  37877. +install-dvi-am:
  37878. +
  37879. install-exec-am:
  37880. install-html: install-html-am
  37881. +install-html-am:
  37882. +
  37883. install-info: install-info-am
  37884. +install-info-am:
  37885. +
  37886. install-man:
  37887. install-pdf: install-pdf-am
  37888. +install-pdf-am:
  37889. +
  37890. install-ps: install-ps-am
  37891. +install-ps-am:
  37892. +
  37893. installcheck-am:
  37894. maintainer-clean: maintainer-clean-am
  37895. @@ -516,6 +545,7 @@
  37896. clean-generic:
  37897. @RM@ -f *~ .*~
  37898. +
  37899. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  37900. # Otherwise a system limit (for SysV at least) may be exceeded.
  37901. .NOEXPORT:
  37902. diff -Nur owfs-2.7p38.orig/module/owfs/src/Makefile.in owfs-2.7p38/module/owfs/src/Makefile.in
  37903. --- owfs-2.7p38.orig/module/owfs/src/Makefile.in 2010-06-04 03:00:35.000000000 +0200
  37904. +++ owfs-2.7p38/module/owfs/src/Makefile.in 2010-07-09 16:00:53.522999422 +0200
  37905. @@ -1,8 +1,9 @@
  37906. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  37907. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  37908. # @configure_input@
  37909. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  37910. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  37911. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  37912. +# Inc.
  37913. # This Makefile.in is free software; the Free Software Foundation
  37914. # gives unlimited permission to copy and/or distribute it,
  37915. # with or without modifications, as long as this notice is preserved.
  37916. @@ -15,8 +16,9 @@
  37917. @SET_MAKE@
  37918. VPATH = @srcdir@
  37919. pkgdatadir = $(datadir)/@PACKAGE@
  37920. -pkglibdir = $(libdir)/@PACKAGE@
  37921. pkgincludedir = $(includedir)/@PACKAGE@
  37922. +pkglibdir = $(libdir)/@PACKAGE@
  37923. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  37924. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  37925. install_sh_DATA = $(install_sh) -c -m 644
  37926. install_sh_PROGRAM = $(install_sh) -c
  37927. @@ -35,8 +37,10 @@
  37928. subdir = module/owfs/src
  37929. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  37930. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  37931. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  37932. - $(top_srcdir)/acx_pthread.m4 \
  37933. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  37934. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  37935. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  37936. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  37937. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  37938. $(top_srcdir)/module/swig/php/php.m4 \
  37939. $(top_srcdir)/module/swig/python/python.m4 \
  37940. @@ -47,6 +51,7 @@
  37941. $(top_srcdir)/src/scripts/install/mkinstalldirs
  37942. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  37943. CONFIG_CLEAN_FILES =
  37944. +CONFIG_CLEAN_VPATH_FILES =
  37945. SOURCES =
  37946. DIST_SOURCES =
  37947. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  37948. @@ -58,10 +63,38 @@
  37949. ps-recursive uninstall-recursive
  37950. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  37951. distclean-recursive maintainer-clean-recursive
  37952. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  37953. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  37954. + distdir
  37955. ETAGS = etags
  37956. CTAGS = ctags
  37957. DIST_SUBDIRS = $(SUBDIRS)
  37958. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  37959. +am__relativize = \
  37960. + dir0=`pwd`; \
  37961. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  37962. + sed_rest='s,^[^/]*/*,,'; \
  37963. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  37964. + sed_butlast='s,/*[^/]*$$,,'; \
  37965. + while test -n "$$dir1"; do \
  37966. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  37967. + if test "$$first" != "."; then \
  37968. + if test "$$first" = ".."; then \
  37969. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  37970. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  37971. + else \
  37972. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  37973. + if test "$$first2" = "$$first"; then \
  37974. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  37975. + else \
  37976. + dir2="../$$dir2"; \
  37977. + fi; \
  37978. + dir0="$$dir0"/"$$first"; \
  37979. + fi; \
  37980. + fi; \
  37981. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  37982. + done; \
  37983. + reldir="$$dir2"
  37984. ACLOCAL = @ACLOCAL@
  37985. AMTAR = @AMTAR@
  37986. AR = @AR@
  37987. @@ -155,6 +188,7 @@
  37988. LT_RELEASE = @LT_RELEASE@
  37989. LT_REVISION = @LT_REVISION@
  37990. MAKEINFO = @MAKEINFO@
  37991. +MANIFEST_TOOL = @MANIFEST_TOOL@
  37992. MKDIR_P = @MKDIR_P@
  37993. NM = @NM@
  37994. NMEDIT = @NMEDIT@
  37995. @@ -186,6 +220,7 @@
  37996. PACKAGE_NAME = @PACKAGE_NAME@
  37997. PACKAGE_STRING = @PACKAGE_STRING@
  37998. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  37999. +PACKAGE_URL = @PACKAGE_URL@
  38000. PACKAGE_VERSION = @PACKAGE_VERSION@
  38001. PATH_SEPARATOR = @PATH_SEPARATOR@
  38002. PERL = @PERL@
  38003. @@ -291,7 +326,6 @@
  38004. libexecdir = @libexecdir@
  38005. localedir = @localedir@
  38006. localstatedir = @localstatedir@
  38007. -lt_ECHO = @lt_ECHO@
  38008. mandir = @mandir@
  38009. mkdir_p = @mkdir_p@
  38010. oldincludedir = @oldincludedir@
  38011. @@ -324,9 +358,9 @@
  38012. exit 1;; \
  38013. esac; \
  38014. done; \
  38015. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owfs/src/Makefile'; \
  38016. - cd $(top_srcdir) && \
  38017. - $(AUTOMAKE) --gnu module/owfs/src/Makefile
  38018. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owfs/src/Makefile'; \
  38019. + $(am__cd) $(top_srcdir) && \
  38020. + $(AUTOMAKE) --gnu module/owfs/src/Makefile
  38021. .PRECIOUS: Makefile
  38022. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  38023. @case '$?' in \
  38024. @@ -344,6 +378,7 @@
  38025. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  38026. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  38027. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  38028. +$(am__aclocal_m4_deps):
  38029. mostlyclean-libtool:
  38030. -rm -f *.lo
  38031. @@ -358,7 +393,7 @@
  38032. # (which will cause the Makefiles to be regenerated when you run `make');
  38033. # (2) otherwise, pass the desired values on the `make' command line.
  38034. $(RECURSIVE_TARGETS):
  38035. - @failcom='exit 1'; \
  38036. + @fail= failcom='exit 1'; \
  38037. for f in x $$MAKEFLAGS; do \
  38038. case $$f in \
  38039. *=* | --[!k]*);; \
  38040. @@ -375,7 +410,7 @@
  38041. else \
  38042. local_target="$$target"; \
  38043. fi; \
  38044. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  38045. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  38046. || eval $$failcom; \
  38047. done; \
  38048. if test "$$dot_seen" = "no"; then \
  38049. @@ -383,7 +418,7 @@
  38050. fi; test -z "$$fail"
  38051. $(RECURSIVE_CLEAN_TARGETS):
  38052. - @failcom='exit 1'; \
  38053. + @fail= failcom='exit 1'; \
  38054. for f in x $$MAKEFLAGS; do \
  38055. case $$f in \
  38056. *=* | --[!k]*);; \
  38057. @@ -409,16 +444,16 @@
  38058. else \
  38059. local_target="$$target"; \
  38060. fi; \
  38061. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  38062. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  38063. || eval $$failcom; \
  38064. done && test -z "$$fail"
  38065. tags-recursive:
  38066. list='$(SUBDIRS)'; for subdir in $$list; do \
  38067. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  38068. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  38069. done
  38070. ctags-recursive:
  38071. list='$(SUBDIRS)'; for subdir in $$list; do \
  38072. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  38073. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  38074. done
  38075. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  38076. @@ -433,7 +468,7 @@
  38077. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  38078. $(TAGS_FILES) $(LISP)
  38079. - tags=; \
  38080. + set x; \
  38081. here=`pwd`; \
  38082. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  38083. include_option=--etags-include; \
  38084. @@ -445,7 +480,7 @@
  38085. list='$(SUBDIRS)'; for subdir in $$list; do \
  38086. if test "$$subdir" = .; then :; else \
  38087. test ! -f $$subdir/TAGS || \
  38088. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  38089. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  38090. fi; \
  38091. done; \
  38092. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  38093. @@ -454,29 +489,34 @@
  38094. done | \
  38095. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  38096. END { if (nonempty) { for (i in files) print i; }; }'`; \
  38097. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  38098. + shift; \
  38099. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  38100. test -n "$$unique" || unique=$$empty_fix; \
  38101. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  38102. - $$tags $$unique; \
  38103. + if test $$# -gt 0; then \
  38104. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  38105. + "$$@" $$unique; \
  38106. + else \
  38107. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  38108. + $$unique; \
  38109. + fi; \
  38110. fi
  38111. ctags: CTAGS
  38112. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  38113. $(TAGS_FILES) $(LISP)
  38114. - tags=; \
  38115. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  38116. unique=`for i in $$list; do \
  38117. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  38118. done | \
  38119. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  38120. END { if (nonempty) { for (i in files) print i; }; }'`; \
  38121. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  38122. + test -z "$(CTAGS_ARGS)$$unique" \
  38123. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  38124. - $$tags $$unique
  38125. + $$unique
  38126. GTAGS:
  38127. here=`$(am__cd) $(top_builddir) && pwd` \
  38128. - && cd $(top_srcdir) \
  38129. - && gtags -i $(GTAGS_ARGS) $$here
  38130. + && $(am__cd) $(top_srcdir) \
  38131. + && gtags -i $(GTAGS_ARGS) "$$here"
  38132. distclean-tags:
  38133. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  38134. @@ -497,29 +537,44 @@
  38135. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  38136. if test -d $$d/$$file; then \
  38137. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  38138. + if test -d "$(distdir)/$$file"; then \
  38139. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  38140. + fi; \
  38141. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  38142. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  38143. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  38144. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  38145. fi; \
  38146. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  38147. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  38148. else \
  38149. - test -f $(distdir)/$$file \
  38150. - || cp -p $$d/$$file $(distdir)/$$file \
  38151. + test -f "$(distdir)/$$file" \
  38152. + || cp -p $$d/$$file "$(distdir)/$$file" \
  38153. || exit 1; \
  38154. fi; \
  38155. done
  38156. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  38157. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  38158. if test "$$subdir" = .; then :; else \
  38159. test -d "$(distdir)/$$subdir" \
  38160. || $(MKDIR_P) "$(distdir)/$$subdir" \
  38161. || exit 1; \
  38162. - distdir=`$(am__cd) $(distdir) && pwd`; \
  38163. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  38164. - (cd $$subdir && \
  38165. + fi; \
  38166. + done
  38167. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  38168. + if test "$$subdir" = .; then :; else \
  38169. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  38170. + $(am__relativize); \
  38171. + new_distdir=$$reldir; \
  38172. + dir1=$$subdir; dir2="$(top_distdir)"; \
  38173. + $(am__relativize); \
  38174. + new_top_distdir=$$reldir; \
  38175. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  38176. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  38177. + ($(am__cd) $$subdir && \
  38178. $(MAKE) $(AM_MAKEFLAGS) \
  38179. - top_distdir="$$top_distdir" \
  38180. - distdir="$$distdir/$$subdir" \
  38181. + top_distdir="$$new_top_distdir" \
  38182. + distdir="$$new_distdir" \
  38183. am__remove_distdir=: \
  38184. am__skip_length_check=: \
  38185. + am__skip_mode_fix=: \
  38186. distdir) \
  38187. || exit 1; \
  38188. fi; \
  38189. @@ -547,6 +602,7 @@
  38190. distclean-generic:
  38191. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  38192. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  38193. maintainer-clean-generic:
  38194. @echo "This command is intended for maintainers to use"
  38195. @@ -565,6 +621,8 @@
  38196. html: html-recursive
  38197. +html-am:
  38198. +
  38199. info: info-recursive
  38200. info-am:
  38201. @@ -573,18 +631,28 @@
  38202. install-dvi: install-dvi-recursive
  38203. +install-dvi-am:
  38204. +
  38205. install-exec-am:
  38206. install-html: install-html-recursive
  38207. +install-html-am:
  38208. +
  38209. install-info: install-info-recursive
  38210. +install-info-am:
  38211. +
  38212. install-man:
  38213. install-pdf: install-pdf-recursive
  38214. +install-pdf-am:
  38215. +
  38216. install-ps: install-ps-recursive
  38217. +install-ps-am:
  38218. +
  38219. installcheck-am:
  38220. maintainer-clean: maintainer-clean-recursive
  38221. @@ -605,8 +673,8 @@
  38222. uninstall-am:
  38223. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  38224. - install-strip
  38225. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  38226. + install-am install-strip tags-recursive
  38227. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  38228. all all-am check check-am clean clean-generic clean-libtool \
  38229. @@ -626,6 +694,7 @@
  38230. clean-generic:
  38231. @RM@ -f *~ .*~
  38232. +
  38233. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  38234. # Otherwise a system limit (for SysV at least) may be exceeded.
  38235. .NOEXPORT:
  38236. diff -Nur owfs-2.7p38.orig/module/owftpd/Makefile.in owfs-2.7p38/module/owftpd/Makefile.in
  38237. --- owfs-2.7p38.orig/module/owftpd/Makefile.in 2010-06-04 03:00:36.000000000 +0200
  38238. +++ owfs-2.7p38/module/owftpd/Makefile.in 2010-07-09 16:00:54.063000044 +0200
  38239. @@ -1,8 +1,9 @@
  38240. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  38241. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  38242. # @configure_input@
  38243. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  38244. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  38245. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  38246. +# Inc.
  38247. # This Makefile.in is free software; the Free Software Foundation
  38248. # gives unlimited permission to copy and/or distribute it,
  38249. # with or without modifications, as long as this notice is preserved.
  38250. @@ -15,8 +16,9 @@
  38251. @SET_MAKE@
  38252. VPATH = @srcdir@
  38253. pkgdatadir = $(datadir)/@PACKAGE@
  38254. -pkglibdir = $(libdir)/@PACKAGE@
  38255. pkgincludedir = $(includedir)/@PACKAGE@
  38256. +pkglibdir = $(libdir)/@PACKAGE@
  38257. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  38258. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  38259. install_sh_DATA = $(install_sh) -c -m 644
  38260. install_sh_PROGRAM = $(install_sh) -c
  38261. @@ -36,8 +38,10 @@
  38262. DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  38263. AUTHORS COPYING ChangeLog NEWS TODO install-sh
  38264. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  38265. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  38266. - $(top_srcdir)/acx_pthread.m4 \
  38267. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  38268. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  38269. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  38270. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  38271. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  38272. $(top_srcdir)/module/swig/php/php.m4 \
  38273. $(top_srcdir)/module/swig/python/python.m4 \
  38274. @@ -48,6 +52,7 @@
  38275. $(top_srcdir)/src/scripts/install/mkinstalldirs
  38276. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  38277. CONFIG_CLEAN_FILES =
  38278. +CONFIG_CLEAN_VPATH_FILES =
  38279. SOURCES =
  38280. DIST_SOURCES =
  38281. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  38282. @@ -59,10 +64,38 @@
  38283. ps-recursive uninstall-recursive
  38284. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  38285. distclean-recursive maintainer-clean-recursive
  38286. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  38287. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  38288. + distdir
  38289. ETAGS = etags
  38290. CTAGS = ctags
  38291. DIST_SUBDIRS = $(SUBDIRS)
  38292. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  38293. +am__relativize = \
  38294. + dir0=`pwd`; \
  38295. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  38296. + sed_rest='s,^[^/]*/*,,'; \
  38297. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  38298. + sed_butlast='s,/*[^/]*$$,,'; \
  38299. + while test -n "$$dir1"; do \
  38300. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  38301. + if test "$$first" != "."; then \
  38302. + if test "$$first" = ".."; then \
  38303. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  38304. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  38305. + else \
  38306. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  38307. + if test "$$first2" = "$$first"; then \
  38308. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  38309. + else \
  38310. + dir2="../$$dir2"; \
  38311. + fi; \
  38312. + dir0="$$dir0"/"$$first"; \
  38313. + fi; \
  38314. + fi; \
  38315. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  38316. + done; \
  38317. + reldir="$$dir2"
  38318. ACLOCAL = @ACLOCAL@
  38319. AMTAR = @AMTAR@
  38320. AR = @AR@
  38321. @@ -156,6 +189,7 @@
  38322. LT_RELEASE = @LT_RELEASE@
  38323. LT_REVISION = @LT_REVISION@
  38324. MAKEINFO = @MAKEINFO@
  38325. +MANIFEST_TOOL = @MANIFEST_TOOL@
  38326. MKDIR_P = @MKDIR_P@
  38327. NM = @NM@
  38328. NMEDIT = @NMEDIT@
  38329. @@ -187,6 +221,7 @@
  38330. PACKAGE_NAME = @PACKAGE_NAME@
  38331. PACKAGE_STRING = @PACKAGE_STRING@
  38332. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  38333. +PACKAGE_URL = @PACKAGE_URL@
  38334. PACKAGE_VERSION = @PACKAGE_VERSION@
  38335. PATH_SEPARATOR = @PATH_SEPARATOR@
  38336. PERL = @PERL@
  38337. @@ -292,7 +327,6 @@
  38338. libexecdir = @libexecdir@
  38339. localedir = @localedir@
  38340. localstatedir = @localstatedir@
  38341. -lt_ECHO = @lt_ECHO@
  38342. mandir = @mandir@
  38343. mkdir_p = @mkdir_p@
  38344. oldincludedir = @oldincludedir@
  38345. @@ -325,9 +359,9 @@
  38346. exit 1;; \
  38347. esac; \
  38348. done; \
  38349. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owftpd/Makefile'; \
  38350. - cd $(top_srcdir) && \
  38351. - $(AUTOMAKE) --gnu module/owftpd/Makefile
  38352. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owftpd/Makefile'; \
  38353. + $(am__cd) $(top_srcdir) && \
  38354. + $(AUTOMAKE) --gnu module/owftpd/Makefile
  38355. .PRECIOUS: Makefile
  38356. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  38357. @case '$?' in \
  38358. @@ -345,6 +379,7 @@
  38359. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  38360. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  38361. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  38362. +$(am__aclocal_m4_deps):
  38363. mostlyclean-libtool:
  38364. -rm -f *.lo
  38365. @@ -359,7 +394,7 @@
  38366. # (which will cause the Makefiles to be regenerated when you run `make');
  38367. # (2) otherwise, pass the desired values on the `make' command line.
  38368. $(RECURSIVE_TARGETS):
  38369. - @failcom='exit 1'; \
  38370. + @fail= failcom='exit 1'; \
  38371. for f in x $$MAKEFLAGS; do \
  38372. case $$f in \
  38373. *=* | --[!k]*);; \
  38374. @@ -376,7 +411,7 @@
  38375. else \
  38376. local_target="$$target"; \
  38377. fi; \
  38378. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  38379. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  38380. || eval $$failcom; \
  38381. done; \
  38382. if test "$$dot_seen" = "no"; then \
  38383. @@ -384,7 +419,7 @@
  38384. fi; test -z "$$fail"
  38385. $(RECURSIVE_CLEAN_TARGETS):
  38386. - @failcom='exit 1'; \
  38387. + @fail= failcom='exit 1'; \
  38388. for f in x $$MAKEFLAGS; do \
  38389. case $$f in \
  38390. *=* | --[!k]*);; \
  38391. @@ -410,16 +445,16 @@
  38392. else \
  38393. local_target="$$target"; \
  38394. fi; \
  38395. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  38396. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  38397. || eval $$failcom; \
  38398. done && test -z "$$fail"
  38399. tags-recursive:
  38400. list='$(SUBDIRS)'; for subdir in $$list; do \
  38401. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  38402. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  38403. done
  38404. ctags-recursive:
  38405. list='$(SUBDIRS)'; for subdir in $$list; do \
  38406. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  38407. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  38408. done
  38409. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  38410. @@ -434,7 +469,7 @@
  38411. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  38412. $(TAGS_FILES) $(LISP)
  38413. - tags=; \
  38414. + set x; \
  38415. here=`pwd`; \
  38416. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  38417. include_option=--etags-include; \
  38418. @@ -446,7 +481,7 @@
  38419. list='$(SUBDIRS)'; for subdir in $$list; do \
  38420. if test "$$subdir" = .; then :; else \
  38421. test ! -f $$subdir/TAGS || \
  38422. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  38423. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  38424. fi; \
  38425. done; \
  38426. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  38427. @@ -455,29 +490,34 @@
  38428. done | \
  38429. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  38430. END { if (nonempty) { for (i in files) print i; }; }'`; \
  38431. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  38432. + shift; \
  38433. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  38434. test -n "$$unique" || unique=$$empty_fix; \
  38435. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  38436. - $$tags $$unique; \
  38437. + if test $$# -gt 0; then \
  38438. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  38439. + "$$@" $$unique; \
  38440. + else \
  38441. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  38442. + $$unique; \
  38443. + fi; \
  38444. fi
  38445. ctags: CTAGS
  38446. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  38447. $(TAGS_FILES) $(LISP)
  38448. - tags=; \
  38449. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  38450. unique=`for i in $$list; do \
  38451. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  38452. done | \
  38453. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  38454. END { if (nonempty) { for (i in files) print i; }; }'`; \
  38455. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  38456. + test -z "$(CTAGS_ARGS)$$unique" \
  38457. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  38458. - $$tags $$unique
  38459. + $$unique
  38460. GTAGS:
  38461. here=`$(am__cd) $(top_builddir) && pwd` \
  38462. - && cd $(top_srcdir) \
  38463. - && gtags -i $(GTAGS_ARGS) $$here
  38464. + && $(am__cd) $(top_srcdir) \
  38465. + && gtags -i $(GTAGS_ARGS) "$$here"
  38466. distclean-tags:
  38467. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  38468. @@ -498,29 +538,44 @@
  38469. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  38470. if test -d $$d/$$file; then \
  38471. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  38472. + if test -d "$(distdir)/$$file"; then \
  38473. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  38474. + fi; \
  38475. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  38476. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  38477. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  38478. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  38479. fi; \
  38480. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  38481. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  38482. else \
  38483. - test -f $(distdir)/$$file \
  38484. - || cp -p $$d/$$file $(distdir)/$$file \
  38485. + test -f "$(distdir)/$$file" \
  38486. + || cp -p $$d/$$file "$(distdir)/$$file" \
  38487. || exit 1; \
  38488. fi; \
  38489. done
  38490. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  38491. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  38492. if test "$$subdir" = .; then :; else \
  38493. test -d "$(distdir)/$$subdir" \
  38494. || $(MKDIR_P) "$(distdir)/$$subdir" \
  38495. || exit 1; \
  38496. - distdir=`$(am__cd) $(distdir) && pwd`; \
  38497. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  38498. - (cd $$subdir && \
  38499. + fi; \
  38500. + done
  38501. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  38502. + if test "$$subdir" = .; then :; else \
  38503. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  38504. + $(am__relativize); \
  38505. + new_distdir=$$reldir; \
  38506. + dir1=$$subdir; dir2="$(top_distdir)"; \
  38507. + $(am__relativize); \
  38508. + new_top_distdir=$$reldir; \
  38509. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  38510. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  38511. + ($(am__cd) $$subdir && \
  38512. $(MAKE) $(AM_MAKEFLAGS) \
  38513. - top_distdir="$$top_distdir" \
  38514. - distdir="$$distdir/$$subdir" \
  38515. + top_distdir="$$new_top_distdir" \
  38516. + distdir="$$new_distdir" \
  38517. am__remove_distdir=: \
  38518. am__skip_length_check=: \
  38519. + am__skip_mode_fix=: \
  38520. distdir) \
  38521. || exit 1; \
  38522. fi; \
  38523. @@ -548,6 +603,7 @@
  38524. distclean-generic:
  38525. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  38526. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  38527. maintainer-clean-generic:
  38528. @echo "This command is intended for maintainers to use"
  38529. @@ -566,6 +622,8 @@
  38530. html: html-recursive
  38531. +html-am:
  38532. +
  38533. info: info-recursive
  38534. info-am:
  38535. @@ -574,18 +632,28 @@
  38536. install-dvi: install-dvi-recursive
  38537. +install-dvi-am:
  38538. +
  38539. install-exec-am:
  38540. install-html: install-html-recursive
  38541. +install-html-am:
  38542. +
  38543. install-info: install-info-recursive
  38544. +install-info-am:
  38545. +
  38546. install-man:
  38547. install-pdf: install-pdf-recursive
  38548. +install-pdf-am:
  38549. +
  38550. install-ps: install-ps-recursive
  38551. +install-ps-am:
  38552. +
  38553. installcheck-am:
  38554. maintainer-clean: maintainer-clean-recursive
  38555. @@ -606,8 +674,8 @@
  38556. uninstall-am:
  38557. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  38558. - install-strip
  38559. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  38560. + install-am install-strip tags-recursive
  38561. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  38562. all all-am check check-am clean clean-generic clean-libtool \
  38563. @@ -627,6 +695,7 @@
  38564. clean-generic:
  38565. @RM@ -f *~ .*~
  38566. +
  38567. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  38568. # Otherwise a system limit (for SysV at least) may be exceeded.
  38569. .NOEXPORT:
  38570. diff -Nur owfs-2.7p38.orig/module/owftpd/src/c/Makefile.in owfs-2.7p38/module/owftpd/src/c/Makefile.in
  38571. --- owfs-2.7p38.orig/module/owftpd/src/c/Makefile.in 2010-06-04 03:00:36.000000000 +0200
  38572. +++ owfs-2.7p38/module/owftpd/src/c/Makefile.in 2010-07-09 16:00:54.454999983 +0200
  38573. @@ -1,8 +1,9 @@
  38574. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  38575. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  38576. # @configure_input@
  38577. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  38578. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  38579. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  38580. +# Inc.
  38581. # This Makefile.in is free software; the Free Software Foundation
  38582. # gives unlimited permission to copy and/or distribute it,
  38583. # with or without modifications, as long as this notice is preserved.
  38584. @@ -18,8 +19,9 @@
  38585. VPATH = @srcdir@
  38586. pkgdatadir = $(datadir)/@PACKAGE@
  38587. -pkglibdir = $(libdir)/@PACKAGE@
  38588. pkgincludedir = $(includedir)/@PACKAGE@
  38589. +pkglibdir = $(libdir)/@PACKAGE@
  38590. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  38591. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  38592. install_sh_DATA = $(install_sh) -c -m 644
  38593. install_sh_PROGRAM = $(install_sh) -c
  38594. @@ -39,8 +41,10 @@
  38595. subdir = module/owftpd/src/c
  38596. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  38597. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  38598. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  38599. - $(top_srcdir)/acx_pthread.m4 \
  38600. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  38601. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  38602. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  38603. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  38604. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  38605. $(top_srcdir)/module/swig/php/php.m4 \
  38606. $(top_srcdir)/module/swig/python/python.m4 \
  38607. @@ -51,8 +55,8 @@
  38608. $(top_srcdir)/src/scripts/install/mkinstalldirs
  38609. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  38610. CONFIG_CLEAN_FILES =
  38611. +CONFIG_CLEAN_VPATH_FILES =
  38612. am__installdirs = "$(DESTDIR)$(bindir)"
  38613. -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  38614. PROGRAMS = $(bin_PROGRAMS)
  38615. am_owftpd_OBJECTS = file_list.$(OBJEXT) file_cd.$(OBJEXT) \
  38616. ftp_command.$(OBJEXT) ftp_listener.$(OBJEXT) \
  38617. @@ -65,6 +69,7 @@
  38618. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src/include
  38619. depcomp = $(SHELL) $(top_srcdir)/src/scripts/install/depcomp
  38620. am__depfiles_maybe = depfiles
  38621. +am__mv = mv -f
  38622. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  38623. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  38624. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  38625. @@ -172,6 +177,7 @@
  38626. LT_RELEASE = @LT_RELEASE@
  38627. LT_REVISION = @LT_REVISION@
  38628. MAKEINFO = @MAKEINFO@
  38629. +MANIFEST_TOOL = @MANIFEST_TOOL@
  38630. MKDIR_P = @MKDIR_P@
  38631. NM = @NM@
  38632. NMEDIT = @NMEDIT@
  38633. @@ -203,6 +209,7 @@
  38634. PACKAGE_NAME = @PACKAGE_NAME@
  38635. PACKAGE_STRING = @PACKAGE_STRING@
  38636. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  38637. +PACKAGE_URL = @PACKAGE_URL@
  38638. PACKAGE_VERSION = @PACKAGE_VERSION@
  38639. PATH_SEPARATOR = @PATH_SEPARATOR@
  38640. PERL = @PERL@
  38641. @@ -308,7 +315,6 @@
  38642. libexecdir = @libexecdir@
  38643. localedir = @localedir@
  38644. localstatedir = @localstatedir@
  38645. -lt_ECHO = @lt_ECHO@
  38646. mandir = @mandir@
  38647. mkdir_p = @mkdir_p@
  38648. oldincludedir = @oldincludedir@
  38649. @@ -370,9 +376,9 @@
  38650. exit 1;; \
  38651. esac; \
  38652. done; \
  38653. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owftpd/src/c/Makefile'; \
  38654. - cd $(top_srcdir) && \
  38655. - $(AUTOMAKE) --gnu module/owftpd/src/c/Makefile
  38656. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owftpd/src/c/Makefile'; \
  38657. + $(am__cd) $(top_srcdir) && \
  38658. + $(AUTOMAKE) --gnu module/owftpd/src/c/Makefile
  38659. .PRECIOUS: Makefile
  38660. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  38661. @case '$?' in \
  38662. @@ -390,34 +396,50 @@
  38663. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  38664. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  38665. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  38666. +$(am__aclocal_m4_deps):
  38667. install-binPROGRAMS: $(bin_PROGRAMS)
  38668. @$(NORMAL_INSTALL)
  38669. test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  38670. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  38671. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  38672. - if test -f $$p \
  38673. - || test -f $$p1 \
  38674. - ; then \
  38675. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  38676. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  38677. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  38678. - else :; fi; \
  38679. - done
  38680. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  38681. + for p in $$list; do echo "$$p $$p"; done | \
  38682. + sed 's/$(EXEEXT)$$//' | \
  38683. + while read p p1; do if test -f $$p || test -f $$p1; \
  38684. + then echo "$$p"; echo "$$p"; else :; fi; \
  38685. + done | \
  38686. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  38687. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  38688. + sed 'N;N;N;s,\n, ,g' | \
  38689. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  38690. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  38691. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  38692. + else { print "f", $$3 "/" $$4, $$1; } } \
  38693. + END { for (d in files) print "f", d, files[d] }' | \
  38694. + while read type dir files; do \
  38695. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  38696. + test -z "$$files" || { \
  38697. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  38698. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  38699. + } \
  38700. + ; done
  38701. uninstall-binPROGRAMS:
  38702. @$(NORMAL_UNINSTALL)
  38703. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  38704. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  38705. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  38706. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  38707. - done
  38708. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  38709. + files=`for p in $$list; do echo "$$p"; done | \
  38710. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  38711. + -e 's/$$/$(EXEEXT)/' `; \
  38712. + test -n "$$list" || exit 0; \
  38713. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  38714. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  38715. clean-binPROGRAMS:
  38716. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  38717. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  38718. - echo " rm -f $$p $$f"; \
  38719. - rm -f $$p $$f ; \
  38720. - done
  38721. + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
  38722. + echo " rm -f" $$list; \
  38723. + rm -f $$list || exit $$?; \
  38724. + test -n "$(EXEEXT)" || exit 0; \
  38725. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  38726. + echo " rm -f" $$list; \
  38727. + rm -f $$list
  38728. owftpd$(EXEEXT): $(owftpd_OBJECTS) $(owftpd_DEPENDENCIES)
  38729. @rm -f owftpd$(EXEEXT)
  38730. $(LINK) $(owftpd_OBJECTS) $(owftpd_LDADD) $(LIBS)
  38731. @@ -440,21 +462,21 @@
  38732. .c.o:
  38733. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  38734. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  38735. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  38736. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  38737. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  38738. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  38739. .c.obj:
  38740. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  38741. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  38742. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  38743. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  38744. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  38745. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  38746. .c.lo:
  38747. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  38748. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  38749. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  38750. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  38751. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  38752. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  38753. @@ -477,7 +499,7 @@
  38754. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  38755. $(TAGS_FILES) $(LISP)
  38756. - tags=; \
  38757. + set x; \
  38758. here=`pwd`; \
  38759. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  38760. unique=`for i in $$list; do \
  38761. @@ -485,29 +507,34 @@
  38762. done | \
  38763. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  38764. END { if (nonempty) { for (i in files) print i; }; }'`; \
  38765. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  38766. + shift; \
  38767. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  38768. test -n "$$unique" || unique=$$empty_fix; \
  38769. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  38770. - $$tags $$unique; \
  38771. + if test $$# -gt 0; then \
  38772. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  38773. + "$$@" $$unique; \
  38774. + else \
  38775. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  38776. + $$unique; \
  38777. + fi; \
  38778. fi
  38779. ctags: CTAGS
  38780. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  38781. $(TAGS_FILES) $(LISP)
  38782. - tags=; \
  38783. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  38784. unique=`for i in $$list; do \
  38785. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  38786. done | \
  38787. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  38788. END { if (nonempty) { for (i in files) print i; }; }'`; \
  38789. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  38790. + test -z "$(CTAGS_ARGS)$$unique" \
  38791. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  38792. - $$tags $$unique
  38793. + $$unique
  38794. GTAGS:
  38795. here=`$(am__cd) $(top_builddir) && pwd` \
  38796. - && cd $(top_srcdir) \
  38797. - && gtags -i $(GTAGS_ARGS) $$here
  38798. + && $(am__cd) $(top_srcdir) \
  38799. + && gtags -i $(GTAGS_ARGS) "$$here"
  38800. distclean-tags:
  38801. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  38802. @@ -528,13 +555,17 @@
  38803. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  38804. if test -d $$d/$$file; then \
  38805. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  38806. + if test -d "$(distdir)/$$file"; then \
  38807. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  38808. + fi; \
  38809. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  38810. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  38811. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  38812. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  38813. fi; \
  38814. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  38815. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  38816. else \
  38817. - test -f $(distdir)/$$file \
  38818. - || cp -p $$d/$$file $(distdir)/$$file \
  38819. + test -f "$(distdir)/$$file" \
  38820. + || cp -p $$d/$$file "$(distdir)/$$file" \
  38821. || exit 1; \
  38822. fi; \
  38823. done
  38824. @@ -563,6 +594,7 @@
  38825. distclean-generic:
  38826. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  38827. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  38828. maintainer-clean-generic:
  38829. @echo "This command is intended for maintainers to use"
  38830. @@ -583,6 +615,8 @@
  38831. html: html-am
  38832. +html-am:
  38833. +
  38834. info: info-am
  38835. info-am:
  38836. @@ -591,18 +625,28 @@
  38837. install-dvi: install-dvi-am
  38838. +install-dvi-am:
  38839. +
  38840. install-exec-am: install-binPROGRAMS
  38841. install-html: install-html-am
  38842. +install-html-am:
  38843. +
  38844. install-info: install-info-am
  38845. +install-info-am:
  38846. +
  38847. install-man:
  38848. install-pdf: install-pdf-am
  38849. +install-pdf-am:
  38850. +
  38851. install-ps: install-ps-am
  38852. +install-ps-am:
  38853. +
  38854. installcheck-am:
  38855. maintainer-clean: maintainer-clean-am
  38856. @@ -645,6 +689,7 @@
  38857. clean-generic:
  38858. @RM@ -f *~ .*~
  38859. +
  38860. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  38861. # Otherwise a system limit (for SysV at least) may be exceeded.
  38862. .NOEXPORT:
  38863. diff -Nur owfs-2.7p38.orig/module/owftpd/src/include/Makefile.in owfs-2.7p38/module/owftpd/src/include/Makefile.in
  38864. --- owfs-2.7p38.orig/module/owftpd/src/include/Makefile.in 2010-06-04 03:00:36.000000000 +0200
  38865. +++ owfs-2.7p38/module/owftpd/src/include/Makefile.in 2010-07-09 16:00:54.626999812 +0200
  38866. @@ -1,8 +1,9 @@
  38867. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  38868. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  38869. # @configure_input@
  38870. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  38871. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  38872. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  38873. +# Inc.
  38874. # This Makefile.in is free software; the Free Software Foundation
  38875. # gives unlimited permission to copy and/or distribute it,
  38876. # with or without modifications, as long as this notice is preserved.
  38877. @@ -16,8 +17,9 @@
  38878. VPATH = @srcdir@
  38879. pkgdatadir = $(datadir)/@PACKAGE@
  38880. -pkglibdir = $(libdir)/@PACKAGE@
  38881. pkgincludedir = $(includedir)/@PACKAGE@
  38882. +pkglibdir = $(libdir)/@PACKAGE@
  38883. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  38884. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  38885. install_sh_DATA = $(install_sh) -c -m 644
  38886. install_sh_PROGRAM = $(install_sh) -c
  38887. @@ -37,8 +39,10 @@
  38888. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  38889. $(srcdir)/Makefile.in
  38890. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  38891. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  38892. - $(top_srcdir)/acx_pthread.m4 \
  38893. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  38894. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  38895. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  38896. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  38897. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  38898. $(top_srcdir)/module/swig/php/php.m4 \
  38899. $(top_srcdir)/module/swig/python/python.m4 \
  38900. @@ -49,6 +53,7 @@
  38901. $(top_srcdir)/src/scripts/install/mkinstalldirs
  38902. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  38903. CONFIG_CLEAN_FILES =
  38904. +CONFIG_CLEAN_VPATH_FILES =
  38905. SOURCES =
  38906. DIST_SOURCES =
  38907. HEADERS = $(noinst_HEADERS)
  38908. @@ -148,6 +153,7 @@
  38909. LT_RELEASE = @LT_RELEASE@
  38910. LT_REVISION = @LT_REVISION@
  38911. MAKEINFO = @MAKEINFO@
  38912. +MANIFEST_TOOL = @MANIFEST_TOOL@
  38913. MKDIR_P = @MKDIR_P@
  38914. NM = @NM@
  38915. NMEDIT = @NMEDIT@
  38916. @@ -179,6 +185,7 @@
  38917. PACKAGE_NAME = @PACKAGE_NAME@
  38918. PACKAGE_STRING = @PACKAGE_STRING@
  38919. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  38920. +PACKAGE_URL = @PACKAGE_URL@
  38921. PACKAGE_VERSION = @PACKAGE_VERSION@
  38922. PATH_SEPARATOR = @PATH_SEPARATOR@
  38923. PERL = @PERL@
  38924. @@ -284,7 +291,6 @@
  38925. libexecdir = @libexecdir@
  38926. localedir = @localedir@
  38927. localstatedir = @localstatedir@
  38928. -lt_ECHO = @lt_ECHO@
  38929. mandir = @mandir@
  38930. mkdir_p = @mkdir_p@
  38931. oldincludedir = @oldincludedir@
  38932. @@ -317,9 +323,9 @@
  38933. exit 1;; \
  38934. esac; \
  38935. done; \
  38936. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owftpd/src/include/Makefile'; \
  38937. - cd $(top_srcdir) && \
  38938. - $(AUTOMAKE) --gnu module/owftpd/src/include/Makefile
  38939. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owftpd/src/include/Makefile'; \
  38940. + $(am__cd) $(top_srcdir) && \
  38941. + $(AUTOMAKE) --gnu module/owftpd/src/include/Makefile
  38942. .PRECIOUS: Makefile
  38943. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  38944. @case '$?' in \
  38945. @@ -337,6 +343,7 @@
  38946. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  38947. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  38948. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  38949. +$(am__aclocal_m4_deps):
  38950. mostlyclean-libtool:
  38951. -rm -f *.lo
  38952. @@ -356,7 +363,7 @@
  38953. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  38954. $(TAGS_FILES) $(LISP)
  38955. - tags=; \
  38956. + set x; \
  38957. here=`pwd`; \
  38958. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  38959. unique=`for i in $$list; do \
  38960. @@ -364,29 +371,34 @@
  38961. done | \
  38962. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  38963. END { if (nonempty) { for (i in files) print i; }; }'`; \
  38964. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  38965. + shift; \
  38966. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  38967. test -n "$$unique" || unique=$$empty_fix; \
  38968. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  38969. - $$tags $$unique; \
  38970. + if test $$# -gt 0; then \
  38971. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  38972. + "$$@" $$unique; \
  38973. + else \
  38974. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  38975. + $$unique; \
  38976. + fi; \
  38977. fi
  38978. ctags: CTAGS
  38979. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  38980. $(TAGS_FILES) $(LISP)
  38981. - tags=; \
  38982. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  38983. unique=`for i in $$list; do \
  38984. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  38985. done | \
  38986. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  38987. END { if (nonempty) { for (i in files) print i; }; }'`; \
  38988. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  38989. + test -z "$(CTAGS_ARGS)$$unique" \
  38990. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  38991. - $$tags $$unique
  38992. + $$unique
  38993. GTAGS:
  38994. here=`$(am__cd) $(top_builddir) && pwd` \
  38995. - && cd $(top_srcdir) \
  38996. - && gtags -i $(GTAGS_ARGS) $$here
  38997. + && $(am__cd) $(top_srcdir) \
  38998. + && gtags -i $(GTAGS_ARGS) "$$here"
  38999. distclean-tags:
  39000. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  39001. @@ -407,13 +419,17 @@
  39002. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  39003. if test -d $$d/$$file; then \
  39004. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  39005. + if test -d "$(distdir)/$$file"; then \
  39006. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  39007. + fi; \
  39008. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  39009. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  39010. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  39011. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  39012. fi; \
  39013. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  39014. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  39015. else \
  39016. - test -f $(distdir)/$$file \
  39017. - || cp -p $$d/$$file $(distdir)/$$file \
  39018. + test -f "$(distdir)/$$file" \
  39019. + || cp -p $$d/$$file "$(distdir)/$$file" \
  39020. || exit 1; \
  39021. fi; \
  39022. done
  39023. @@ -439,6 +455,7 @@
  39024. distclean-generic:
  39025. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  39026. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  39027. maintainer-clean-generic:
  39028. @echo "This command is intended for maintainers to use"
  39029. @@ -457,6 +474,8 @@
  39030. html: html-am
  39031. +html-am:
  39032. +
  39033. info: info-am
  39034. info-am:
  39035. @@ -465,18 +484,28 @@
  39036. install-dvi: install-dvi-am
  39037. +install-dvi-am:
  39038. +
  39039. install-exec-am:
  39040. install-html: install-html-am
  39041. +install-html-am:
  39042. +
  39043. install-info: install-info-am
  39044. +install-info-am:
  39045. +
  39046. install-man:
  39047. install-pdf: install-pdf-am
  39048. +install-pdf-am:
  39049. +
  39050. install-ps: install-ps-am
  39051. +install-ps-am:
  39052. +
  39053. installcheck-am:
  39054. maintainer-clean: maintainer-clean-am
  39055. @@ -516,6 +545,7 @@
  39056. clean-generic:
  39057. @RM@ -f *~ .*~
  39058. +
  39059. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  39060. # Otherwise a system limit (for SysV at least) may be exceeded.
  39061. .NOEXPORT:
  39062. diff -Nur owfs-2.7p38.orig/module/owftpd/src/Makefile.in owfs-2.7p38/module/owftpd/src/Makefile.in
  39063. --- owfs-2.7p38.orig/module/owftpd/src/Makefile.in 2010-06-04 03:00:36.000000000 +0200
  39064. +++ owfs-2.7p38/module/owftpd/src/Makefile.in 2010-07-09 16:00:54.270998892 +0200
  39065. @@ -1,8 +1,9 @@
  39066. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  39067. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  39068. # @configure_input@
  39069. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  39070. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  39071. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  39072. +# Inc.
  39073. # This Makefile.in is free software; the Free Software Foundation
  39074. # gives unlimited permission to copy and/or distribute it,
  39075. # with or without modifications, as long as this notice is preserved.
  39076. @@ -15,8 +16,9 @@
  39077. @SET_MAKE@
  39078. VPATH = @srcdir@
  39079. pkgdatadir = $(datadir)/@PACKAGE@
  39080. -pkglibdir = $(libdir)/@PACKAGE@
  39081. pkgincludedir = $(includedir)/@PACKAGE@
  39082. +pkglibdir = $(libdir)/@PACKAGE@
  39083. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  39084. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  39085. install_sh_DATA = $(install_sh) -c -m 644
  39086. install_sh_PROGRAM = $(install_sh) -c
  39087. @@ -35,8 +37,10 @@
  39088. subdir = module/owftpd/src
  39089. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  39090. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  39091. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  39092. - $(top_srcdir)/acx_pthread.m4 \
  39093. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  39094. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  39095. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  39096. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  39097. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  39098. $(top_srcdir)/module/swig/php/php.m4 \
  39099. $(top_srcdir)/module/swig/python/python.m4 \
  39100. @@ -47,6 +51,7 @@
  39101. $(top_srcdir)/src/scripts/install/mkinstalldirs
  39102. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  39103. CONFIG_CLEAN_FILES =
  39104. +CONFIG_CLEAN_VPATH_FILES =
  39105. SOURCES =
  39106. DIST_SOURCES =
  39107. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  39108. @@ -58,10 +63,38 @@
  39109. ps-recursive uninstall-recursive
  39110. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  39111. distclean-recursive maintainer-clean-recursive
  39112. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  39113. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  39114. + distdir
  39115. ETAGS = etags
  39116. CTAGS = ctags
  39117. DIST_SUBDIRS = $(SUBDIRS)
  39118. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  39119. +am__relativize = \
  39120. + dir0=`pwd`; \
  39121. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  39122. + sed_rest='s,^[^/]*/*,,'; \
  39123. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  39124. + sed_butlast='s,/*[^/]*$$,,'; \
  39125. + while test -n "$$dir1"; do \
  39126. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  39127. + if test "$$first" != "."; then \
  39128. + if test "$$first" = ".."; then \
  39129. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  39130. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  39131. + else \
  39132. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  39133. + if test "$$first2" = "$$first"; then \
  39134. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  39135. + else \
  39136. + dir2="../$$dir2"; \
  39137. + fi; \
  39138. + dir0="$$dir0"/"$$first"; \
  39139. + fi; \
  39140. + fi; \
  39141. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  39142. + done; \
  39143. + reldir="$$dir2"
  39144. ACLOCAL = @ACLOCAL@
  39145. AMTAR = @AMTAR@
  39146. AR = @AR@
  39147. @@ -155,6 +188,7 @@
  39148. LT_RELEASE = @LT_RELEASE@
  39149. LT_REVISION = @LT_REVISION@
  39150. MAKEINFO = @MAKEINFO@
  39151. +MANIFEST_TOOL = @MANIFEST_TOOL@
  39152. MKDIR_P = @MKDIR_P@
  39153. NM = @NM@
  39154. NMEDIT = @NMEDIT@
  39155. @@ -186,6 +220,7 @@
  39156. PACKAGE_NAME = @PACKAGE_NAME@
  39157. PACKAGE_STRING = @PACKAGE_STRING@
  39158. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  39159. +PACKAGE_URL = @PACKAGE_URL@
  39160. PACKAGE_VERSION = @PACKAGE_VERSION@
  39161. PATH_SEPARATOR = @PATH_SEPARATOR@
  39162. PERL = @PERL@
  39163. @@ -291,7 +326,6 @@
  39164. libexecdir = @libexecdir@
  39165. localedir = @localedir@
  39166. localstatedir = @localstatedir@
  39167. -lt_ECHO = @lt_ECHO@
  39168. mandir = @mandir@
  39169. mkdir_p = @mkdir_p@
  39170. oldincludedir = @oldincludedir@
  39171. @@ -324,9 +358,9 @@
  39172. exit 1;; \
  39173. esac; \
  39174. done; \
  39175. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owftpd/src/Makefile'; \
  39176. - cd $(top_srcdir) && \
  39177. - $(AUTOMAKE) --gnu module/owftpd/src/Makefile
  39178. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owftpd/src/Makefile'; \
  39179. + $(am__cd) $(top_srcdir) && \
  39180. + $(AUTOMAKE) --gnu module/owftpd/src/Makefile
  39181. .PRECIOUS: Makefile
  39182. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  39183. @case '$?' in \
  39184. @@ -344,6 +378,7 @@
  39185. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  39186. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  39187. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  39188. +$(am__aclocal_m4_deps):
  39189. mostlyclean-libtool:
  39190. -rm -f *.lo
  39191. @@ -358,7 +393,7 @@
  39192. # (which will cause the Makefiles to be regenerated when you run `make');
  39193. # (2) otherwise, pass the desired values on the `make' command line.
  39194. $(RECURSIVE_TARGETS):
  39195. - @failcom='exit 1'; \
  39196. + @fail= failcom='exit 1'; \
  39197. for f in x $$MAKEFLAGS; do \
  39198. case $$f in \
  39199. *=* | --[!k]*);; \
  39200. @@ -375,7 +410,7 @@
  39201. else \
  39202. local_target="$$target"; \
  39203. fi; \
  39204. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  39205. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  39206. || eval $$failcom; \
  39207. done; \
  39208. if test "$$dot_seen" = "no"; then \
  39209. @@ -383,7 +418,7 @@
  39210. fi; test -z "$$fail"
  39211. $(RECURSIVE_CLEAN_TARGETS):
  39212. - @failcom='exit 1'; \
  39213. + @fail= failcom='exit 1'; \
  39214. for f in x $$MAKEFLAGS; do \
  39215. case $$f in \
  39216. *=* | --[!k]*);; \
  39217. @@ -409,16 +444,16 @@
  39218. else \
  39219. local_target="$$target"; \
  39220. fi; \
  39221. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  39222. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  39223. || eval $$failcom; \
  39224. done && test -z "$$fail"
  39225. tags-recursive:
  39226. list='$(SUBDIRS)'; for subdir in $$list; do \
  39227. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  39228. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  39229. done
  39230. ctags-recursive:
  39231. list='$(SUBDIRS)'; for subdir in $$list; do \
  39232. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  39233. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  39234. done
  39235. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  39236. @@ -433,7 +468,7 @@
  39237. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  39238. $(TAGS_FILES) $(LISP)
  39239. - tags=; \
  39240. + set x; \
  39241. here=`pwd`; \
  39242. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  39243. include_option=--etags-include; \
  39244. @@ -445,7 +480,7 @@
  39245. list='$(SUBDIRS)'; for subdir in $$list; do \
  39246. if test "$$subdir" = .; then :; else \
  39247. test ! -f $$subdir/TAGS || \
  39248. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  39249. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  39250. fi; \
  39251. done; \
  39252. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  39253. @@ -454,29 +489,34 @@
  39254. done | \
  39255. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  39256. END { if (nonempty) { for (i in files) print i; }; }'`; \
  39257. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  39258. + shift; \
  39259. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  39260. test -n "$$unique" || unique=$$empty_fix; \
  39261. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  39262. - $$tags $$unique; \
  39263. + if test $$# -gt 0; then \
  39264. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  39265. + "$$@" $$unique; \
  39266. + else \
  39267. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  39268. + $$unique; \
  39269. + fi; \
  39270. fi
  39271. ctags: CTAGS
  39272. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  39273. $(TAGS_FILES) $(LISP)
  39274. - tags=; \
  39275. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  39276. unique=`for i in $$list; do \
  39277. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  39278. done | \
  39279. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  39280. END { if (nonempty) { for (i in files) print i; }; }'`; \
  39281. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  39282. + test -z "$(CTAGS_ARGS)$$unique" \
  39283. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  39284. - $$tags $$unique
  39285. + $$unique
  39286. GTAGS:
  39287. here=`$(am__cd) $(top_builddir) && pwd` \
  39288. - && cd $(top_srcdir) \
  39289. - && gtags -i $(GTAGS_ARGS) $$here
  39290. + && $(am__cd) $(top_srcdir) \
  39291. + && gtags -i $(GTAGS_ARGS) "$$here"
  39292. distclean-tags:
  39293. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  39294. @@ -497,29 +537,44 @@
  39295. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  39296. if test -d $$d/$$file; then \
  39297. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  39298. + if test -d "$(distdir)/$$file"; then \
  39299. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  39300. + fi; \
  39301. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  39302. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  39303. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  39304. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  39305. fi; \
  39306. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  39307. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  39308. else \
  39309. - test -f $(distdir)/$$file \
  39310. - || cp -p $$d/$$file $(distdir)/$$file \
  39311. + test -f "$(distdir)/$$file" \
  39312. + || cp -p $$d/$$file "$(distdir)/$$file" \
  39313. || exit 1; \
  39314. fi; \
  39315. done
  39316. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  39317. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  39318. if test "$$subdir" = .; then :; else \
  39319. test -d "$(distdir)/$$subdir" \
  39320. || $(MKDIR_P) "$(distdir)/$$subdir" \
  39321. || exit 1; \
  39322. - distdir=`$(am__cd) $(distdir) && pwd`; \
  39323. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  39324. - (cd $$subdir && \
  39325. + fi; \
  39326. + done
  39327. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  39328. + if test "$$subdir" = .; then :; else \
  39329. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  39330. + $(am__relativize); \
  39331. + new_distdir=$$reldir; \
  39332. + dir1=$$subdir; dir2="$(top_distdir)"; \
  39333. + $(am__relativize); \
  39334. + new_top_distdir=$$reldir; \
  39335. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  39336. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  39337. + ($(am__cd) $$subdir && \
  39338. $(MAKE) $(AM_MAKEFLAGS) \
  39339. - top_distdir="$$top_distdir" \
  39340. - distdir="$$distdir/$$subdir" \
  39341. + top_distdir="$$new_top_distdir" \
  39342. + distdir="$$new_distdir" \
  39343. am__remove_distdir=: \
  39344. am__skip_length_check=: \
  39345. + am__skip_mode_fix=: \
  39346. distdir) \
  39347. || exit 1; \
  39348. fi; \
  39349. @@ -547,6 +602,7 @@
  39350. distclean-generic:
  39351. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  39352. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  39353. maintainer-clean-generic:
  39354. @echo "This command is intended for maintainers to use"
  39355. @@ -565,6 +621,8 @@
  39356. html: html-recursive
  39357. +html-am:
  39358. +
  39359. info: info-recursive
  39360. info-am:
  39361. @@ -573,18 +631,28 @@
  39362. install-dvi: install-dvi-recursive
  39363. +install-dvi-am:
  39364. +
  39365. install-exec-am:
  39366. install-html: install-html-recursive
  39367. +install-html-am:
  39368. +
  39369. install-info: install-info-recursive
  39370. +install-info-am:
  39371. +
  39372. install-man:
  39373. install-pdf: install-pdf-recursive
  39374. +install-pdf-am:
  39375. +
  39376. install-ps: install-ps-recursive
  39377. +install-ps-am:
  39378. +
  39379. installcheck-am:
  39380. maintainer-clean: maintainer-clean-recursive
  39381. @@ -605,8 +673,8 @@
  39382. uninstall-am:
  39383. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  39384. - install-strip
  39385. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  39386. + install-am install-strip tags-recursive
  39387. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  39388. all all-am check check-am clean clean-generic clean-libtool \
  39389. @@ -626,6 +694,7 @@
  39390. clean-generic:
  39391. @RM@ -f *~ .*~
  39392. +
  39393. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  39394. # Otherwise a system limit (for SysV at least) may be exceeded.
  39395. .NOEXPORT:
  39396. diff -Nur owfs-2.7p38.orig/module/owhttpd/Makefile.in owfs-2.7p38/module/owhttpd/Makefile.in
  39397. --- owfs-2.7p38.orig/module/owhttpd/Makefile.in 2010-06-04 03:00:36.000000000 +0200
  39398. +++ owfs-2.7p38/module/owhttpd/Makefile.in 2010-07-09 16:00:54.799000784 +0200
  39399. @@ -1,8 +1,9 @@
  39400. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  39401. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  39402. # @configure_input@
  39403. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  39404. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  39405. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  39406. +# Inc.
  39407. # This Makefile.in is free software; the Free Software Foundation
  39408. # gives unlimited permission to copy and/or distribute it,
  39409. # with or without modifications, as long as this notice is preserved.
  39410. @@ -15,8 +16,9 @@
  39411. @SET_MAKE@
  39412. VPATH = @srcdir@
  39413. pkgdatadir = $(datadir)/@PACKAGE@
  39414. -pkglibdir = $(libdir)/@PACKAGE@
  39415. pkgincludedir = $(includedir)/@PACKAGE@
  39416. +pkglibdir = $(libdir)/@PACKAGE@
  39417. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  39418. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  39419. install_sh_DATA = $(install_sh) -c -m 644
  39420. install_sh_PROGRAM = $(install_sh) -c
  39421. @@ -35,8 +37,10 @@
  39422. subdir = module/owhttpd
  39423. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  39424. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  39425. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  39426. - $(top_srcdir)/acx_pthread.m4 \
  39427. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  39428. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  39429. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  39430. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  39431. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  39432. $(top_srcdir)/module/swig/php/php.m4 \
  39433. $(top_srcdir)/module/swig/python/python.m4 \
  39434. @@ -47,6 +51,7 @@
  39435. $(top_srcdir)/src/scripts/install/mkinstalldirs
  39436. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  39437. CONFIG_CLEAN_FILES =
  39438. +CONFIG_CLEAN_VPATH_FILES =
  39439. SOURCES =
  39440. DIST_SOURCES =
  39441. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  39442. @@ -58,10 +63,38 @@
  39443. ps-recursive uninstall-recursive
  39444. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  39445. distclean-recursive maintainer-clean-recursive
  39446. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  39447. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  39448. + distdir
  39449. ETAGS = etags
  39450. CTAGS = ctags
  39451. DIST_SUBDIRS = $(SUBDIRS)
  39452. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  39453. +am__relativize = \
  39454. + dir0=`pwd`; \
  39455. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  39456. + sed_rest='s,^[^/]*/*,,'; \
  39457. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  39458. + sed_butlast='s,/*[^/]*$$,,'; \
  39459. + while test -n "$$dir1"; do \
  39460. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  39461. + if test "$$first" != "."; then \
  39462. + if test "$$first" = ".."; then \
  39463. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  39464. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  39465. + else \
  39466. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  39467. + if test "$$first2" = "$$first"; then \
  39468. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  39469. + else \
  39470. + dir2="../$$dir2"; \
  39471. + fi; \
  39472. + dir0="$$dir0"/"$$first"; \
  39473. + fi; \
  39474. + fi; \
  39475. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  39476. + done; \
  39477. + reldir="$$dir2"
  39478. ACLOCAL = @ACLOCAL@
  39479. AMTAR = @AMTAR@
  39480. AR = @AR@
  39481. @@ -155,6 +188,7 @@
  39482. LT_RELEASE = @LT_RELEASE@
  39483. LT_REVISION = @LT_REVISION@
  39484. MAKEINFO = @MAKEINFO@
  39485. +MANIFEST_TOOL = @MANIFEST_TOOL@
  39486. MKDIR_P = @MKDIR_P@
  39487. NM = @NM@
  39488. NMEDIT = @NMEDIT@
  39489. @@ -186,6 +220,7 @@
  39490. PACKAGE_NAME = @PACKAGE_NAME@
  39491. PACKAGE_STRING = @PACKAGE_STRING@
  39492. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  39493. +PACKAGE_URL = @PACKAGE_URL@
  39494. PACKAGE_VERSION = @PACKAGE_VERSION@
  39495. PATH_SEPARATOR = @PATH_SEPARATOR@
  39496. PERL = @PERL@
  39497. @@ -291,7 +326,6 @@
  39498. libexecdir = @libexecdir@
  39499. localedir = @localedir@
  39500. localstatedir = @localstatedir@
  39501. -lt_ECHO = @lt_ECHO@
  39502. mandir = @mandir@
  39503. mkdir_p = @mkdir_p@
  39504. oldincludedir = @oldincludedir@
  39505. @@ -324,9 +358,9 @@
  39506. exit 1;; \
  39507. esac; \
  39508. done; \
  39509. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owhttpd/Makefile'; \
  39510. - cd $(top_srcdir) && \
  39511. - $(AUTOMAKE) --gnu module/owhttpd/Makefile
  39512. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owhttpd/Makefile'; \
  39513. + $(am__cd) $(top_srcdir) && \
  39514. + $(AUTOMAKE) --gnu module/owhttpd/Makefile
  39515. .PRECIOUS: Makefile
  39516. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  39517. @case '$?' in \
  39518. @@ -344,6 +378,7 @@
  39519. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  39520. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  39521. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  39522. +$(am__aclocal_m4_deps):
  39523. mostlyclean-libtool:
  39524. -rm -f *.lo
  39525. @@ -358,7 +393,7 @@
  39526. # (which will cause the Makefiles to be regenerated when you run `make');
  39527. # (2) otherwise, pass the desired values on the `make' command line.
  39528. $(RECURSIVE_TARGETS):
  39529. - @failcom='exit 1'; \
  39530. + @fail= failcom='exit 1'; \
  39531. for f in x $$MAKEFLAGS; do \
  39532. case $$f in \
  39533. *=* | --[!k]*);; \
  39534. @@ -375,7 +410,7 @@
  39535. else \
  39536. local_target="$$target"; \
  39537. fi; \
  39538. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  39539. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  39540. || eval $$failcom; \
  39541. done; \
  39542. if test "$$dot_seen" = "no"; then \
  39543. @@ -383,7 +418,7 @@
  39544. fi; test -z "$$fail"
  39545. $(RECURSIVE_CLEAN_TARGETS):
  39546. - @failcom='exit 1'; \
  39547. + @fail= failcom='exit 1'; \
  39548. for f in x $$MAKEFLAGS; do \
  39549. case $$f in \
  39550. *=* | --[!k]*);; \
  39551. @@ -409,16 +444,16 @@
  39552. else \
  39553. local_target="$$target"; \
  39554. fi; \
  39555. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  39556. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  39557. || eval $$failcom; \
  39558. done && test -z "$$fail"
  39559. tags-recursive:
  39560. list='$(SUBDIRS)'; for subdir in $$list; do \
  39561. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  39562. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  39563. done
  39564. ctags-recursive:
  39565. list='$(SUBDIRS)'; for subdir in $$list; do \
  39566. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  39567. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  39568. done
  39569. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  39570. @@ -433,7 +468,7 @@
  39571. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  39572. $(TAGS_FILES) $(LISP)
  39573. - tags=; \
  39574. + set x; \
  39575. here=`pwd`; \
  39576. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  39577. include_option=--etags-include; \
  39578. @@ -445,7 +480,7 @@
  39579. list='$(SUBDIRS)'; for subdir in $$list; do \
  39580. if test "$$subdir" = .; then :; else \
  39581. test ! -f $$subdir/TAGS || \
  39582. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  39583. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  39584. fi; \
  39585. done; \
  39586. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  39587. @@ -454,29 +489,34 @@
  39588. done | \
  39589. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  39590. END { if (nonempty) { for (i in files) print i; }; }'`; \
  39591. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  39592. + shift; \
  39593. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  39594. test -n "$$unique" || unique=$$empty_fix; \
  39595. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  39596. - $$tags $$unique; \
  39597. + if test $$# -gt 0; then \
  39598. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  39599. + "$$@" $$unique; \
  39600. + else \
  39601. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  39602. + $$unique; \
  39603. + fi; \
  39604. fi
  39605. ctags: CTAGS
  39606. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  39607. $(TAGS_FILES) $(LISP)
  39608. - tags=; \
  39609. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  39610. unique=`for i in $$list; do \
  39611. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  39612. done | \
  39613. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  39614. END { if (nonempty) { for (i in files) print i; }; }'`; \
  39615. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  39616. + test -z "$(CTAGS_ARGS)$$unique" \
  39617. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  39618. - $$tags $$unique
  39619. + $$unique
  39620. GTAGS:
  39621. here=`$(am__cd) $(top_builddir) && pwd` \
  39622. - && cd $(top_srcdir) \
  39623. - && gtags -i $(GTAGS_ARGS) $$here
  39624. + && $(am__cd) $(top_srcdir) \
  39625. + && gtags -i $(GTAGS_ARGS) "$$here"
  39626. distclean-tags:
  39627. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  39628. @@ -497,29 +537,44 @@
  39629. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  39630. if test -d $$d/$$file; then \
  39631. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  39632. + if test -d "$(distdir)/$$file"; then \
  39633. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  39634. + fi; \
  39635. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  39636. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  39637. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  39638. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  39639. fi; \
  39640. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  39641. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  39642. else \
  39643. - test -f $(distdir)/$$file \
  39644. - || cp -p $$d/$$file $(distdir)/$$file \
  39645. + test -f "$(distdir)/$$file" \
  39646. + || cp -p $$d/$$file "$(distdir)/$$file" \
  39647. || exit 1; \
  39648. fi; \
  39649. done
  39650. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  39651. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  39652. if test "$$subdir" = .; then :; else \
  39653. test -d "$(distdir)/$$subdir" \
  39654. || $(MKDIR_P) "$(distdir)/$$subdir" \
  39655. || exit 1; \
  39656. - distdir=`$(am__cd) $(distdir) && pwd`; \
  39657. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  39658. - (cd $$subdir && \
  39659. + fi; \
  39660. + done
  39661. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  39662. + if test "$$subdir" = .; then :; else \
  39663. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  39664. + $(am__relativize); \
  39665. + new_distdir=$$reldir; \
  39666. + dir1=$$subdir; dir2="$(top_distdir)"; \
  39667. + $(am__relativize); \
  39668. + new_top_distdir=$$reldir; \
  39669. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  39670. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  39671. + ($(am__cd) $$subdir && \
  39672. $(MAKE) $(AM_MAKEFLAGS) \
  39673. - top_distdir="$$top_distdir" \
  39674. - distdir="$$distdir/$$subdir" \
  39675. + top_distdir="$$new_top_distdir" \
  39676. + distdir="$$new_distdir" \
  39677. am__remove_distdir=: \
  39678. am__skip_length_check=: \
  39679. + am__skip_mode_fix=: \
  39680. distdir) \
  39681. || exit 1; \
  39682. fi; \
  39683. @@ -547,6 +602,7 @@
  39684. distclean-generic:
  39685. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  39686. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  39687. maintainer-clean-generic:
  39688. @echo "This command is intended for maintainers to use"
  39689. @@ -565,6 +621,8 @@
  39690. html: html-recursive
  39691. +html-am:
  39692. +
  39693. info: info-recursive
  39694. info-am:
  39695. @@ -573,18 +631,28 @@
  39696. install-dvi: install-dvi-recursive
  39697. +install-dvi-am:
  39698. +
  39699. install-exec-am:
  39700. install-html: install-html-recursive
  39701. +install-html-am:
  39702. +
  39703. install-info: install-info-recursive
  39704. +install-info-am:
  39705. +
  39706. install-man:
  39707. install-pdf: install-pdf-recursive
  39708. +install-pdf-am:
  39709. +
  39710. install-ps: install-ps-recursive
  39711. +install-ps-am:
  39712. +
  39713. installcheck-am:
  39714. maintainer-clean: maintainer-clean-recursive
  39715. @@ -605,8 +673,8 @@
  39716. uninstall-am:
  39717. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  39718. - install-strip
  39719. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  39720. + install-am install-strip tags-recursive
  39721. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  39722. all all-am check check-am clean clean-generic clean-libtool \
  39723. @@ -626,6 +694,7 @@
  39724. clean-generic:
  39725. @RM@ -f *~ .*~
  39726. +
  39727. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  39728. # Otherwise a system limit (for SysV at least) may be exceeded.
  39729. .NOEXPORT:
  39730. diff -Nur owfs-2.7p38.orig/module/owhttpd/src/c/Makefile.in owfs-2.7p38/module/owhttpd/src/c/Makefile.in
  39731. --- owfs-2.7p38.orig/module/owhttpd/src/c/Makefile.in 2010-06-04 03:00:37.000000000 +0200
  39732. +++ owfs-2.7p38/module/owhttpd/src/c/Makefile.in 2010-07-09 16:00:55.122999302 +0200
  39733. @@ -1,8 +1,9 @@
  39734. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  39735. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  39736. # @configure_input@
  39737. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  39738. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  39739. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  39740. +# Inc.
  39741. # This Makefile.in is free software; the Free Software Foundation
  39742. # gives unlimited permission to copy and/or distribute it,
  39743. # with or without modifications, as long as this notice is preserved.
  39744. @@ -18,8 +19,9 @@
  39745. VPATH = @srcdir@
  39746. pkgdatadir = $(datadir)/@PACKAGE@
  39747. -pkglibdir = $(libdir)/@PACKAGE@
  39748. pkgincludedir = $(includedir)/@PACKAGE@
  39749. +pkglibdir = $(libdir)/@PACKAGE@
  39750. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  39751. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  39752. install_sh_DATA = $(install_sh) -c -m 644
  39753. install_sh_PROGRAM = $(install_sh) -c
  39754. @@ -39,8 +41,10 @@
  39755. subdir = module/owhttpd/src/c
  39756. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  39757. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  39758. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  39759. - $(top_srcdir)/acx_pthread.m4 \
  39760. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  39761. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  39762. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  39763. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  39764. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  39765. $(top_srcdir)/module/swig/php/php.m4 \
  39766. $(top_srcdir)/module/swig/python/python.m4 \
  39767. @@ -51,8 +55,8 @@
  39768. $(top_srcdir)/src/scripts/install/mkinstalldirs
  39769. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  39770. CONFIG_CLEAN_FILES =
  39771. +CONFIG_CLEAN_VPATH_FILES =
  39772. am__installdirs = "$(DESTDIR)$(bindir)"
  39773. -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  39774. PROGRAMS = $(bin_PROGRAMS)
  39775. am_owhttpd_OBJECTS = owhttpd.$(OBJEXT) owhttpd_handler.$(OBJEXT) \
  39776. owhttpd_present.$(OBJEXT) owhttpd_write.$(OBJEXT) \
  39777. @@ -64,6 +68,7 @@
  39778. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src/include
  39779. depcomp = $(SHELL) $(top_srcdir)/src/scripts/install/depcomp
  39780. am__depfiles_maybe = depfiles
  39781. +am__mv = mv -f
  39782. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  39783. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  39784. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  39785. @@ -171,6 +176,7 @@
  39786. LT_RELEASE = @LT_RELEASE@
  39787. LT_REVISION = @LT_REVISION@
  39788. MAKEINFO = @MAKEINFO@
  39789. +MANIFEST_TOOL = @MANIFEST_TOOL@
  39790. MKDIR_P = @MKDIR_P@
  39791. NM = @NM@
  39792. NMEDIT = @NMEDIT@
  39793. @@ -202,6 +208,7 @@
  39794. PACKAGE_NAME = @PACKAGE_NAME@
  39795. PACKAGE_STRING = @PACKAGE_STRING@
  39796. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  39797. +PACKAGE_URL = @PACKAGE_URL@
  39798. PACKAGE_VERSION = @PACKAGE_VERSION@
  39799. PATH_SEPARATOR = @PATH_SEPARATOR@
  39800. PERL = @PERL@
  39801. @@ -307,7 +314,6 @@
  39802. libexecdir = @libexecdir@
  39803. localedir = @localedir@
  39804. localstatedir = @localstatedir@
  39805. -lt_ECHO = @lt_ECHO@
  39806. mandir = @mandir@
  39807. mkdir_p = @mkdir_p@
  39808. oldincludedir = @oldincludedir@
  39809. @@ -368,9 +374,9 @@
  39810. exit 1;; \
  39811. esac; \
  39812. done; \
  39813. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owhttpd/src/c/Makefile'; \
  39814. - cd $(top_srcdir) && \
  39815. - $(AUTOMAKE) --gnu module/owhttpd/src/c/Makefile
  39816. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owhttpd/src/c/Makefile'; \
  39817. + $(am__cd) $(top_srcdir) && \
  39818. + $(AUTOMAKE) --gnu module/owhttpd/src/c/Makefile
  39819. .PRECIOUS: Makefile
  39820. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  39821. @case '$?' in \
  39822. @@ -388,34 +394,50 @@
  39823. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  39824. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  39825. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  39826. +$(am__aclocal_m4_deps):
  39827. install-binPROGRAMS: $(bin_PROGRAMS)
  39828. @$(NORMAL_INSTALL)
  39829. test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  39830. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  39831. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  39832. - if test -f $$p \
  39833. - || test -f $$p1 \
  39834. - ; then \
  39835. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  39836. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  39837. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  39838. - else :; fi; \
  39839. - done
  39840. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  39841. + for p in $$list; do echo "$$p $$p"; done | \
  39842. + sed 's/$(EXEEXT)$$//' | \
  39843. + while read p p1; do if test -f $$p || test -f $$p1; \
  39844. + then echo "$$p"; echo "$$p"; else :; fi; \
  39845. + done | \
  39846. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  39847. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  39848. + sed 'N;N;N;s,\n, ,g' | \
  39849. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  39850. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  39851. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  39852. + else { print "f", $$3 "/" $$4, $$1; } } \
  39853. + END { for (d in files) print "f", d, files[d] }' | \
  39854. + while read type dir files; do \
  39855. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  39856. + test -z "$$files" || { \
  39857. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  39858. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  39859. + } \
  39860. + ; done
  39861. uninstall-binPROGRAMS:
  39862. @$(NORMAL_UNINSTALL)
  39863. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  39864. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  39865. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  39866. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  39867. - done
  39868. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  39869. + files=`for p in $$list; do echo "$$p"; done | \
  39870. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  39871. + -e 's/$$/$(EXEEXT)/' `; \
  39872. + test -n "$$list" || exit 0; \
  39873. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  39874. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  39875. clean-binPROGRAMS:
  39876. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  39877. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  39878. - echo " rm -f $$p $$f"; \
  39879. - rm -f $$p $$f ; \
  39880. - done
  39881. + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
  39882. + echo " rm -f" $$list; \
  39883. + rm -f $$list || exit $$?; \
  39884. + test -n "$(EXEEXT)" || exit 0; \
  39885. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  39886. + echo " rm -f" $$list; \
  39887. + rm -f $$list
  39888. owhttpd$(EXEEXT): $(owhttpd_OBJECTS) $(owhttpd_DEPENDENCIES)
  39889. @rm -f owhttpd$(EXEEXT)
  39890. $(LINK) $(owhttpd_OBJECTS) $(owhttpd_LDADD) $(LIBS)
  39891. @@ -437,21 +459,21 @@
  39892. .c.o:
  39893. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  39894. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  39895. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  39896. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  39897. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  39898. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  39899. .c.obj:
  39900. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  39901. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  39902. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  39903. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  39904. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  39905. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  39906. .c.lo:
  39907. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  39908. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  39909. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  39910. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  39911. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  39912. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  39913. @@ -474,7 +496,7 @@
  39914. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  39915. $(TAGS_FILES) $(LISP)
  39916. - tags=; \
  39917. + set x; \
  39918. here=`pwd`; \
  39919. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  39920. unique=`for i in $$list; do \
  39921. @@ -482,29 +504,34 @@
  39922. done | \
  39923. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  39924. END { if (nonempty) { for (i in files) print i; }; }'`; \
  39925. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  39926. + shift; \
  39927. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  39928. test -n "$$unique" || unique=$$empty_fix; \
  39929. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  39930. - $$tags $$unique; \
  39931. + if test $$# -gt 0; then \
  39932. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  39933. + "$$@" $$unique; \
  39934. + else \
  39935. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  39936. + $$unique; \
  39937. + fi; \
  39938. fi
  39939. ctags: CTAGS
  39940. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  39941. $(TAGS_FILES) $(LISP)
  39942. - tags=; \
  39943. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  39944. unique=`for i in $$list; do \
  39945. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  39946. done | \
  39947. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  39948. END { if (nonempty) { for (i in files) print i; }; }'`; \
  39949. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  39950. + test -z "$(CTAGS_ARGS)$$unique" \
  39951. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  39952. - $$tags $$unique
  39953. + $$unique
  39954. GTAGS:
  39955. here=`$(am__cd) $(top_builddir) && pwd` \
  39956. - && cd $(top_srcdir) \
  39957. - && gtags -i $(GTAGS_ARGS) $$here
  39958. + && $(am__cd) $(top_srcdir) \
  39959. + && gtags -i $(GTAGS_ARGS) "$$here"
  39960. distclean-tags:
  39961. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  39962. @@ -525,13 +552,17 @@
  39963. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  39964. if test -d $$d/$$file; then \
  39965. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  39966. + if test -d "$(distdir)/$$file"; then \
  39967. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  39968. + fi; \
  39969. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  39970. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  39971. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  39972. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  39973. fi; \
  39974. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  39975. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  39976. else \
  39977. - test -f $(distdir)/$$file \
  39978. - || cp -p $$d/$$file $(distdir)/$$file \
  39979. + test -f "$(distdir)/$$file" \
  39980. + || cp -p $$d/$$file "$(distdir)/$$file" \
  39981. || exit 1; \
  39982. fi; \
  39983. done
  39984. @@ -560,6 +591,7 @@
  39985. distclean-generic:
  39986. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  39987. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  39988. maintainer-clean-generic:
  39989. @echo "This command is intended for maintainers to use"
  39990. @@ -580,6 +612,8 @@
  39991. html: html-am
  39992. +html-am:
  39993. +
  39994. info: info-am
  39995. info-am:
  39996. @@ -588,18 +622,28 @@
  39997. install-dvi: install-dvi-am
  39998. +install-dvi-am:
  39999. +
  40000. install-exec-am: install-binPROGRAMS
  40001. install-html: install-html-am
  40002. +install-html-am:
  40003. +
  40004. install-info: install-info-am
  40005. +install-info-am:
  40006. +
  40007. install-man:
  40008. install-pdf: install-pdf-am
  40009. +install-pdf-am:
  40010. +
  40011. install-ps: install-ps-am
  40012. +install-ps-am:
  40013. +
  40014. installcheck-am:
  40015. maintainer-clean: maintainer-clean-am
  40016. @@ -642,6 +686,7 @@
  40017. clean-generic:
  40018. @RM@ -f *~ .*~
  40019. +
  40020. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  40021. # Otherwise a system limit (for SysV at least) may be exceeded.
  40022. .NOEXPORT:
  40023. diff -Nur owfs-2.7p38.orig/module/owhttpd/src/include/Makefile.in owfs-2.7p38/module/owhttpd/src/include/Makefile.in
  40024. --- owfs-2.7p38.orig/module/owhttpd/src/include/Makefile.in 2010-06-04 03:00:37.000000000 +0200
  40025. +++ owfs-2.7p38/module/owhttpd/src/include/Makefile.in 2010-07-09 16:00:55.339001410 +0200
  40026. @@ -1,8 +1,9 @@
  40027. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  40028. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  40029. # @configure_input@
  40030. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40031. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  40032. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  40033. +# Inc.
  40034. # This Makefile.in is free software; the Free Software Foundation
  40035. # gives unlimited permission to copy and/or distribute it,
  40036. # with or without modifications, as long as this notice is preserved.
  40037. @@ -16,8 +17,9 @@
  40038. VPATH = @srcdir@
  40039. pkgdatadir = $(datadir)/@PACKAGE@
  40040. -pkglibdir = $(libdir)/@PACKAGE@
  40041. pkgincludedir = $(includedir)/@PACKAGE@
  40042. +pkglibdir = $(libdir)/@PACKAGE@
  40043. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  40044. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  40045. install_sh_DATA = $(install_sh) -c -m 644
  40046. install_sh_PROGRAM = $(install_sh) -c
  40047. @@ -37,8 +39,10 @@
  40048. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  40049. $(srcdir)/Makefile.in
  40050. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  40051. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  40052. - $(top_srcdir)/acx_pthread.m4 \
  40053. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  40054. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  40055. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  40056. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  40057. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  40058. $(top_srcdir)/module/swig/php/php.m4 \
  40059. $(top_srcdir)/module/swig/python/python.m4 \
  40060. @@ -49,6 +53,7 @@
  40061. $(top_srcdir)/src/scripts/install/mkinstalldirs
  40062. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  40063. CONFIG_CLEAN_FILES =
  40064. +CONFIG_CLEAN_VPATH_FILES =
  40065. SOURCES =
  40066. DIST_SOURCES =
  40067. HEADERS = $(noinst_HEADERS)
  40068. @@ -148,6 +153,7 @@
  40069. LT_RELEASE = @LT_RELEASE@
  40070. LT_REVISION = @LT_REVISION@
  40071. MAKEINFO = @MAKEINFO@
  40072. +MANIFEST_TOOL = @MANIFEST_TOOL@
  40073. MKDIR_P = @MKDIR_P@
  40074. NM = @NM@
  40075. NMEDIT = @NMEDIT@
  40076. @@ -179,6 +185,7 @@
  40077. PACKAGE_NAME = @PACKAGE_NAME@
  40078. PACKAGE_STRING = @PACKAGE_STRING@
  40079. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  40080. +PACKAGE_URL = @PACKAGE_URL@
  40081. PACKAGE_VERSION = @PACKAGE_VERSION@
  40082. PATH_SEPARATOR = @PATH_SEPARATOR@
  40083. PERL = @PERL@
  40084. @@ -284,7 +291,6 @@
  40085. libexecdir = @libexecdir@
  40086. localedir = @localedir@
  40087. localstatedir = @localstatedir@
  40088. -lt_ECHO = @lt_ECHO@
  40089. mandir = @mandir@
  40090. mkdir_p = @mkdir_p@
  40091. oldincludedir = @oldincludedir@
  40092. @@ -317,9 +323,9 @@
  40093. exit 1;; \
  40094. esac; \
  40095. done; \
  40096. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owhttpd/src/include/Makefile'; \
  40097. - cd $(top_srcdir) && \
  40098. - $(AUTOMAKE) --gnu module/owhttpd/src/include/Makefile
  40099. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owhttpd/src/include/Makefile'; \
  40100. + $(am__cd) $(top_srcdir) && \
  40101. + $(AUTOMAKE) --gnu module/owhttpd/src/include/Makefile
  40102. .PRECIOUS: Makefile
  40103. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  40104. @case '$?' in \
  40105. @@ -337,6 +343,7 @@
  40106. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  40107. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  40108. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  40109. +$(am__aclocal_m4_deps):
  40110. mostlyclean-libtool:
  40111. -rm -f *.lo
  40112. @@ -356,7 +363,7 @@
  40113. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  40114. $(TAGS_FILES) $(LISP)
  40115. - tags=; \
  40116. + set x; \
  40117. here=`pwd`; \
  40118. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  40119. unique=`for i in $$list; do \
  40120. @@ -364,29 +371,34 @@
  40121. done | \
  40122. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  40123. END { if (nonempty) { for (i in files) print i; }; }'`; \
  40124. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  40125. + shift; \
  40126. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  40127. test -n "$$unique" || unique=$$empty_fix; \
  40128. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  40129. - $$tags $$unique; \
  40130. + if test $$# -gt 0; then \
  40131. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  40132. + "$$@" $$unique; \
  40133. + else \
  40134. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  40135. + $$unique; \
  40136. + fi; \
  40137. fi
  40138. ctags: CTAGS
  40139. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  40140. $(TAGS_FILES) $(LISP)
  40141. - tags=; \
  40142. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  40143. unique=`for i in $$list; do \
  40144. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  40145. done | \
  40146. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  40147. END { if (nonempty) { for (i in files) print i; }; }'`; \
  40148. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  40149. + test -z "$(CTAGS_ARGS)$$unique" \
  40150. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  40151. - $$tags $$unique
  40152. + $$unique
  40153. GTAGS:
  40154. here=`$(am__cd) $(top_builddir) && pwd` \
  40155. - && cd $(top_srcdir) \
  40156. - && gtags -i $(GTAGS_ARGS) $$here
  40157. + && $(am__cd) $(top_srcdir) \
  40158. + && gtags -i $(GTAGS_ARGS) "$$here"
  40159. distclean-tags:
  40160. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  40161. @@ -407,13 +419,17 @@
  40162. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  40163. if test -d $$d/$$file; then \
  40164. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  40165. + if test -d "$(distdir)/$$file"; then \
  40166. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  40167. + fi; \
  40168. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  40169. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  40170. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  40171. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  40172. fi; \
  40173. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  40174. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  40175. else \
  40176. - test -f $(distdir)/$$file \
  40177. - || cp -p $$d/$$file $(distdir)/$$file \
  40178. + test -f "$(distdir)/$$file" \
  40179. + || cp -p $$d/$$file "$(distdir)/$$file" \
  40180. || exit 1; \
  40181. fi; \
  40182. done
  40183. @@ -439,6 +455,7 @@
  40184. distclean-generic:
  40185. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  40186. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  40187. maintainer-clean-generic:
  40188. @echo "This command is intended for maintainers to use"
  40189. @@ -457,6 +474,8 @@
  40190. html: html-am
  40191. +html-am:
  40192. +
  40193. info: info-am
  40194. info-am:
  40195. @@ -465,18 +484,28 @@
  40196. install-dvi: install-dvi-am
  40197. +install-dvi-am:
  40198. +
  40199. install-exec-am:
  40200. install-html: install-html-am
  40201. +install-html-am:
  40202. +
  40203. install-info: install-info-am
  40204. +install-info-am:
  40205. +
  40206. install-man:
  40207. install-pdf: install-pdf-am
  40208. +install-pdf-am:
  40209. +
  40210. install-ps: install-ps-am
  40211. +install-ps-am:
  40212. +
  40213. installcheck-am:
  40214. maintainer-clean: maintainer-clean-am
  40215. @@ -516,6 +545,7 @@
  40216. clean-generic:
  40217. @RM@ -f *~ .*~
  40218. +
  40219. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  40220. # Otherwise a system limit (for SysV at least) may be exceeded.
  40221. .NOEXPORT:
  40222. diff -Nur owfs-2.7p38.orig/module/owhttpd/src/Makefile.in owfs-2.7p38/module/owhttpd/src/Makefile.in
  40223. --- owfs-2.7p38.orig/module/owhttpd/src/Makefile.in 2010-06-04 03:00:37.000000000 +0200
  40224. +++ owfs-2.7p38/module/owhttpd/src/Makefile.in 2010-07-09 16:00:54.943000410 +0200
  40225. @@ -1,8 +1,9 @@
  40226. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  40227. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  40228. # @configure_input@
  40229. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40230. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  40231. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  40232. +# Inc.
  40233. # This Makefile.in is free software; the Free Software Foundation
  40234. # gives unlimited permission to copy and/or distribute it,
  40235. # with or without modifications, as long as this notice is preserved.
  40236. @@ -15,8 +16,9 @@
  40237. @SET_MAKE@
  40238. VPATH = @srcdir@
  40239. pkgdatadir = $(datadir)/@PACKAGE@
  40240. -pkglibdir = $(libdir)/@PACKAGE@
  40241. pkgincludedir = $(includedir)/@PACKAGE@
  40242. +pkglibdir = $(libdir)/@PACKAGE@
  40243. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  40244. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  40245. install_sh_DATA = $(install_sh) -c -m 644
  40246. install_sh_PROGRAM = $(install_sh) -c
  40247. @@ -35,8 +37,10 @@
  40248. subdir = module/owhttpd/src
  40249. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  40250. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  40251. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  40252. - $(top_srcdir)/acx_pthread.m4 \
  40253. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  40254. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  40255. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  40256. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  40257. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  40258. $(top_srcdir)/module/swig/php/php.m4 \
  40259. $(top_srcdir)/module/swig/python/python.m4 \
  40260. @@ -47,6 +51,7 @@
  40261. $(top_srcdir)/src/scripts/install/mkinstalldirs
  40262. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  40263. CONFIG_CLEAN_FILES =
  40264. +CONFIG_CLEAN_VPATH_FILES =
  40265. SOURCES =
  40266. DIST_SOURCES =
  40267. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  40268. @@ -58,10 +63,38 @@
  40269. ps-recursive uninstall-recursive
  40270. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  40271. distclean-recursive maintainer-clean-recursive
  40272. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  40273. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  40274. + distdir
  40275. ETAGS = etags
  40276. CTAGS = ctags
  40277. DIST_SUBDIRS = $(SUBDIRS)
  40278. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  40279. +am__relativize = \
  40280. + dir0=`pwd`; \
  40281. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  40282. + sed_rest='s,^[^/]*/*,,'; \
  40283. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  40284. + sed_butlast='s,/*[^/]*$$,,'; \
  40285. + while test -n "$$dir1"; do \
  40286. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  40287. + if test "$$first" != "."; then \
  40288. + if test "$$first" = ".."; then \
  40289. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  40290. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  40291. + else \
  40292. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  40293. + if test "$$first2" = "$$first"; then \
  40294. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  40295. + else \
  40296. + dir2="../$$dir2"; \
  40297. + fi; \
  40298. + dir0="$$dir0"/"$$first"; \
  40299. + fi; \
  40300. + fi; \
  40301. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  40302. + done; \
  40303. + reldir="$$dir2"
  40304. ACLOCAL = @ACLOCAL@
  40305. AMTAR = @AMTAR@
  40306. AR = @AR@
  40307. @@ -155,6 +188,7 @@
  40308. LT_RELEASE = @LT_RELEASE@
  40309. LT_REVISION = @LT_REVISION@
  40310. MAKEINFO = @MAKEINFO@
  40311. +MANIFEST_TOOL = @MANIFEST_TOOL@
  40312. MKDIR_P = @MKDIR_P@
  40313. NM = @NM@
  40314. NMEDIT = @NMEDIT@
  40315. @@ -186,6 +220,7 @@
  40316. PACKAGE_NAME = @PACKAGE_NAME@
  40317. PACKAGE_STRING = @PACKAGE_STRING@
  40318. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  40319. +PACKAGE_URL = @PACKAGE_URL@
  40320. PACKAGE_VERSION = @PACKAGE_VERSION@
  40321. PATH_SEPARATOR = @PATH_SEPARATOR@
  40322. PERL = @PERL@
  40323. @@ -291,7 +326,6 @@
  40324. libexecdir = @libexecdir@
  40325. localedir = @localedir@
  40326. localstatedir = @localstatedir@
  40327. -lt_ECHO = @lt_ECHO@
  40328. mandir = @mandir@
  40329. mkdir_p = @mkdir_p@
  40330. oldincludedir = @oldincludedir@
  40331. @@ -324,9 +358,9 @@
  40332. exit 1;; \
  40333. esac; \
  40334. done; \
  40335. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owhttpd/src/Makefile'; \
  40336. - cd $(top_srcdir) && \
  40337. - $(AUTOMAKE) --gnu module/owhttpd/src/Makefile
  40338. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owhttpd/src/Makefile'; \
  40339. + $(am__cd) $(top_srcdir) && \
  40340. + $(AUTOMAKE) --gnu module/owhttpd/src/Makefile
  40341. .PRECIOUS: Makefile
  40342. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  40343. @case '$?' in \
  40344. @@ -344,6 +378,7 @@
  40345. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  40346. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  40347. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  40348. +$(am__aclocal_m4_deps):
  40349. mostlyclean-libtool:
  40350. -rm -f *.lo
  40351. @@ -358,7 +393,7 @@
  40352. # (which will cause the Makefiles to be regenerated when you run `make');
  40353. # (2) otherwise, pass the desired values on the `make' command line.
  40354. $(RECURSIVE_TARGETS):
  40355. - @failcom='exit 1'; \
  40356. + @fail= failcom='exit 1'; \
  40357. for f in x $$MAKEFLAGS; do \
  40358. case $$f in \
  40359. *=* | --[!k]*);; \
  40360. @@ -375,7 +410,7 @@
  40361. else \
  40362. local_target="$$target"; \
  40363. fi; \
  40364. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  40365. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  40366. || eval $$failcom; \
  40367. done; \
  40368. if test "$$dot_seen" = "no"; then \
  40369. @@ -383,7 +418,7 @@
  40370. fi; test -z "$$fail"
  40371. $(RECURSIVE_CLEAN_TARGETS):
  40372. - @failcom='exit 1'; \
  40373. + @fail= failcom='exit 1'; \
  40374. for f in x $$MAKEFLAGS; do \
  40375. case $$f in \
  40376. *=* | --[!k]*);; \
  40377. @@ -409,16 +444,16 @@
  40378. else \
  40379. local_target="$$target"; \
  40380. fi; \
  40381. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  40382. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  40383. || eval $$failcom; \
  40384. done && test -z "$$fail"
  40385. tags-recursive:
  40386. list='$(SUBDIRS)'; for subdir in $$list; do \
  40387. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  40388. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  40389. done
  40390. ctags-recursive:
  40391. list='$(SUBDIRS)'; for subdir in $$list; do \
  40392. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  40393. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  40394. done
  40395. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  40396. @@ -433,7 +468,7 @@
  40397. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  40398. $(TAGS_FILES) $(LISP)
  40399. - tags=; \
  40400. + set x; \
  40401. here=`pwd`; \
  40402. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  40403. include_option=--etags-include; \
  40404. @@ -445,7 +480,7 @@
  40405. list='$(SUBDIRS)'; for subdir in $$list; do \
  40406. if test "$$subdir" = .; then :; else \
  40407. test ! -f $$subdir/TAGS || \
  40408. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  40409. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  40410. fi; \
  40411. done; \
  40412. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  40413. @@ -454,29 +489,34 @@
  40414. done | \
  40415. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  40416. END { if (nonempty) { for (i in files) print i; }; }'`; \
  40417. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  40418. + shift; \
  40419. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  40420. test -n "$$unique" || unique=$$empty_fix; \
  40421. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  40422. - $$tags $$unique; \
  40423. + if test $$# -gt 0; then \
  40424. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  40425. + "$$@" $$unique; \
  40426. + else \
  40427. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  40428. + $$unique; \
  40429. + fi; \
  40430. fi
  40431. ctags: CTAGS
  40432. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  40433. $(TAGS_FILES) $(LISP)
  40434. - tags=; \
  40435. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  40436. unique=`for i in $$list; do \
  40437. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  40438. done | \
  40439. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  40440. END { if (nonempty) { for (i in files) print i; }; }'`; \
  40441. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  40442. + test -z "$(CTAGS_ARGS)$$unique" \
  40443. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  40444. - $$tags $$unique
  40445. + $$unique
  40446. GTAGS:
  40447. here=`$(am__cd) $(top_builddir) && pwd` \
  40448. - && cd $(top_srcdir) \
  40449. - && gtags -i $(GTAGS_ARGS) $$here
  40450. + && $(am__cd) $(top_srcdir) \
  40451. + && gtags -i $(GTAGS_ARGS) "$$here"
  40452. distclean-tags:
  40453. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  40454. @@ -497,29 +537,44 @@
  40455. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  40456. if test -d $$d/$$file; then \
  40457. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  40458. + if test -d "$(distdir)/$$file"; then \
  40459. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  40460. + fi; \
  40461. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  40462. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  40463. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  40464. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  40465. fi; \
  40466. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  40467. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  40468. else \
  40469. - test -f $(distdir)/$$file \
  40470. - || cp -p $$d/$$file $(distdir)/$$file \
  40471. + test -f "$(distdir)/$$file" \
  40472. + || cp -p $$d/$$file "$(distdir)/$$file" \
  40473. || exit 1; \
  40474. fi; \
  40475. done
  40476. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40477. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40478. if test "$$subdir" = .; then :; else \
  40479. test -d "$(distdir)/$$subdir" \
  40480. || $(MKDIR_P) "$(distdir)/$$subdir" \
  40481. || exit 1; \
  40482. - distdir=`$(am__cd) $(distdir) && pwd`; \
  40483. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  40484. - (cd $$subdir && \
  40485. + fi; \
  40486. + done
  40487. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40488. + if test "$$subdir" = .; then :; else \
  40489. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  40490. + $(am__relativize); \
  40491. + new_distdir=$$reldir; \
  40492. + dir1=$$subdir; dir2="$(top_distdir)"; \
  40493. + $(am__relativize); \
  40494. + new_top_distdir=$$reldir; \
  40495. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  40496. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  40497. + ($(am__cd) $$subdir && \
  40498. $(MAKE) $(AM_MAKEFLAGS) \
  40499. - top_distdir="$$top_distdir" \
  40500. - distdir="$$distdir/$$subdir" \
  40501. + top_distdir="$$new_top_distdir" \
  40502. + distdir="$$new_distdir" \
  40503. am__remove_distdir=: \
  40504. am__skip_length_check=: \
  40505. + am__skip_mode_fix=: \
  40506. distdir) \
  40507. || exit 1; \
  40508. fi; \
  40509. @@ -547,6 +602,7 @@
  40510. distclean-generic:
  40511. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  40512. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  40513. maintainer-clean-generic:
  40514. @echo "This command is intended for maintainers to use"
  40515. @@ -565,6 +621,8 @@
  40516. html: html-recursive
  40517. +html-am:
  40518. +
  40519. info: info-recursive
  40520. info-am:
  40521. @@ -573,18 +631,28 @@
  40522. install-dvi: install-dvi-recursive
  40523. +install-dvi-am:
  40524. +
  40525. install-exec-am:
  40526. install-html: install-html-recursive
  40527. +install-html-am:
  40528. +
  40529. install-info: install-info-recursive
  40530. +install-info-am:
  40531. +
  40532. install-man:
  40533. install-pdf: install-pdf-recursive
  40534. +install-pdf-am:
  40535. +
  40536. install-ps: install-ps-recursive
  40537. +install-ps-am:
  40538. +
  40539. installcheck-am:
  40540. maintainer-clean: maintainer-clean-recursive
  40541. @@ -605,8 +673,8 @@
  40542. uninstall-am:
  40543. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  40544. - install-strip
  40545. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  40546. + install-am install-strip tags-recursive
  40547. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  40548. all all-am check check-am clean clean-generic clean-libtool \
  40549. @@ -626,6 +694,7 @@
  40550. clean-generic:
  40551. @RM@ -f *~ .*~
  40552. +
  40553. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  40554. # Otherwise a system limit (for SysV at least) may be exceeded.
  40555. .NOEXPORT:
  40556. diff -Nur owfs-2.7p38.orig/module/owlib/Makefile.in owfs-2.7p38/module/owlib/Makefile.in
  40557. --- owfs-2.7p38.orig/module/owlib/Makefile.in 2010-06-04 03:00:37.000000000 +0200
  40558. +++ owfs-2.7p38/module/owlib/Makefile.in 2010-07-09 16:00:55.482998520 +0200
  40559. @@ -1,8 +1,9 @@
  40560. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  40561. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  40562. # @configure_input@
  40563. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40564. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  40565. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  40566. +# Inc.
  40567. # This Makefile.in is free software; the Free Software Foundation
  40568. # gives unlimited permission to copy and/or distribute it,
  40569. # with or without modifications, as long as this notice is preserved.
  40570. @@ -15,8 +16,9 @@
  40571. @SET_MAKE@
  40572. VPATH = @srcdir@
  40573. pkgdatadir = $(datadir)/@PACKAGE@
  40574. -pkglibdir = $(libdir)/@PACKAGE@
  40575. pkgincludedir = $(includedir)/@PACKAGE@
  40576. +pkglibdir = $(libdir)/@PACKAGE@
  40577. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  40578. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  40579. install_sh_DATA = $(install_sh) -c -m 644
  40580. install_sh_PROGRAM = $(install_sh) -c
  40581. @@ -35,8 +37,10 @@
  40582. subdir = module/owlib
  40583. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  40584. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  40585. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  40586. - $(top_srcdir)/acx_pthread.m4 \
  40587. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  40588. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  40589. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  40590. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  40591. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  40592. $(top_srcdir)/module/swig/php/php.m4 \
  40593. $(top_srcdir)/module/swig/python/python.m4 \
  40594. @@ -47,6 +51,7 @@
  40595. $(top_srcdir)/src/scripts/install/mkinstalldirs
  40596. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  40597. CONFIG_CLEAN_FILES =
  40598. +CONFIG_CLEAN_VPATH_FILES =
  40599. SOURCES =
  40600. DIST_SOURCES =
  40601. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  40602. @@ -58,10 +63,38 @@
  40603. ps-recursive uninstall-recursive
  40604. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  40605. distclean-recursive maintainer-clean-recursive
  40606. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  40607. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  40608. + distdir
  40609. ETAGS = etags
  40610. CTAGS = ctags
  40611. DIST_SUBDIRS = $(SUBDIRS)
  40612. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  40613. +am__relativize = \
  40614. + dir0=`pwd`; \
  40615. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  40616. + sed_rest='s,^[^/]*/*,,'; \
  40617. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  40618. + sed_butlast='s,/*[^/]*$$,,'; \
  40619. + while test -n "$$dir1"; do \
  40620. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  40621. + if test "$$first" != "."; then \
  40622. + if test "$$first" = ".."; then \
  40623. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  40624. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  40625. + else \
  40626. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  40627. + if test "$$first2" = "$$first"; then \
  40628. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  40629. + else \
  40630. + dir2="../$$dir2"; \
  40631. + fi; \
  40632. + dir0="$$dir0"/"$$first"; \
  40633. + fi; \
  40634. + fi; \
  40635. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  40636. + done; \
  40637. + reldir="$$dir2"
  40638. ACLOCAL = @ACLOCAL@
  40639. AMTAR = @AMTAR@
  40640. AR = @AR@
  40641. @@ -155,6 +188,7 @@
  40642. LT_RELEASE = @LT_RELEASE@
  40643. LT_REVISION = @LT_REVISION@
  40644. MAKEINFO = @MAKEINFO@
  40645. +MANIFEST_TOOL = @MANIFEST_TOOL@
  40646. MKDIR_P = @MKDIR_P@
  40647. NM = @NM@
  40648. NMEDIT = @NMEDIT@
  40649. @@ -186,6 +220,7 @@
  40650. PACKAGE_NAME = @PACKAGE_NAME@
  40651. PACKAGE_STRING = @PACKAGE_STRING@
  40652. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  40653. +PACKAGE_URL = @PACKAGE_URL@
  40654. PACKAGE_VERSION = @PACKAGE_VERSION@
  40655. PATH_SEPARATOR = @PATH_SEPARATOR@
  40656. PERL = @PERL@
  40657. @@ -291,7 +326,6 @@
  40658. libexecdir = @libexecdir@
  40659. localedir = @localedir@
  40660. localstatedir = @localstatedir@
  40661. -lt_ECHO = @lt_ECHO@
  40662. mandir = @mandir@
  40663. mkdir_p = @mkdir_p@
  40664. oldincludedir = @oldincludedir@
  40665. @@ -324,9 +358,9 @@
  40666. exit 1;; \
  40667. esac; \
  40668. done; \
  40669. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owlib/Makefile'; \
  40670. - cd $(top_srcdir) && \
  40671. - $(AUTOMAKE) --gnu module/owlib/Makefile
  40672. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owlib/Makefile'; \
  40673. + $(am__cd) $(top_srcdir) && \
  40674. + $(AUTOMAKE) --gnu module/owlib/Makefile
  40675. .PRECIOUS: Makefile
  40676. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  40677. @case '$?' in \
  40678. @@ -344,6 +378,7 @@
  40679. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  40680. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  40681. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  40682. +$(am__aclocal_m4_deps):
  40683. mostlyclean-libtool:
  40684. -rm -f *.lo
  40685. @@ -358,7 +393,7 @@
  40686. # (which will cause the Makefiles to be regenerated when you run `make');
  40687. # (2) otherwise, pass the desired values on the `make' command line.
  40688. $(RECURSIVE_TARGETS):
  40689. - @failcom='exit 1'; \
  40690. + @fail= failcom='exit 1'; \
  40691. for f in x $$MAKEFLAGS; do \
  40692. case $$f in \
  40693. *=* | --[!k]*);; \
  40694. @@ -375,7 +410,7 @@
  40695. else \
  40696. local_target="$$target"; \
  40697. fi; \
  40698. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  40699. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  40700. || eval $$failcom; \
  40701. done; \
  40702. if test "$$dot_seen" = "no"; then \
  40703. @@ -383,7 +418,7 @@
  40704. fi; test -z "$$fail"
  40705. $(RECURSIVE_CLEAN_TARGETS):
  40706. - @failcom='exit 1'; \
  40707. + @fail= failcom='exit 1'; \
  40708. for f in x $$MAKEFLAGS; do \
  40709. case $$f in \
  40710. *=* | --[!k]*);; \
  40711. @@ -409,16 +444,16 @@
  40712. else \
  40713. local_target="$$target"; \
  40714. fi; \
  40715. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  40716. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  40717. || eval $$failcom; \
  40718. done && test -z "$$fail"
  40719. tags-recursive:
  40720. list='$(SUBDIRS)'; for subdir in $$list; do \
  40721. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  40722. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  40723. done
  40724. ctags-recursive:
  40725. list='$(SUBDIRS)'; for subdir in $$list; do \
  40726. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  40727. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  40728. done
  40729. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  40730. @@ -433,7 +468,7 @@
  40731. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  40732. $(TAGS_FILES) $(LISP)
  40733. - tags=; \
  40734. + set x; \
  40735. here=`pwd`; \
  40736. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  40737. include_option=--etags-include; \
  40738. @@ -445,7 +480,7 @@
  40739. list='$(SUBDIRS)'; for subdir in $$list; do \
  40740. if test "$$subdir" = .; then :; else \
  40741. test ! -f $$subdir/TAGS || \
  40742. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  40743. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  40744. fi; \
  40745. done; \
  40746. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  40747. @@ -454,29 +489,34 @@
  40748. done | \
  40749. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  40750. END { if (nonempty) { for (i in files) print i; }; }'`; \
  40751. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  40752. + shift; \
  40753. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  40754. test -n "$$unique" || unique=$$empty_fix; \
  40755. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  40756. - $$tags $$unique; \
  40757. + if test $$# -gt 0; then \
  40758. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  40759. + "$$@" $$unique; \
  40760. + else \
  40761. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  40762. + $$unique; \
  40763. + fi; \
  40764. fi
  40765. ctags: CTAGS
  40766. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  40767. $(TAGS_FILES) $(LISP)
  40768. - tags=; \
  40769. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  40770. unique=`for i in $$list; do \
  40771. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  40772. done | \
  40773. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  40774. END { if (nonempty) { for (i in files) print i; }; }'`; \
  40775. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  40776. + test -z "$(CTAGS_ARGS)$$unique" \
  40777. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  40778. - $$tags $$unique
  40779. + $$unique
  40780. GTAGS:
  40781. here=`$(am__cd) $(top_builddir) && pwd` \
  40782. - && cd $(top_srcdir) \
  40783. - && gtags -i $(GTAGS_ARGS) $$here
  40784. + && $(am__cd) $(top_srcdir) \
  40785. + && gtags -i $(GTAGS_ARGS) "$$here"
  40786. distclean-tags:
  40787. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  40788. @@ -497,29 +537,44 @@
  40789. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  40790. if test -d $$d/$$file; then \
  40791. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  40792. + if test -d "$(distdir)/$$file"; then \
  40793. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  40794. + fi; \
  40795. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  40796. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  40797. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  40798. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  40799. fi; \
  40800. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  40801. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  40802. else \
  40803. - test -f $(distdir)/$$file \
  40804. - || cp -p $$d/$$file $(distdir)/$$file \
  40805. + test -f "$(distdir)/$$file" \
  40806. + || cp -p $$d/$$file "$(distdir)/$$file" \
  40807. || exit 1; \
  40808. fi; \
  40809. done
  40810. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40811. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40812. if test "$$subdir" = .; then :; else \
  40813. test -d "$(distdir)/$$subdir" \
  40814. || $(MKDIR_P) "$(distdir)/$$subdir" \
  40815. || exit 1; \
  40816. - distdir=`$(am__cd) $(distdir) && pwd`; \
  40817. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  40818. - (cd $$subdir && \
  40819. + fi; \
  40820. + done
  40821. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  40822. + if test "$$subdir" = .; then :; else \
  40823. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  40824. + $(am__relativize); \
  40825. + new_distdir=$$reldir; \
  40826. + dir1=$$subdir; dir2="$(top_distdir)"; \
  40827. + $(am__relativize); \
  40828. + new_top_distdir=$$reldir; \
  40829. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  40830. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  40831. + ($(am__cd) $$subdir && \
  40832. $(MAKE) $(AM_MAKEFLAGS) \
  40833. - top_distdir="$$top_distdir" \
  40834. - distdir="$$distdir/$$subdir" \
  40835. + top_distdir="$$new_top_distdir" \
  40836. + distdir="$$new_distdir" \
  40837. am__remove_distdir=: \
  40838. am__skip_length_check=: \
  40839. + am__skip_mode_fix=: \
  40840. distdir) \
  40841. || exit 1; \
  40842. fi; \
  40843. @@ -547,6 +602,7 @@
  40844. distclean-generic:
  40845. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  40846. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  40847. maintainer-clean-generic:
  40848. @echo "This command is intended for maintainers to use"
  40849. @@ -565,6 +621,8 @@
  40850. html: html-recursive
  40851. +html-am:
  40852. +
  40853. info: info-recursive
  40854. info-am:
  40855. @@ -573,18 +631,28 @@
  40856. install-dvi: install-dvi-recursive
  40857. +install-dvi-am:
  40858. +
  40859. install-exec-am:
  40860. install-html: install-html-recursive
  40861. +install-html-am:
  40862. +
  40863. install-info: install-info-recursive
  40864. +install-info-am:
  40865. +
  40866. install-man:
  40867. install-pdf: install-pdf-recursive
  40868. +install-pdf-am:
  40869. +
  40870. install-ps: install-ps-recursive
  40871. +install-ps-am:
  40872. +
  40873. installcheck-am:
  40874. maintainer-clean: maintainer-clean-recursive
  40875. @@ -605,8 +673,8 @@
  40876. uninstall-am:
  40877. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  40878. - install-strip
  40879. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  40880. + install-am install-strip tags-recursive
  40881. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  40882. all all-am check check-am clean clean-generic clean-libtool \
  40883. @@ -626,6 +694,7 @@
  40884. clean-generic:
  40885. @RM@ -f *~ .*~
  40886. +
  40887. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  40888. # Otherwise a system limit (for SysV at least) may be exceeded.
  40889. .NOEXPORT:
  40890. diff -Nur owfs-2.7p38.orig/module/owlib/src/c/Makefile.in owfs-2.7p38/module/owlib/src/c/Makefile.in
  40891. --- owfs-2.7p38.orig/module/owlib/src/c/Makefile.in 2010-06-04 03:00:37.000000000 +0200
  40892. +++ owfs-2.7p38/module/owlib/src/c/Makefile.in 2010-07-09 16:00:55.866999949 +0200
  40893. @@ -1,8 +1,9 @@
  40894. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  40895. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  40896. # @configure_input@
  40897. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  40898. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  40899. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  40900. +# Inc.
  40901. # This Makefile.in is free software; the Free Software Foundation
  40902. # gives unlimited permission to copy and/or distribute it,
  40903. # with or without modifications, as long as this notice is preserved.
  40904. @@ -18,8 +19,9 @@
  40905. VPATH = @srcdir@
  40906. pkgdatadir = $(datadir)/@PACKAGE@
  40907. -pkglibdir = $(libdir)/@PACKAGE@
  40908. pkgincludedir = $(includedir)/@PACKAGE@
  40909. +pkglibdir = $(libdir)/@PACKAGE@
  40910. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  40911. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  40912. install_sh_DATA = $(install_sh) -c -m 644
  40913. install_sh_PROGRAM = $(install_sh) -c
  40914. @@ -38,8 +40,10 @@
  40915. subdir = module/owlib/src/c
  40916. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  40917. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  40918. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  40919. - $(top_srcdir)/acx_pthread.m4 \
  40920. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  40921. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  40922. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  40923. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  40924. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  40925. $(top_srcdir)/module/swig/php/php.m4 \
  40926. $(top_srcdir)/module/swig/python/python.m4 \
  40927. @@ -50,14 +54,29 @@
  40928. $(top_srcdir)/src/scripts/install/mkinstalldirs
  40929. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  40930. CONFIG_CLEAN_FILES =
  40931. +CONFIG_CLEAN_VPATH_FILES =
  40932. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  40933. am__vpath_adj = case $$p in \
  40934. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  40935. *) f=$$p;; \
  40936. esac;
  40937. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  40938. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  40939. +am__install_max = 40
  40940. +am__nobase_strip_setup = \
  40941. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  40942. +am__nobase_strip = \
  40943. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  40944. +am__nobase_list = $(am__nobase_strip_setup); \
  40945. + for p in $$list; do echo "$$p $$p"; done | \
  40946. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  40947. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  40948. + if (++n[$$2] == $(am__install_max)) \
  40949. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  40950. + END { for (dir in files) print dir, files[dir] }'
  40951. +am__base_list = \
  40952. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  40953. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  40954. am__installdirs = "$(DESTDIR)$(libdir)"
  40955. -libLTLIBRARIES_INSTALL = $(INSTALL)
  40956. LTLIBRARIES = $(lib_LTLIBRARIES)
  40957. libow_la_LIBADD =
  40958. am__objects_1 = ow_dl.lo ow_dnssd.lo ow_alias.lo ow_arg.lo \
  40959. @@ -109,6 +128,7 @@
  40960. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src/include
  40961. depcomp = $(SHELL) $(top_srcdir)/src/scripts/install/depcomp
  40962. am__depfiles_maybe = depfiles
  40963. +am__mv = mv -f
  40964. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  40965. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  40966. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  40967. @@ -216,6 +236,7 @@
  40968. LT_RELEASE = @LT_RELEASE@
  40969. LT_REVISION = @LT_REVISION@
  40970. MAKEINFO = @MAKEINFO@
  40971. +MANIFEST_TOOL = @MANIFEST_TOOL@
  40972. MKDIR_P = @MKDIR_P@
  40973. NM = @NM@
  40974. NMEDIT = @NMEDIT@
  40975. @@ -247,6 +268,7 @@
  40976. PACKAGE_NAME = @PACKAGE_NAME@
  40977. PACKAGE_STRING = @PACKAGE_STRING@
  40978. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  40979. +PACKAGE_URL = @PACKAGE_URL@
  40980. PACKAGE_VERSION = @PACKAGE_VERSION@
  40981. PATH_SEPARATOR = @PATH_SEPARATOR@
  40982. PERL = @PERL@
  40983. @@ -352,7 +374,6 @@
  40984. libexecdir = @libexecdir@
  40985. localedir = @localedir@
  40986. localstatedir = @localstatedir@
  40987. -lt_ECHO = @lt_ECHO@
  40988. mandir = @mandir@
  40989. mkdir_p = @mkdir_p@
  40990. oldincludedir = @oldincludedir@
  40991. @@ -585,9 +606,9 @@
  40992. exit 1;; \
  40993. esac; \
  40994. done; \
  40995. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owlib/src/c/Makefile'; \
  40996. - cd $(top_srcdir) && \
  40997. - $(AUTOMAKE) --gnu module/owlib/src/c/Makefile
  40998. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owlib/src/c/Makefile'; \
  40999. + $(am__cd) $(top_srcdir) && \
  41000. + $(AUTOMAKE) --gnu module/owlib/src/c/Makefile
  41001. .PRECIOUS: Makefile
  41002. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  41003. @case '$?' in \
  41004. @@ -605,23 +626,28 @@
  41005. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  41006. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  41007. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  41008. +$(am__aclocal_m4_deps):
  41009. install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  41010. @$(NORMAL_INSTALL)
  41011. test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
  41012. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  41013. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  41014. + list2=; for p in $$list; do \
  41015. if test -f $$p; then \
  41016. - f=$(am__strip_dir) \
  41017. - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
  41018. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
  41019. + list2="$$list2 $$p"; \
  41020. else :; fi; \
  41021. - done
  41022. + done; \
  41023. + test -z "$$list2" || { \
  41024. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
  41025. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
  41026. + }
  41027. uninstall-libLTLIBRARIES:
  41028. @$(NORMAL_UNINSTALL)
  41029. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  41030. - p=$(am__strip_dir) \
  41031. - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
  41032. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
  41033. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  41034. + for p in $$list; do \
  41035. + $(am__strip_dir) \
  41036. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
  41037. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
  41038. done
  41039. clean-libLTLIBRARIES:
  41040. @@ -812,21 +838,21 @@
  41041. .c.o:
  41042. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  41043. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  41044. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  41045. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  41046. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  41047. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  41048. .c.obj:
  41049. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  41050. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  41051. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  41052. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  41053. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  41054. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  41055. .c.lo:
  41056. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  41057. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  41058. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  41059. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  41060. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  41061. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  41062. @@ -849,7 +875,7 @@
  41063. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  41064. $(TAGS_FILES) $(LISP)
  41065. - tags=; \
  41066. + set x; \
  41067. here=`pwd`; \
  41068. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  41069. unique=`for i in $$list; do \
  41070. @@ -857,29 +883,34 @@
  41071. done | \
  41072. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  41073. END { if (nonempty) { for (i in files) print i; }; }'`; \
  41074. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  41075. + shift; \
  41076. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  41077. test -n "$$unique" || unique=$$empty_fix; \
  41078. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  41079. - $$tags $$unique; \
  41080. + if test $$# -gt 0; then \
  41081. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  41082. + "$$@" $$unique; \
  41083. + else \
  41084. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  41085. + $$unique; \
  41086. + fi; \
  41087. fi
  41088. ctags: CTAGS
  41089. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  41090. $(TAGS_FILES) $(LISP)
  41091. - tags=; \
  41092. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  41093. unique=`for i in $$list; do \
  41094. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  41095. done | \
  41096. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  41097. END { if (nonempty) { for (i in files) print i; }; }'`; \
  41098. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  41099. + test -z "$(CTAGS_ARGS)$$unique" \
  41100. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  41101. - $$tags $$unique
  41102. + $$unique
  41103. GTAGS:
  41104. here=`$(am__cd) $(top_builddir) && pwd` \
  41105. - && cd $(top_srcdir) \
  41106. - && gtags -i $(GTAGS_ARGS) $$here
  41107. + && $(am__cd) $(top_srcdir) \
  41108. + && gtags -i $(GTAGS_ARGS) "$$here"
  41109. distclean-tags:
  41110. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  41111. @@ -900,13 +931,17 @@
  41112. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  41113. if test -d $$d/$$file; then \
  41114. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  41115. + if test -d "$(distdir)/$$file"; then \
  41116. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  41117. + fi; \
  41118. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  41119. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  41120. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  41121. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  41122. fi; \
  41123. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  41124. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  41125. else \
  41126. - test -f $(distdir)/$$file \
  41127. - || cp -p $$d/$$file $(distdir)/$$file \
  41128. + test -f "$(distdir)/$$file" \
  41129. + || cp -p $$d/$$file "$(distdir)/$$file" \
  41130. || exit 1; \
  41131. fi; \
  41132. done
  41133. @@ -935,6 +970,7 @@
  41134. distclean-generic:
  41135. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  41136. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  41137. maintainer-clean-generic:
  41138. @echo "This command is intended for maintainers to use"
  41139. @@ -956,6 +992,8 @@
  41140. html: html-am
  41141. +html-am:
  41142. +
  41143. info: info-am
  41144. info-am:
  41145. @@ -964,18 +1002,28 @@
  41146. install-dvi: install-dvi-am
  41147. +install-dvi-am:
  41148. +
  41149. install-exec-am: install-libLTLIBRARIES
  41150. install-html: install-html-am
  41151. +install-html-am:
  41152. +
  41153. install-info: install-info-am
  41154. +install-info-am:
  41155. +
  41156. install-man:
  41157. install-pdf: install-pdf-am
  41158. +install-pdf-am:
  41159. +
  41160. install-ps: install-ps-am
  41161. +install-ps-am:
  41162. +
  41163. installcheck-am:
  41164. maintainer-clean: maintainer-clean-am
  41165. @@ -1018,6 +1066,7 @@
  41166. clean-generic:
  41167. @RM@ -f *~ .*~
  41168. +
  41169. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  41170. # Otherwise a system limit (for SysV at least) may be exceeded.
  41171. .NOEXPORT:
  41172. diff -Nur owfs-2.7p38.orig/module/owlib/src/include/Makefile.in owfs-2.7p38/module/owlib/src/include/Makefile.in
  41173. --- owfs-2.7p38.orig/module/owlib/src/include/Makefile.in 2010-06-04 03:00:37.000000000 +0200
  41174. +++ owfs-2.7p38/module/owlib/src/include/Makefile.in 2010-07-09 16:00:56.031011615 +0200
  41175. @@ -1,8 +1,9 @@
  41176. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  41177. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  41178. # @configure_input@
  41179. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  41180. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  41181. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  41182. +# Inc.
  41183. # This Makefile.in is free software; the Free Software Foundation
  41184. # gives unlimited permission to copy and/or distribute it,
  41185. # with or without modifications, as long as this notice is preserved.
  41186. @@ -16,8 +17,9 @@
  41187. VPATH = @srcdir@
  41188. pkgdatadir = $(datadir)/@PACKAGE@
  41189. -pkglibdir = $(libdir)/@PACKAGE@
  41190. pkgincludedir = $(includedir)/@PACKAGE@
  41191. +pkglibdir = $(libdir)/@PACKAGE@
  41192. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  41193. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  41194. install_sh_DATA = $(install_sh) -c -m 644
  41195. install_sh_PROGRAM = $(install_sh) -c
  41196. @@ -37,8 +39,10 @@
  41197. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  41198. $(srcdir)/Makefile.in
  41199. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  41200. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  41201. - $(top_srcdir)/acx_pthread.m4 \
  41202. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  41203. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  41204. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  41205. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  41206. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  41207. $(top_srcdir)/module/swig/php/php.m4 \
  41208. $(top_srcdir)/module/swig/python/python.m4 \
  41209. @@ -49,6 +53,7 @@
  41210. $(top_srcdir)/src/scripts/install/mkinstalldirs
  41211. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  41212. CONFIG_CLEAN_FILES =
  41213. +CONFIG_CLEAN_VPATH_FILES =
  41214. SOURCES =
  41215. DIST_SOURCES =
  41216. HEADERS = $(noinst_HEADERS)
  41217. @@ -148,6 +153,7 @@
  41218. LT_RELEASE = @LT_RELEASE@
  41219. LT_REVISION = @LT_REVISION@
  41220. MAKEINFO = @MAKEINFO@
  41221. +MANIFEST_TOOL = @MANIFEST_TOOL@
  41222. MKDIR_P = @MKDIR_P@
  41223. NM = @NM@
  41224. NMEDIT = @NMEDIT@
  41225. @@ -179,6 +185,7 @@
  41226. PACKAGE_NAME = @PACKAGE_NAME@
  41227. PACKAGE_STRING = @PACKAGE_STRING@
  41228. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  41229. +PACKAGE_URL = @PACKAGE_URL@
  41230. PACKAGE_VERSION = @PACKAGE_VERSION@
  41231. PATH_SEPARATOR = @PATH_SEPARATOR@
  41232. PERL = @PERL@
  41233. @@ -284,7 +291,6 @@
  41234. libexecdir = @libexecdir@
  41235. localedir = @localedir@
  41236. localstatedir = @localstatedir@
  41237. -lt_ECHO = @lt_ECHO@
  41238. mandir = @mandir@
  41239. mkdir_p = @mkdir_p@
  41240. oldincludedir = @oldincludedir@
  41241. @@ -414,9 +420,9 @@
  41242. exit 1;; \
  41243. esac; \
  41244. done; \
  41245. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owlib/src/include/Makefile'; \
  41246. - cd $(top_srcdir) && \
  41247. - $(AUTOMAKE) --gnu module/owlib/src/include/Makefile
  41248. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owlib/src/include/Makefile'; \
  41249. + $(am__cd) $(top_srcdir) && \
  41250. + $(AUTOMAKE) --gnu module/owlib/src/include/Makefile
  41251. .PRECIOUS: Makefile
  41252. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  41253. @case '$?' in \
  41254. @@ -434,6 +440,7 @@
  41255. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  41256. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  41257. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  41258. +$(am__aclocal_m4_deps):
  41259. mostlyclean-libtool:
  41260. -rm -f *.lo
  41261. @@ -453,7 +460,7 @@
  41262. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  41263. $(TAGS_FILES) $(LISP)
  41264. - tags=; \
  41265. + set x; \
  41266. here=`pwd`; \
  41267. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  41268. unique=`for i in $$list; do \
  41269. @@ -461,29 +468,34 @@
  41270. done | \
  41271. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  41272. END { if (nonempty) { for (i in files) print i; }; }'`; \
  41273. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  41274. + shift; \
  41275. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  41276. test -n "$$unique" || unique=$$empty_fix; \
  41277. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  41278. - $$tags $$unique; \
  41279. + if test $$# -gt 0; then \
  41280. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  41281. + "$$@" $$unique; \
  41282. + else \
  41283. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  41284. + $$unique; \
  41285. + fi; \
  41286. fi
  41287. ctags: CTAGS
  41288. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  41289. $(TAGS_FILES) $(LISP)
  41290. - tags=; \
  41291. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  41292. unique=`for i in $$list; do \
  41293. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  41294. done | \
  41295. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  41296. END { if (nonempty) { for (i in files) print i; }; }'`; \
  41297. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  41298. + test -z "$(CTAGS_ARGS)$$unique" \
  41299. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  41300. - $$tags $$unique
  41301. + $$unique
  41302. GTAGS:
  41303. here=`$(am__cd) $(top_builddir) && pwd` \
  41304. - && cd $(top_srcdir) \
  41305. - && gtags -i $(GTAGS_ARGS) $$here
  41306. + && $(am__cd) $(top_srcdir) \
  41307. + && gtags -i $(GTAGS_ARGS) "$$here"
  41308. distclean-tags:
  41309. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  41310. @@ -504,13 +516,17 @@
  41311. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  41312. if test -d $$d/$$file; then \
  41313. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  41314. + if test -d "$(distdir)/$$file"; then \
  41315. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  41316. + fi; \
  41317. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  41318. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  41319. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  41320. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  41321. fi; \
  41322. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  41323. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  41324. else \
  41325. - test -f $(distdir)/$$file \
  41326. - || cp -p $$d/$$file $(distdir)/$$file \
  41327. + test -f "$(distdir)/$$file" \
  41328. + || cp -p $$d/$$file "$(distdir)/$$file" \
  41329. || exit 1; \
  41330. fi; \
  41331. done
  41332. @@ -536,6 +552,7 @@
  41333. distclean-generic:
  41334. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  41335. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  41336. maintainer-clean-generic:
  41337. @echo "This command is intended for maintainers to use"
  41338. @@ -554,6 +571,8 @@
  41339. html: html-am
  41340. +html-am:
  41341. +
  41342. info: info-am
  41343. info-am:
  41344. @@ -562,18 +581,28 @@
  41345. install-dvi: install-dvi-am
  41346. +install-dvi-am:
  41347. +
  41348. install-exec-am:
  41349. install-html: install-html-am
  41350. +install-html-am:
  41351. +
  41352. install-info: install-info-am
  41353. +install-info-am:
  41354. +
  41355. install-man:
  41356. install-pdf: install-pdf-am
  41357. +install-pdf-am:
  41358. +
  41359. install-ps: install-ps-am
  41360. +install-ps-am:
  41361. +
  41362. installcheck-am:
  41363. maintainer-clean: maintainer-clean-am
  41364. @@ -613,6 +642,7 @@
  41365. clean-generic:
  41366. @RM@ -f *~ .*~
  41367. +
  41368. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  41369. # Otherwise a system limit (for SysV at least) may be exceeded.
  41370. .NOEXPORT:
  41371. diff -Nur owfs-2.7p38.orig/module/owlib/src/Makefile.in owfs-2.7p38/module/owlib/src/Makefile.in
  41372. --- owfs-2.7p38.orig/module/owlib/src/Makefile.in 2010-06-04 03:00:37.000000000 +0200
  41373. +++ owfs-2.7p38/module/owlib/src/Makefile.in 2010-07-09 16:00:55.630998366 +0200
  41374. @@ -1,8 +1,9 @@
  41375. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  41376. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  41377. # @configure_input@
  41378. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  41379. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  41380. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  41381. +# Inc.
  41382. # This Makefile.in is free software; the Free Software Foundation
  41383. # gives unlimited permission to copy and/or distribute it,
  41384. # with or without modifications, as long as this notice is preserved.
  41385. @@ -15,8 +16,9 @@
  41386. @SET_MAKE@
  41387. VPATH = @srcdir@
  41388. pkgdatadir = $(datadir)/@PACKAGE@
  41389. -pkglibdir = $(libdir)/@PACKAGE@
  41390. pkgincludedir = $(includedir)/@PACKAGE@
  41391. +pkglibdir = $(libdir)/@PACKAGE@
  41392. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  41393. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  41394. install_sh_DATA = $(install_sh) -c -m 644
  41395. install_sh_PROGRAM = $(install_sh) -c
  41396. @@ -35,8 +37,10 @@
  41397. subdir = module/owlib/src
  41398. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  41399. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  41400. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  41401. - $(top_srcdir)/acx_pthread.m4 \
  41402. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  41403. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  41404. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  41405. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  41406. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  41407. $(top_srcdir)/module/swig/php/php.m4 \
  41408. $(top_srcdir)/module/swig/python/python.m4 \
  41409. @@ -47,6 +51,7 @@
  41410. $(top_srcdir)/src/scripts/install/mkinstalldirs
  41411. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  41412. CONFIG_CLEAN_FILES =
  41413. +CONFIG_CLEAN_VPATH_FILES =
  41414. SOURCES =
  41415. DIST_SOURCES =
  41416. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  41417. @@ -58,10 +63,38 @@
  41418. ps-recursive uninstall-recursive
  41419. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  41420. distclean-recursive maintainer-clean-recursive
  41421. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  41422. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  41423. + distdir
  41424. ETAGS = etags
  41425. CTAGS = ctags
  41426. DIST_SUBDIRS = $(SUBDIRS)
  41427. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  41428. +am__relativize = \
  41429. + dir0=`pwd`; \
  41430. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  41431. + sed_rest='s,^[^/]*/*,,'; \
  41432. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  41433. + sed_butlast='s,/*[^/]*$$,,'; \
  41434. + while test -n "$$dir1"; do \
  41435. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  41436. + if test "$$first" != "."; then \
  41437. + if test "$$first" = ".."; then \
  41438. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  41439. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  41440. + else \
  41441. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  41442. + if test "$$first2" = "$$first"; then \
  41443. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  41444. + else \
  41445. + dir2="../$$dir2"; \
  41446. + fi; \
  41447. + dir0="$$dir0"/"$$first"; \
  41448. + fi; \
  41449. + fi; \
  41450. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  41451. + done; \
  41452. + reldir="$$dir2"
  41453. ACLOCAL = @ACLOCAL@
  41454. AMTAR = @AMTAR@
  41455. AR = @AR@
  41456. @@ -155,6 +188,7 @@
  41457. LT_RELEASE = @LT_RELEASE@
  41458. LT_REVISION = @LT_REVISION@
  41459. MAKEINFO = @MAKEINFO@
  41460. +MANIFEST_TOOL = @MANIFEST_TOOL@
  41461. MKDIR_P = @MKDIR_P@
  41462. NM = @NM@
  41463. NMEDIT = @NMEDIT@
  41464. @@ -186,6 +220,7 @@
  41465. PACKAGE_NAME = @PACKAGE_NAME@
  41466. PACKAGE_STRING = @PACKAGE_STRING@
  41467. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  41468. +PACKAGE_URL = @PACKAGE_URL@
  41469. PACKAGE_VERSION = @PACKAGE_VERSION@
  41470. PATH_SEPARATOR = @PATH_SEPARATOR@
  41471. PERL = @PERL@
  41472. @@ -291,7 +326,6 @@
  41473. libexecdir = @libexecdir@
  41474. localedir = @localedir@
  41475. localstatedir = @localstatedir@
  41476. -lt_ECHO = @lt_ECHO@
  41477. mandir = @mandir@
  41478. mkdir_p = @mkdir_p@
  41479. oldincludedir = @oldincludedir@
  41480. @@ -324,9 +358,9 @@
  41481. exit 1;; \
  41482. esac; \
  41483. done; \
  41484. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owlib/src/Makefile'; \
  41485. - cd $(top_srcdir) && \
  41486. - $(AUTOMAKE) --gnu module/owlib/src/Makefile
  41487. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owlib/src/Makefile'; \
  41488. + $(am__cd) $(top_srcdir) && \
  41489. + $(AUTOMAKE) --gnu module/owlib/src/Makefile
  41490. .PRECIOUS: Makefile
  41491. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  41492. @case '$?' in \
  41493. @@ -344,6 +378,7 @@
  41494. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  41495. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  41496. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  41497. +$(am__aclocal_m4_deps):
  41498. mostlyclean-libtool:
  41499. -rm -f *.lo
  41500. @@ -358,7 +393,7 @@
  41501. # (which will cause the Makefiles to be regenerated when you run `make');
  41502. # (2) otherwise, pass the desired values on the `make' command line.
  41503. $(RECURSIVE_TARGETS):
  41504. - @failcom='exit 1'; \
  41505. + @fail= failcom='exit 1'; \
  41506. for f in x $$MAKEFLAGS; do \
  41507. case $$f in \
  41508. *=* | --[!k]*);; \
  41509. @@ -375,7 +410,7 @@
  41510. else \
  41511. local_target="$$target"; \
  41512. fi; \
  41513. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  41514. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  41515. || eval $$failcom; \
  41516. done; \
  41517. if test "$$dot_seen" = "no"; then \
  41518. @@ -383,7 +418,7 @@
  41519. fi; test -z "$$fail"
  41520. $(RECURSIVE_CLEAN_TARGETS):
  41521. - @failcom='exit 1'; \
  41522. + @fail= failcom='exit 1'; \
  41523. for f in x $$MAKEFLAGS; do \
  41524. case $$f in \
  41525. *=* | --[!k]*);; \
  41526. @@ -409,16 +444,16 @@
  41527. else \
  41528. local_target="$$target"; \
  41529. fi; \
  41530. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  41531. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  41532. || eval $$failcom; \
  41533. done && test -z "$$fail"
  41534. tags-recursive:
  41535. list='$(SUBDIRS)'; for subdir in $$list; do \
  41536. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  41537. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  41538. done
  41539. ctags-recursive:
  41540. list='$(SUBDIRS)'; for subdir in $$list; do \
  41541. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  41542. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  41543. done
  41544. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  41545. @@ -433,7 +468,7 @@
  41546. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  41547. $(TAGS_FILES) $(LISP)
  41548. - tags=; \
  41549. + set x; \
  41550. here=`pwd`; \
  41551. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  41552. include_option=--etags-include; \
  41553. @@ -445,7 +480,7 @@
  41554. list='$(SUBDIRS)'; for subdir in $$list; do \
  41555. if test "$$subdir" = .; then :; else \
  41556. test ! -f $$subdir/TAGS || \
  41557. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  41558. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  41559. fi; \
  41560. done; \
  41561. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  41562. @@ -454,29 +489,34 @@
  41563. done | \
  41564. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  41565. END { if (nonempty) { for (i in files) print i; }; }'`; \
  41566. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  41567. + shift; \
  41568. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  41569. test -n "$$unique" || unique=$$empty_fix; \
  41570. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  41571. - $$tags $$unique; \
  41572. + if test $$# -gt 0; then \
  41573. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  41574. + "$$@" $$unique; \
  41575. + else \
  41576. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  41577. + $$unique; \
  41578. + fi; \
  41579. fi
  41580. ctags: CTAGS
  41581. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  41582. $(TAGS_FILES) $(LISP)
  41583. - tags=; \
  41584. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  41585. unique=`for i in $$list; do \
  41586. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  41587. done | \
  41588. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  41589. END { if (nonempty) { for (i in files) print i; }; }'`; \
  41590. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  41591. + test -z "$(CTAGS_ARGS)$$unique" \
  41592. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  41593. - $$tags $$unique
  41594. + $$unique
  41595. GTAGS:
  41596. here=`$(am__cd) $(top_builddir) && pwd` \
  41597. - && cd $(top_srcdir) \
  41598. - && gtags -i $(GTAGS_ARGS) $$here
  41599. + && $(am__cd) $(top_srcdir) \
  41600. + && gtags -i $(GTAGS_ARGS) "$$here"
  41601. distclean-tags:
  41602. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  41603. @@ -497,29 +537,44 @@
  41604. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  41605. if test -d $$d/$$file; then \
  41606. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  41607. + if test -d "$(distdir)/$$file"; then \
  41608. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  41609. + fi; \
  41610. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  41611. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  41612. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  41613. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  41614. fi; \
  41615. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  41616. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  41617. else \
  41618. - test -f $(distdir)/$$file \
  41619. - || cp -p $$d/$$file $(distdir)/$$file \
  41620. + test -f "$(distdir)/$$file" \
  41621. + || cp -p $$d/$$file "$(distdir)/$$file" \
  41622. || exit 1; \
  41623. fi; \
  41624. done
  41625. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  41626. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  41627. if test "$$subdir" = .; then :; else \
  41628. test -d "$(distdir)/$$subdir" \
  41629. || $(MKDIR_P) "$(distdir)/$$subdir" \
  41630. || exit 1; \
  41631. - distdir=`$(am__cd) $(distdir) && pwd`; \
  41632. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  41633. - (cd $$subdir && \
  41634. + fi; \
  41635. + done
  41636. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  41637. + if test "$$subdir" = .; then :; else \
  41638. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  41639. + $(am__relativize); \
  41640. + new_distdir=$$reldir; \
  41641. + dir1=$$subdir; dir2="$(top_distdir)"; \
  41642. + $(am__relativize); \
  41643. + new_top_distdir=$$reldir; \
  41644. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  41645. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  41646. + ($(am__cd) $$subdir && \
  41647. $(MAKE) $(AM_MAKEFLAGS) \
  41648. - top_distdir="$$top_distdir" \
  41649. - distdir="$$distdir/$$subdir" \
  41650. + top_distdir="$$new_top_distdir" \
  41651. + distdir="$$new_distdir" \
  41652. am__remove_distdir=: \
  41653. am__skip_length_check=: \
  41654. + am__skip_mode_fix=: \
  41655. distdir) \
  41656. || exit 1; \
  41657. fi; \
  41658. @@ -547,6 +602,7 @@
  41659. distclean-generic:
  41660. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  41661. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  41662. maintainer-clean-generic:
  41663. @echo "This command is intended for maintainers to use"
  41664. @@ -565,6 +621,8 @@
  41665. html: html-recursive
  41666. +html-am:
  41667. +
  41668. info: info-recursive
  41669. info-am:
  41670. @@ -573,18 +631,28 @@
  41671. install-dvi: install-dvi-recursive
  41672. +install-dvi-am:
  41673. +
  41674. install-exec-am:
  41675. install-html: install-html-recursive
  41676. +install-html-am:
  41677. +
  41678. install-info: install-info-recursive
  41679. +install-info-am:
  41680. +
  41681. install-man:
  41682. install-pdf: install-pdf-recursive
  41683. +install-pdf-am:
  41684. +
  41685. install-ps: install-ps-recursive
  41686. +install-ps-am:
  41687. +
  41688. installcheck-am:
  41689. maintainer-clean: maintainer-clean-recursive
  41690. @@ -605,8 +673,8 @@
  41691. uninstall-am:
  41692. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  41693. - install-strip
  41694. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  41695. + install-am install-strip tags-recursive
  41696. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  41697. all all-am check check-am clean clean-generic clean-libtool \
  41698. @@ -626,6 +694,7 @@
  41699. clean-generic:
  41700. @RM@ -f *~ .*~
  41701. +
  41702. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  41703. # Otherwise a system limit (for SysV at least) may be exceeded.
  41704. .NOEXPORT:
  41705. diff -Nur owfs-2.7p38.orig/module/owmon/Makefile.in owfs-2.7p38/module/owmon/Makefile.in
  41706. --- owfs-2.7p38.orig/module/owmon/Makefile.in 2010-06-04 03:00:38.000000000 +0200
  41707. +++ owfs-2.7p38/module/owmon/Makefile.in 2010-07-09 16:00:56.178998619 +0200
  41708. @@ -1,8 +1,9 @@
  41709. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  41710. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  41711. # @configure_input@
  41712. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  41713. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  41714. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  41715. +# Inc.
  41716. # This Makefile.in is free software; the Free Software Foundation
  41717. # gives unlimited permission to copy and/or distribute it,
  41718. # with or without modifications, as long as this notice is preserved.
  41719. @@ -17,8 +18,9 @@
  41720. # $Id: Makefile.am,v 1.2 2007/08/28 19:48:55 d1mag Exp $
  41721. VPATH = @srcdir@
  41722. pkgdatadir = $(datadir)/@PACKAGE@
  41723. -pkglibdir = $(libdir)/@PACKAGE@
  41724. pkgincludedir = $(includedir)/@PACKAGE@
  41725. +pkglibdir = $(libdir)/@PACKAGE@
  41726. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  41727. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  41728. install_sh_DATA = $(install_sh) -c -m 644
  41729. install_sh_PROGRAM = $(install_sh) -c
  41730. @@ -37,8 +39,10 @@
  41731. subdir = module/owmon
  41732. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  41733. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  41734. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  41735. - $(top_srcdir)/acx_pthread.m4 \
  41736. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  41737. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  41738. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  41739. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  41740. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  41741. $(top_srcdir)/module/swig/php/php.m4 \
  41742. $(top_srcdir)/module/swig/python/python.m4 \
  41743. @@ -49,6 +53,7 @@
  41744. $(top_srcdir)/src/scripts/install/mkinstalldirs
  41745. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  41746. CONFIG_CLEAN_FILES =
  41747. +CONFIG_CLEAN_VPATH_FILES =
  41748. SOURCES =
  41749. DIST_SOURCES =
  41750. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  41751. @@ -145,6 +150,7 @@
  41752. LT_RELEASE = @LT_RELEASE@
  41753. LT_REVISION = @LT_REVISION@
  41754. MAKEINFO = @MAKEINFO@
  41755. +MANIFEST_TOOL = @MANIFEST_TOOL@
  41756. MKDIR_P = @MKDIR_P@
  41757. NM = @NM@
  41758. NMEDIT = @NMEDIT@
  41759. @@ -176,6 +182,7 @@
  41760. PACKAGE_NAME = @PACKAGE_NAME@
  41761. PACKAGE_STRING = @PACKAGE_STRING@
  41762. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  41763. +PACKAGE_URL = @PACKAGE_URL@
  41764. PACKAGE_VERSION = @PACKAGE_VERSION@
  41765. PATH_SEPARATOR = @PATH_SEPARATOR@
  41766. PERL = @PERL@
  41767. @@ -281,7 +288,6 @@
  41768. libexecdir = @libexecdir@
  41769. localedir = @localedir@
  41770. localstatedir = @localstatedir@
  41771. -lt_ECHO = @lt_ECHO@
  41772. mandir = @mandir@
  41773. mkdir_p = @mkdir_p@
  41774. oldincludedir = @oldincludedir@
  41775. @@ -314,9 +320,9 @@
  41776. exit 1;; \
  41777. esac; \
  41778. done; \
  41779. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owmon/Makefile'; \
  41780. - cd $(top_srcdir) && \
  41781. - $(AUTOMAKE) --gnu module/owmon/Makefile
  41782. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owmon/Makefile'; \
  41783. + $(am__cd) $(top_srcdir) && \
  41784. + $(AUTOMAKE) --gnu module/owmon/Makefile
  41785. .PRECIOUS: Makefile
  41786. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  41787. @case '$?' in \
  41788. @@ -334,6 +340,7 @@
  41789. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  41790. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  41791. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  41792. +$(am__aclocal_m4_deps):
  41793. mostlyclean-libtool:
  41794. -rm -f *.lo
  41795. @@ -363,13 +370,17 @@
  41796. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  41797. if test -d $$d/$$file; then \
  41798. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  41799. + if test -d "$(distdir)/$$file"; then \
  41800. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  41801. + fi; \
  41802. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  41803. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  41804. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  41805. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  41806. fi; \
  41807. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  41808. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  41809. else \
  41810. - test -f $(distdir)/$$file \
  41811. - || cp -p $$d/$$file $(distdir)/$$file \
  41812. + test -f "$(distdir)/$$file" \
  41813. + || cp -p $$d/$$file "$(distdir)/$$file" \
  41814. || exit 1; \
  41815. fi; \
  41816. done
  41817. @@ -396,6 +407,7 @@
  41818. distclean-generic:
  41819. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  41820. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  41821. maintainer-clean-generic:
  41822. @echo "This command is intended for maintainers to use"
  41823. @@ -414,6 +426,8 @@
  41824. html: html-am
  41825. +html-am:
  41826. +
  41827. info: info-am
  41828. info-am:
  41829. @@ -422,18 +436,28 @@
  41830. install-dvi: install-dvi-am
  41831. +install-dvi-am:
  41832. +
  41833. install-exec-am:
  41834. install-html: install-html-am
  41835. +install-html-am:
  41836. +
  41837. install-info: install-info-am
  41838. +install-info-am:
  41839. +
  41840. install-man:
  41841. install-pdf: install-pdf-am
  41842. +install-pdf-am:
  41843. +
  41844. install-ps: install-ps-am
  41845. +install-ps-am:
  41846. +
  41847. installcheck-am:
  41848. maintainer-clean: maintainer-clean-am
  41849. @@ -471,6 +495,7 @@
  41850. install:
  41851. @INSTALL@ -d $(DESTDIR)$(bindir)
  41852. @INSTALL@ -m 755 owmon.tcl $(DESTDIR)$(bindir)/owmon
  41853. +
  41854. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  41855. # Otherwise a system limit (for SysV at least) may be exceeded.
  41856. .NOEXPORT:
  41857. diff -Nur owfs-2.7p38.orig/module/ownet/c/Makefile.in owfs-2.7p38/module/ownet/c/Makefile.in
  41858. --- owfs-2.7p38.orig/module/ownet/c/Makefile.in 2010-06-04 03:00:38.000000000 +0200
  41859. +++ owfs-2.7p38/module/ownet/c/Makefile.in 2010-07-09 16:00:56.474998618 +0200
  41860. @@ -1,8 +1,9 @@
  41861. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  41862. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  41863. # @configure_input@
  41864. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  41865. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  41866. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  41867. +# Inc.
  41868. # This Makefile.in is free software; the Free Software Foundation
  41869. # gives unlimited permission to copy and/or distribute it,
  41870. # with or without modifications, as long as this notice is preserved.
  41871. @@ -15,8 +16,9 @@
  41872. @SET_MAKE@
  41873. VPATH = @srcdir@
  41874. pkgdatadir = $(datadir)/@PACKAGE@
  41875. -pkglibdir = $(libdir)/@PACKAGE@
  41876. pkgincludedir = $(includedir)/@PACKAGE@
  41877. +pkglibdir = $(libdir)/@PACKAGE@
  41878. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  41879. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  41880. install_sh_DATA = $(install_sh) -c -m 644
  41881. install_sh_PROGRAM = $(install_sh) -c
  41882. @@ -35,8 +37,10 @@
  41883. subdir = module/ownet/c
  41884. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  41885. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  41886. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  41887. - $(top_srcdir)/acx_pthread.m4 \
  41888. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  41889. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  41890. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  41891. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  41892. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  41893. $(top_srcdir)/module/swig/php/php.m4 \
  41894. $(top_srcdir)/module/swig/python/python.m4 \
  41895. @@ -47,6 +51,7 @@
  41896. $(top_srcdir)/src/scripts/install/mkinstalldirs
  41897. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  41898. CONFIG_CLEAN_FILES =
  41899. +CONFIG_CLEAN_VPATH_FILES =
  41900. SOURCES =
  41901. DIST_SOURCES =
  41902. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  41903. @@ -58,10 +63,38 @@
  41904. ps-recursive uninstall-recursive
  41905. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  41906. distclean-recursive maintainer-clean-recursive
  41907. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  41908. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  41909. + distdir
  41910. ETAGS = etags
  41911. CTAGS = ctags
  41912. DIST_SUBDIRS = $(SUBDIRS)
  41913. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  41914. +am__relativize = \
  41915. + dir0=`pwd`; \
  41916. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  41917. + sed_rest='s,^[^/]*/*,,'; \
  41918. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  41919. + sed_butlast='s,/*[^/]*$$,,'; \
  41920. + while test -n "$$dir1"; do \
  41921. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  41922. + if test "$$first" != "."; then \
  41923. + if test "$$first" = ".."; then \
  41924. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  41925. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  41926. + else \
  41927. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  41928. + if test "$$first2" = "$$first"; then \
  41929. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  41930. + else \
  41931. + dir2="../$$dir2"; \
  41932. + fi; \
  41933. + dir0="$$dir0"/"$$first"; \
  41934. + fi; \
  41935. + fi; \
  41936. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  41937. + done; \
  41938. + reldir="$$dir2"
  41939. ACLOCAL = @ACLOCAL@
  41940. AMTAR = @AMTAR@
  41941. AR = @AR@
  41942. @@ -155,6 +188,7 @@
  41943. LT_RELEASE = @LT_RELEASE@
  41944. LT_REVISION = @LT_REVISION@
  41945. MAKEINFO = @MAKEINFO@
  41946. +MANIFEST_TOOL = @MANIFEST_TOOL@
  41947. MKDIR_P = @MKDIR_P@
  41948. NM = @NM@
  41949. NMEDIT = @NMEDIT@
  41950. @@ -186,6 +220,7 @@
  41951. PACKAGE_NAME = @PACKAGE_NAME@
  41952. PACKAGE_STRING = @PACKAGE_STRING@
  41953. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  41954. +PACKAGE_URL = @PACKAGE_URL@
  41955. PACKAGE_VERSION = @PACKAGE_VERSION@
  41956. PATH_SEPARATOR = @PATH_SEPARATOR@
  41957. PERL = @PERL@
  41958. @@ -291,7 +326,6 @@
  41959. libexecdir = @libexecdir@
  41960. localedir = @localedir@
  41961. localstatedir = @localstatedir@
  41962. -lt_ECHO = @lt_ECHO@
  41963. mandir = @mandir@
  41964. mkdir_p = @mkdir_p@
  41965. oldincludedir = @oldincludedir@
  41966. @@ -324,9 +358,9 @@
  41967. exit 1;; \
  41968. esac; \
  41969. done; \
  41970. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/c/Makefile'; \
  41971. - cd $(top_srcdir) && \
  41972. - $(AUTOMAKE) --gnu module/ownet/c/Makefile
  41973. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/c/Makefile'; \
  41974. + $(am__cd) $(top_srcdir) && \
  41975. + $(AUTOMAKE) --gnu module/ownet/c/Makefile
  41976. .PRECIOUS: Makefile
  41977. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  41978. @case '$?' in \
  41979. @@ -344,6 +378,7 @@
  41980. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  41981. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  41982. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  41983. +$(am__aclocal_m4_deps):
  41984. mostlyclean-libtool:
  41985. -rm -f *.lo
  41986. @@ -358,7 +393,7 @@
  41987. # (which will cause the Makefiles to be regenerated when you run `make');
  41988. # (2) otherwise, pass the desired values on the `make' command line.
  41989. $(RECURSIVE_TARGETS):
  41990. - @failcom='exit 1'; \
  41991. + @fail= failcom='exit 1'; \
  41992. for f in x $$MAKEFLAGS; do \
  41993. case $$f in \
  41994. *=* | --[!k]*);; \
  41995. @@ -375,7 +410,7 @@
  41996. else \
  41997. local_target="$$target"; \
  41998. fi; \
  41999. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  42000. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  42001. || eval $$failcom; \
  42002. done; \
  42003. if test "$$dot_seen" = "no"; then \
  42004. @@ -383,7 +418,7 @@
  42005. fi; test -z "$$fail"
  42006. $(RECURSIVE_CLEAN_TARGETS):
  42007. - @failcom='exit 1'; \
  42008. + @fail= failcom='exit 1'; \
  42009. for f in x $$MAKEFLAGS; do \
  42010. case $$f in \
  42011. *=* | --[!k]*);; \
  42012. @@ -409,16 +444,16 @@
  42013. else \
  42014. local_target="$$target"; \
  42015. fi; \
  42016. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  42017. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  42018. || eval $$failcom; \
  42019. done && test -z "$$fail"
  42020. tags-recursive:
  42021. list='$(SUBDIRS)'; for subdir in $$list; do \
  42022. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  42023. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  42024. done
  42025. ctags-recursive:
  42026. list='$(SUBDIRS)'; for subdir in $$list; do \
  42027. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  42028. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  42029. done
  42030. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  42031. @@ -433,7 +468,7 @@
  42032. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  42033. $(TAGS_FILES) $(LISP)
  42034. - tags=; \
  42035. + set x; \
  42036. here=`pwd`; \
  42037. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  42038. include_option=--etags-include; \
  42039. @@ -445,7 +480,7 @@
  42040. list='$(SUBDIRS)'; for subdir in $$list; do \
  42041. if test "$$subdir" = .; then :; else \
  42042. test ! -f $$subdir/TAGS || \
  42043. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  42044. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  42045. fi; \
  42046. done; \
  42047. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  42048. @@ -454,29 +489,34 @@
  42049. done | \
  42050. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  42051. END { if (nonempty) { for (i in files) print i; }; }'`; \
  42052. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  42053. + shift; \
  42054. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  42055. test -n "$$unique" || unique=$$empty_fix; \
  42056. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  42057. - $$tags $$unique; \
  42058. + if test $$# -gt 0; then \
  42059. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  42060. + "$$@" $$unique; \
  42061. + else \
  42062. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  42063. + $$unique; \
  42064. + fi; \
  42065. fi
  42066. ctags: CTAGS
  42067. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  42068. $(TAGS_FILES) $(LISP)
  42069. - tags=; \
  42070. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  42071. unique=`for i in $$list; do \
  42072. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  42073. done | \
  42074. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  42075. END { if (nonempty) { for (i in files) print i; }; }'`; \
  42076. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  42077. + test -z "$(CTAGS_ARGS)$$unique" \
  42078. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  42079. - $$tags $$unique
  42080. + $$unique
  42081. GTAGS:
  42082. here=`$(am__cd) $(top_builddir) && pwd` \
  42083. - && cd $(top_srcdir) \
  42084. - && gtags -i $(GTAGS_ARGS) $$here
  42085. + && $(am__cd) $(top_srcdir) \
  42086. + && gtags -i $(GTAGS_ARGS) "$$here"
  42087. distclean-tags:
  42088. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  42089. @@ -497,29 +537,44 @@
  42090. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  42091. if test -d $$d/$$file; then \
  42092. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  42093. + if test -d "$(distdir)/$$file"; then \
  42094. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  42095. + fi; \
  42096. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  42097. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  42098. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  42099. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  42100. fi; \
  42101. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  42102. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  42103. else \
  42104. - test -f $(distdir)/$$file \
  42105. - || cp -p $$d/$$file $(distdir)/$$file \
  42106. + test -f "$(distdir)/$$file" \
  42107. + || cp -p $$d/$$file "$(distdir)/$$file" \
  42108. || exit 1; \
  42109. fi; \
  42110. done
  42111. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  42112. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  42113. if test "$$subdir" = .; then :; else \
  42114. test -d "$(distdir)/$$subdir" \
  42115. || $(MKDIR_P) "$(distdir)/$$subdir" \
  42116. || exit 1; \
  42117. - distdir=`$(am__cd) $(distdir) && pwd`; \
  42118. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  42119. - (cd $$subdir && \
  42120. + fi; \
  42121. + done
  42122. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  42123. + if test "$$subdir" = .; then :; else \
  42124. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  42125. + $(am__relativize); \
  42126. + new_distdir=$$reldir; \
  42127. + dir1=$$subdir; dir2="$(top_distdir)"; \
  42128. + $(am__relativize); \
  42129. + new_top_distdir=$$reldir; \
  42130. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  42131. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  42132. + ($(am__cd) $$subdir && \
  42133. $(MAKE) $(AM_MAKEFLAGS) \
  42134. - top_distdir="$$top_distdir" \
  42135. - distdir="$$distdir/$$subdir" \
  42136. + top_distdir="$$new_top_distdir" \
  42137. + distdir="$$new_distdir" \
  42138. am__remove_distdir=: \
  42139. am__skip_length_check=: \
  42140. + am__skip_mode_fix=: \
  42141. distdir) \
  42142. || exit 1; \
  42143. fi; \
  42144. @@ -547,6 +602,7 @@
  42145. distclean-generic:
  42146. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  42147. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  42148. maintainer-clean-generic:
  42149. @echo "This command is intended for maintainers to use"
  42150. @@ -565,6 +621,8 @@
  42151. html: html-recursive
  42152. +html-am:
  42153. +
  42154. info: info-recursive
  42155. info-am:
  42156. @@ -573,18 +631,28 @@
  42157. install-dvi: install-dvi-recursive
  42158. +install-dvi-am:
  42159. +
  42160. install-exec-am:
  42161. install-html: install-html-recursive
  42162. +install-html-am:
  42163. +
  42164. install-info: install-info-recursive
  42165. +install-info-am:
  42166. +
  42167. install-man:
  42168. install-pdf: install-pdf-recursive
  42169. +install-pdf-am:
  42170. +
  42171. install-ps: install-ps-recursive
  42172. +install-ps-am:
  42173. +
  42174. installcheck-am:
  42175. maintainer-clean: maintainer-clean-recursive
  42176. @@ -605,8 +673,8 @@
  42177. uninstall-am:
  42178. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  42179. - install-strip
  42180. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  42181. + install-am install-strip tags-recursive
  42182. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  42183. all all-am check check-am clean clean-generic clean-libtool \
  42184. @@ -626,6 +694,7 @@
  42185. clean-generic:
  42186. @RM@ -f *~ .*~
  42187. +
  42188. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  42189. # Otherwise a system limit (for SysV at least) may be exceeded.
  42190. .NOEXPORT:
  42191. diff -Nur owfs-2.7p38.orig/module/ownet/c/src/c/Makefile.in owfs-2.7p38/module/ownet/c/src/c/Makefile.in
  42192. --- owfs-2.7p38.orig/module/ownet/c/src/c/Makefile.in 2010-06-04 03:00:38.000000000 +0200
  42193. +++ owfs-2.7p38/module/ownet/c/src/c/Makefile.in 2010-07-09 16:00:56.815000029 +0200
  42194. @@ -1,8 +1,9 @@
  42195. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  42196. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  42197. # @configure_input@
  42198. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  42199. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  42200. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  42201. +# Inc.
  42202. # This Makefile.in is free software; the Free Software Foundation
  42203. # gives unlimited permission to copy and/or distribute it,
  42204. # with or without modifications, as long as this notice is preserved.
  42205. @@ -18,8 +19,9 @@
  42206. VPATH = @srcdir@
  42207. pkgdatadir = $(datadir)/@PACKAGE@
  42208. -pkglibdir = $(libdir)/@PACKAGE@
  42209. pkgincludedir = $(includedir)/@PACKAGE@
  42210. +pkglibdir = $(libdir)/@PACKAGE@
  42211. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  42212. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  42213. install_sh_DATA = $(install_sh) -c -m 644
  42214. install_sh_PROGRAM = $(install_sh) -c
  42215. @@ -38,8 +40,10 @@
  42216. subdir = module/ownet/c/src/c
  42217. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  42218. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  42219. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  42220. - $(top_srcdir)/acx_pthread.m4 \
  42221. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  42222. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  42223. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  42224. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  42225. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  42226. $(top_srcdir)/module/swig/php/php.m4 \
  42227. $(top_srcdir)/module/swig/python/python.m4 \
  42228. @@ -50,14 +54,29 @@
  42229. $(top_srcdir)/src/scripts/install/mkinstalldirs
  42230. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  42231. CONFIG_CLEAN_FILES =
  42232. +CONFIG_CLEAN_VPATH_FILES =
  42233. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  42234. am__vpath_adj = case $$p in \
  42235. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  42236. *) f=$$p;; \
  42237. esac;
  42238. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  42239. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  42240. +am__install_max = 40
  42241. +am__nobase_strip_setup = \
  42242. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  42243. +am__nobase_strip = \
  42244. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  42245. +am__nobase_list = $(am__nobase_strip_setup); \
  42246. + for p in $$list; do echo "$$p $$p"; done | \
  42247. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  42248. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  42249. + if (++n[$$2] == $(am__install_max)) \
  42250. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  42251. + END { for (dir in files) print dir, files[dir] }'
  42252. +am__base_list = \
  42253. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  42254. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  42255. am__installdirs = "$(DESTDIR)$(libdir)"
  42256. -libLTLIBRARIES_INSTALL = $(INSTALL)
  42257. LTLIBRARIES = $(lib_LTLIBRARIES)
  42258. libownet_la_LIBADD =
  42259. am__objects_1 = compat.lo error.lo getaddrinfo.lo getopt.lo globals.lo \
  42260. @@ -73,6 +92,7 @@
  42261. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src/include
  42262. depcomp = $(SHELL) $(top_srcdir)/src/scripts/install/depcomp
  42263. am__depfiles_maybe = depfiles
  42264. +am__mv = mv -f
  42265. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  42266. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  42267. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  42268. @@ -180,6 +200,7 @@
  42269. LT_RELEASE = @LT_RELEASE@
  42270. LT_REVISION = @LT_REVISION@
  42271. MAKEINFO = @MAKEINFO@
  42272. +MANIFEST_TOOL = @MANIFEST_TOOL@
  42273. MKDIR_P = @MKDIR_P@
  42274. NM = @NM@
  42275. NMEDIT = @NMEDIT@
  42276. @@ -211,6 +232,7 @@
  42277. PACKAGE_NAME = @PACKAGE_NAME@
  42278. PACKAGE_STRING = @PACKAGE_STRING@
  42279. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  42280. +PACKAGE_URL = @PACKAGE_URL@
  42281. PACKAGE_VERSION = @PACKAGE_VERSION@
  42282. PATH_SEPARATOR = @PATH_SEPARATOR@
  42283. PERL = @PERL@
  42284. @@ -316,7 +338,6 @@
  42285. libexecdir = @libexecdir@
  42286. localedir = @localedir@
  42287. localstatedir = @localstatedir@
  42288. -lt_ECHO = @lt_ECHO@
  42289. mandir = @mandir@
  42290. mkdir_p = @mkdir_p@
  42291. oldincludedir = @oldincludedir@
  42292. @@ -403,9 +424,9 @@
  42293. exit 1;; \
  42294. esac; \
  42295. done; \
  42296. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/c/src/c/Makefile'; \
  42297. - cd $(top_srcdir) && \
  42298. - $(AUTOMAKE) --gnu module/ownet/c/src/c/Makefile
  42299. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/c/src/c/Makefile'; \
  42300. + $(am__cd) $(top_srcdir) && \
  42301. + $(AUTOMAKE) --gnu module/ownet/c/src/c/Makefile
  42302. .PRECIOUS: Makefile
  42303. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  42304. @case '$?' in \
  42305. @@ -423,23 +444,28 @@
  42306. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  42307. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  42308. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  42309. +$(am__aclocal_m4_deps):
  42310. install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  42311. @$(NORMAL_INSTALL)
  42312. test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
  42313. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  42314. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  42315. + list2=; for p in $$list; do \
  42316. if test -f $$p; then \
  42317. - f=$(am__strip_dir) \
  42318. - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
  42319. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
  42320. + list2="$$list2 $$p"; \
  42321. else :; fi; \
  42322. - done
  42323. + done; \
  42324. + test -z "$$list2" || { \
  42325. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
  42326. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
  42327. + }
  42328. uninstall-libLTLIBRARIES:
  42329. @$(NORMAL_UNINSTALL)
  42330. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  42331. - p=$(am__strip_dir) \
  42332. - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
  42333. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
  42334. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  42335. + for p in $$list; do \
  42336. + $(am__strip_dir) \
  42337. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
  42338. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
  42339. done
  42340. clean-libLTLIBRARIES:
  42341. @@ -484,21 +510,21 @@
  42342. .c.o:
  42343. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  42344. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  42345. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  42346. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  42347. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  42348. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  42349. .c.obj:
  42350. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  42351. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  42352. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  42353. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  42354. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  42355. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  42356. .c.lo:
  42357. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  42358. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  42359. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  42360. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  42361. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  42362. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  42363. @@ -521,7 +547,7 @@
  42364. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  42365. $(TAGS_FILES) $(LISP)
  42366. - tags=; \
  42367. + set x; \
  42368. here=`pwd`; \
  42369. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  42370. unique=`for i in $$list; do \
  42371. @@ -529,29 +555,34 @@
  42372. done | \
  42373. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  42374. END { if (nonempty) { for (i in files) print i; }; }'`; \
  42375. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  42376. + shift; \
  42377. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  42378. test -n "$$unique" || unique=$$empty_fix; \
  42379. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  42380. - $$tags $$unique; \
  42381. + if test $$# -gt 0; then \
  42382. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  42383. + "$$@" $$unique; \
  42384. + else \
  42385. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  42386. + $$unique; \
  42387. + fi; \
  42388. fi
  42389. ctags: CTAGS
  42390. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  42391. $(TAGS_FILES) $(LISP)
  42392. - tags=; \
  42393. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  42394. unique=`for i in $$list; do \
  42395. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  42396. done | \
  42397. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  42398. END { if (nonempty) { for (i in files) print i; }; }'`; \
  42399. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  42400. + test -z "$(CTAGS_ARGS)$$unique" \
  42401. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  42402. - $$tags $$unique
  42403. + $$unique
  42404. GTAGS:
  42405. here=`$(am__cd) $(top_builddir) && pwd` \
  42406. - && cd $(top_srcdir) \
  42407. - && gtags -i $(GTAGS_ARGS) $$here
  42408. + && $(am__cd) $(top_srcdir) \
  42409. + && gtags -i $(GTAGS_ARGS) "$$here"
  42410. distclean-tags:
  42411. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  42412. @@ -572,13 +603,17 @@
  42413. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  42414. if test -d $$d/$$file; then \
  42415. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  42416. + if test -d "$(distdir)/$$file"; then \
  42417. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  42418. + fi; \
  42419. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  42420. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  42421. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  42422. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  42423. fi; \
  42424. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  42425. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  42426. else \
  42427. - test -f $(distdir)/$$file \
  42428. - || cp -p $$d/$$file $(distdir)/$$file \
  42429. + test -f "$(distdir)/$$file" \
  42430. + || cp -p $$d/$$file "$(distdir)/$$file" \
  42431. || exit 1; \
  42432. fi; \
  42433. done
  42434. @@ -607,6 +642,7 @@
  42435. distclean-generic:
  42436. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  42437. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  42438. maintainer-clean-generic:
  42439. @echo "This command is intended for maintainers to use"
  42440. @@ -628,6 +664,8 @@
  42441. html: html-am
  42442. +html-am:
  42443. +
  42444. info: info-am
  42445. info-am:
  42446. @@ -636,18 +674,28 @@
  42447. install-dvi: install-dvi-am
  42448. +install-dvi-am:
  42449. +
  42450. install-exec-am: install-libLTLIBRARIES
  42451. install-html: install-html-am
  42452. +install-html-am:
  42453. +
  42454. install-info: install-info-am
  42455. +install-info-am:
  42456. +
  42457. install-man:
  42458. install-pdf: install-pdf-am
  42459. +install-pdf-am:
  42460. +
  42461. install-ps: install-ps-am
  42462. +install-ps-am:
  42463. +
  42464. installcheck-am:
  42465. maintainer-clean: maintainer-clean-am
  42466. @@ -690,6 +738,7 @@
  42467. clean-generic:
  42468. @RM@ -f *~ .*~
  42469. +
  42470. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  42471. # Otherwise a system limit (for SysV at least) may be exceeded.
  42472. .NOEXPORT:
  42473. diff -Nur owfs-2.7p38.orig/module/ownet/c/src/include/Makefile.in owfs-2.7p38/module/ownet/c/src/include/Makefile.in
  42474. --- owfs-2.7p38.orig/module/ownet/c/src/include/Makefile.in 2010-06-04 03:00:38.000000000 +0200
  42475. +++ owfs-2.7p38/module/ownet/c/src/include/Makefile.in 2010-07-09 16:00:56.982998799 +0200
  42476. @@ -1,8 +1,9 @@
  42477. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  42478. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  42479. # @configure_input@
  42480. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  42481. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  42482. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  42483. +# Inc.
  42484. # This Makefile.in is free software; the Free Software Foundation
  42485. # gives unlimited permission to copy and/or distribute it,
  42486. # with or without modifications, as long as this notice is preserved.
  42487. @@ -16,8 +17,9 @@
  42488. VPATH = @srcdir@
  42489. pkgdatadir = $(datadir)/@PACKAGE@
  42490. -pkglibdir = $(libdir)/@PACKAGE@
  42491. pkgincludedir = $(includedir)/@PACKAGE@
  42492. +pkglibdir = $(libdir)/@PACKAGE@
  42493. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  42494. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  42495. install_sh_DATA = $(install_sh) -c -m 644
  42496. install_sh_PROGRAM = $(install_sh) -c
  42497. @@ -36,8 +38,10 @@
  42498. subdir = module/ownet/c/src/include
  42499. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  42500. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  42501. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  42502. - $(top_srcdir)/acx_pthread.m4 \
  42503. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  42504. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  42505. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  42506. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  42507. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  42508. $(top_srcdir)/module/swig/php/php.m4 \
  42509. $(top_srcdir)/module/swig/python/python.m4 \
  42510. @@ -48,6 +52,7 @@
  42511. $(top_srcdir)/src/scripts/install/mkinstalldirs
  42512. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  42513. CONFIG_CLEAN_FILES =
  42514. +CONFIG_CLEAN_VPATH_FILES =
  42515. SOURCES =
  42516. DIST_SOURCES =
  42517. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  42518. @@ -55,9 +60,23 @@
  42519. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  42520. *) f=$$p;; \
  42521. esac;
  42522. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  42523. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  42524. +am__install_max = 40
  42525. +am__nobase_strip_setup = \
  42526. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  42527. +am__nobase_strip = \
  42528. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  42529. +am__nobase_list = $(am__nobase_strip_setup); \
  42530. + for p in $$list; do echo "$$p $$p"; done | \
  42531. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  42532. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  42533. + if (++n[$$2] == $(am__install_max)) \
  42534. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  42535. + END { for (dir in files) print dir, files[dir] }'
  42536. +am__base_list = \
  42537. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  42538. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  42539. am__installdirs = "$(DESTDIR)$(headerdir)"
  42540. -headerDATA_INSTALL = $(INSTALL_DATA)
  42541. DATA = $(header_DATA)
  42542. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  42543. ACLOCAL = @ACLOCAL@
  42544. @@ -153,6 +172,7 @@
  42545. LT_RELEASE = @LT_RELEASE@
  42546. LT_REVISION = @LT_REVISION@
  42547. MAKEINFO = @MAKEINFO@
  42548. +MANIFEST_TOOL = @MANIFEST_TOOL@
  42549. MKDIR_P = @MKDIR_P@
  42550. NM = @NM@
  42551. NMEDIT = @NMEDIT@
  42552. @@ -184,6 +204,7 @@
  42553. PACKAGE_NAME = @PACKAGE_NAME@
  42554. PACKAGE_STRING = @PACKAGE_STRING@
  42555. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  42556. +PACKAGE_URL = @PACKAGE_URL@
  42557. PACKAGE_VERSION = @PACKAGE_VERSION@
  42558. PATH_SEPARATOR = @PATH_SEPARATOR@
  42559. PERL = @PERL@
  42560. @@ -289,7 +310,6 @@
  42561. libexecdir = @libexecdir@
  42562. localedir = @localedir@
  42563. localstatedir = @localstatedir@
  42564. -lt_ECHO = @lt_ECHO@
  42565. mandir = @mandir@
  42566. mkdir_p = @mkdir_p@
  42567. oldincludedir = @oldincludedir@
  42568. @@ -344,9 +364,9 @@
  42569. exit 1;; \
  42570. esac; \
  42571. done; \
  42572. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/c/src/include/Makefile'; \
  42573. - cd $(top_srcdir) && \
  42574. - $(AUTOMAKE) --gnu module/ownet/c/src/include/Makefile
  42575. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/c/src/include/Makefile'; \
  42576. + $(am__cd) $(top_srcdir) && \
  42577. + $(AUTOMAKE) --gnu module/ownet/c/src/include/Makefile
  42578. .PRECIOUS: Makefile
  42579. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  42580. @case '$?' in \
  42581. @@ -364,6 +384,7 @@
  42582. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  42583. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  42584. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  42585. +$(am__aclocal_m4_deps):
  42586. mostlyclean-libtool:
  42587. -rm -f *.lo
  42588. @@ -373,20 +394,23 @@
  42589. install-headerDATA: $(header_DATA)
  42590. @$(NORMAL_INSTALL)
  42591. test -z "$(headerdir)" || $(MKDIR_P) "$(DESTDIR)$(headerdir)"
  42592. - @list='$(header_DATA)'; for p in $$list; do \
  42593. + @list='$(header_DATA)'; test -n "$(headerdir)" || list=; \
  42594. + for p in $$list; do \
  42595. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  42596. - f=$(am__strip_dir) \
  42597. - echo " $(headerDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(headerdir)/$$f'"; \
  42598. - $(headerDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(headerdir)/$$f"; \
  42599. + echo "$$d$$p"; \
  42600. + done | $(am__base_list) | \
  42601. + while read files; do \
  42602. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(headerdir)'"; \
  42603. + $(INSTALL_DATA) $$files "$(DESTDIR)$(headerdir)" || exit $$?; \
  42604. done
  42605. uninstall-headerDATA:
  42606. @$(NORMAL_UNINSTALL)
  42607. - @list='$(header_DATA)'; for p in $$list; do \
  42608. - f=$(am__strip_dir) \
  42609. - echo " rm -f '$(DESTDIR)$(headerdir)/$$f'"; \
  42610. - rm -f "$(DESTDIR)$(headerdir)/$$f"; \
  42611. - done
  42612. + @list='$(header_DATA)'; test -n "$(headerdir)" || list=; \
  42613. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  42614. + test -n "$$files" || exit 0; \
  42615. + echo " ( cd '$(DESTDIR)$(headerdir)' && rm -f" $$files ")"; \
  42616. + cd "$(DESTDIR)$(headerdir)" && rm -f $$files
  42617. tags: TAGS
  42618. TAGS:
  42619. @@ -410,13 +434,17 @@
  42620. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  42621. if test -d $$d/$$file; then \
  42622. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  42623. + if test -d "$(distdir)/$$file"; then \
  42624. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  42625. + fi; \
  42626. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  42627. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  42628. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  42629. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  42630. fi; \
  42631. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  42632. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  42633. else \
  42634. - test -f $(distdir)/$$file \
  42635. - || cp -p $$d/$$file $(distdir)/$$file \
  42636. + test -f "$(distdir)/$$file" \
  42637. + || cp -p $$d/$$file "$(distdir)/$$file" \
  42638. || exit 1; \
  42639. fi; \
  42640. done
  42641. @@ -445,6 +473,7 @@
  42642. distclean-generic:
  42643. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  42644. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  42645. maintainer-clean-generic:
  42646. @echo "This command is intended for maintainers to use"
  42647. @@ -463,6 +492,8 @@
  42648. html: html-am
  42649. +html-am:
  42650. +
  42651. info: info-am
  42652. info-am:
  42653. @@ -471,18 +502,28 @@
  42654. install-dvi: install-dvi-am
  42655. +install-dvi-am:
  42656. +
  42657. install-exec-am:
  42658. install-html: install-html-am
  42659. +install-html-am:
  42660. +
  42661. install-info: install-info-am
  42662. +install-info-am:
  42663. +
  42664. install-man:
  42665. install-pdf: install-pdf-am
  42666. +install-pdf-am:
  42667. +
  42668. install-ps: install-ps-am
  42669. +install-ps-am:
  42670. +
  42671. installcheck-am:
  42672. maintainer-clean: maintainer-clean-am
  42673. @@ -521,6 +562,7 @@
  42674. clean-generic:
  42675. @RM@ -f *~ .*~
  42676. +
  42677. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  42678. # Otherwise a system limit (for SysV at least) may be exceeded.
  42679. .NOEXPORT:
  42680. diff -Nur owfs-2.7p38.orig/module/ownet/c/src/Makefile.in owfs-2.7p38/module/ownet/c/src/Makefile.in
  42681. --- owfs-2.7p38.orig/module/ownet/c/src/Makefile.in 2010-06-04 03:00:38.000000000 +0200
  42682. +++ owfs-2.7p38/module/ownet/c/src/Makefile.in 2010-07-09 16:00:56.626999253 +0200
  42683. @@ -1,8 +1,9 @@
  42684. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  42685. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  42686. # @configure_input@
  42687. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  42688. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  42689. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  42690. +# Inc.
  42691. # This Makefile.in is free software; the Free Software Foundation
  42692. # gives unlimited permission to copy and/or distribute it,
  42693. # with or without modifications, as long as this notice is preserved.
  42694. @@ -15,8 +16,9 @@
  42695. @SET_MAKE@
  42696. VPATH = @srcdir@
  42697. pkgdatadir = $(datadir)/@PACKAGE@
  42698. -pkglibdir = $(libdir)/@PACKAGE@
  42699. pkgincludedir = $(includedir)/@PACKAGE@
  42700. +pkglibdir = $(libdir)/@PACKAGE@
  42701. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  42702. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  42703. install_sh_DATA = $(install_sh) -c -m 644
  42704. install_sh_PROGRAM = $(install_sh) -c
  42705. @@ -35,8 +37,10 @@
  42706. subdir = module/ownet/c/src
  42707. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  42708. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  42709. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  42710. - $(top_srcdir)/acx_pthread.m4 \
  42711. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  42712. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  42713. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  42714. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  42715. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  42716. $(top_srcdir)/module/swig/php/php.m4 \
  42717. $(top_srcdir)/module/swig/python/python.m4 \
  42718. @@ -47,6 +51,7 @@
  42719. $(top_srcdir)/src/scripts/install/mkinstalldirs
  42720. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  42721. CONFIG_CLEAN_FILES =
  42722. +CONFIG_CLEAN_VPATH_FILES =
  42723. SOURCES =
  42724. DIST_SOURCES =
  42725. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  42726. @@ -58,10 +63,38 @@
  42727. ps-recursive uninstall-recursive
  42728. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  42729. distclean-recursive maintainer-clean-recursive
  42730. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  42731. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  42732. + distdir
  42733. ETAGS = etags
  42734. CTAGS = ctags
  42735. DIST_SUBDIRS = $(SUBDIRS)
  42736. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  42737. +am__relativize = \
  42738. + dir0=`pwd`; \
  42739. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  42740. + sed_rest='s,^[^/]*/*,,'; \
  42741. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  42742. + sed_butlast='s,/*[^/]*$$,,'; \
  42743. + while test -n "$$dir1"; do \
  42744. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  42745. + if test "$$first" != "."; then \
  42746. + if test "$$first" = ".."; then \
  42747. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  42748. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  42749. + else \
  42750. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  42751. + if test "$$first2" = "$$first"; then \
  42752. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  42753. + else \
  42754. + dir2="../$$dir2"; \
  42755. + fi; \
  42756. + dir0="$$dir0"/"$$first"; \
  42757. + fi; \
  42758. + fi; \
  42759. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  42760. + done; \
  42761. + reldir="$$dir2"
  42762. ACLOCAL = @ACLOCAL@
  42763. AMTAR = @AMTAR@
  42764. AR = @AR@
  42765. @@ -155,6 +188,7 @@
  42766. LT_RELEASE = @LT_RELEASE@
  42767. LT_REVISION = @LT_REVISION@
  42768. MAKEINFO = @MAKEINFO@
  42769. +MANIFEST_TOOL = @MANIFEST_TOOL@
  42770. MKDIR_P = @MKDIR_P@
  42771. NM = @NM@
  42772. NMEDIT = @NMEDIT@
  42773. @@ -186,6 +220,7 @@
  42774. PACKAGE_NAME = @PACKAGE_NAME@
  42775. PACKAGE_STRING = @PACKAGE_STRING@
  42776. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  42777. +PACKAGE_URL = @PACKAGE_URL@
  42778. PACKAGE_VERSION = @PACKAGE_VERSION@
  42779. PATH_SEPARATOR = @PATH_SEPARATOR@
  42780. PERL = @PERL@
  42781. @@ -291,7 +326,6 @@
  42782. libexecdir = @libexecdir@
  42783. localedir = @localedir@
  42784. localstatedir = @localstatedir@
  42785. -lt_ECHO = @lt_ECHO@
  42786. mandir = @mandir@
  42787. mkdir_p = @mkdir_p@
  42788. oldincludedir = @oldincludedir@
  42789. @@ -327,9 +361,9 @@
  42790. exit 1;; \
  42791. esac; \
  42792. done; \
  42793. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/c/src/Makefile'; \
  42794. - cd $(top_srcdir) && \
  42795. - $(AUTOMAKE) --gnu module/ownet/c/src/Makefile
  42796. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/c/src/Makefile'; \
  42797. + $(am__cd) $(top_srcdir) && \
  42798. + $(AUTOMAKE) --gnu module/ownet/c/src/Makefile
  42799. .PRECIOUS: Makefile
  42800. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  42801. @case '$?' in \
  42802. @@ -347,6 +381,7 @@
  42803. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  42804. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  42805. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  42806. +$(am__aclocal_m4_deps):
  42807. mostlyclean-libtool:
  42808. -rm -f *.lo
  42809. @@ -361,7 +396,7 @@
  42810. # (which will cause the Makefiles to be regenerated when you run `make');
  42811. # (2) otherwise, pass the desired values on the `make' command line.
  42812. $(RECURSIVE_TARGETS):
  42813. - @failcom='exit 1'; \
  42814. + @fail= failcom='exit 1'; \
  42815. for f in x $$MAKEFLAGS; do \
  42816. case $$f in \
  42817. *=* | --[!k]*);; \
  42818. @@ -378,7 +413,7 @@
  42819. else \
  42820. local_target="$$target"; \
  42821. fi; \
  42822. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  42823. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  42824. || eval $$failcom; \
  42825. done; \
  42826. if test "$$dot_seen" = "no"; then \
  42827. @@ -386,7 +421,7 @@
  42828. fi; test -z "$$fail"
  42829. $(RECURSIVE_CLEAN_TARGETS):
  42830. - @failcom='exit 1'; \
  42831. + @fail= failcom='exit 1'; \
  42832. for f in x $$MAKEFLAGS; do \
  42833. case $$f in \
  42834. *=* | --[!k]*);; \
  42835. @@ -412,16 +447,16 @@
  42836. else \
  42837. local_target="$$target"; \
  42838. fi; \
  42839. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  42840. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  42841. || eval $$failcom; \
  42842. done && test -z "$$fail"
  42843. tags-recursive:
  42844. list='$(SUBDIRS)'; for subdir in $$list; do \
  42845. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  42846. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  42847. done
  42848. ctags-recursive:
  42849. list='$(SUBDIRS)'; for subdir in $$list; do \
  42850. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  42851. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  42852. done
  42853. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  42854. @@ -436,7 +471,7 @@
  42855. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  42856. $(TAGS_FILES) $(LISP)
  42857. - tags=; \
  42858. + set x; \
  42859. here=`pwd`; \
  42860. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  42861. include_option=--etags-include; \
  42862. @@ -448,7 +483,7 @@
  42863. list='$(SUBDIRS)'; for subdir in $$list; do \
  42864. if test "$$subdir" = .; then :; else \
  42865. test ! -f $$subdir/TAGS || \
  42866. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  42867. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  42868. fi; \
  42869. done; \
  42870. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  42871. @@ -457,29 +492,34 @@
  42872. done | \
  42873. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  42874. END { if (nonempty) { for (i in files) print i; }; }'`; \
  42875. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  42876. + shift; \
  42877. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  42878. test -n "$$unique" || unique=$$empty_fix; \
  42879. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  42880. - $$tags $$unique; \
  42881. + if test $$# -gt 0; then \
  42882. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  42883. + "$$@" $$unique; \
  42884. + else \
  42885. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  42886. + $$unique; \
  42887. + fi; \
  42888. fi
  42889. ctags: CTAGS
  42890. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  42891. $(TAGS_FILES) $(LISP)
  42892. - tags=; \
  42893. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  42894. unique=`for i in $$list; do \
  42895. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  42896. done | \
  42897. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  42898. END { if (nonempty) { for (i in files) print i; }; }'`; \
  42899. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  42900. + test -z "$(CTAGS_ARGS)$$unique" \
  42901. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  42902. - $$tags $$unique
  42903. + $$unique
  42904. GTAGS:
  42905. here=`$(am__cd) $(top_builddir) && pwd` \
  42906. - && cd $(top_srcdir) \
  42907. - && gtags -i $(GTAGS_ARGS) $$here
  42908. + && $(am__cd) $(top_srcdir) \
  42909. + && gtags -i $(GTAGS_ARGS) "$$here"
  42910. distclean-tags:
  42911. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  42912. @@ -500,29 +540,44 @@
  42913. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  42914. if test -d $$d/$$file; then \
  42915. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  42916. + if test -d "$(distdir)/$$file"; then \
  42917. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  42918. + fi; \
  42919. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  42920. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  42921. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  42922. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  42923. fi; \
  42924. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  42925. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  42926. else \
  42927. - test -f $(distdir)/$$file \
  42928. - || cp -p $$d/$$file $(distdir)/$$file \
  42929. + test -f "$(distdir)/$$file" \
  42930. + || cp -p $$d/$$file "$(distdir)/$$file" \
  42931. || exit 1; \
  42932. fi; \
  42933. done
  42934. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  42935. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  42936. if test "$$subdir" = .; then :; else \
  42937. test -d "$(distdir)/$$subdir" \
  42938. || $(MKDIR_P) "$(distdir)/$$subdir" \
  42939. || exit 1; \
  42940. - distdir=`$(am__cd) $(distdir) && pwd`; \
  42941. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  42942. - (cd $$subdir && \
  42943. + fi; \
  42944. + done
  42945. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  42946. + if test "$$subdir" = .; then :; else \
  42947. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  42948. + $(am__relativize); \
  42949. + new_distdir=$$reldir; \
  42950. + dir1=$$subdir; dir2="$(top_distdir)"; \
  42951. + $(am__relativize); \
  42952. + new_top_distdir=$$reldir; \
  42953. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  42954. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  42955. + ($(am__cd) $$subdir && \
  42956. $(MAKE) $(AM_MAKEFLAGS) \
  42957. - top_distdir="$$top_distdir" \
  42958. - distdir="$$distdir/$$subdir" \
  42959. + top_distdir="$$new_top_distdir" \
  42960. + distdir="$$new_distdir" \
  42961. am__remove_distdir=: \
  42962. am__skip_length_check=: \
  42963. + am__skip_mode_fix=: \
  42964. distdir) \
  42965. || exit 1; \
  42966. fi; \
  42967. @@ -550,6 +605,7 @@
  42968. distclean-generic:
  42969. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  42970. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  42971. maintainer-clean-generic:
  42972. @echo "This command is intended for maintainers to use"
  42973. @@ -568,6 +624,8 @@
  42974. html: html-recursive
  42975. +html-am:
  42976. +
  42977. info: info-recursive
  42978. info-am:
  42979. @@ -576,18 +634,28 @@
  42980. install-dvi: install-dvi-recursive
  42981. +install-dvi-am:
  42982. +
  42983. install-exec-am:
  42984. install-html: install-html-recursive
  42985. +install-html-am:
  42986. +
  42987. install-info: install-info-recursive
  42988. +install-info-am:
  42989. +
  42990. install-man:
  42991. install-pdf: install-pdf-recursive
  42992. +install-pdf-am:
  42993. +
  42994. install-ps: install-ps-recursive
  42995. +install-ps-am:
  42996. +
  42997. installcheck-am:
  42998. maintainer-clean: maintainer-clean-recursive
  42999. @@ -608,8 +676,8 @@
  43000. uninstall-am:
  43001. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  43002. - install-strip
  43003. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  43004. + install-am install-strip tags-recursive
  43005. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  43006. all all-am check check-am clean clean-generic clean-libtool \
  43007. @@ -629,6 +697,7 @@
  43008. clean-generic:
  43009. @RM@ -f *~ .*~
  43010. +
  43011. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  43012. # Otherwise a system limit (for SysV at least) may be exceeded.
  43013. .NOEXPORT:
  43014. diff -Nur owfs-2.7p38.orig/module/ownet/Makefile.in owfs-2.7p38/module/ownet/Makefile.in
  43015. --- owfs-2.7p38.orig/module/ownet/Makefile.in 2010-06-04 03:00:38.000000000 +0200
  43016. +++ owfs-2.7p38/module/ownet/Makefile.in 2010-07-09 16:00:56.330998994 +0200
  43017. @@ -1,8 +1,9 @@
  43018. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  43019. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  43020. # @configure_input@
  43021. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  43022. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  43023. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  43024. +# Inc.
  43025. # This Makefile.in is free software; the Free Software Foundation
  43026. # gives unlimited permission to copy and/or distribute it,
  43027. # with or without modifications, as long as this notice is preserved.
  43028. @@ -15,8 +16,9 @@
  43029. @SET_MAKE@
  43030. VPATH = @srcdir@
  43031. pkgdatadir = $(datadir)/@PACKAGE@
  43032. -pkglibdir = $(libdir)/@PACKAGE@
  43033. pkgincludedir = $(includedir)/@PACKAGE@
  43034. +pkglibdir = $(libdir)/@PACKAGE@
  43035. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  43036. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  43037. install_sh_DATA = $(install_sh) -c -m 644
  43038. install_sh_PROGRAM = $(install_sh) -c
  43039. @@ -35,8 +37,10 @@
  43040. subdir = module/ownet
  43041. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  43042. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  43043. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  43044. - $(top_srcdir)/acx_pthread.m4 \
  43045. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  43046. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  43047. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  43048. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  43049. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  43050. $(top_srcdir)/module/swig/php/php.m4 \
  43051. $(top_srcdir)/module/swig/python/python.m4 \
  43052. @@ -47,6 +51,7 @@
  43053. $(top_srcdir)/src/scripts/install/mkinstalldirs
  43054. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  43055. CONFIG_CLEAN_FILES =
  43056. +CONFIG_CLEAN_VPATH_FILES =
  43057. SOURCES =
  43058. DIST_SOURCES =
  43059. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  43060. @@ -58,10 +63,38 @@
  43061. ps-recursive uninstall-recursive
  43062. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  43063. distclean-recursive maintainer-clean-recursive
  43064. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  43065. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  43066. + distdir
  43067. ETAGS = etags
  43068. CTAGS = ctags
  43069. DIST_SUBDIRS = c php python perl5
  43070. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  43071. +am__relativize = \
  43072. + dir0=`pwd`; \
  43073. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  43074. + sed_rest='s,^[^/]*/*,,'; \
  43075. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  43076. + sed_butlast='s,/*[^/]*$$,,'; \
  43077. + while test -n "$$dir1"; do \
  43078. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  43079. + if test "$$first" != "."; then \
  43080. + if test "$$first" = ".."; then \
  43081. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  43082. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  43083. + else \
  43084. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  43085. + if test "$$first2" = "$$first"; then \
  43086. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  43087. + else \
  43088. + dir2="../$$dir2"; \
  43089. + fi; \
  43090. + dir0="$$dir0"/"$$first"; \
  43091. + fi; \
  43092. + fi; \
  43093. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  43094. + done; \
  43095. + reldir="$$dir2"
  43096. ACLOCAL = @ACLOCAL@
  43097. AMTAR = @AMTAR@
  43098. AR = @AR@
  43099. @@ -155,6 +188,7 @@
  43100. LT_RELEASE = @LT_RELEASE@
  43101. LT_REVISION = @LT_REVISION@
  43102. MAKEINFO = @MAKEINFO@
  43103. +MANIFEST_TOOL = @MANIFEST_TOOL@
  43104. MKDIR_P = @MKDIR_P@
  43105. NM = @NM@
  43106. NMEDIT = @NMEDIT@
  43107. @@ -186,6 +220,7 @@
  43108. PACKAGE_NAME = @PACKAGE_NAME@
  43109. PACKAGE_STRING = @PACKAGE_STRING@
  43110. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  43111. +PACKAGE_URL = @PACKAGE_URL@
  43112. PACKAGE_VERSION = @PACKAGE_VERSION@
  43113. PATH_SEPARATOR = @PATH_SEPARATOR@
  43114. PERL = @PERL@
  43115. @@ -291,7 +326,6 @@
  43116. libexecdir = @libexecdir@
  43117. localedir = @localedir@
  43118. localstatedir = @localstatedir@
  43119. -lt_ECHO = @lt_ECHO@
  43120. mandir = @mandir@
  43121. mkdir_p = @mkdir_p@
  43122. oldincludedir = @oldincludedir@
  43123. @@ -328,9 +362,9 @@
  43124. exit 1;; \
  43125. esac; \
  43126. done; \
  43127. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/Makefile'; \
  43128. - cd $(top_srcdir) && \
  43129. - $(AUTOMAKE) --gnu module/ownet/Makefile
  43130. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/Makefile'; \
  43131. + $(am__cd) $(top_srcdir) && \
  43132. + $(AUTOMAKE) --gnu module/ownet/Makefile
  43133. .PRECIOUS: Makefile
  43134. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  43135. @case '$?' in \
  43136. @@ -348,6 +382,7 @@
  43137. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  43138. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  43139. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  43140. +$(am__aclocal_m4_deps):
  43141. mostlyclean-libtool:
  43142. -rm -f *.lo
  43143. @@ -362,7 +397,7 @@
  43144. # (which will cause the Makefiles to be regenerated when you run `make');
  43145. # (2) otherwise, pass the desired values on the `make' command line.
  43146. $(RECURSIVE_TARGETS):
  43147. - @failcom='exit 1'; \
  43148. + @fail= failcom='exit 1'; \
  43149. for f in x $$MAKEFLAGS; do \
  43150. case $$f in \
  43151. *=* | --[!k]*);; \
  43152. @@ -379,7 +414,7 @@
  43153. else \
  43154. local_target="$$target"; \
  43155. fi; \
  43156. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  43157. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  43158. || eval $$failcom; \
  43159. done; \
  43160. if test "$$dot_seen" = "no"; then \
  43161. @@ -387,7 +422,7 @@
  43162. fi; test -z "$$fail"
  43163. $(RECURSIVE_CLEAN_TARGETS):
  43164. - @failcom='exit 1'; \
  43165. + @fail= failcom='exit 1'; \
  43166. for f in x $$MAKEFLAGS; do \
  43167. case $$f in \
  43168. *=* | --[!k]*);; \
  43169. @@ -413,16 +448,16 @@
  43170. else \
  43171. local_target="$$target"; \
  43172. fi; \
  43173. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  43174. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  43175. || eval $$failcom; \
  43176. done && test -z "$$fail"
  43177. tags-recursive:
  43178. list='$(SUBDIRS)'; for subdir in $$list; do \
  43179. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  43180. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  43181. done
  43182. ctags-recursive:
  43183. list='$(SUBDIRS)'; for subdir in $$list; do \
  43184. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  43185. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  43186. done
  43187. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  43188. @@ -437,7 +472,7 @@
  43189. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  43190. $(TAGS_FILES) $(LISP)
  43191. - tags=; \
  43192. + set x; \
  43193. here=`pwd`; \
  43194. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  43195. include_option=--etags-include; \
  43196. @@ -449,7 +484,7 @@
  43197. list='$(SUBDIRS)'; for subdir in $$list; do \
  43198. if test "$$subdir" = .; then :; else \
  43199. test ! -f $$subdir/TAGS || \
  43200. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  43201. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  43202. fi; \
  43203. done; \
  43204. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  43205. @@ -458,29 +493,34 @@
  43206. done | \
  43207. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  43208. END { if (nonempty) { for (i in files) print i; }; }'`; \
  43209. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  43210. + shift; \
  43211. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  43212. test -n "$$unique" || unique=$$empty_fix; \
  43213. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  43214. - $$tags $$unique; \
  43215. + if test $$# -gt 0; then \
  43216. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  43217. + "$$@" $$unique; \
  43218. + else \
  43219. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  43220. + $$unique; \
  43221. + fi; \
  43222. fi
  43223. ctags: CTAGS
  43224. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  43225. $(TAGS_FILES) $(LISP)
  43226. - tags=; \
  43227. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  43228. unique=`for i in $$list; do \
  43229. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  43230. done | \
  43231. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  43232. END { if (nonempty) { for (i in files) print i; }; }'`; \
  43233. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  43234. + test -z "$(CTAGS_ARGS)$$unique" \
  43235. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  43236. - $$tags $$unique
  43237. + $$unique
  43238. GTAGS:
  43239. here=`$(am__cd) $(top_builddir) && pwd` \
  43240. - && cd $(top_srcdir) \
  43241. - && gtags -i $(GTAGS_ARGS) $$here
  43242. + && $(am__cd) $(top_srcdir) \
  43243. + && gtags -i $(GTAGS_ARGS) "$$here"
  43244. distclean-tags:
  43245. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  43246. @@ -501,29 +541,44 @@
  43247. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  43248. if test -d $$d/$$file; then \
  43249. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  43250. + if test -d "$(distdir)/$$file"; then \
  43251. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  43252. + fi; \
  43253. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  43254. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  43255. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  43256. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  43257. fi; \
  43258. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  43259. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  43260. else \
  43261. - test -f $(distdir)/$$file \
  43262. - || cp -p $$d/$$file $(distdir)/$$file \
  43263. + test -f "$(distdir)/$$file" \
  43264. + || cp -p $$d/$$file "$(distdir)/$$file" \
  43265. || exit 1; \
  43266. fi; \
  43267. done
  43268. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  43269. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  43270. if test "$$subdir" = .; then :; else \
  43271. test -d "$(distdir)/$$subdir" \
  43272. || $(MKDIR_P) "$(distdir)/$$subdir" \
  43273. || exit 1; \
  43274. - distdir=`$(am__cd) $(distdir) && pwd`; \
  43275. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  43276. - (cd $$subdir && \
  43277. + fi; \
  43278. + done
  43279. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  43280. + if test "$$subdir" = .; then :; else \
  43281. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  43282. + $(am__relativize); \
  43283. + new_distdir=$$reldir; \
  43284. + dir1=$$subdir; dir2="$(top_distdir)"; \
  43285. + $(am__relativize); \
  43286. + new_top_distdir=$$reldir; \
  43287. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  43288. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  43289. + ($(am__cd) $$subdir && \
  43290. $(MAKE) $(AM_MAKEFLAGS) \
  43291. - top_distdir="$$top_distdir" \
  43292. - distdir="$$distdir/$$subdir" \
  43293. + top_distdir="$$new_top_distdir" \
  43294. + distdir="$$new_distdir" \
  43295. am__remove_distdir=: \
  43296. am__skip_length_check=: \
  43297. + am__skip_mode_fix=: \
  43298. distdir) \
  43299. || exit 1; \
  43300. fi; \
  43301. @@ -551,6 +606,7 @@
  43302. distclean-generic:
  43303. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  43304. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  43305. maintainer-clean-generic:
  43306. @echo "This command is intended for maintainers to use"
  43307. @@ -569,6 +625,8 @@
  43308. html: html-recursive
  43309. +html-am:
  43310. +
  43311. info: info-recursive
  43312. info-am:
  43313. @@ -577,18 +635,28 @@
  43314. install-dvi: install-dvi-recursive
  43315. +install-dvi-am:
  43316. +
  43317. install-exec-am:
  43318. install-html: install-html-recursive
  43319. +install-html-am:
  43320. +
  43321. install-info: install-info-recursive
  43322. +install-info-am:
  43323. +
  43324. install-man:
  43325. install-pdf: install-pdf-recursive
  43326. +install-pdf-am:
  43327. +
  43328. install-ps: install-ps-recursive
  43329. +install-ps-am:
  43330. +
  43331. installcheck-am:
  43332. maintainer-clean: maintainer-clean-recursive
  43333. @@ -609,8 +677,8 @@
  43334. uninstall-am:
  43335. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  43336. - install-strip
  43337. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  43338. + install-am install-strip tags-recursive
  43339. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  43340. all all-am check check-am clean clean-generic clean-libtool \
  43341. @@ -630,6 +698,7 @@
  43342. clean-generic:
  43343. @RM@ -f *~ .*~
  43344. +
  43345. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  43346. # Otherwise a system limit (for SysV at least) may be exceeded.
  43347. .NOEXPORT:
  43348. diff -Nur owfs-2.7p38.orig/module/ownet/perl5/Makefile.in owfs-2.7p38/module/ownet/perl5/Makefile.in
  43349. --- owfs-2.7p38.orig/module/ownet/perl5/Makefile.in 2010-06-04 03:00:38.000000000 +0200
  43350. +++ owfs-2.7p38/module/ownet/perl5/Makefile.in 2010-07-09 16:00:57.135001390 +0200
  43351. @@ -1,8 +1,9 @@
  43352. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  43353. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  43354. # @configure_input@
  43355. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  43356. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  43357. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  43358. +# Inc.
  43359. # This Makefile.in is free software; the Free Software Foundation
  43360. # gives unlimited permission to copy and/or distribute it,
  43361. # with or without modifications, as long as this notice is preserved.
  43362. @@ -15,8 +16,9 @@
  43363. @SET_MAKE@
  43364. VPATH = @srcdir@
  43365. pkgdatadir = $(datadir)/@PACKAGE@
  43366. -pkglibdir = $(libdir)/@PACKAGE@
  43367. pkgincludedir = $(includedir)/@PACKAGE@
  43368. +pkglibdir = $(libdir)/@PACKAGE@
  43369. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  43370. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  43371. install_sh_DATA = $(install_sh) -c -m 644
  43372. install_sh_PROGRAM = $(install_sh) -c
  43373. @@ -35,8 +37,10 @@
  43374. subdir = module/ownet/perl5
  43375. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  43376. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  43377. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  43378. - $(top_srcdir)/acx_pthread.m4 \
  43379. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  43380. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  43381. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  43382. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  43383. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  43384. $(top_srcdir)/module/swig/php/php.m4 \
  43385. $(top_srcdir)/module/swig/python/python.m4 \
  43386. @@ -47,6 +51,7 @@
  43387. $(top_srcdir)/src/scripts/install/mkinstalldirs
  43388. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  43389. CONFIG_CLEAN_FILES =
  43390. +CONFIG_CLEAN_VPATH_FILES =
  43391. SOURCES =
  43392. DIST_SOURCES =
  43393. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  43394. @@ -143,6 +148,7 @@
  43395. LT_RELEASE = @LT_RELEASE@
  43396. LT_REVISION = @LT_REVISION@
  43397. MAKEINFO = @MAKEINFO@
  43398. +MANIFEST_TOOL = @MANIFEST_TOOL@
  43399. MKDIR_P = @MKDIR_P@
  43400. NM = @NM@
  43401. NMEDIT = @NMEDIT@
  43402. @@ -174,6 +180,7 @@
  43403. PACKAGE_NAME = @PACKAGE_NAME@
  43404. PACKAGE_STRING = @PACKAGE_STRING@
  43405. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  43406. +PACKAGE_URL = @PACKAGE_URL@
  43407. PACKAGE_VERSION = @PACKAGE_VERSION@
  43408. PATH_SEPARATOR = @PATH_SEPARATOR@
  43409. PERL = @PERL@
  43410. @@ -279,7 +286,6 @@
  43411. libexecdir = @libexecdir@
  43412. localedir = @localedir@
  43413. localstatedir = @localstatedir@
  43414. -lt_ECHO = @lt_ECHO@
  43415. mandir = @mandir@
  43416. mkdir_p = @mkdir_p@
  43417. oldincludedir = @oldincludedir@
  43418. @@ -312,9 +318,9 @@
  43419. exit 1;; \
  43420. esac; \
  43421. done; \
  43422. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/perl5/Makefile'; \
  43423. - cd $(top_srcdir) && \
  43424. - $(AUTOMAKE) --gnu module/ownet/perl5/Makefile
  43425. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/perl5/Makefile'; \
  43426. + $(am__cd) $(top_srcdir) && \
  43427. + $(AUTOMAKE) --gnu module/ownet/perl5/Makefile
  43428. .PRECIOUS: Makefile
  43429. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  43430. @case '$?' in \
  43431. @@ -332,6 +338,7 @@
  43432. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  43433. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  43434. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  43435. +$(am__aclocal_m4_deps):
  43436. mostlyclean-libtool:
  43437. -rm -f *.lo
  43438. @@ -361,13 +368,17 @@
  43439. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  43440. if test -d $$d/$$file; then \
  43441. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  43442. + if test -d "$(distdir)/$$file"; then \
  43443. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  43444. + fi; \
  43445. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  43446. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  43447. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  43448. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  43449. fi; \
  43450. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  43451. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  43452. else \
  43453. - test -f $(distdir)/$$file \
  43454. - || cp -p $$d/$$file $(distdir)/$$file \
  43455. + test -f "$(distdir)/$$file" \
  43456. + || cp -p $$d/$$file "$(distdir)/$$file" \
  43457. || exit 1; \
  43458. fi; \
  43459. done
  43460. @@ -393,6 +404,7 @@
  43461. distclean-generic:
  43462. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  43463. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  43464. maintainer-clean-generic:
  43465. @echo "This command is intended for maintainers to use"
  43466. @@ -411,6 +423,8 @@
  43467. html: html-am
  43468. +html-am:
  43469. +
  43470. info: info-am
  43471. info-am:
  43472. @@ -419,18 +433,28 @@
  43473. install-dvi: install-dvi-am
  43474. +install-dvi-am:
  43475. +
  43476. install-exec-am:
  43477. install-html: install-html-am
  43478. +install-html-am:
  43479. +
  43480. install-info: install-info-am
  43481. +install-info-am:
  43482. +
  43483. install-man:
  43484. install-pdf: install-pdf-am
  43485. +install-pdf-am:
  43486. +
  43487. install-ps: install-ps-am
  43488. +install-ps-am:
  43489. +
  43490. installcheck-am:
  43491. maintainer-clean: maintainer-clean-am
  43492. @@ -484,6 +508,7 @@
  43493. @RM@ -f *~ .*~
  43494. if test -f OWNet/Makefile; then cd OWNet; $(MAKE) clean; fi
  43495. @RM@ -f OWNet/Makefile.old OWNet/Makefile
  43496. +
  43497. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  43498. # Otherwise a system limit (for SysV at least) may be exceeded.
  43499. .NOEXPORT:
  43500. diff -Nur owfs-2.7p38.orig/module/ownet/php/Makefile.in owfs-2.7p38/module/ownet/php/Makefile.in
  43501. --- owfs-2.7p38.orig/module/ownet/php/Makefile.in 2010-06-04 03:00:39.000000000 +0200
  43502. +++ owfs-2.7p38/module/ownet/php/Makefile.in 2010-07-09 16:00:57.274998843 +0200
  43503. @@ -1,8 +1,9 @@
  43504. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  43505. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  43506. # @configure_input@
  43507. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  43508. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  43509. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  43510. +# Inc.
  43511. # This Makefile.in is free software; the Free Software Foundation
  43512. # gives unlimited permission to copy and/or distribute it,
  43513. # with or without modifications, as long as this notice is preserved.
  43514. @@ -15,8 +16,9 @@
  43515. @SET_MAKE@
  43516. VPATH = @srcdir@
  43517. pkgdatadir = $(datadir)/@PACKAGE@
  43518. -pkglibdir = $(libdir)/@PACKAGE@
  43519. pkgincludedir = $(includedir)/@PACKAGE@
  43520. +pkglibdir = $(libdir)/@PACKAGE@
  43521. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  43522. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  43523. install_sh_DATA = $(install_sh) -c -m 644
  43524. install_sh_PROGRAM = $(install_sh) -c
  43525. @@ -35,8 +37,10 @@
  43526. subdir = module/ownet/php
  43527. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  43528. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  43529. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  43530. - $(top_srcdir)/acx_pthread.m4 \
  43531. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  43532. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  43533. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  43534. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  43535. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  43536. $(top_srcdir)/module/swig/php/php.m4 \
  43537. $(top_srcdir)/module/swig/python/python.m4 \
  43538. @@ -47,6 +51,7 @@
  43539. $(top_srcdir)/src/scripts/install/mkinstalldirs
  43540. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  43541. CONFIG_CLEAN_FILES =
  43542. +CONFIG_CLEAN_VPATH_FILES =
  43543. SOURCES =
  43544. DIST_SOURCES =
  43545. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  43546. @@ -143,6 +148,7 @@
  43547. LT_RELEASE = @LT_RELEASE@
  43548. LT_REVISION = @LT_REVISION@
  43549. MAKEINFO = @MAKEINFO@
  43550. +MANIFEST_TOOL = @MANIFEST_TOOL@
  43551. MKDIR_P = @MKDIR_P@
  43552. NM = @NM@
  43553. NMEDIT = @NMEDIT@
  43554. @@ -174,6 +180,7 @@
  43555. PACKAGE_NAME = @PACKAGE_NAME@
  43556. PACKAGE_STRING = @PACKAGE_STRING@
  43557. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  43558. +PACKAGE_URL = @PACKAGE_URL@
  43559. PACKAGE_VERSION = @PACKAGE_VERSION@
  43560. PATH_SEPARATOR = @PATH_SEPARATOR@
  43561. PERL = @PERL@
  43562. @@ -279,7 +286,6 @@
  43563. libexecdir = @libexecdir@
  43564. localedir = @localedir@
  43565. localstatedir = @localstatedir@
  43566. -lt_ECHO = @lt_ECHO@
  43567. mandir = @mandir@
  43568. mkdir_p = @mkdir_p@
  43569. oldincludedir = @oldincludedir@
  43570. @@ -312,9 +318,9 @@
  43571. exit 1;; \
  43572. esac; \
  43573. done; \
  43574. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/php/Makefile'; \
  43575. - cd $(top_srcdir) && \
  43576. - $(AUTOMAKE) --gnu module/ownet/php/Makefile
  43577. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/php/Makefile'; \
  43578. + $(am__cd) $(top_srcdir) && \
  43579. + $(AUTOMAKE) --gnu module/ownet/php/Makefile
  43580. .PRECIOUS: Makefile
  43581. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  43582. @case '$?' in \
  43583. @@ -332,6 +338,7 @@
  43584. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  43585. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  43586. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  43587. +$(am__aclocal_m4_deps):
  43588. mostlyclean-libtool:
  43589. -rm -f *.lo
  43590. @@ -361,13 +368,17 @@
  43591. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  43592. if test -d $$d/$$file; then \
  43593. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  43594. + if test -d "$(distdir)/$$file"; then \
  43595. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  43596. + fi; \
  43597. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  43598. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  43599. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  43600. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  43601. fi; \
  43602. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  43603. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  43604. else \
  43605. - test -f $(distdir)/$$file \
  43606. - || cp -p $$d/$$file $(distdir)/$$file \
  43607. + test -f "$(distdir)/$$file" \
  43608. + || cp -p $$d/$$file "$(distdir)/$$file" \
  43609. || exit 1; \
  43610. fi; \
  43611. done
  43612. @@ -393,6 +404,7 @@
  43613. distclean-generic:
  43614. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  43615. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  43616. maintainer-clean-generic:
  43617. @echo "This command is intended for maintainers to use"
  43618. @@ -411,6 +423,8 @@
  43619. html: html-am
  43620. +html-am:
  43621. +
  43622. info: info-am
  43623. info-am:
  43624. @@ -419,18 +433,28 @@
  43625. install-dvi: install-dvi-am
  43626. +install-dvi-am:
  43627. +
  43628. install-exec-am:
  43629. install-html: install-html-am
  43630. +install-html-am:
  43631. +
  43632. install-info: install-info-am
  43633. +install-info-am:
  43634. +
  43635. install-man:
  43636. install-pdf: install-pdf-am
  43637. +install-pdf-am:
  43638. +
  43639. install-ps: install-ps-am
  43640. +install-ps-am:
  43641. +
  43642. installcheck-am:
  43643. maintainer-clean: maintainer-clean-am
  43644. @@ -474,6 +498,7 @@
  43645. clean-generic:
  43646. @RM@ -f *~ .*~
  43647. +
  43648. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  43649. # Otherwise a system limit (for SysV at least) may be exceeded.
  43650. .NOEXPORT:
  43651. diff -Nur owfs-2.7p38.orig/module/ownet/python/Makefile.in owfs-2.7p38/module/ownet/python/Makefile.in
  43652. --- owfs-2.7p38.orig/module/ownet/python/Makefile.in 2010-06-04 03:00:39.000000000 +0200
  43653. +++ owfs-2.7p38/module/ownet/python/Makefile.in 2010-07-09 16:00:57.414999358 +0200
  43654. @@ -1,8 +1,9 @@
  43655. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  43656. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  43657. # @configure_input@
  43658. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  43659. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  43660. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  43661. +# Inc.
  43662. # This Makefile.in is free software; the Free Software Foundation
  43663. # gives unlimited permission to copy and/or distribute it,
  43664. # with or without modifications, as long as this notice is preserved.
  43665. @@ -15,8 +16,9 @@
  43666. @SET_MAKE@
  43667. VPATH = @srcdir@
  43668. pkgdatadir = $(datadir)/@PACKAGE@
  43669. -pkglibdir = $(libdir)/@PACKAGE@
  43670. pkgincludedir = $(includedir)/@PACKAGE@
  43671. +pkglibdir = $(libdir)/@PACKAGE@
  43672. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  43673. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  43674. install_sh_DATA = $(install_sh) -c -m 644
  43675. install_sh_PROGRAM = $(install_sh) -c
  43676. @@ -35,8 +37,10 @@
  43677. subdir = module/ownet/python
  43678. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  43679. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  43680. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  43681. - $(top_srcdir)/acx_pthread.m4 \
  43682. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  43683. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  43684. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  43685. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  43686. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  43687. $(top_srcdir)/module/swig/php/php.m4 \
  43688. $(top_srcdir)/module/swig/python/python.m4 \
  43689. @@ -47,6 +51,7 @@
  43690. $(top_srcdir)/src/scripts/install/mkinstalldirs
  43691. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  43692. CONFIG_CLEAN_FILES =
  43693. +CONFIG_CLEAN_VPATH_FILES =
  43694. SOURCES =
  43695. DIST_SOURCES =
  43696. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  43697. @@ -143,6 +148,7 @@
  43698. LT_RELEASE = @LT_RELEASE@
  43699. LT_REVISION = @LT_REVISION@
  43700. MAKEINFO = @MAKEINFO@
  43701. +MANIFEST_TOOL = @MANIFEST_TOOL@
  43702. MKDIR_P = @MKDIR_P@
  43703. NM = @NM@
  43704. NMEDIT = @NMEDIT@
  43705. @@ -174,6 +180,7 @@
  43706. PACKAGE_NAME = @PACKAGE_NAME@
  43707. PACKAGE_STRING = @PACKAGE_STRING@
  43708. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  43709. +PACKAGE_URL = @PACKAGE_URL@
  43710. PACKAGE_VERSION = @PACKAGE_VERSION@
  43711. PATH_SEPARATOR = @PATH_SEPARATOR@
  43712. PERL = @PERL@
  43713. @@ -279,7 +286,6 @@
  43714. libexecdir = @libexecdir@
  43715. localedir = @localedir@
  43716. localstatedir = @localstatedir@
  43717. -lt_ECHO = @lt_ECHO@
  43718. mandir = @mandir@
  43719. mkdir_p = @mkdir_p@
  43720. oldincludedir = @oldincludedir@
  43721. @@ -312,9 +318,9 @@
  43722. exit 1;; \
  43723. esac; \
  43724. done; \
  43725. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/python/Makefile'; \
  43726. - cd $(top_srcdir) && \
  43727. - $(AUTOMAKE) --gnu module/ownet/python/Makefile
  43728. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/ownet/python/Makefile'; \
  43729. + $(am__cd) $(top_srcdir) && \
  43730. + $(AUTOMAKE) --gnu module/ownet/python/Makefile
  43731. .PRECIOUS: Makefile
  43732. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  43733. @case '$?' in \
  43734. @@ -332,6 +338,7 @@
  43735. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  43736. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  43737. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  43738. +$(am__aclocal_m4_deps):
  43739. mostlyclean-libtool:
  43740. -rm -f *.lo
  43741. @@ -361,13 +368,17 @@
  43742. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  43743. if test -d $$d/$$file; then \
  43744. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  43745. + if test -d "$(distdir)/$$file"; then \
  43746. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  43747. + fi; \
  43748. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  43749. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  43750. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  43751. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  43752. fi; \
  43753. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  43754. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  43755. else \
  43756. - test -f $(distdir)/$$file \
  43757. - || cp -p $$d/$$file $(distdir)/$$file \
  43758. + test -f "$(distdir)/$$file" \
  43759. + || cp -p $$d/$$file "$(distdir)/$$file" \
  43760. || exit 1; \
  43761. fi; \
  43762. done
  43763. @@ -393,6 +404,7 @@
  43764. distclean-generic:
  43765. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  43766. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  43767. maintainer-clean-generic:
  43768. @echo "This command is intended for maintainers to use"
  43769. @@ -411,6 +423,8 @@
  43770. html: html-am
  43771. +html-am:
  43772. +
  43773. info: info-am
  43774. info-am:
  43775. @@ -419,18 +433,28 @@
  43776. install-dvi: install-dvi-am
  43777. +install-dvi-am:
  43778. +
  43779. install-exec-am:
  43780. install-html: install-html-am
  43781. +install-html-am:
  43782. +
  43783. install-info: install-info-am
  43784. +install-info-am:
  43785. +
  43786. install-man:
  43787. install-pdf: install-pdf-am
  43788. +install-pdf-am:
  43789. +
  43790. install-ps: install-ps-am
  43791. +install-ps-am:
  43792. +
  43793. installcheck-am:
  43794. maintainer-clean: maintainer-clean-am
  43795. @@ -478,6 +502,7 @@
  43796. clean-generic:
  43797. @RM@ -f *~ .*~
  43798. +
  43799. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  43800. # Otherwise a system limit (for SysV at least) may be exceeded.
  43801. .NOEXPORT:
  43802. diff -Nur owfs-2.7p38.orig/module/owserver/Makefile.in owfs-2.7p38/module/owserver/Makefile.in
  43803. --- owfs-2.7p38.orig/module/owserver/Makefile.in 2010-06-04 03:00:39.000000000 +0200
  43804. +++ owfs-2.7p38/module/owserver/Makefile.in 2010-07-09 16:00:57.562999206 +0200
  43805. @@ -1,8 +1,9 @@
  43806. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  43807. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  43808. # @configure_input@
  43809. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  43810. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  43811. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  43812. +# Inc.
  43813. # This Makefile.in is free software; the Free Software Foundation
  43814. # gives unlimited permission to copy and/or distribute it,
  43815. # with or without modifications, as long as this notice is preserved.
  43816. @@ -15,8 +16,9 @@
  43817. @SET_MAKE@
  43818. VPATH = @srcdir@
  43819. pkgdatadir = $(datadir)/@PACKAGE@
  43820. -pkglibdir = $(libdir)/@PACKAGE@
  43821. pkgincludedir = $(includedir)/@PACKAGE@
  43822. +pkglibdir = $(libdir)/@PACKAGE@
  43823. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  43824. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  43825. install_sh_DATA = $(install_sh) -c -m 644
  43826. install_sh_PROGRAM = $(install_sh) -c
  43827. @@ -35,8 +37,10 @@
  43828. subdir = module/owserver
  43829. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  43830. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  43831. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  43832. - $(top_srcdir)/acx_pthread.m4 \
  43833. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  43834. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  43835. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  43836. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  43837. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  43838. $(top_srcdir)/module/swig/php/php.m4 \
  43839. $(top_srcdir)/module/swig/python/python.m4 \
  43840. @@ -47,6 +51,7 @@
  43841. $(top_srcdir)/src/scripts/install/mkinstalldirs
  43842. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  43843. CONFIG_CLEAN_FILES =
  43844. +CONFIG_CLEAN_VPATH_FILES =
  43845. SOURCES =
  43846. DIST_SOURCES =
  43847. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  43848. @@ -58,10 +63,38 @@
  43849. ps-recursive uninstall-recursive
  43850. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  43851. distclean-recursive maintainer-clean-recursive
  43852. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  43853. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  43854. + distdir
  43855. ETAGS = etags
  43856. CTAGS = ctags
  43857. DIST_SUBDIRS = $(SUBDIRS)
  43858. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  43859. +am__relativize = \
  43860. + dir0=`pwd`; \
  43861. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  43862. + sed_rest='s,^[^/]*/*,,'; \
  43863. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  43864. + sed_butlast='s,/*[^/]*$$,,'; \
  43865. + while test -n "$$dir1"; do \
  43866. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  43867. + if test "$$first" != "."; then \
  43868. + if test "$$first" = ".."; then \
  43869. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  43870. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  43871. + else \
  43872. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  43873. + if test "$$first2" = "$$first"; then \
  43874. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  43875. + else \
  43876. + dir2="../$$dir2"; \
  43877. + fi; \
  43878. + dir0="$$dir0"/"$$first"; \
  43879. + fi; \
  43880. + fi; \
  43881. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  43882. + done; \
  43883. + reldir="$$dir2"
  43884. ACLOCAL = @ACLOCAL@
  43885. AMTAR = @AMTAR@
  43886. AR = @AR@
  43887. @@ -155,6 +188,7 @@
  43888. LT_RELEASE = @LT_RELEASE@
  43889. LT_REVISION = @LT_REVISION@
  43890. MAKEINFO = @MAKEINFO@
  43891. +MANIFEST_TOOL = @MANIFEST_TOOL@
  43892. MKDIR_P = @MKDIR_P@
  43893. NM = @NM@
  43894. NMEDIT = @NMEDIT@
  43895. @@ -186,6 +220,7 @@
  43896. PACKAGE_NAME = @PACKAGE_NAME@
  43897. PACKAGE_STRING = @PACKAGE_STRING@
  43898. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  43899. +PACKAGE_URL = @PACKAGE_URL@
  43900. PACKAGE_VERSION = @PACKAGE_VERSION@
  43901. PATH_SEPARATOR = @PATH_SEPARATOR@
  43902. PERL = @PERL@
  43903. @@ -291,7 +326,6 @@
  43904. libexecdir = @libexecdir@
  43905. localedir = @localedir@
  43906. localstatedir = @localstatedir@
  43907. -lt_ECHO = @lt_ECHO@
  43908. mandir = @mandir@
  43909. mkdir_p = @mkdir_p@
  43910. oldincludedir = @oldincludedir@
  43911. @@ -324,9 +358,9 @@
  43912. exit 1;; \
  43913. esac; \
  43914. done; \
  43915. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owserver/Makefile'; \
  43916. - cd $(top_srcdir) && \
  43917. - $(AUTOMAKE) --gnu module/owserver/Makefile
  43918. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owserver/Makefile'; \
  43919. + $(am__cd) $(top_srcdir) && \
  43920. + $(AUTOMAKE) --gnu module/owserver/Makefile
  43921. .PRECIOUS: Makefile
  43922. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  43923. @case '$?' in \
  43924. @@ -344,6 +378,7 @@
  43925. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  43926. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  43927. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  43928. +$(am__aclocal_m4_deps):
  43929. mostlyclean-libtool:
  43930. -rm -f *.lo
  43931. @@ -358,7 +393,7 @@
  43932. # (which will cause the Makefiles to be regenerated when you run `make');
  43933. # (2) otherwise, pass the desired values on the `make' command line.
  43934. $(RECURSIVE_TARGETS):
  43935. - @failcom='exit 1'; \
  43936. + @fail= failcom='exit 1'; \
  43937. for f in x $$MAKEFLAGS; do \
  43938. case $$f in \
  43939. *=* | --[!k]*);; \
  43940. @@ -375,7 +410,7 @@
  43941. else \
  43942. local_target="$$target"; \
  43943. fi; \
  43944. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  43945. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  43946. || eval $$failcom; \
  43947. done; \
  43948. if test "$$dot_seen" = "no"; then \
  43949. @@ -383,7 +418,7 @@
  43950. fi; test -z "$$fail"
  43951. $(RECURSIVE_CLEAN_TARGETS):
  43952. - @failcom='exit 1'; \
  43953. + @fail= failcom='exit 1'; \
  43954. for f in x $$MAKEFLAGS; do \
  43955. case $$f in \
  43956. *=* | --[!k]*);; \
  43957. @@ -409,16 +444,16 @@
  43958. else \
  43959. local_target="$$target"; \
  43960. fi; \
  43961. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  43962. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  43963. || eval $$failcom; \
  43964. done && test -z "$$fail"
  43965. tags-recursive:
  43966. list='$(SUBDIRS)'; for subdir in $$list; do \
  43967. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  43968. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  43969. done
  43970. ctags-recursive:
  43971. list='$(SUBDIRS)'; for subdir in $$list; do \
  43972. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  43973. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  43974. done
  43975. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  43976. @@ -433,7 +468,7 @@
  43977. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  43978. $(TAGS_FILES) $(LISP)
  43979. - tags=; \
  43980. + set x; \
  43981. here=`pwd`; \
  43982. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  43983. include_option=--etags-include; \
  43984. @@ -445,7 +480,7 @@
  43985. list='$(SUBDIRS)'; for subdir in $$list; do \
  43986. if test "$$subdir" = .; then :; else \
  43987. test ! -f $$subdir/TAGS || \
  43988. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  43989. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  43990. fi; \
  43991. done; \
  43992. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  43993. @@ -454,29 +489,34 @@
  43994. done | \
  43995. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  43996. END { if (nonempty) { for (i in files) print i; }; }'`; \
  43997. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  43998. + shift; \
  43999. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  44000. test -n "$$unique" || unique=$$empty_fix; \
  44001. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  44002. - $$tags $$unique; \
  44003. + if test $$# -gt 0; then \
  44004. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  44005. + "$$@" $$unique; \
  44006. + else \
  44007. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  44008. + $$unique; \
  44009. + fi; \
  44010. fi
  44011. ctags: CTAGS
  44012. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  44013. $(TAGS_FILES) $(LISP)
  44014. - tags=; \
  44015. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  44016. unique=`for i in $$list; do \
  44017. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  44018. done | \
  44019. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  44020. END { if (nonempty) { for (i in files) print i; }; }'`; \
  44021. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  44022. + test -z "$(CTAGS_ARGS)$$unique" \
  44023. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  44024. - $$tags $$unique
  44025. + $$unique
  44026. GTAGS:
  44027. here=`$(am__cd) $(top_builddir) && pwd` \
  44028. - && cd $(top_srcdir) \
  44029. - && gtags -i $(GTAGS_ARGS) $$here
  44030. + && $(am__cd) $(top_srcdir) \
  44031. + && gtags -i $(GTAGS_ARGS) "$$here"
  44032. distclean-tags:
  44033. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  44034. @@ -497,29 +537,44 @@
  44035. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  44036. if test -d $$d/$$file; then \
  44037. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  44038. + if test -d "$(distdir)/$$file"; then \
  44039. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  44040. + fi; \
  44041. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  44042. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  44043. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  44044. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  44045. fi; \
  44046. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  44047. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  44048. else \
  44049. - test -f $(distdir)/$$file \
  44050. - || cp -p $$d/$$file $(distdir)/$$file \
  44051. + test -f "$(distdir)/$$file" \
  44052. + || cp -p $$d/$$file "$(distdir)/$$file" \
  44053. || exit 1; \
  44054. fi; \
  44055. done
  44056. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  44057. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  44058. if test "$$subdir" = .; then :; else \
  44059. test -d "$(distdir)/$$subdir" \
  44060. || $(MKDIR_P) "$(distdir)/$$subdir" \
  44061. || exit 1; \
  44062. - distdir=`$(am__cd) $(distdir) && pwd`; \
  44063. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  44064. - (cd $$subdir && \
  44065. + fi; \
  44066. + done
  44067. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  44068. + if test "$$subdir" = .; then :; else \
  44069. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  44070. + $(am__relativize); \
  44071. + new_distdir=$$reldir; \
  44072. + dir1=$$subdir; dir2="$(top_distdir)"; \
  44073. + $(am__relativize); \
  44074. + new_top_distdir=$$reldir; \
  44075. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  44076. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  44077. + ($(am__cd) $$subdir && \
  44078. $(MAKE) $(AM_MAKEFLAGS) \
  44079. - top_distdir="$$top_distdir" \
  44080. - distdir="$$distdir/$$subdir" \
  44081. + top_distdir="$$new_top_distdir" \
  44082. + distdir="$$new_distdir" \
  44083. am__remove_distdir=: \
  44084. am__skip_length_check=: \
  44085. + am__skip_mode_fix=: \
  44086. distdir) \
  44087. || exit 1; \
  44088. fi; \
  44089. @@ -547,6 +602,7 @@
  44090. distclean-generic:
  44091. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  44092. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  44093. maintainer-clean-generic:
  44094. @echo "This command is intended for maintainers to use"
  44095. @@ -565,6 +621,8 @@
  44096. html: html-recursive
  44097. +html-am:
  44098. +
  44099. info: info-recursive
  44100. info-am:
  44101. @@ -573,18 +631,28 @@
  44102. install-dvi: install-dvi-recursive
  44103. +install-dvi-am:
  44104. +
  44105. install-exec-am:
  44106. install-html: install-html-recursive
  44107. +install-html-am:
  44108. +
  44109. install-info: install-info-recursive
  44110. +install-info-am:
  44111. +
  44112. install-man:
  44113. install-pdf: install-pdf-recursive
  44114. +install-pdf-am:
  44115. +
  44116. install-ps: install-ps-recursive
  44117. +install-ps-am:
  44118. +
  44119. installcheck-am:
  44120. maintainer-clean: maintainer-clean-recursive
  44121. @@ -605,8 +673,8 @@
  44122. uninstall-am:
  44123. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  44124. - install-strip
  44125. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  44126. + install-am install-strip tags-recursive
  44127. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  44128. all all-am check check-am clean clean-generic clean-libtool \
  44129. @@ -626,6 +694,7 @@
  44130. clean-generic:
  44131. @RM@ -f *~ .*~
  44132. +
  44133. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  44134. # Otherwise a system limit (for SysV at least) may be exceeded.
  44135. .NOEXPORT:
  44136. diff -Nur owfs-2.7p38.orig/module/owserver/src/c/Makefile.in owfs-2.7p38/module/owserver/src/c/Makefile.in
  44137. --- owfs-2.7p38.orig/module/owserver/src/c/Makefile.in 2010-06-04 03:00:39.000000000 +0200
  44138. +++ owfs-2.7p38/module/owserver/src/c/Makefile.in 2010-07-09 16:00:57.890998816 +0200
  44139. @@ -1,8 +1,9 @@
  44140. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  44141. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  44142. # @configure_input@
  44143. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  44144. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  44145. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  44146. +# Inc.
  44147. # This Makefile.in is free software; the Free Software Foundation
  44148. # gives unlimited permission to copy and/or distribute it,
  44149. # with or without modifications, as long as this notice is preserved.
  44150. @@ -18,8 +19,9 @@
  44151. VPATH = @srcdir@
  44152. pkgdatadir = $(datadir)/@PACKAGE@
  44153. -pkglibdir = $(libdir)/@PACKAGE@
  44154. pkgincludedir = $(includedir)/@PACKAGE@
  44155. +pkglibdir = $(libdir)/@PACKAGE@
  44156. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  44157. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  44158. install_sh_DATA = $(install_sh) -c -m 644
  44159. install_sh_PROGRAM = $(install_sh) -c
  44160. @@ -39,8 +41,10 @@
  44161. subdir = module/owserver/src/c
  44162. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  44163. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  44164. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  44165. - $(top_srcdir)/acx_pthread.m4 \
  44166. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  44167. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  44168. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  44169. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  44170. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  44171. $(top_srcdir)/module/swig/php/php.m4 \
  44172. $(top_srcdir)/module/swig/python/python.m4 \
  44173. @@ -51,8 +55,8 @@
  44174. $(top_srcdir)/src/scripts/install/mkinstalldirs
  44175. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  44176. CONFIG_CLEAN_FILES =
  44177. +CONFIG_CLEAN_VPATH_FILES =
  44178. am__installdirs = "$(DESTDIR)$(bindir)"
  44179. -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  44180. PROGRAMS = $(bin_PROGRAMS)
  44181. am_owserver_OBJECTS = owserver.$(OBJEXT) from_client.$(OBJEXT) \
  44182. to_client.$(OBJEXT) read.$(OBJEXT) write.$(OBJEXT) \
  44183. @@ -65,6 +69,7 @@
  44184. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src/include
  44185. depcomp = $(SHELL) $(top_srcdir)/src/scripts/install/depcomp
  44186. am__depfiles_maybe = depfiles
  44187. +am__mv = mv -f
  44188. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  44189. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  44190. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  44191. @@ -172,6 +177,7 @@
  44192. LT_RELEASE = @LT_RELEASE@
  44193. LT_REVISION = @LT_REVISION@
  44194. MAKEINFO = @MAKEINFO@
  44195. +MANIFEST_TOOL = @MANIFEST_TOOL@
  44196. MKDIR_P = @MKDIR_P@
  44197. NM = @NM@
  44198. NMEDIT = @NMEDIT@
  44199. @@ -203,6 +209,7 @@
  44200. PACKAGE_NAME = @PACKAGE_NAME@
  44201. PACKAGE_STRING = @PACKAGE_STRING@
  44202. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  44203. +PACKAGE_URL = @PACKAGE_URL@
  44204. PACKAGE_VERSION = @PACKAGE_VERSION@
  44205. PATH_SEPARATOR = @PATH_SEPARATOR@
  44206. PERL = @PERL@
  44207. @@ -308,7 +315,6 @@
  44208. libexecdir = @libexecdir@
  44209. localedir = @localedir@
  44210. localstatedir = @localstatedir@
  44211. -lt_ECHO = @lt_ECHO@
  44212. mandir = @mandir@
  44213. mkdir_p = @mkdir_p@
  44214. oldincludedir = @oldincludedir@
  44215. @@ -374,9 +380,9 @@
  44216. exit 1;; \
  44217. esac; \
  44218. done; \
  44219. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owserver/src/c/Makefile'; \
  44220. - cd $(top_srcdir) && \
  44221. - $(AUTOMAKE) --gnu module/owserver/src/c/Makefile
  44222. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owserver/src/c/Makefile'; \
  44223. + $(am__cd) $(top_srcdir) && \
  44224. + $(AUTOMAKE) --gnu module/owserver/src/c/Makefile
  44225. .PRECIOUS: Makefile
  44226. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  44227. @case '$?' in \
  44228. @@ -394,34 +400,50 @@
  44229. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  44230. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  44231. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  44232. +$(am__aclocal_m4_deps):
  44233. install-binPROGRAMS: $(bin_PROGRAMS)
  44234. @$(NORMAL_INSTALL)
  44235. test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  44236. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  44237. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  44238. - if test -f $$p \
  44239. - || test -f $$p1 \
  44240. - ; then \
  44241. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  44242. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  44243. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  44244. - else :; fi; \
  44245. - done
  44246. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  44247. + for p in $$list; do echo "$$p $$p"; done | \
  44248. + sed 's/$(EXEEXT)$$//' | \
  44249. + while read p p1; do if test -f $$p || test -f $$p1; \
  44250. + then echo "$$p"; echo "$$p"; else :; fi; \
  44251. + done | \
  44252. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  44253. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  44254. + sed 'N;N;N;s,\n, ,g' | \
  44255. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  44256. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  44257. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  44258. + else { print "f", $$3 "/" $$4, $$1; } } \
  44259. + END { for (d in files) print "f", d, files[d] }' | \
  44260. + while read type dir files; do \
  44261. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  44262. + test -z "$$files" || { \
  44263. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  44264. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  44265. + } \
  44266. + ; done
  44267. uninstall-binPROGRAMS:
  44268. @$(NORMAL_UNINSTALL)
  44269. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  44270. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  44271. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  44272. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  44273. - done
  44274. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  44275. + files=`for p in $$list; do echo "$$p"; done | \
  44276. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  44277. + -e 's/$$/$(EXEEXT)/' `; \
  44278. + test -n "$$list" || exit 0; \
  44279. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  44280. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  44281. clean-binPROGRAMS:
  44282. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  44283. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  44284. - echo " rm -f $$p $$f"; \
  44285. - rm -f $$p $$f ; \
  44286. - done
  44287. + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
  44288. + echo " rm -f" $$list; \
  44289. + rm -f $$list || exit $$?; \
  44290. + test -n "$(EXEEXT)" || exit 0; \
  44291. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  44292. + echo " rm -f" $$list; \
  44293. + rm -f $$list
  44294. owserver$(EXEEXT): $(owserver_OBJECTS) $(owserver_DEPENDENCIES)
  44295. @rm -f owserver$(EXEEXT)
  44296. $(LINK) $(owserver_OBJECTS) $(owserver_LDADD) $(LIBS)
  44297. @@ -448,21 +470,21 @@
  44298. .c.o:
  44299. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  44300. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  44301. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  44302. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  44303. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  44304. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  44305. .c.obj:
  44306. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  44307. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  44308. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  44309. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  44310. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  44311. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  44312. .c.lo:
  44313. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  44314. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  44315. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  44316. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  44317. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  44318. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  44319. @@ -485,7 +507,7 @@
  44320. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  44321. $(TAGS_FILES) $(LISP)
  44322. - tags=; \
  44323. + set x; \
  44324. here=`pwd`; \
  44325. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  44326. unique=`for i in $$list; do \
  44327. @@ -493,29 +515,34 @@
  44328. done | \
  44329. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  44330. END { if (nonempty) { for (i in files) print i; }; }'`; \
  44331. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  44332. + shift; \
  44333. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  44334. test -n "$$unique" || unique=$$empty_fix; \
  44335. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  44336. - $$tags $$unique; \
  44337. + if test $$# -gt 0; then \
  44338. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  44339. + "$$@" $$unique; \
  44340. + else \
  44341. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  44342. + $$unique; \
  44343. + fi; \
  44344. fi
  44345. ctags: CTAGS
  44346. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  44347. $(TAGS_FILES) $(LISP)
  44348. - tags=; \
  44349. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  44350. unique=`for i in $$list; do \
  44351. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  44352. done | \
  44353. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  44354. END { if (nonempty) { for (i in files) print i; }; }'`; \
  44355. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  44356. + test -z "$(CTAGS_ARGS)$$unique" \
  44357. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  44358. - $$tags $$unique
  44359. + $$unique
  44360. GTAGS:
  44361. here=`$(am__cd) $(top_builddir) && pwd` \
  44362. - && cd $(top_srcdir) \
  44363. - && gtags -i $(GTAGS_ARGS) $$here
  44364. + && $(am__cd) $(top_srcdir) \
  44365. + && gtags -i $(GTAGS_ARGS) "$$here"
  44366. distclean-tags:
  44367. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  44368. @@ -536,13 +563,17 @@
  44369. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  44370. if test -d $$d/$$file; then \
  44371. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  44372. + if test -d "$(distdir)/$$file"; then \
  44373. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  44374. + fi; \
  44375. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  44376. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  44377. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  44378. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  44379. fi; \
  44380. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  44381. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  44382. else \
  44383. - test -f $(distdir)/$$file \
  44384. - || cp -p $$d/$$file $(distdir)/$$file \
  44385. + test -f "$(distdir)/$$file" \
  44386. + || cp -p $$d/$$file "$(distdir)/$$file" \
  44387. || exit 1; \
  44388. fi; \
  44389. done
  44390. @@ -571,6 +602,7 @@
  44391. distclean-generic:
  44392. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  44393. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  44394. maintainer-clean-generic:
  44395. @echo "This command is intended for maintainers to use"
  44396. @@ -591,6 +623,8 @@
  44397. html: html-am
  44398. +html-am:
  44399. +
  44400. info: info-am
  44401. info-am:
  44402. @@ -599,18 +633,28 @@
  44403. install-dvi: install-dvi-am
  44404. +install-dvi-am:
  44405. +
  44406. install-exec-am: install-binPROGRAMS
  44407. install-html: install-html-am
  44408. +install-html-am:
  44409. +
  44410. install-info: install-info-am
  44411. +install-info-am:
  44412. +
  44413. install-man:
  44414. install-pdf: install-pdf-am
  44415. +install-pdf-am:
  44416. +
  44417. install-ps: install-ps-am
  44418. +install-ps-am:
  44419. +
  44420. installcheck-am:
  44421. maintainer-clean: maintainer-clean-am
  44422. @@ -653,6 +697,7 @@
  44423. clean-generic:
  44424. @RM@ -f *~ .*~
  44425. +
  44426. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  44427. # Otherwise a system limit (for SysV at least) may be exceeded.
  44428. .NOEXPORT:
  44429. diff -Nur owfs-2.7p38.orig/module/owserver/src/include/Makefile.in owfs-2.7p38/module/owserver/src/include/Makefile.in
  44430. --- owfs-2.7p38.orig/module/owserver/src/include/Makefile.in 2010-06-04 03:00:39.000000000 +0200
  44431. +++ owfs-2.7p38/module/owserver/src/include/Makefile.in 2010-07-09 16:00:58.038998944 +0200
  44432. @@ -1,8 +1,9 @@
  44433. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  44434. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  44435. # @configure_input@
  44436. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  44437. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  44438. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  44439. +# Inc.
  44440. # This Makefile.in is free software; the Free Software Foundation
  44441. # gives unlimited permission to copy and/or distribute it,
  44442. # with or without modifications, as long as this notice is preserved.
  44443. @@ -16,8 +17,9 @@
  44444. VPATH = @srcdir@
  44445. pkgdatadir = $(datadir)/@PACKAGE@
  44446. -pkglibdir = $(libdir)/@PACKAGE@
  44447. pkgincludedir = $(includedir)/@PACKAGE@
  44448. +pkglibdir = $(libdir)/@PACKAGE@
  44449. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  44450. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  44451. install_sh_DATA = $(install_sh) -c -m 644
  44452. install_sh_PROGRAM = $(install_sh) -c
  44453. @@ -37,8 +39,10 @@
  44454. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  44455. $(srcdir)/Makefile.in
  44456. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  44457. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  44458. - $(top_srcdir)/acx_pthread.m4 \
  44459. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  44460. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  44461. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  44462. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  44463. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  44464. $(top_srcdir)/module/swig/php/php.m4 \
  44465. $(top_srcdir)/module/swig/python/python.m4 \
  44466. @@ -49,6 +53,7 @@
  44467. $(top_srcdir)/src/scripts/install/mkinstalldirs
  44468. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  44469. CONFIG_CLEAN_FILES =
  44470. +CONFIG_CLEAN_VPATH_FILES =
  44471. SOURCES =
  44472. DIST_SOURCES =
  44473. HEADERS = $(noinst_HEADERS)
  44474. @@ -148,6 +153,7 @@
  44475. LT_RELEASE = @LT_RELEASE@
  44476. LT_REVISION = @LT_REVISION@
  44477. MAKEINFO = @MAKEINFO@
  44478. +MANIFEST_TOOL = @MANIFEST_TOOL@
  44479. MKDIR_P = @MKDIR_P@
  44480. NM = @NM@
  44481. NMEDIT = @NMEDIT@
  44482. @@ -179,6 +185,7 @@
  44483. PACKAGE_NAME = @PACKAGE_NAME@
  44484. PACKAGE_STRING = @PACKAGE_STRING@
  44485. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  44486. +PACKAGE_URL = @PACKAGE_URL@
  44487. PACKAGE_VERSION = @PACKAGE_VERSION@
  44488. PATH_SEPARATOR = @PATH_SEPARATOR@
  44489. PERL = @PERL@
  44490. @@ -284,7 +291,6 @@
  44491. libexecdir = @libexecdir@
  44492. localedir = @localedir@
  44493. localstatedir = @localstatedir@
  44494. -lt_ECHO = @lt_ECHO@
  44495. mandir = @mandir@
  44496. mkdir_p = @mkdir_p@
  44497. oldincludedir = @oldincludedir@
  44498. @@ -317,9 +323,9 @@
  44499. exit 1;; \
  44500. esac; \
  44501. done; \
  44502. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owserver/src/include/Makefile'; \
  44503. - cd $(top_srcdir) && \
  44504. - $(AUTOMAKE) --gnu module/owserver/src/include/Makefile
  44505. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owserver/src/include/Makefile'; \
  44506. + $(am__cd) $(top_srcdir) && \
  44507. + $(AUTOMAKE) --gnu module/owserver/src/include/Makefile
  44508. .PRECIOUS: Makefile
  44509. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  44510. @case '$?' in \
  44511. @@ -337,6 +343,7 @@
  44512. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  44513. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  44514. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  44515. +$(am__aclocal_m4_deps):
  44516. mostlyclean-libtool:
  44517. -rm -f *.lo
  44518. @@ -356,7 +363,7 @@
  44519. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  44520. $(TAGS_FILES) $(LISP)
  44521. - tags=; \
  44522. + set x; \
  44523. here=`pwd`; \
  44524. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  44525. unique=`for i in $$list; do \
  44526. @@ -364,29 +371,34 @@
  44527. done | \
  44528. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  44529. END { if (nonempty) { for (i in files) print i; }; }'`; \
  44530. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  44531. + shift; \
  44532. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  44533. test -n "$$unique" || unique=$$empty_fix; \
  44534. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  44535. - $$tags $$unique; \
  44536. + if test $$# -gt 0; then \
  44537. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  44538. + "$$@" $$unique; \
  44539. + else \
  44540. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  44541. + $$unique; \
  44542. + fi; \
  44543. fi
  44544. ctags: CTAGS
  44545. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  44546. $(TAGS_FILES) $(LISP)
  44547. - tags=; \
  44548. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  44549. unique=`for i in $$list; do \
  44550. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  44551. done | \
  44552. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  44553. END { if (nonempty) { for (i in files) print i; }; }'`; \
  44554. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  44555. + test -z "$(CTAGS_ARGS)$$unique" \
  44556. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  44557. - $$tags $$unique
  44558. + $$unique
  44559. GTAGS:
  44560. here=`$(am__cd) $(top_builddir) && pwd` \
  44561. - && cd $(top_srcdir) \
  44562. - && gtags -i $(GTAGS_ARGS) $$here
  44563. + && $(am__cd) $(top_srcdir) \
  44564. + && gtags -i $(GTAGS_ARGS) "$$here"
  44565. distclean-tags:
  44566. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  44567. @@ -407,13 +419,17 @@
  44568. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  44569. if test -d $$d/$$file; then \
  44570. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  44571. + if test -d "$(distdir)/$$file"; then \
  44572. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  44573. + fi; \
  44574. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  44575. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  44576. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  44577. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  44578. fi; \
  44579. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  44580. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  44581. else \
  44582. - test -f $(distdir)/$$file \
  44583. - || cp -p $$d/$$file $(distdir)/$$file \
  44584. + test -f "$(distdir)/$$file" \
  44585. + || cp -p $$d/$$file "$(distdir)/$$file" \
  44586. || exit 1; \
  44587. fi; \
  44588. done
  44589. @@ -439,6 +455,7 @@
  44590. distclean-generic:
  44591. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  44592. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  44593. maintainer-clean-generic:
  44594. @echo "This command is intended for maintainers to use"
  44595. @@ -457,6 +474,8 @@
  44596. html: html-am
  44597. +html-am:
  44598. +
  44599. info: info-am
  44600. info-am:
  44601. @@ -465,18 +484,28 @@
  44602. install-dvi: install-dvi-am
  44603. +install-dvi-am:
  44604. +
  44605. install-exec-am:
  44606. install-html: install-html-am
  44607. +install-html-am:
  44608. +
  44609. install-info: install-info-am
  44610. +install-info-am:
  44611. +
  44612. install-man:
  44613. install-pdf: install-pdf-am
  44614. +install-pdf-am:
  44615. +
  44616. install-ps: install-ps-am
  44617. +install-ps-am:
  44618. +
  44619. installcheck-am:
  44620. maintainer-clean: maintainer-clean-am
  44621. @@ -516,6 +545,7 @@
  44622. clean-generic:
  44623. @RM@ -f *~ .*~
  44624. +
  44625. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  44626. # Otherwise a system limit (for SysV at least) may be exceeded.
  44627. .NOEXPORT:
  44628. diff -Nur owfs-2.7p38.orig/module/owserver/src/Makefile.in owfs-2.7p38/module/owserver/src/Makefile.in
  44629. --- owfs-2.7p38.orig/module/owserver/src/Makefile.in 2010-06-04 03:00:39.000000000 +0200
  44630. +++ owfs-2.7p38/module/owserver/src/Makefile.in 2010-07-09 16:00:57.706998557 +0200
  44631. @@ -1,8 +1,9 @@
  44632. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  44633. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  44634. # @configure_input@
  44635. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  44636. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  44637. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  44638. +# Inc.
  44639. # This Makefile.in is free software; the Free Software Foundation
  44640. # gives unlimited permission to copy and/or distribute it,
  44641. # with or without modifications, as long as this notice is preserved.
  44642. @@ -15,8 +16,9 @@
  44643. @SET_MAKE@
  44644. VPATH = @srcdir@
  44645. pkgdatadir = $(datadir)/@PACKAGE@
  44646. -pkglibdir = $(libdir)/@PACKAGE@
  44647. pkgincludedir = $(includedir)/@PACKAGE@
  44648. +pkglibdir = $(libdir)/@PACKAGE@
  44649. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  44650. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  44651. install_sh_DATA = $(install_sh) -c -m 644
  44652. install_sh_PROGRAM = $(install_sh) -c
  44653. @@ -35,8 +37,10 @@
  44654. subdir = module/owserver/src
  44655. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  44656. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  44657. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  44658. - $(top_srcdir)/acx_pthread.m4 \
  44659. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  44660. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  44661. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  44662. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  44663. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  44664. $(top_srcdir)/module/swig/php/php.m4 \
  44665. $(top_srcdir)/module/swig/python/python.m4 \
  44666. @@ -47,6 +51,7 @@
  44667. $(top_srcdir)/src/scripts/install/mkinstalldirs
  44668. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  44669. CONFIG_CLEAN_FILES =
  44670. +CONFIG_CLEAN_VPATH_FILES =
  44671. SOURCES =
  44672. DIST_SOURCES =
  44673. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  44674. @@ -58,10 +63,38 @@
  44675. ps-recursive uninstall-recursive
  44676. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  44677. distclean-recursive maintainer-clean-recursive
  44678. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  44679. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  44680. + distdir
  44681. ETAGS = etags
  44682. CTAGS = ctags
  44683. DIST_SUBDIRS = $(SUBDIRS)
  44684. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  44685. +am__relativize = \
  44686. + dir0=`pwd`; \
  44687. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  44688. + sed_rest='s,^[^/]*/*,,'; \
  44689. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  44690. + sed_butlast='s,/*[^/]*$$,,'; \
  44691. + while test -n "$$dir1"; do \
  44692. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  44693. + if test "$$first" != "."; then \
  44694. + if test "$$first" = ".."; then \
  44695. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  44696. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  44697. + else \
  44698. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  44699. + if test "$$first2" = "$$first"; then \
  44700. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  44701. + else \
  44702. + dir2="../$$dir2"; \
  44703. + fi; \
  44704. + dir0="$$dir0"/"$$first"; \
  44705. + fi; \
  44706. + fi; \
  44707. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  44708. + done; \
  44709. + reldir="$$dir2"
  44710. ACLOCAL = @ACLOCAL@
  44711. AMTAR = @AMTAR@
  44712. AR = @AR@
  44713. @@ -155,6 +188,7 @@
  44714. LT_RELEASE = @LT_RELEASE@
  44715. LT_REVISION = @LT_REVISION@
  44716. MAKEINFO = @MAKEINFO@
  44717. +MANIFEST_TOOL = @MANIFEST_TOOL@
  44718. MKDIR_P = @MKDIR_P@
  44719. NM = @NM@
  44720. NMEDIT = @NMEDIT@
  44721. @@ -186,6 +220,7 @@
  44722. PACKAGE_NAME = @PACKAGE_NAME@
  44723. PACKAGE_STRING = @PACKAGE_STRING@
  44724. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  44725. +PACKAGE_URL = @PACKAGE_URL@
  44726. PACKAGE_VERSION = @PACKAGE_VERSION@
  44727. PATH_SEPARATOR = @PATH_SEPARATOR@
  44728. PERL = @PERL@
  44729. @@ -291,7 +326,6 @@
  44730. libexecdir = @libexecdir@
  44731. localedir = @localedir@
  44732. localstatedir = @localstatedir@
  44733. -lt_ECHO = @lt_ECHO@
  44734. mandir = @mandir@
  44735. mkdir_p = @mkdir_p@
  44736. oldincludedir = @oldincludedir@
  44737. @@ -324,9 +358,9 @@
  44738. exit 1;; \
  44739. esac; \
  44740. done; \
  44741. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owserver/src/Makefile'; \
  44742. - cd $(top_srcdir) && \
  44743. - $(AUTOMAKE) --gnu module/owserver/src/Makefile
  44744. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owserver/src/Makefile'; \
  44745. + $(am__cd) $(top_srcdir) && \
  44746. + $(AUTOMAKE) --gnu module/owserver/src/Makefile
  44747. .PRECIOUS: Makefile
  44748. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  44749. @case '$?' in \
  44750. @@ -344,6 +378,7 @@
  44751. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  44752. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  44753. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  44754. +$(am__aclocal_m4_deps):
  44755. mostlyclean-libtool:
  44756. -rm -f *.lo
  44757. @@ -358,7 +393,7 @@
  44758. # (which will cause the Makefiles to be regenerated when you run `make');
  44759. # (2) otherwise, pass the desired values on the `make' command line.
  44760. $(RECURSIVE_TARGETS):
  44761. - @failcom='exit 1'; \
  44762. + @fail= failcom='exit 1'; \
  44763. for f in x $$MAKEFLAGS; do \
  44764. case $$f in \
  44765. *=* | --[!k]*);; \
  44766. @@ -375,7 +410,7 @@
  44767. else \
  44768. local_target="$$target"; \
  44769. fi; \
  44770. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  44771. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  44772. || eval $$failcom; \
  44773. done; \
  44774. if test "$$dot_seen" = "no"; then \
  44775. @@ -383,7 +418,7 @@
  44776. fi; test -z "$$fail"
  44777. $(RECURSIVE_CLEAN_TARGETS):
  44778. - @failcom='exit 1'; \
  44779. + @fail= failcom='exit 1'; \
  44780. for f in x $$MAKEFLAGS; do \
  44781. case $$f in \
  44782. *=* | --[!k]*);; \
  44783. @@ -409,16 +444,16 @@
  44784. else \
  44785. local_target="$$target"; \
  44786. fi; \
  44787. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  44788. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  44789. || eval $$failcom; \
  44790. done && test -z "$$fail"
  44791. tags-recursive:
  44792. list='$(SUBDIRS)'; for subdir in $$list; do \
  44793. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  44794. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  44795. done
  44796. ctags-recursive:
  44797. list='$(SUBDIRS)'; for subdir in $$list; do \
  44798. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  44799. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  44800. done
  44801. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  44802. @@ -433,7 +468,7 @@
  44803. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  44804. $(TAGS_FILES) $(LISP)
  44805. - tags=; \
  44806. + set x; \
  44807. here=`pwd`; \
  44808. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  44809. include_option=--etags-include; \
  44810. @@ -445,7 +480,7 @@
  44811. list='$(SUBDIRS)'; for subdir in $$list; do \
  44812. if test "$$subdir" = .; then :; else \
  44813. test ! -f $$subdir/TAGS || \
  44814. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  44815. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  44816. fi; \
  44817. done; \
  44818. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  44819. @@ -454,29 +489,34 @@
  44820. done | \
  44821. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  44822. END { if (nonempty) { for (i in files) print i; }; }'`; \
  44823. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  44824. + shift; \
  44825. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  44826. test -n "$$unique" || unique=$$empty_fix; \
  44827. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  44828. - $$tags $$unique; \
  44829. + if test $$# -gt 0; then \
  44830. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  44831. + "$$@" $$unique; \
  44832. + else \
  44833. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  44834. + $$unique; \
  44835. + fi; \
  44836. fi
  44837. ctags: CTAGS
  44838. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  44839. $(TAGS_FILES) $(LISP)
  44840. - tags=; \
  44841. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  44842. unique=`for i in $$list; do \
  44843. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  44844. done | \
  44845. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  44846. END { if (nonempty) { for (i in files) print i; }; }'`; \
  44847. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  44848. + test -z "$(CTAGS_ARGS)$$unique" \
  44849. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  44850. - $$tags $$unique
  44851. + $$unique
  44852. GTAGS:
  44853. here=`$(am__cd) $(top_builddir) && pwd` \
  44854. - && cd $(top_srcdir) \
  44855. - && gtags -i $(GTAGS_ARGS) $$here
  44856. + && $(am__cd) $(top_srcdir) \
  44857. + && gtags -i $(GTAGS_ARGS) "$$here"
  44858. distclean-tags:
  44859. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  44860. @@ -497,29 +537,44 @@
  44861. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  44862. if test -d $$d/$$file; then \
  44863. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  44864. + if test -d "$(distdir)/$$file"; then \
  44865. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  44866. + fi; \
  44867. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  44868. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  44869. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  44870. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  44871. fi; \
  44872. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  44873. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  44874. else \
  44875. - test -f $(distdir)/$$file \
  44876. - || cp -p $$d/$$file $(distdir)/$$file \
  44877. + test -f "$(distdir)/$$file" \
  44878. + || cp -p $$d/$$file "$(distdir)/$$file" \
  44879. || exit 1; \
  44880. fi; \
  44881. done
  44882. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  44883. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  44884. if test "$$subdir" = .; then :; else \
  44885. test -d "$(distdir)/$$subdir" \
  44886. || $(MKDIR_P) "$(distdir)/$$subdir" \
  44887. || exit 1; \
  44888. - distdir=`$(am__cd) $(distdir) && pwd`; \
  44889. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  44890. - (cd $$subdir && \
  44891. + fi; \
  44892. + done
  44893. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  44894. + if test "$$subdir" = .; then :; else \
  44895. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  44896. + $(am__relativize); \
  44897. + new_distdir=$$reldir; \
  44898. + dir1=$$subdir; dir2="$(top_distdir)"; \
  44899. + $(am__relativize); \
  44900. + new_top_distdir=$$reldir; \
  44901. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  44902. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  44903. + ($(am__cd) $$subdir && \
  44904. $(MAKE) $(AM_MAKEFLAGS) \
  44905. - top_distdir="$$top_distdir" \
  44906. - distdir="$$distdir/$$subdir" \
  44907. + top_distdir="$$new_top_distdir" \
  44908. + distdir="$$new_distdir" \
  44909. am__remove_distdir=: \
  44910. am__skip_length_check=: \
  44911. + am__skip_mode_fix=: \
  44912. distdir) \
  44913. || exit 1; \
  44914. fi; \
  44915. @@ -547,6 +602,7 @@
  44916. distclean-generic:
  44917. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  44918. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  44919. maintainer-clean-generic:
  44920. @echo "This command is intended for maintainers to use"
  44921. @@ -565,6 +621,8 @@
  44922. html: html-recursive
  44923. +html-am:
  44924. +
  44925. info: info-recursive
  44926. info-am:
  44927. @@ -573,18 +631,28 @@
  44928. install-dvi: install-dvi-recursive
  44929. +install-dvi-am:
  44930. +
  44931. install-exec-am:
  44932. install-html: install-html-recursive
  44933. +install-html-am:
  44934. +
  44935. install-info: install-info-recursive
  44936. +install-info-am:
  44937. +
  44938. install-man:
  44939. install-pdf: install-pdf-recursive
  44940. +install-pdf-am:
  44941. +
  44942. install-ps: install-ps-recursive
  44943. +install-ps-am:
  44944. +
  44945. installcheck-am:
  44946. maintainer-clean: maintainer-clean-recursive
  44947. @@ -605,8 +673,8 @@
  44948. uninstall-am:
  44949. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  44950. - install-strip
  44951. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  44952. + install-am install-strip tags-recursive
  44953. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  44954. all all-am check check-am clean clean-generic clean-libtool \
  44955. @@ -626,6 +694,7 @@
  44956. clean-generic:
  44957. @RM@ -f *~ .*~
  44958. +
  44959. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  44960. # Otherwise a system limit (for SysV at least) may be exceeded.
  44961. .NOEXPORT:
  44962. diff -Nur owfs-2.7p38.orig/module/owshell/Makefile.in owfs-2.7p38/module/owshell/Makefile.in
  44963. --- owfs-2.7p38.orig/module/owshell/Makefile.in 2010-06-04 03:00:39.000000000 +0200
  44964. +++ owfs-2.7p38/module/owshell/Makefile.in 2010-07-09 16:00:58.190999590 +0200
  44965. @@ -1,8 +1,9 @@
  44966. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  44967. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  44968. # @configure_input@
  44969. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  44970. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  44971. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  44972. +# Inc.
  44973. # This Makefile.in is free software; the Free Software Foundation
  44974. # gives unlimited permission to copy and/or distribute it,
  44975. # with or without modifications, as long as this notice is preserved.
  44976. @@ -15,8 +16,9 @@
  44977. @SET_MAKE@
  44978. VPATH = @srcdir@
  44979. pkgdatadir = $(datadir)/@PACKAGE@
  44980. -pkglibdir = $(libdir)/@PACKAGE@
  44981. pkgincludedir = $(includedir)/@PACKAGE@
  44982. +pkglibdir = $(libdir)/@PACKAGE@
  44983. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  44984. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  44985. install_sh_DATA = $(install_sh) -c -m 644
  44986. install_sh_PROGRAM = $(install_sh) -c
  44987. @@ -35,8 +37,10 @@
  44988. subdir = module/owshell
  44989. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  44990. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  44991. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  44992. - $(top_srcdir)/acx_pthread.m4 \
  44993. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  44994. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  44995. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  44996. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  44997. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  44998. $(top_srcdir)/module/swig/php/php.m4 \
  44999. $(top_srcdir)/module/swig/python/python.m4 \
  45000. @@ -47,6 +51,7 @@
  45001. $(top_srcdir)/src/scripts/install/mkinstalldirs
  45002. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  45003. CONFIG_CLEAN_FILES =
  45004. +CONFIG_CLEAN_VPATH_FILES =
  45005. SOURCES =
  45006. DIST_SOURCES =
  45007. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  45008. @@ -58,10 +63,38 @@
  45009. ps-recursive uninstall-recursive
  45010. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  45011. distclean-recursive maintainer-clean-recursive
  45012. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  45013. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  45014. + distdir
  45015. ETAGS = etags
  45016. CTAGS = ctags
  45017. DIST_SUBDIRS = $(SUBDIRS)
  45018. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  45019. +am__relativize = \
  45020. + dir0=`pwd`; \
  45021. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  45022. + sed_rest='s,^[^/]*/*,,'; \
  45023. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  45024. + sed_butlast='s,/*[^/]*$$,,'; \
  45025. + while test -n "$$dir1"; do \
  45026. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  45027. + if test "$$first" != "."; then \
  45028. + if test "$$first" = ".."; then \
  45029. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  45030. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  45031. + else \
  45032. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  45033. + if test "$$first2" = "$$first"; then \
  45034. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  45035. + else \
  45036. + dir2="../$$dir2"; \
  45037. + fi; \
  45038. + dir0="$$dir0"/"$$first"; \
  45039. + fi; \
  45040. + fi; \
  45041. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  45042. + done; \
  45043. + reldir="$$dir2"
  45044. ACLOCAL = @ACLOCAL@
  45045. AMTAR = @AMTAR@
  45046. AR = @AR@
  45047. @@ -155,6 +188,7 @@
  45048. LT_RELEASE = @LT_RELEASE@
  45049. LT_REVISION = @LT_REVISION@
  45050. MAKEINFO = @MAKEINFO@
  45051. +MANIFEST_TOOL = @MANIFEST_TOOL@
  45052. MKDIR_P = @MKDIR_P@
  45053. NM = @NM@
  45054. NMEDIT = @NMEDIT@
  45055. @@ -186,6 +220,7 @@
  45056. PACKAGE_NAME = @PACKAGE_NAME@
  45057. PACKAGE_STRING = @PACKAGE_STRING@
  45058. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  45059. +PACKAGE_URL = @PACKAGE_URL@
  45060. PACKAGE_VERSION = @PACKAGE_VERSION@
  45061. PATH_SEPARATOR = @PATH_SEPARATOR@
  45062. PERL = @PERL@
  45063. @@ -291,7 +326,6 @@
  45064. libexecdir = @libexecdir@
  45065. localedir = @localedir@
  45066. localstatedir = @localstatedir@
  45067. -lt_ECHO = @lt_ECHO@
  45068. mandir = @mandir@
  45069. mkdir_p = @mkdir_p@
  45070. oldincludedir = @oldincludedir@
  45071. @@ -324,9 +358,9 @@
  45072. exit 1;; \
  45073. esac; \
  45074. done; \
  45075. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owshell/Makefile'; \
  45076. - cd $(top_srcdir) && \
  45077. - $(AUTOMAKE) --gnu module/owshell/Makefile
  45078. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owshell/Makefile'; \
  45079. + $(am__cd) $(top_srcdir) && \
  45080. + $(AUTOMAKE) --gnu module/owshell/Makefile
  45081. .PRECIOUS: Makefile
  45082. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  45083. @case '$?' in \
  45084. @@ -344,6 +378,7 @@
  45085. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  45086. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  45087. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  45088. +$(am__aclocal_m4_deps):
  45089. mostlyclean-libtool:
  45090. -rm -f *.lo
  45091. @@ -358,7 +393,7 @@
  45092. # (which will cause the Makefiles to be regenerated when you run `make');
  45093. # (2) otherwise, pass the desired values on the `make' command line.
  45094. $(RECURSIVE_TARGETS):
  45095. - @failcom='exit 1'; \
  45096. + @fail= failcom='exit 1'; \
  45097. for f in x $$MAKEFLAGS; do \
  45098. case $$f in \
  45099. *=* | --[!k]*);; \
  45100. @@ -375,7 +410,7 @@
  45101. else \
  45102. local_target="$$target"; \
  45103. fi; \
  45104. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  45105. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  45106. || eval $$failcom; \
  45107. done; \
  45108. if test "$$dot_seen" = "no"; then \
  45109. @@ -383,7 +418,7 @@
  45110. fi; test -z "$$fail"
  45111. $(RECURSIVE_CLEAN_TARGETS):
  45112. - @failcom='exit 1'; \
  45113. + @fail= failcom='exit 1'; \
  45114. for f in x $$MAKEFLAGS; do \
  45115. case $$f in \
  45116. *=* | --[!k]*);; \
  45117. @@ -409,16 +444,16 @@
  45118. else \
  45119. local_target="$$target"; \
  45120. fi; \
  45121. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  45122. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  45123. || eval $$failcom; \
  45124. done && test -z "$$fail"
  45125. tags-recursive:
  45126. list='$(SUBDIRS)'; for subdir in $$list; do \
  45127. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  45128. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  45129. done
  45130. ctags-recursive:
  45131. list='$(SUBDIRS)'; for subdir in $$list; do \
  45132. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  45133. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  45134. done
  45135. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  45136. @@ -433,7 +468,7 @@
  45137. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  45138. $(TAGS_FILES) $(LISP)
  45139. - tags=; \
  45140. + set x; \
  45141. here=`pwd`; \
  45142. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  45143. include_option=--etags-include; \
  45144. @@ -445,7 +480,7 @@
  45145. list='$(SUBDIRS)'; for subdir in $$list; do \
  45146. if test "$$subdir" = .; then :; else \
  45147. test ! -f $$subdir/TAGS || \
  45148. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  45149. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  45150. fi; \
  45151. done; \
  45152. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  45153. @@ -454,29 +489,34 @@
  45154. done | \
  45155. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  45156. END { if (nonempty) { for (i in files) print i; }; }'`; \
  45157. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  45158. + shift; \
  45159. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  45160. test -n "$$unique" || unique=$$empty_fix; \
  45161. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45162. - $$tags $$unique; \
  45163. + if test $$# -gt 0; then \
  45164. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45165. + "$$@" $$unique; \
  45166. + else \
  45167. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45168. + $$unique; \
  45169. + fi; \
  45170. fi
  45171. ctags: CTAGS
  45172. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  45173. $(TAGS_FILES) $(LISP)
  45174. - tags=; \
  45175. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  45176. unique=`for i in $$list; do \
  45177. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  45178. done | \
  45179. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  45180. END { if (nonempty) { for (i in files) print i; }; }'`; \
  45181. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  45182. + test -z "$(CTAGS_ARGS)$$unique" \
  45183. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  45184. - $$tags $$unique
  45185. + $$unique
  45186. GTAGS:
  45187. here=`$(am__cd) $(top_builddir) && pwd` \
  45188. - && cd $(top_srcdir) \
  45189. - && gtags -i $(GTAGS_ARGS) $$here
  45190. + && $(am__cd) $(top_srcdir) \
  45191. + && gtags -i $(GTAGS_ARGS) "$$here"
  45192. distclean-tags:
  45193. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  45194. @@ -497,29 +537,44 @@
  45195. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  45196. if test -d $$d/$$file; then \
  45197. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  45198. + if test -d "$(distdir)/$$file"; then \
  45199. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  45200. + fi; \
  45201. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  45202. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  45203. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  45204. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  45205. fi; \
  45206. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  45207. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  45208. else \
  45209. - test -f $(distdir)/$$file \
  45210. - || cp -p $$d/$$file $(distdir)/$$file \
  45211. + test -f "$(distdir)/$$file" \
  45212. + || cp -p $$d/$$file "$(distdir)/$$file" \
  45213. || exit 1; \
  45214. fi; \
  45215. done
  45216. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  45217. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  45218. if test "$$subdir" = .; then :; else \
  45219. test -d "$(distdir)/$$subdir" \
  45220. || $(MKDIR_P) "$(distdir)/$$subdir" \
  45221. || exit 1; \
  45222. - distdir=`$(am__cd) $(distdir) && pwd`; \
  45223. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  45224. - (cd $$subdir && \
  45225. + fi; \
  45226. + done
  45227. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  45228. + if test "$$subdir" = .; then :; else \
  45229. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  45230. + $(am__relativize); \
  45231. + new_distdir=$$reldir; \
  45232. + dir1=$$subdir; dir2="$(top_distdir)"; \
  45233. + $(am__relativize); \
  45234. + new_top_distdir=$$reldir; \
  45235. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  45236. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  45237. + ($(am__cd) $$subdir && \
  45238. $(MAKE) $(AM_MAKEFLAGS) \
  45239. - top_distdir="$$top_distdir" \
  45240. - distdir="$$distdir/$$subdir" \
  45241. + top_distdir="$$new_top_distdir" \
  45242. + distdir="$$new_distdir" \
  45243. am__remove_distdir=: \
  45244. am__skip_length_check=: \
  45245. + am__skip_mode_fix=: \
  45246. distdir) \
  45247. || exit 1; \
  45248. fi; \
  45249. @@ -547,6 +602,7 @@
  45250. distclean-generic:
  45251. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  45252. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  45253. maintainer-clean-generic:
  45254. @echo "This command is intended for maintainers to use"
  45255. @@ -565,6 +621,8 @@
  45256. html: html-recursive
  45257. +html-am:
  45258. +
  45259. info: info-recursive
  45260. info-am:
  45261. @@ -573,18 +631,28 @@
  45262. install-dvi: install-dvi-recursive
  45263. +install-dvi-am:
  45264. +
  45265. install-exec-am:
  45266. install-html: install-html-recursive
  45267. +install-html-am:
  45268. +
  45269. install-info: install-info-recursive
  45270. +install-info-am:
  45271. +
  45272. install-man:
  45273. install-pdf: install-pdf-recursive
  45274. +install-pdf-am:
  45275. +
  45276. install-ps: install-ps-recursive
  45277. +install-ps-am:
  45278. +
  45279. installcheck-am:
  45280. maintainer-clean: maintainer-clean-recursive
  45281. @@ -605,8 +673,8 @@
  45282. uninstall-am:
  45283. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  45284. - install-strip
  45285. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  45286. + install-am install-strip tags-recursive
  45287. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  45288. all all-am check check-am clean clean-generic clean-libtool \
  45289. @@ -626,6 +694,7 @@
  45290. clean-generic:
  45291. @RM@ -f *~ .*~
  45292. +
  45293. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  45294. # Otherwise a system limit (for SysV at least) may be exceeded.
  45295. .NOEXPORT:
  45296. diff -Nur owfs-2.7p38.orig/module/owshell/src/c/Makefile.in owfs-2.7p38/module/owshell/src/c/Makefile.in
  45297. --- owfs-2.7p38.orig/module/owshell/src/c/Makefile.in 2010-06-04 03:00:40.000000000 +0200
  45298. +++ owfs-2.7p38/module/owshell/src/c/Makefile.in 2010-07-09 16:00:58.551000193 +0200
  45299. @@ -1,8 +1,9 @@
  45300. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  45301. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  45302. # @configure_input@
  45303. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  45304. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  45305. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  45306. +# Inc.
  45307. # This Makefile.in is free software; the Free Software Foundation
  45308. # gives unlimited permission to copy and/or distribute it,
  45309. # with or without modifications, as long as this notice is preserved.
  45310. @@ -18,8 +19,9 @@
  45311. VPATH = @srcdir@
  45312. pkgdatadir = $(datadir)/@PACKAGE@
  45313. -pkglibdir = $(libdir)/@PACKAGE@
  45314. pkgincludedir = $(includedir)/@PACKAGE@
  45315. +pkglibdir = $(libdir)/@PACKAGE@
  45316. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  45317. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  45318. install_sh_DATA = $(install_sh) -c -m 644
  45319. install_sh_PROGRAM = $(install_sh) -c
  45320. @@ -40,8 +42,10 @@
  45321. subdir = module/owshell/src/c
  45322. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  45323. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  45324. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  45325. - $(top_srcdir)/acx_pthread.m4 \
  45326. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  45327. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  45328. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  45329. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  45330. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  45331. $(top_srcdir)/module/swig/php/php.m4 \
  45332. $(top_srcdir)/module/swig/python/python.m4 \
  45333. @@ -52,8 +56,8 @@
  45334. $(top_srcdir)/src/scripts/install/mkinstalldirs
  45335. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  45336. CONFIG_CLEAN_FILES =
  45337. +CONFIG_CLEAN_VPATH_FILES =
  45338. am__installdirs = "$(DESTDIR)$(bindir)"
  45339. -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
  45340. PROGRAMS = $(bin_PROGRAMS)
  45341. am__objects_1 = ow_opt.$(OBJEXT) ow_help.$(OBJEXT) ow_server.$(OBJEXT) \
  45342. ow_net.$(OBJEXT) ow_browse.$(OBJEXT) ow_dl.$(OBJEXT) \
  45343. @@ -83,6 +87,7 @@
  45344. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src/include
  45345. depcomp = $(SHELL) $(top_srcdir)/src/scripts/install/depcomp
  45346. am__depfiles_maybe = depfiles
  45347. +am__mv = mv -f
  45348. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  45349. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  45350. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  45351. @@ -192,6 +197,7 @@
  45352. LT_RELEASE = @LT_RELEASE@
  45353. LT_REVISION = @LT_REVISION@
  45354. MAKEINFO = @MAKEINFO@
  45355. +MANIFEST_TOOL = @MANIFEST_TOOL@
  45356. MKDIR_P = @MKDIR_P@
  45357. NM = @NM@
  45358. NMEDIT = @NMEDIT@
  45359. @@ -223,6 +229,7 @@
  45360. PACKAGE_NAME = @PACKAGE_NAME@
  45361. PACKAGE_STRING = @PACKAGE_STRING@
  45362. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  45363. +PACKAGE_URL = @PACKAGE_URL@
  45364. PACKAGE_VERSION = @PACKAGE_VERSION@
  45365. PATH_SEPARATOR = @PATH_SEPARATOR@
  45366. PERL = @PERL@
  45367. @@ -328,7 +335,6 @@
  45368. libexecdir = @libexecdir@
  45369. localedir = @localedir@
  45370. localstatedir = @localstatedir@
  45371. -lt_ECHO = @lt_ECHO@
  45372. mandir = @mandir@
  45373. mkdir_p = @mkdir_p@
  45374. oldincludedir = @oldincludedir@
  45375. @@ -403,9 +409,9 @@
  45376. exit 1;; \
  45377. esac; \
  45378. done; \
  45379. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owshell/src/c/Makefile'; \
  45380. - cd $(top_srcdir) && \
  45381. - $(AUTOMAKE) --gnu module/owshell/src/c/Makefile
  45382. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owshell/src/c/Makefile'; \
  45383. + $(am__cd) $(top_srcdir) && \
  45384. + $(AUTOMAKE) --gnu module/owshell/src/c/Makefile
  45385. .PRECIOUS: Makefile
  45386. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  45387. @case '$?' in \
  45388. @@ -423,34 +429,50 @@
  45389. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  45390. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  45391. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  45392. +$(am__aclocal_m4_deps):
  45393. install-binPROGRAMS: $(bin_PROGRAMS)
  45394. @$(NORMAL_INSTALL)
  45395. test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  45396. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  45397. - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  45398. - if test -f $$p \
  45399. - || test -f $$p1 \
  45400. - ; then \
  45401. - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
  45402. - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  45403. - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
  45404. - else :; fi; \
  45405. - done
  45406. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  45407. + for p in $$list; do echo "$$p $$p"; done | \
  45408. + sed 's/$(EXEEXT)$$//' | \
  45409. + while read p p1; do if test -f $$p || test -f $$p1; \
  45410. + then echo "$$p"; echo "$$p"; else :; fi; \
  45411. + done | \
  45412. + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  45413. + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  45414. + sed 'N;N;N;s,\n, ,g' | \
  45415. + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  45416. + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  45417. + if ($$2 == $$4) files[d] = files[d] " " $$1; \
  45418. + else { print "f", $$3 "/" $$4, $$1; } } \
  45419. + END { for (d in files) print "f", d, files[d] }' | \
  45420. + while read type dir files; do \
  45421. + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  45422. + test -z "$$files" || { \
  45423. + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  45424. + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  45425. + } \
  45426. + ; done
  45427. uninstall-binPROGRAMS:
  45428. @$(NORMAL_UNINSTALL)
  45429. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  45430. - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
  45431. - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  45432. - rm -f "$(DESTDIR)$(bindir)/$$f"; \
  45433. - done
  45434. + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  45435. + files=`for p in $$list; do echo "$$p"; done | \
  45436. + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  45437. + -e 's/$$/$(EXEEXT)/' `; \
  45438. + test -n "$$list" || exit 0; \
  45439. + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  45440. + cd "$(DESTDIR)$(bindir)" && rm -f $$files
  45441. clean-binPROGRAMS:
  45442. - @list='$(bin_PROGRAMS)'; for p in $$list; do \
  45443. - f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  45444. - echo " rm -f $$p $$f"; \
  45445. - rm -f $$p $$f ; \
  45446. - done
  45447. + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
  45448. + echo " rm -f" $$list; \
  45449. + rm -f $$list || exit $$?; \
  45450. + test -n "$(EXEEXT)" || exit 0; \
  45451. + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  45452. + echo " rm -f" $$list; \
  45453. + rm -f $$list
  45454. owdir$(EXEEXT): $(owdir_OBJECTS) $(owdir_DEPENDENCIES)
  45455. @rm -f owdir$(EXEEXT)
  45456. $(LINK) $(owdir_OBJECTS) $(owdir_LDADD) $(LIBS)
  45457. @@ -492,21 +514,21 @@
  45458. .c.o:
  45459. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  45460. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  45461. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  45462. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  45463. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  45464. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  45465. .c.obj:
  45466. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  45467. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  45468. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  45469. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  45470. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  45471. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  45472. .c.lo:
  45473. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  45474. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  45475. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  45476. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  45477. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  45478. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  45479. @@ -529,7 +551,7 @@
  45480. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  45481. $(TAGS_FILES) $(LISP)
  45482. - tags=; \
  45483. + set x; \
  45484. here=`pwd`; \
  45485. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  45486. unique=`for i in $$list; do \
  45487. @@ -537,29 +559,34 @@
  45488. done | \
  45489. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  45490. END { if (nonempty) { for (i in files) print i; }; }'`; \
  45491. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  45492. + shift; \
  45493. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  45494. test -n "$$unique" || unique=$$empty_fix; \
  45495. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45496. - $$tags $$unique; \
  45497. + if test $$# -gt 0; then \
  45498. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45499. + "$$@" $$unique; \
  45500. + else \
  45501. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45502. + $$unique; \
  45503. + fi; \
  45504. fi
  45505. ctags: CTAGS
  45506. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  45507. $(TAGS_FILES) $(LISP)
  45508. - tags=; \
  45509. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  45510. unique=`for i in $$list; do \
  45511. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  45512. done | \
  45513. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  45514. END { if (nonempty) { for (i in files) print i; }; }'`; \
  45515. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  45516. + test -z "$(CTAGS_ARGS)$$unique" \
  45517. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  45518. - $$tags $$unique
  45519. + $$unique
  45520. GTAGS:
  45521. here=`$(am__cd) $(top_builddir) && pwd` \
  45522. - && cd $(top_srcdir) \
  45523. - && gtags -i $(GTAGS_ARGS) $$here
  45524. + && $(am__cd) $(top_srcdir) \
  45525. + && gtags -i $(GTAGS_ARGS) "$$here"
  45526. distclean-tags:
  45527. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  45528. @@ -580,13 +607,17 @@
  45529. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  45530. if test -d $$d/$$file; then \
  45531. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  45532. + if test -d "$(distdir)/$$file"; then \
  45533. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  45534. + fi; \
  45535. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  45536. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  45537. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  45538. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  45539. fi; \
  45540. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  45541. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  45542. else \
  45543. - test -f $(distdir)/$$file \
  45544. - || cp -p $$d/$$file $(distdir)/$$file \
  45545. + test -f "$(distdir)/$$file" \
  45546. + || cp -p $$d/$$file "$(distdir)/$$file" \
  45547. || exit 1; \
  45548. fi; \
  45549. done
  45550. @@ -615,6 +646,7 @@
  45551. distclean-generic:
  45552. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  45553. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  45554. maintainer-clean-generic:
  45555. @echo "This command is intended for maintainers to use"
  45556. @@ -635,6 +667,8 @@
  45557. html: html-am
  45558. +html-am:
  45559. +
  45560. info: info-am
  45561. info-am:
  45562. @@ -643,18 +677,28 @@
  45563. install-dvi: install-dvi-am
  45564. +install-dvi-am:
  45565. +
  45566. install-exec-am: install-binPROGRAMS
  45567. install-html: install-html-am
  45568. +install-html-am:
  45569. +
  45570. install-info: install-info-am
  45571. +install-info-am:
  45572. +
  45573. install-man:
  45574. install-pdf: install-pdf-am
  45575. +install-pdf-am:
  45576. +
  45577. install-ps: install-ps-am
  45578. +install-ps-am:
  45579. +
  45580. installcheck-am:
  45581. maintainer-clean: maintainer-clean-am
  45582. @@ -697,6 +741,7 @@
  45583. clean-generic:
  45584. @RM@ -f *~ .*~
  45585. +
  45586. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  45587. # Otherwise a system limit (for SysV at least) may be exceeded.
  45588. .NOEXPORT:
  45589. diff -Nur owfs-2.7p38.orig/module/owshell/src/include/Makefile.in owfs-2.7p38/module/owshell/src/include/Makefile.in
  45590. --- owfs-2.7p38.orig/module/owshell/src/include/Makefile.in 2010-06-04 03:00:40.000000000 +0200
  45591. +++ owfs-2.7p38/module/owshell/src/include/Makefile.in 2010-07-09 16:00:58.699000331 +0200
  45592. @@ -1,8 +1,9 @@
  45593. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  45594. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  45595. # @configure_input@
  45596. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  45597. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  45598. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  45599. +# Inc.
  45600. # This Makefile.in is free software; the Free Software Foundation
  45601. # gives unlimited permission to copy and/or distribute it,
  45602. # with or without modifications, as long as this notice is preserved.
  45603. @@ -16,8 +17,9 @@
  45604. VPATH = @srcdir@
  45605. pkgdatadir = $(datadir)/@PACKAGE@
  45606. -pkglibdir = $(libdir)/@PACKAGE@
  45607. pkgincludedir = $(includedir)/@PACKAGE@
  45608. +pkglibdir = $(libdir)/@PACKAGE@
  45609. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  45610. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  45611. install_sh_DATA = $(install_sh) -c -m 644
  45612. install_sh_PROGRAM = $(install_sh) -c
  45613. @@ -37,8 +39,10 @@
  45614. DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  45615. $(srcdir)/Makefile.in
  45616. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  45617. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  45618. - $(top_srcdir)/acx_pthread.m4 \
  45619. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  45620. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  45621. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  45622. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  45623. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  45624. $(top_srcdir)/module/swig/php/php.m4 \
  45625. $(top_srcdir)/module/swig/python/python.m4 \
  45626. @@ -49,6 +53,7 @@
  45627. $(top_srcdir)/src/scripts/install/mkinstalldirs
  45628. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  45629. CONFIG_CLEAN_FILES =
  45630. +CONFIG_CLEAN_VPATH_FILES =
  45631. SOURCES =
  45632. DIST_SOURCES =
  45633. HEADERS = $(noinst_HEADERS)
  45634. @@ -148,6 +153,7 @@
  45635. LT_RELEASE = @LT_RELEASE@
  45636. LT_REVISION = @LT_REVISION@
  45637. MAKEINFO = @MAKEINFO@
  45638. +MANIFEST_TOOL = @MANIFEST_TOOL@
  45639. MKDIR_P = @MKDIR_P@
  45640. NM = @NM@
  45641. NMEDIT = @NMEDIT@
  45642. @@ -179,6 +185,7 @@
  45643. PACKAGE_NAME = @PACKAGE_NAME@
  45644. PACKAGE_STRING = @PACKAGE_STRING@
  45645. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  45646. +PACKAGE_URL = @PACKAGE_URL@
  45647. PACKAGE_VERSION = @PACKAGE_VERSION@
  45648. PATH_SEPARATOR = @PATH_SEPARATOR@
  45649. PERL = @PERL@
  45650. @@ -284,7 +291,6 @@
  45651. libexecdir = @libexecdir@
  45652. localedir = @localedir@
  45653. localstatedir = @localstatedir@
  45654. -lt_ECHO = @lt_ECHO@
  45655. mandir = @mandir@
  45656. mkdir_p = @mkdir_p@
  45657. oldincludedir = @oldincludedir@
  45658. @@ -317,9 +323,9 @@
  45659. exit 1;; \
  45660. esac; \
  45661. done; \
  45662. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owshell/src/include/Makefile'; \
  45663. - cd $(top_srcdir) && \
  45664. - $(AUTOMAKE) --gnu module/owshell/src/include/Makefile
  45665. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owshell/src/include/Makefile'; \
  45666. + $(am__cd) $(top_srcdir) && \
  45667. + $(AUTOMAKE) --gnu module/owshell/src/include/Makefile
  45668. .PRECIOUS: Makefile
  45669. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  45670. @case '$?' in \
  45671. @@ -337,6 +343,7 @@
  45672. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  45673. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  45674. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  45675. +$(am__aclocal_m4_deps):
  45676. mostlyclean-libtool:
  45677. -rm -f *.lo
  45678. @@ -356,7 +363,7 @@
  45679. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  45680. $(TAGS_FILES) $(LISP)
  45681. - tags=; \
  45682. + set x; \
  45683. here=`pwd`; \
  45684. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  45685. unique=`for i in $$list; do \
  45686. @@ -364,29 +371,34 @@
  45687. done | \
  45688. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  45689. END { if (nonempty) { for (i in files) print i; }; }'`; \
  45690. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  45691. + shift; \
  45692. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  45693. test -n "$$unique" || unique=$$empty_fix; \
  45694. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45695. - $$tags $$unique; \
  45696. + if test $$# -gt 0; then \
  45697. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45698. + "$$@" $$unique; \
  45699. + else \
  45700. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45701. + $$unique; \
  45702. + fi; \
  45703. fi
  45704. ctags: CTAGS
  45705. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  45706. $(TAGS_FILES) $(LISP)
  45707. - tags=; \
  45708. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  45709. unique=`for i in $$list; do \
  45710. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  45711. done | \
  45712. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  45713. END { if (nonempty) { for (i in files) print i; }; }'`; \
  45714. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  45715. + test -z "$(CTAGS_ARGS)$$unique" \
  45716. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  45717. - $$tags $$unique
  45718. + $$unique
  45719. GTAGS:
  45720. here=`$(am__cd) $(top_builddir) && pwd` \
  45721. - && cd $(top_srcdir) \
  45722. - && gtags -i $(GTAGS_ARGS) $$here
  45723. + && $(am__cd) $(top_srcdir) \
  45724. + && gtags -i $(GTAGS_ARGS) "$$here"
  45725. distclean-tags:
  45726. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  45727. @@ -407,13 +419,17 @@
  45728. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  45729. if test -d $$d/$$file; then \
  45730. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  45731. + if test -d "$(distdir)/$$file"; then \
  45732. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  45733. + fi; \
  45734. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  45735. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  45736. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  45737. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  45738. fi; \
  45739. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  45740. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  45741. else \
  45742. - test -f $(distdir)/$$file \
  45743. - || cp -p $$d/$$file $(distdir)/$$file \
  45744. + test -f "$(distdir)/$$file" \
  45745. + || cp -p $$d/$$file "$(distdir)/$$file" \
  45746. || exit 1; \
  45747. fi; \
  45748. done
  45749. @@ -439,6 +455,7 @@
  45750. distclean-generic:
  45751. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  45752. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  45753. maintainer-clean-generic:
  45754. @echo "This command is intended for maintainers to use"
  45755. @@ -457,6 +474,8 @@
  45756. html: html-am
  45757. +html-am:
  45758. +
  45759. info: info-am
  45760. info-am:
  45761. @@ -465,18 +484,28 @@
  45762. install-dvi: install-dvi-am
  45763. +install-dvi-am:
  45764. +
  45765. install-exec-am:
  45766. install-html: install-html-am
  45767. +install-html-am:
  45768. +
  45769. install-info: install-info-am
  45770. +install-info-am:
  45771. +
  45772. install-man:
  45773. install-pdf: install-pdf-am
  45774. +install-pdf-am:
  45775. +
  45776. install-ps: install-ps-am
  45777. +install-ps-am:
  45778. +
  45779. installcheck-am:
  45780. maintainer-clean: maintainer-clean-am
  45781. @@ -516,6 +545,7 @@
  45782. clean-generic:
  45783. @RM@ -f *~ .*~
  45784. +
  45785. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  45786. # Otherwise a system limit (for SysV at least) may be exceeded.
  45787. .NOEXPORT:
  45788. diff -Nur owfs-2.7p38.orig/module/owshell/src/Makefile.in owfs-2.7p38/module/owshell/src/Makefile.in
  45789. --- owfs-2.7p38.orig/module/owshell/src/Makefile.in 2010-06-04 03:00:39.000000000 +0200
  45790. +++ owfs-2.7p38/module/owshell/src/Makefile.in 2010-07-09 16:00:58.339000572 +0200
  45791. @@ -1,8 +1,9 @@
  45792. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  45793. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  45794. # @configure_input@
  45795. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  45796. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  45797. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  45798. +# Inc.
  45799. # This Makefile.in is free software; the Free Software Foundation
  45800. # gives unlimited permission to copy and/or distribute it,
  45801. # with or without modifications, as long as this notice is preserved.
  45802. @@ -15,8 +16,9 @@
  45803. @SET_MAKE@
  45804. VPATH = @srcdir@
  45805. pkgdatadir = $(datadir)/@PACKAGE@
  45806. -pkglibdir = $(libdir)/@PACKAGE@
  45807. pkgincludedir = $(includedir)/@PACKAGE@
  45808. +pkglibdir = $(libdir)/@PACKAGE@
  45809. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  45810. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  45811. install_sh_DATA = $(install_sh) -c -m 644
  45812. install_sh_PROGRAM = $(install_sh) -c
  45813. @@ -35,8 +37,10 @@
  45814. subdir = module/owshell/src
  45815. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  45816. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  45817. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  45818. - $(top_srcdir)/acx_pthread.m4 \
  45819. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  45820. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  45821. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  45822. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  45823. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  45824. $(top_srcdir)/module/swig/php/php.m4 \
  45825. $(top_srcdir)/module/swig/python/python.m4 \
  45826. @@ -47,6 +51,7 @@
  45827. $(top_srcdir)/src/scripts/install/mkinstalldirs
  45828. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  45829. CONFIG_CLEAN_FILES =
  45830. +CONFIG_CLEAN_VPATH_FILES =
  45831. SOURCES =
  45832. DIST_SOURCES =
  45833. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  45834. @@ -58,10 +63,38 @@
  45835. ps-recursive uninstall-recursive
  45836. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  45837. distclean-recursive maintainer-clean-recursive
  45838. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  45839. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  45840. + distdir
  45841. ETAGS = etags
  45842. CTAGS = ctags
  45843. DIST_SUBDIRS = $(SUBDIRS)
  45844. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  45845. +am__relativize = \
  45846. + dir0=`pwd`; \
  45847. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  45848. + sed_rest='s,^[^/]*/*,,'; \
  45849. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  45850. + sed_butlast='s,/*[^/]*$$,,'; \
  45851. + while test -n "$$dir1"; do \
  45852. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  45853. + if test "$$first" != "."; then \
  45854. + if test "$$first" = ".."; then \
  45855. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  45856. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  45857. + else \
  45858. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  45859. + if test "$$first2" = "$$first"; then \
  45860. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  45861. + else \
  45862. + dir2="../$$dir2"; \
  45863. + fi; \
  45864. + dir0="$$dir0"/"$$first"; \
  45865. + fi; \
  45866. + fi; \
  45867. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  45868. + done; \
  45869. + reldir="$$dir2"
  45870. ACLOCAL = @ACLOCAL@
  45871. AMTAR = @AMTAR@
  45872. AR = @AR@
  45873. @@ -155,6 +188,7 @@
  45874. LT_RELEASE = @LT_RELEASE@
  45875. LT_REVISION = @LT_REVISION@
  45876. MAKEINFO = @MAKEINFO@
  45877. +MANIFEST_TOOL = @MANIFEST_TOOL@
  45878. MKDIR_P = @MKDIR_P@
  45879. NM = @NM@
  45880. NMEDIT = @NMEDIT@
  45881. @@ -186,6 +220,7 @@
  45882. PACKAGE_NAME = @PACKAGE_NAME@
  45883. PACKAGE_STRING = @PACKAGE_STRING@
  45884. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  45885. +PACKAGE_URL = @PACKAGE_URL@
  45886. PACKAGE_VERSION = @PACKAGE_VERSION@
  45887. PATH_SEPARATOR = @PATH_SEPARATOR@
  45888. PERL = @PERL@
  45889. @@ -291,7 +326,6 @@
  45890. libexecdir = @libexecdir@
  45891. localedir = @localedir@
  45892. localstatedir = @localstatedir@
  45893. -lt_ECHO = @lt_ECHO@
  45894. mandir = @mandir@
  45895. mkdir_p = @mkdir_p@
  45896. oldincludedir = @oldincludedir@
  45897. @@ -324,9 +358,9 @@
  45898. exit 1;; \
  45899. esac; \
  45900. done; \
  45901. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owshell/src/Makefile'; \
  45902. - cd $(top_srcdir) && \
  45903. - $(AUTOMAKE) --gnu module/owshell/src/Makefile
  45904. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owshell/src/Makefile'; \
  45905. + $(am__cd) $(top_srcdir) && \
  45906. + $(AUTOMAKE) --gnu module/owshell/src/Makefile
  45907. .PRECIOUS: Makefile
  45908. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  45909. @case '$?' in \
  45910. @@ -344,6 +378,7 @@
  45911. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  45912. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  45913. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  45914. +$(am__aclocal_m4_deps):
  45915. mostlyclean-libtool:
  45916. -rm -f *.lo
  45917. @@ -358,7 +393,7 @@
  45918. # (which will cause the Makefiles to be regenerated when you run `make');
  45919. # (2) otherwise, pass the desired values on the `make' command line.
  45920. $(RECURSIVE_TARGETS):
  45921. - @failcom='exit 1'; \
  45922. + @fail= failcom='exit 1'; \
  45923. for f in x $$MAKEFLAGS; do \
  45924. case $$f in \
  45925. *=* | --[!k]*);; \
  45926. @@ -375,7 +410,7 @@
  45927. else \
  45928. local_target="$$target"; \
  45929. fi; \
  45930. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  45931. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  45932. || eval $$failcom; \
  45933. done; \
  45934. if test "$$dot_seen" = "no"; then \
  45935. @@ -383,7 +418,7 @@
  45936. fi; test -z "$$fail"
  45937. $(RECURSIVE_CLEAN_TARGETS):
  45938. - @failcom='exit 1'; \
  45939. + @fail= failcom='exit 1'; \
  45940. for f in x $$MAKEFLAGS; do \
  45941. case $$f in \
  45942. *=* | --[!k]*);; \
  45943. @@ -409,16 +444,16 @@
  45944. else \
  45945. local_target="$$target"; \
  45946. fi; \
  45947. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  45948. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  45949. || eval $$failcom; \
  45950. done && test -z "$$fail"
  45951. tags-recursive:
  45952. list='$(SUBDIRS)'; for subdir in $$list; do \
  45953. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  45954. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  45955. done
  45956. ctags-recursive:
  45957. list='$(SUBDIRS)'; for subdir in $$list; do \
  45958. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  45959. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  45960. done
  45961. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  45962. @@ -433,7 +468,7 @@
  45963. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  45964. $(TAGS_FILES) $(LISP)
  45965. - tags=; \
  45966. + set x; \
  45967. here=`pwd`; \
  45968. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  45969. include_option=--etags-include; \
  45970. @@ -445,7 +480,7 @@
  45971. list='$(SUBDIRS)'; for subdir in $$list; do \
  45972. if test "$$subdir" = .; then :; else \
  45973. test ! -f $$subdir/TAGS || \
  45974. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  45975. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  45976. fi; \
  45977. done; \
  45978. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  45979. @@ -454,29 +489,34 @@
  45980. done | \
  45981. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  45982. END { if (nonempty) { for (i in files) print i; }; }'`; \
  45983. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  45984. + shift; \
  45985. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  45986. test -n "$$unique" || unique=$$empty_fix; \
  45987. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45988. - $$tags $$unique; \
  45989. + if test $$# -gt 0; then \
  45990. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45991. + "$$@" $$unique; \
  45992. + else \
  45993. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  45994. + $$unique; \
  45995. + fi; \
  45996. fi
  45997. ctags: CTAGS
  45998. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  45999. $(TAGS_FILES) $(LISP)
  46000. - tags=; \
  46001. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  46002. unique=`for i in $$list; do \
  46003. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  46004. done | \
  46005. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  46006. END { if (nonempty) { for (i in files) print i; }; }'`; \
  46007. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  46008. + test -z "$(CTAGS_ARGS)$$unique" \
  46009. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  46010. - $$tags $$unique
  46011. + $$unique
  46012. GTAGS:
  46013. here=`$(am__cd) $(top_builddir) && pwd` \
  46014. - && cd $(top_srcdir) \
  46015. - && gtags -i $(GTAGS_ARGS) $$here
  46016. + && $(am__cd) $(top_srcdir) \
  46017. + && gtags -i $(GTAGS_ARGS) "$$here"
  46018. distclean-tags:
  46019. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  46020. @@ -497,29 +537,44 @@
  46021. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  46022. if test -d $$d/$$file; then \
  46023. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  46024. + if test -d "$(distdir)/$$file"; then \
  46025. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  46026. + fi; \
  46027. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  46028. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  46029. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  46030. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  46031. fi; \
  46032. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  46033. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  46034. else \
  46035. - test -f $(distdir)/$$file \
  46036. - || cp -p $$d/$$file $(distdir)/$$file \
  46037. + test -f "$(distdir)/$$file" \
  46038. + || cp -p $$d/$$file "$(distdir)/$$file" \
  46039. || exit 1; \
  46040. fi; \
  46041. done
  46042. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  46043. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  46044. if test "$$subdir" = .; then :; else \
  46045. test -d "$(distdir)/$$subdir" \
  46046. || $(MKDIR_P) "$(distdir)/$$subdir" \
  46047. || exit 1; \
  46048. - distdir=`$(am__cd) $(distdir) && pwd`; \
  46049. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  46050. - (cd $$subdir && \
  46051. + fi; \
  46052. + done
  46053. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  46054. + if test "$$subdir" = .; then :; else \
  46055. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  46056. + $(am__relativize); \
  46057. + new_distdir=$$reldir; \
  46058. + dir1=$$subdir; dir2="$(top_distdir)"; \
  46059. + $(am__relativize); \
  46060. + new_top_distdir=$$reldir; \
  46061. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  46062. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  46063. + ($(am__cd) $$subdir && \
  46064. $(MAKE) $(AM_MAKEFLAGS) \
  46065. - top_distdir="$$top_distdir" \
  46066. - distdir="$$distdir/$$subdir" \
  46067. + top_distdir="$$new_top_distdir" \
  46068. + distdir="$$new_distdir" \
  46069. am__remove_distdir=: \
  46070. am__skip_length_check=: \
  46071. + am__skip_mode_fix=: \
  46072. distdir) \
  46073. || exit 1; \
  46074. fi; \
  46075. @@ -547,6 +602,7 @@
  46076. distclean-generic:
  46077. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  46078. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  46079. maintainer-clean-generic:
  46080. @echo "This command is intended for maintainers to use"
  46081. @@ -565,6 +621,8 @@
  46082. html: html-recursive
  46083. +html-am:
  46084. +
  46085. info: info-recursive
  46086. info-am:
  46087. @@ -573,18 +631,28 @@
  46088. install-dvi: install-dvi-recursive
  46089. +install-dvi-am:
  46090. +
  46091. install-exec-am:
  46092. install-html: install-html-recursive
  46093. +install-html-am:
  46094. +
  46095. install-info: install-info-recursive
  46096. +install-info-am:
  46097. +
  46098. install-man:
  46099. install-pdf: install-pdf-recursive
  46100. +install-pdf-am:
  46101. +
  46102. install-ps: install-ps-recursive
  46103. +install-ps-am:
  46104. +
  46105. installcheck-am:
  46106. maintainer-clean: maintainer-clean-recursive
  46107. @@ -605,8 +673,8 @@
  46108. uninstall-am:
  46109. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  46110. - install-strip
  46111. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  46112. + install-am install-strip tags-recursive
  46113. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  46114. all all-am check check-am clean clean-generic clean-libtool \
  46115. @@ -626,6 +694,7 @@
  46116. clean-generic:
  46117. @RM@ -f *~ .*~
  46118. +
  46119. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  46120. # Otherwise a system limit (for SysV at least) may be exceeded.
  46121. .NOEXPORT:
  46122. diff -Nur owfs-2.7p38.orig/module/owtap/Makefile.in owfs-2.7p38/module/owtap/Makefile.in
  46123. --- owfs-2.7p38.orig/module/owtap/Makefile.in 2010-06-04 03:00:40.000000000 +0200
  46124. +++ owfs-2.7p38/module/owtap/Makefile.in 2010-07-09 16:00:58.834998945 +0200
  46125. @@ -1,8 +1,9 @@
  46126. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  46127. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  46128. # @configure_input@
  46129. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  46130. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  46131. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  46132. +# Inc.
  46133. # This Makefile.in is free software; the Free Software Foundation
  46134. # gives unlimited permission to copy and/or distribute it,
  46135. # with or without modifications, as long as this notice is preserved.
  46136. @@ -17,8 +18,9 @@
  46137. # $Id: Makefile.am,v 1.4 2007/08/28 19:48:55 d1mag Exp $
  46138. VPATH = @srcdir@
  46139. pkgdatadir = $(datadir)/@PACKAGE@
  46140. -pkglibdir = $(libdir)/@PACKAGE@
  46141. pkgincludedir = $(includedir)/@PACKAGE@
  46142. +pkglibdir = $(libdir)/@PACKAGE@
  46143. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  46144. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  46145. install_sh_DATA = $(install_sh) -c -m 644
  46146. install_sh_PROGRAM = $(install_sh) -c
  46147. @@ -37,8 +39,10 @@
  46148. subdir = module/owtap
  46149. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  46150. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  46151. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  46152. - $(top_srcdir)/acx_pthread.m4 \
  46153. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  46154. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  46155. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  46156. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  46157. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  46158. $(top_srcdir)/module/swig/php/php.m4 \
  46159. $(top_srcdir)/module/swig/python/python.m4 \
  46160. @@ -49,6 +53,7 @@
  46161. $(top_srcdir)/src/scripts/install/mkinstalldirs
  46162. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  46163. CONFIG_CLEAN_FILES =
  46164. +CONFIG_CLEAN_VPATH_FILES =
  46165. SOURCES =
  46166. DIST_SOURCES =
  46167. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  46168. @@ -145,6 +150,7 @@
  46169. LT_RELEASE = @LT_RELEASE@
  46170. LT_REVISION = @LT_REVISION@
  46171. MAKEINFO = @MAKEINFO@
  46172. +MANIFEST_TOOL = @MANIFEST_TOOL@
  46173. MKDIR_P = @MKDIR_P@
  46174. NM = @NM@
  46175. NMEDIT = @NMEDIT@
  46176. @@ -176,6 +182,7 @@
  46177. PACKAGE_NAME = @PACKAGE_NAME@
  46178. PACKAGE_STRING = @PACKAGE_STRING@
  46179. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  46180. +PACKAGE_URL = @PACKAGE_URL@
  46181. PACKAGE_VERSION = @PACKAGE_VERSION@
  46182. PATH_SEPARATOR = @PATH_SEPARATOR@
  46183. PERL = @PERL@
  46184. @@ -281,7 +288,6 @@
  46185. libexecdir = @libexecdir@
  46186. localedir = @localedir@
  46187. localstatedir = @localstatedir@
  46188. -lt_ECHO = @lt_ECHO@
  46189. mandir = @mandir@
  46190. mkdir_p = @mkdir_p@
  46191. oldincludedir = @oldincludedir@
  46192. @@ -314,9 +320,9 @@
  46193. exit 1;; \
  46194. esac; \
  46195. done; \
  46196. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owtap/Makefile'; \
  46197. - cd $(top_srcdir) && \
  46198. - $(AUTOMAKE) --gnu module/owtap/Makefile
  46199. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owtap/Makefile'; \
  46200. + $(am__cd) $(top_srcdir) && \
  46201. + $(AUTOMAKE) --gnu module/owtap/Makefile
  46202. .PRECIOUS: Makefile
  46203. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  46204. @case '$?' in \
  46205. @@ -334,6 +340,7 @@
  46206. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  46207. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  46208. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  46209. +$(am__aclocal_m4_deps):
  46210. mostlyclean-libtool:
  46211. -rm -f *.lo
  46212. @@ -363,13 +370,17 @@
  46213. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  46214. if test -d $$d/$$file; then \
  46215. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  46216. + if test -d "$(distdir)/$$file"; then \
  46217. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  46218. + fi; \
  46219. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  46220. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  46221. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  46222. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  46223. fi; \
  46224. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  46225. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  46226. else \
  46227. - test -f $(distdir)/$$file \
  46228. - || cp -p $$d/$$file $(distdir)/$$file \
  46229. + test -f "$(distdir)/$$file" \
  46230. + || cp -p $$d/$$file "$(distdir)/$$file" \
  46231. || exit 1; \
  46232. fi; \
  46233. done
  46234. @@ -396,6 +407,7 @@
  46235. distclean-generic:
  46236. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  46237. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  46238. maintainer-clean-generic:
  46239. @echo "This command is intended for maintainers to use"
  46240. @@ -414,6 +426,8 @@
  46241. html: html-am
  46242. +html-am:
  46243. +
  46244. info: info-am
  46245. info-am:
  46246. @@ -422,18 +436,28 @@
  46247. install-dvi: install-dvi-am
  46248. +install-dvi-am:
  46249. +
  46250. install-exec-am:
  46251. install-html: install-html-am
  46252. +install-html-am:
  46253. +
  46254. install-info: install-info-am
  46255. +install-info-am:
  46256. +
  46257. install-man:
  46258. install-pdf: install-pdf-am
  46259. +install-pdf-am:
  46260. +
  46261. install-ps: install-ps-am
  46262. +install-ps-am:
  46263. +
  46264. installcheck-am:
  46265. maintainer-clean: maintainer-clean-am
  46266. @@ -471,6 +495,7 @@
  46267. install:
  46268. @INSTALL@ -d $(DESTDIR)$(bindir)
  46269. @INSTALL@ -m 755 owtap.tcl $(DESTDIR)$(bindir)/owtap
  46270. +
  46271. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  46272. # Otherwise a system limit (for SysV at least) may be exceeded.
  46273. .NOEXPORT:
  46274. diff -Nur owfs-2.7p38.orig/module/owtcl/Makefile.in owfs-2.7p38/module/owtcl/Makefile.in
  46275. --- owfs-2.7p38.orig/module/owtcl/Makefile.in 2010-06-04 03:00:40.000000000 +0200
  46276. +++ owfs-2.7p38/module/owtcl/Makefile.in 2010-07-09 16:00:59.035000391 +0200
  46277. @@ -1,8 +1,9 @@
  46278. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  46279. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  46280. # @configure_input@
  46281. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  46282. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  46283. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  46284. +# Inc.
  46285. # This Makefile.in is free software; the Free Software Foundation
  46286. # gives unlimited permission to copy and/or distribute it,
  46287. # with or without modifications, as long as this notice is preserved.
  46288. @@ -20,6 +21,7 @@
  46289. VPATH = @srcdir@
  46290. pkgdatadir = $(datadir)/@PACKAGE@
  46291. pkgincludedir = $(includedir)/@PACKAGE@
  46292. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  46293. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  46294. install_sh_DATA = $(install_sh) -c -m 644
  46295. install_sh_PROGRAM = $(install_sh) -c
  46296. @@ -39,8 +41,10 @@
  46297. $(srcdir)/version.h
  46298. subdir = module/owtcl
  46299. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  46300. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  46301. - $(top_srcdir)/acx_pthread.m4 \
  46302. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  46303. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  46304. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  46305. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  46306. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  46307. $(top_srcdir)/module/swig/php/php.m4 \
  46308. $(top_srcdir)/module/swig/python/python.m4 \
  46309. @@ -51,14 +55,29 @@
  46310. $(top_srcdir)/src/scripts/install/mkinstalldirs
  46311. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  46312. CONFIG_CLEAN_FILES =
  46313. +CONFIG_CLEAN_VPATH_FILES =
  46314. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  46315. am__vpath_adj = case $$p in \
  46316. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  46317. *) f=$$p;; \
  46318. esac;
  46319. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  46320. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  46321. +am__install_max = 40
  46322. +am__nobase_strip_setup = \
  46323. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  46324. +am__nobase_strip = \
  46325. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  46326. +am__nobase_list = $(am__nobase_strip_setup); \
  46327. + for p in $$list; do echo "$$p $$p"; done | \
  46328. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  46329. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  46330. + if (++n[$$2] == $(am__install_max)) \
  46331. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  46332. + END { for (dir in files) print dir, files[dir] }'
  46333. +am__base_list = \
  46334. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  46335. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  46336. am__installdirs = "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(datadir)"
  46337. -pkglibLTLIBRARIES_INSTALL = $(INSTALL)
  46338. LTLIBRARIES = $(pkglib_LTLIBRARIES)
  46339. am__DEPENDENCIES_1 =
  46340. am_ow_la_OBJECTS = ow.lo
  46341. @@ -69,6 +88,7 @@
  46342. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src/include
  46343. depcomp = $(SHELL) $(top_srcdir)/src/scripts/install/depcomp
  46344. am__depfiles_maybe = depfiles
  46345. +am__mv = mv -f
  46346. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  46347. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  46348. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  46349. @@ -80,7 +100,6 @@
  46350. $(LDFLAGS) -o $@
  46351. SOURCES = $(ow_la_SOURCES)
  46352. DIST_SOURCES = $(ow_la_SOURCES)
  46353. -dataDATA_INSTALL = $(INSTALL_DATA)
  46354. DATA = $(data_DATA) $(noinst_DATA)
  46355. ETAGS = etags
  46356. CTAGS = ctags
  46357. @@ -181,6 +200,7 @@
  46358. LT_RELEASE = @LT_RELEASE@
  46359. LT_REVISION = @LT_REVISION@
  46360. MAKEINFO = @MAKEINFO@
  46361. +MANIFEST_TOOL = @MANIFEST_TOOL@
  46362. MKDIR_P = @MKDIR_P@
  46363. NM = @NM@
  46364. NMEDIT = @NMEDIT@
  46365. @@ -212,6 +232,7 @@
  46366. PACKAGE_NAME = @PACKAGE_NAME@
  46367. PACKAGE_STRING = @PACKAGE_STRING@
  46368. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  46369. +PACKAGE_URL = @PACKAGE_URL@
  46370. PACKAGE_VERSION = @PACKAGE_VERSION@
  46371. PATH_SEPARATOR = @PATH_SEPARATOR@
  46372. PERL = @PERL@
  46373. @@ -318,7 +339,6 @@
  46374. libexecdir = @libexecdir@
  46375. localedir = @localedir@
  46376. localstatedir = @localstatedir@
  46377. -lt_ECHO = @lt_ECHO@
  46378. mandir = @mandir@
  46379. mkdir_p = @mkdir_p@
  46380. oldincludedir = @oldincludedir@
  46381. @@ -388,9 +408,9 @@
  46382. exit 1;; \
  46383. esac; \
  46384. done; \
  46385. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owtcl/Makefile'; \
  46386. - cd $(top_srcdir) && \
  46387. - $(AUTOMAKE) --gnu module/owtcl/Makefile
  46388. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/owtcl/Makefile'; \
  46389. + $(am__cd) $(top_srcdir) && \
  46390. + $(AUTOMAKE) --gnu module/owtcl/Makefile
  46391. .PRECIOUS: Makefile
  46392. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  46393. @case '$?' in \
  46394. @@ -408,23 +428,28 @@
  46395. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  46396. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  46397. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  46398. +$(am__aclocal_m4_deps):
  46399. install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
  46400. @$(NORMAL_INSTALL)
  46401. test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
  46402. - @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
  46403. + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  46404. + list2=; for p in $$list; do \
  46405. if test -f $$p; then \
  46406. - f=$(am__strip_dir) \
  46407. - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \
  46408. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \
  46409. + list2="$$list2 $$p"; \
  46410. else :; fi; \
  46411. - done
  46412. + done; \
  46413. + test -z "$$list2" || { \
  46414. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
  46415. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
  46416. + }
  46417. uninstall-pkglibLTLIBRARIES:
  46418. @$(NORMAL_UNINSTALL)
  46419. - @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
  46420. - p=$(am__strip_dir) \
  46421. - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$p'"; \
  46422. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \
  46423. + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
  46424. + for p in $$list; do \
  46425. + $(am__strip_dir) \
  46426. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
  46427. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
  46428. done
  46429. clean-pkglibLTLIBRARIES:
  46430. @@ -448,21 +473,21 @@
  46431. .c.o:
  46432. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  46433. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  46434. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  46435. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  46436. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  46437. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  46438. .c.obj:
  46439. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  46440. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  46441. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  46442. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  46443. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  46444. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  46445. .c.lo:
  46446. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  46447. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  46448. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  46449. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  46450. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  46451. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  46452. @@ -475,20 +500,23 @@
  46453. install-dataDATA: $(data_DATA)
  46454. @$(NORMAL_INSTALL)
  46455. test -z "$(datadir)" || $(MKDIR_P) "$(DESTDIR)$(datadir)"
  46456. - @list='$(data_DATA)'; for p in $$list; do \
  46457. + @list='$(data_DATA)'; test -n "$(datadir)" || list=; \
  46458. + for p in $$list; do \
  46459. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  46460. - f=$(am__strip_dir) \
  46461. - echo " $(dataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(datadir)/$$f'"; \
  46462. - $(dataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(datadir)/$$f"; \
  46463. + echo "$$d$$p"; \
  46464. + done | $(am__base_list) | \
  46465. + while read files; do \
  46466. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(datadir)'"; \
  46467. + $(INSTALL_DATA) $$files "$(DESTDIR)$(datadir)" || exit $$?; \
  46468. done
  46469. uninstall-dataDATA:
  46470. @$(NORMAL_UNINSTALL)
  46471. - @list='$(data_DATA)'; for p in $$list; do \
  46472. - f=$(am__strip_dir) \
  46473. - echo " rm -f '$(DESTDIR)$(datadir)/$$f'"; \
  46474. - rm -f "$(DESTDIR)$(datadir)/$$f"; \
  46475. - done
  46476. + @list='$(data_DATA)'; test -n "$(datadir)" || list=; \
  46477. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  46478. + test -n "$$files" || exit 0; \
  46479. + echo " ( cd '$(DESTDIR)$(datadir)' && rm -f" $$files ")"; \
  46480. + cd "$(DESTDIR)$(datadir)" && rm -f $$files
  46481. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  46482. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  46483. @@ -502,7 +530,7 @@
  46484. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  46485. $(TAGS_FILES) $(LISP)
  46486. - tags=; \
  46487. + set x; \
  46488. here=`pwd`; \
  46489. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  46490. unique=`for i in $$list; do \
  46491. @@ -510,29 +538,34 @@
  46492. done | \
  46493. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  46494. END { if (nonempty) { for (i in files) print i; }; }'`; \
  46495. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  46496. + shift; \
  46497. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  46498. test -n "$$unique" || unique=$$empty_fix; \
  46499. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  46500. - $$tags $$unique; \
  46501. + if test $$# -gt 0; then \
  46502. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  46503. + "$$@" $$unique; \
  46504. + else \
  46505. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  46506. + $$unique; \
  46507. + fi; \
  46508. fi
  46509. ctags: CTAGS
  46510. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  46511. $(TAGS_FILES) $(LISP)
  46512. - tags=; \
  46513. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  46514. unique=`for i in $$list; do \
  46515. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  46516. done | \
  46517. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  46518. END { if (nonempty) { for (i in files) print i; }; }'`; \
  46519. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  46520. + test -z "$(CTAGS_ARGS)$$unique" \
  46521. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  46522. - $$tags $$unique
  46523. + $$unique
  46524. GTAGS:
  46525. here=`$(am__cd) $(top_builddir) && pwd` \
  46526. - && cd $(top_srcdir) \
  46527. - && gtags -i $(GTAGS_ARGS) $$here
  46528. + && $(am__cd) $(top_srcdir) \
  46529. + && gtags -i $(GTAGS_ARGS) "$$here"
  46530. distclean-tags:
  46531. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  46532. @@ -553,13 +586,17 @@
  46533. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  46534. if test -d $$d/$$file; then \
  46535. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  46536. + if test -d "$(distdir)/$$file"; then \
  46537. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  46538. + fi; \
  46539. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  46540. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  46541. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  46542. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  46543. fi; \
  46544. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  46545. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  46546. else \
  46547. - test -f $(distdir)/$$file \
  46548. - || cp -p $$d/$$file $(distdir)/$$file \
  46549. + test -f "$(distdir)/$$file" \
  46550. + || cp -p $$d/$$file "$(distdir)/$$file" \
  46551. || exit 1; \
  46552. fi; \
  46553. done
  46554. @@ -588,6 +625,7 @@
  46555. distclean-generic:
  46556. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  46557. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  46558. maintainer-clean-generic:
  46559. @echo "This command is intended for maintainers to use"
  46560. @@ -609,6 +647,8 @@
  46561. html: html-am
  46562. +html-am:
  46563. +
  46564. info: info-am
  46565. info-am:
  46566. @@ -617,18 +657,28 @@
  46567. install-dvi: install-dvi-am
  46568. +install-dvi-am:
  46569. +
  46570. install-exec-am: install-pkglibLTLIBRARIES
  46571. install-html: install-html-am
  46572. +install-html-am:
  46573. +
  46574. install-info: install-info-am
  46575. +install-info-am:
  46576. +
  46577. install-man:
  46578. install-pdf: install-pdf-am
  46579. +install-pdf-am:
  46580. +
  46581. install-ps: install-ps-am
  46582. +install-ps-am:
  46583. +
  46584. installcheck-am:
  46585. maintainer-clean: maintainer-clean-am
  46586. @@ -706,6 +756,7 @@
  46587. echo 'package ifneeded $(PACKAGE) $(OWTCL_VERSION)\
  46588. [list load [file join $$dir $(PACKAGE)$(TCL_SHLIB_SUFFIX)] $(PACKAGE)]'\
  46589. ) > pkgIndex.tcl
  46590. +
  46591. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  46592. # Otherwise a system limit (for SysV at least) may be exceeded.
  46593. .NOEXPORT:
  46594. diff -Nur owfs-2.7p38.orig/module/swig/Makefile.in owfs-2.7p38/module/swig/Makefile.in
  46595. --- owfs-2.7p38.orig/module/swig/Makefile.in 2010-06-04 03:00:40.000000000 +0200
  46596. +++ owfs-2.7p38/module/swig/Makefile.in 2010-07-09 16:00:59.186999080 +0200
  46597. @@ -1,8 +1,9 @@
  46598. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  46599. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  46600. # @configure_input@
  46601. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  46602. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  46603. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  46604. +# Inc.
  46605. # This Makefile.in is free software; the Free Software Foundation
  46606. # gives unlimited permission to copy and/or distribute it,
  46607. # with or without modifications, as long as this notice is preserved.
  46608. @@ -17,8 +18,9 @@
  46609. # $Id: Makefile.am,v 1.15 2009/07/01 01:26:27 alfille Exp $
  46610. VPATH = @srcdir@
  46611. pkgdatadir = $(datadir)/@PACKAGE@
  46612. -pkglibdir = $(libdir)/@PACKAGE@
  46613. pkgincludedir = $(includedir)/@PACKAGE@
  46614. +pkglibdir = $(libdir)/@PACKAGE@
  46615. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  46616. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  46617. install_sh_DATA = $(install_sh) -c -m 644
  46618. install_sh_PROGRAM = $(install_sh) -c
  46619. @@ -37,8 +39,10 @@
  46620. subdir = module/swig
  46621. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  46622. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  46623. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  46624. - $(top_srcdir)/acx_pthread.m4 \
  46625. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  46626. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  46627. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  46628. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  46629. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  46630. $(top_srcdir)/module/swig/php/php.m4 \
  46631. $(top_srcdir)/module/swig/python/python.m4 \
  46632. @@ -49,6 +53,7 @@
  46633. $(top_srcdir)/src/scripts/install/mkinstalldirs
  46634. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  46635. CONFIG_CLEAN_FILES =
  46636. +CONFIG_CLEAN_VPATH_FILES =
  46637. SOURCES =
  46638. DIST_SOURCES =
  46639. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  46640. @@ -60,10 +65,38 @@
  46641. ps-recursive uninstall-recursive
  46642. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  46643. distclean-recursive maintainer-clean-recursive
  46644. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  46645. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  46646. + distdir
  46647. ETAGS = etags
  46648. CTAGS = ctags
  46649. DIST_SUBDIRS = perl5 python php
  46650. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  46651. +am__relativize = \
  46652. + dir0=`pwd`; \
  46653. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  46654. + sed_rest='s,^[^/]*/*,,'; \
  46655. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  46656. + sed_butlast='s,/*[^/]*$$,,'; \
  46657. + while test -n "$$dir1"; do \
  46658. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  46659. + if test "$$first" != "."; then \
  46660. + if test "$$first" = ".."; then \
  46661. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  46662. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  46663. + else \
  46664. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  46665. + if test "$$first2" = "$$first"; then \
  46666. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  46667. + else \
  46668. + dir2="../$$dir2"; \
  46669. + fi; \
  46670. + dir0="$$dir0"/"$$first"; \
  46671. + fi; \
  46672. + fi; \
  46673. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  46674. + done; \
  46675. + reldir="$$dir2"
  46676. ACLOCAL = @ACLOCAL@
  46677. AMTAR = @AMTAR@
  46678. AR = @AR@
  46679. @@ -157,6 +190,7 @@
  46680. LT_RELEASE = @LT_RELEASE@
  46681. LT_REVISION = @LT_REVISION@
  46682. MAKEINFO = @MAKEINFO@
  46683. +MANIFEST_TOOL = @MANIFEST_TOOL@
  46684. MKDIR_P = @MKDIR_P@
  46685. NM = @NM@
  46686. NMEDIT = @NMEDIT@
  46687. @@ -188,6 +222,7 @@
  46688. PACKAGE_NAME = @PACKAGE_NAME@
  46689. PACKAGE_STRING = @PACKAGE_STRING@
  46690. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  46691. +PACKAGE_URL = @PACKAGE_URL@
  46692. PACKAGE_VERSION = @PACKAGE_VERSION@
  46693. PATH_SEPARATOR = @PATH_SEPARATOR@
  46694. PERL = @PERL@
  46695. @@ -293,7 +328,6 @@
  46696. libexecdir = @libexecdir@
  46697. localedir = @localedir@
  46698. localstatedir = @localstatedir@
  46699. -lt_ECHO = @lt_ECHO@
  46700. mandir = @mandir@
  46701. mkdir_p = @mkdir_p@
  46702. oldincludedir = @oldincludedir@
  46703. @@ -330,9 +364,9 @@
  46704. exit 1;; \
  46705. esac; \
  46706. done; \
  46707. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/swig/Makefile'; \
  46708. - cd $(top_srcdir) && \
  46709. - $(AUTOMAKE) --gnu module/swig/Makefile
  46710. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/swig/Makefile'; \
  46711. + $(am__cd) $(top_srcdir) && \
  46712. + $(AUTOMAKE) --gnu module/swig/Makefile
  46713. .PRECIOUS: Makefile
  46714. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  46715. @case '$?' in \
  46716. @@ -350,6 +384,7 @@
  46717. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  46718. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  46719. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  46720. +$(am__aclocal_m4_deps):
  46721. mostlyclean-libtool:
  46722. -rm -f *.lo
  46723. @@ -364,7 +399,7 @@
  46724. # (which will cause the Makefiles to be regenerated when you run `make');
  46725. # (2) otherwise, pass the desired values on the `make' command line.
  46726. $(RECURSIVE_TARGETS):
  46727. - @failcom='exit 1'; \
  46728. + @fail= failcom='exit 1'; \
  46729. for f in x $$MAKEFLAGS; do \
  46730. case $$f in \
  46731. *=* | --[!k]*);; \
  46732. @@ -381,7 +416,7 @@
  46733. else \
  46734. local_target="$$target"; \
  46735. fi; \
  46736. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  46737. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  46738. || eval $$failcom; \
  46739. done; \
  46740. if test "$$dot_seen" = "no"; then \
  46741. @@ -389,7 +424,7 @@
  46742. fi; test -z "$$fail"
  46743. $(RECURSIVE_CLEAN_TARGETS):
  46744. - @failcom='exit 1'; \
  46745. + @fail= failcom='exit 1'; \
  46746. for f in x $$MAKEFLAGS; do \
  46747. case $$f in \
  46748. *=* | --[!k]*);; \
  46749. @@ -415,16 +450,16 @@
  46750. else \
  46751. local_target="$$target"; \
  46752. fi; \
  46753. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  46754. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  46755. || eval $$failcom; \
  46756. done && test -z "$$fail"
  46757. tags-recursive:
  46758. list='$(SUBDIRS)'; for subdir in $$list; do \
  46759. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  46760. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  46761. done
  46762. ctags-recursive:
  46763. list='$(SUBDIRS)'; for subdir in $$list; do \
  46764. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  46765. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  46766. done
  46767. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  46768. @@ -439,7 +474,7 @@
  46769. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  46770. $(TAGS_FILES) $(LISP)
  46771. - tags=; \
  46772. + set x; \
  46773. here=`pwd`; \
  46774. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  46775. include_option=--etags-include; \
  46776. @@ -451,7 +486,7 @@
  46777. list='$(SUBDIRS)'; for subdir in $$list; do \
  46778. if test "$$subdir" = .; then :; else \
  46779. test ! -f $$subdir/TAGS || \
  46780. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  46781. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  46782. fi; \
  46783. done; \
  46784. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  46785. @@ -460,29 +495,34 @@
  46786. done | \
  46787. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  46788. END { if (nonempty) { for (i in files) print i; }; }'`; \
  46789. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  46790. + shift; \
  46791. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  46792. test -n "$$unique" || unique=$$empty_fix; \
  46793. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  46794. - $$tags $$unique; \
  46795. + if test $$# -gt 0; then \
  46796. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  46797. + "$$@" $$unique; \
  46798. + else \
  46799. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  46800. + $$unique; \
  46801. + fi; \
  46802. fi
  46803. ctags: CTAGS
  46804. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  46805. $(TAGS_FILES) $(LISP)
  46806. - tags=; \
  46807. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  46808. unique=`for i in $$list; do \
  46809. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  46810. done | \
  46811. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  46812. END { if (nonempty) { for (i in files) print i; }; }'`; \
  46813. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  46814. + test -z "$(CTAGS_ARGS)$$unique" \
  46815. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  46816. - $$tags $$unique
  46817. + $$unique
  46818. GTAGS:
  46819. here=`$(am__cd) $(top_builddir) && pwd` \
  46820. - && cd $(top_srcdir) \
  46821. - && gtags -i $(GTAGS_ARGS) $$here
  46822. + && $(am__cd) $(top_srcdir) \
  46823. + && gtags -i $(GTAGS_ARGS) "$$here"
  46824. distclean-tags:
  46825. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  46826. @@ -503,29 +543,44 @@
  46827. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  46828. if test -d $$d/$$file; then \
  46829. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  46830. + if test -d "$(distdir)/$$file"; then \
  46831. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  46832. + fi; \
  46833. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  46834. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  46835. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  46836. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  46837. fi; \
  46838. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  46839. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  46840. else \
  46841. - test -f $(distdir)/$$file \
  46842. - || cp -p $$d/$$file $(distdir)/$$file \
  46843. + test -f "$(distdir)/$$file" \
  46844. + || cp -p $$d/$$file "$(distdir)/$$file" \
  46845. || exit 1; \
  46846. fi; \
  46847. done
  46848. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  46849. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  46850. if test "$$subdir" = .; then :; else \
  46851. test -d "$(distdir)/$$subdir" \
  46852. || $(MKDIR_P) "$(distdir)/$$subdir" \
  46853. || exit 1; \
  46854. - distdir=`$(am__cd) $(distdir) && pwd`; \
  46855. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  46856. - (cd $$subdir && \
  46857. + fi; \
  46858. + done
  46859. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  46860. + if test "$$subdir" = .; then :; else \
  46861. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  46862. + $(am__relativize); \
  46863. + new_distdir=$$reldir; \
  46864. + dir1=$$subdir; dir2="$(top_distdir)"; \
  46865. + $(am__relativize); \
  46866. + new_top_distdir=$$reldir; \
  46867. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  46868. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  46869. + ($(am__cd) $$subdir && \
  46870. $(MAKE) $(AM_MAKEFLAGS) \
  46871. - top_distdir="$$top_distdir" \
  46872. - distdir="$$distdir/$$subdir" \
  46873. + top_distdir="$$new_top_distdir" \
  46874. + distdir="$$new_distdir" \
  46875. am__remove_distdir=: \
  46876. am__skip_length_check=: \
  46877. + am__skip_mode_fix=: \
  46878. distdir) \
  46879. || exit 1; \
  46880. fi; \
  46881. @@ -553,6 +608,7 @@
  46882. distclean-generic:
  46883. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  46884. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  46885. maintainer-clean-generic:
  46886. @echo "This command is intended for maintainers to use"
  46887. @@ -571,6 +627,8 @@
  46888. html: html-recursive
  46889. +html-am:
  46890. +
  46891. info: info-recursive
  46892. info-am:
  46893. @@ -579,18 +637,28 @@
  46894. install-dvi: install-dvi-recursive
  46895. +install-dvi-am:
  46896. +
  46897. install-exec-am:
  46898. install-html: install-html-recursive
  46899. +install-html-am:
  46900. +
  46901. install-info: install-info-recursive
  46902. +install-info-am:
  46903. +
  46904. install-man:
  46905. install-pdf: install-pdf-recursive
  46906. +install-pdf-am:
  46907. +
  46908. install-ps: install-ps-recursive
  46909. +install-ps-am:
  46910. +
  46911. installcheck-am:
  46912. maintainer-clean: maintainer-clean-recursive
  46913. @@ -611,8 +679,8 @@
  46914. uninstall-am:
  46915. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  46916. - install-strip
  46917. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  46918. + install-am install-strip tags-recursive
  46919. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  46920. all all-am check check-am clean clean-generic clean-libtool \
  46921. @@ -632,6 +700,7 @@
  46922. clean-generic:
  46923. @RM@ -f *~ .*~
  46924. +
  46925. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  46926. # Otherwise a system limit (for SysV at least) may be exceeded.
  46927. .NOEXPORT:
  46928. diff -Nur owfs-2.7p38.orig/module/swig/perl5/Makefile.in owfs-2.7p38/module/swig/perl5/Makefile.in
  46929. --- owfs-2.7p38.orig/module/swig/perl5/Makefile.in 2010-06-04 03:00:40.000000000 +0200
  46930. +++ owfs-2.7p38/module/swig/perl5/Makefile.in 2010-07-09 16:00:59.335001739 +0200
  46931. @@ -1,8 +1,9 @@
  46932. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  46933. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  46934. # @configure_input@
  46935. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  46936. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  46937. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  46938. +# Inc.
  46939. # This Makefile.in is free software; the Free Software Foundation
  46940. # gives unlimited permission to copy and/or distribute it,
  46941. # with or without modifications, as long as this notice is preserved.
  46942. @@ -15,8 +16,9 @@
  46943. @SET_MAKE@
  46944. VPATH = @srcdir@
  46945. pkgdatadir = $(datadir)/@PACKAGE@
  46946. -pkglibdir = $(libdir)/@PACKAGE@
  46947. pkgincludedir = $(includedir)/@PACKAGE@
  46948. +pkglibdir = $(libdir)/@PACKAGE@
  46949. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  46950. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  46951. install_sh_DATA = $(install_sh) -c -m 644
  46952. install_sh_PROGRAM = $(install_sh) -c
  46953. @@ -35,8 +37,10 @@
  46954. subdir = module/swig/perl5
  46955. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  46956. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  46957. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  46958. - $(top_srcdir)/acx_pthread.m4 \
  46959. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  46960. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  46961. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  46962. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  46963. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  46964. $(top_srcdir)/module/swig/php/php.m4 \
  46965. $(top_srcdir)/module/swig/python/python.m4 \
  46966. @@ -47,6 +51,7 @@
  46967. $(top_srcdir)/src/scripts/install/mkinstalldirs
  46968. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  46969. CONFIG_CLEAN_FILES =
  46970. +CONFIG_CLEAN_VPATH_FILES =
  46971. SOURCES =
  46972. DIST_SOURCES =
  46973. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  46974. @@ -143,6 +148,7 @@
  46975. LT_RELEASE = @LT_RELEASE@
  46976. LT_REVISION = @LT_REVISION@
  46977. MAKEINFO = @MAKEINFO@
  46978. +MANIFEST_TOOL = @MANIFEST_TOOL@
  46979. MKDIR_P = @MKDIR_P@
  46980. NM = @NM@
  46981. NMEDIT = @NMEDIT@
  46982. @@ -174,6 +180,7 @@
  46983. PACKAGE_NAME = @PACKAGE_NAME@
  46984. PACKAGE_STRING = @PACKAGE_STRING@
  46985. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  46986. +PACKAGE_URL = @PACKAGE_URL@
  46987. PACKAGE_VERSION = @PACKAGE_VERSION@
  46988. PATH_SEPARATOR = @PATH_SEPARATOR@
  46989. PERL = @PERL@
  46990. @@ -279,7 +286,6 @@
  46991. libexecdir = @libexecdir@
  46992. localedir = @localedir@
  46993. localstatedir = @localstatedir@
  46994. -lt_ECHO = @lt_ECHO@
  46995. mandir = @mandir@
  46996. mkdir_p = @mkdir_p@
  46997. oldincludedir = @oldincludedir@
  46998. @@ -312,9 +318,9 @@
  46999. exit 1;; \
  47000. esac; \
  47001. done; \
  47002. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/swig/perl5/Makefile'; \
  47003. - cd $(top_srcdir) && \
  47004. - $(AUTOMAKE) --gnu module/swig/perl5/Makefile
  47005. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/swig/perl5/Makefile'; \
  47006. + $(am__cd) $(top_srcdir) && \
  47007. + $(AUTOMAKE) --gnu module/swig/perl5/Makefile
  47008. .PRECIOUS: Makefile
  47009. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  47010. @case '$?' in \
  47011. @@ -332,6 +338,7 @@
  47012. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  47013. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  47014. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  47015. +$(am__aclocal_m4_deps):
  47016. mostlyclean-libtool:
  47017. -rm -f *.lo
  47018. @@ -361,13 +368,17 @@
  47019. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  47020. if test -d $$d/$$file; then \
  47021. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  47022. + if test -d "$(distdir)/$$file"; then \
  47023. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  47024. + fi; \
  47025. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  47026. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  47027. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  47028. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  47029. fi; \
  47030. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  47031. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  47032. else \
  47033. - test -f $(distdir)/$$file \
  47034. - || cp -p $$d/$$file $(distdir)/$$file \
  47035. + test -f "$(distdir)/$$file" \
  47036. + || cp -p $$d/$$file "$(distdir)/$$file" \
  47037. || exit 1; \
  47038. fi; \
  47039. done
  47040. @@ -393,6 +404,7 @@
  47041. distclean-generic:
  47042. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  47043. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  47044. maintainer-clean-generic:
  47045. @echo "This command is intended for maintainers to use"
  47046. @@ -411,6 +423,8 @@
  47047. html: html-am
  47048. +html-am:
  47049. +
  47050. info: info-am
  47051. info-am:
  47052. @@ -419,18 +433,28 @@
  47053. install-dvi: install-dvi-am
  47054. +install-dvi-am:
  47055. +
  47056. install-exec-am:
  47057. install-html: install-html-am
  47058. +install-html-am:
  47059. +
  47060. install-info: install-info-am
  47061. +install-info-am:
  47062. +
  47063. install-man:
  47064. install-pdf: install-pdf-am
  47065. +install-pdf-am:
  47066. +
  47067. install-ps: install-ps-am
  47068. +install-ps-am:
  47069. +
  47070. installcheck-am:
  47071. maintainer-clean: maintainer-clean-am
  47072. @@ -494,6 +518,7 @@
  47073. @RM@ -f *~ .*~
  47074. if test -f OW/Makefile; then cd OW; $(MAKE) clean; fi
  47075. @RM@ -f OW/Makefile.old OW/Makefile OW/Makefile.PL OW/OW.pm OW/OW.bs OW/ow_wrap.c
  47076. +
  47077. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  47078. # Otherwise a system limit (for SysV at least) may be exceeded.
  47079. .NOEXPORT:
  47080. diff -Nur owfs-2.7p38.orig/module/swig/php/Makefile.in owfs-2.7p38/module/swig/php/Makefile.in
  47081. --- owfs-2.7p38.orig/module/swig/php/Makefile.in 2010-06-04 03:00:40.000000000 +0200
  47082. +++ owfs-2.7p38/module/swig/php/Makefile.in 2010-07-09 16:00:59.519001427 +0200
  47083. @@ -1,8 +1,9 @@
  47084. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  47085. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  47086. # @configure_input@
  47087. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  47088. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  47089. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  47090. +# Inc.
  47091. # This Makefile.in is free software; the Free Software Foundation
  47092. # gives unlimited permission to copy and/or distribute it,
  47093. # with or without modifications, as long as this notice is preserved.
  47094. @@ -18,8 +19,9 @@
  47095. VPATH = @srcdir@
  47096. pkgdatadir = $(datadir)/@PACKAGE@
  47097. -pkglibdir = $(libdir)/@PACKAGE@
  47098. pkgincludedir = $(includedir)/@PACKAGE@
  47099. +pkglibdir = $(libdir)/@PACKAGE@
  47100. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  47101. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  47102. install_sh_DATA = $(install_sh) -c -m 644
  47103. install_sh_PROGRAM = $(install_sh) -c
  47104. @@ -38,8 +40,10 @@
  47105. subdir = module/swig/php
  47106. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  47107. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  47108. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  47109. - $(top_srcdir)/acx_pthread.m4 \
  47110. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  47111. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  47112. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  47113. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  47114. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  47115. $(top_srcdir)/module/swig/php/php.m4 \
  47116. $(top_srcdir)/module/swig/python/python.m4 \
  47117. @@ -50,14 +54,29 @@
  47118. $(top_srcdir)/src/scripts/install/mkinstalldirs
  47119. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  47120. CONFIG_CLEAN_FILES =
  47121. +CONFIG_CLEAN_VPATH_FILES =
  47122. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  47123. am__vpath_adj = case $$p in \
  47124. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  47125. *) f=$$p;; \
  47126. esac;
  47127. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  47128. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  47129. +am__install_max = 40
  47130. +am__nobase_strip_setup = \
  47131. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  47132. +am__nobase_strip = \
  47133. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  47134. +am__nobase_list = $(am__nobase_strip_setup); \
  47135. + for p in $$list; do echo "$$p $$p"; done | \
  47136. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  47137. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  47138. + if (++n[$$2] == $(am__install_max)) \
  47139. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  47140. + END { for (dir in files) print dir, files[dir] }'
  47141. +am__base_list = \
  47142. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  47143. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  47144. am__installdirs = "$(DESTDIR)$(libdir)"
  47145. -libLTLIBRARIES_INSTALL = $(INSTALL)
  47146. LTLIBRARIES = $(lib_LTLIBRARIES)
  47147. am_libowphp_la_OBJECTS = ow_wrap.lo
  47148. libowphp_la_OBJECTS = $(am_libowphp_la_OBJECTS)
  47149. @@ -67,6 +86,7 @@
  47150. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src/include
  47151. depcomp = $(SHELL) $(top_srcdir)/src/scripts/install/depcomp
  47152. am__depfiles_maybe = depfiles
  47153. +am__mv = mv -f
  47154. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  47155. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  47156. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  47157. @@ -174,6 +194,7 @@
  47158. LT_RELEASE = @LT_RELEASE@
  47159. LT_REVISION = @LT_REVISION@
  47160. MAKEINFO = @MAKEINFO@
  47161. +MANIFEST_TOOL = @MANIFEST_TOOL@
  47162. MKDIR_P = @MKDIR_P@
  47163. NM = @NM@
  47164. NMEDIT = @NMEDIT@
  47165. @@ -205,6 +226,7 @@
  47166. PACKAGE_NAME = @PACKAGE_NAME@
  47167. PACKAGE_STRING = @PACKAGE_STRING@
  47168. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  47169. +PACKAGE_URL = @PACKAGE_URL@
  47170. PACKAGE_VERSION = @PACKAGE_VERSION@
  47171. PATH_SEPARATOR = @PATH_SEPARATOR@
  47172. PERL = @PERL@
  47173. @@ -311,7 +333,6 @@
  47174. libexecdir = @libexecdir@
  47175. localedir = @localedir@
  47176. localstatedir = @localstatedir@
  47177. -lt_ECHO = @lt_ECHO@
  47178. mandir = @mandir@
  47179. mkdir_p = @mkdir_p@
  47180. oldincludedir = @oldincludedir@
  47181. @@ -367,9 +388,9 @@
  47182. exit 1;; \
  47183. esac; \
  47184. done; \
  47185. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/swig/php/Makefile'; \
  47186. - cd $(top_srcdir) && \
  47187. - $(AUTOMAKE) --gnu module/swig/php/Makefile
  47188. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/swig/php/Makefile'; \
  47189. + $(am__cd) $(top_srcdir) && \
  47190. + $(AUTOMAKE) --gnu module/swig/php/Makefile
  47191. .PRECIOUS: Makefile
  47192. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  47193. @case '$?' in \
  47194. @@ -387,23 +408,28 @@
  47195. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  47196. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  47197. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  47198. +$(am__aclocal_m4_deps):
  47199. install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  47200. @$(NORMAL_INSTALL)
  47201. test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
  47202. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  47203. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  47204. + list2=; for p in $$list; do \
  47205. if test -f $$p; then \
  47206. - f=$(am__strip_dir) \
  47207. - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
  47208. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
  47209. + list2="$$list2 $$p"; \
  47210. else :; fi; \
  47211. - done
  47212. + done; \
  47213. + test -z "$$list2" || { \
  47214. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
  47215. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
  47216. + }
  47217. uninstall-libLTLIBRARIES:
  47218. @$(NORMAL_UNINSTALL)
  47219. - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  47220. - p=$(am__strip_dir) \
  47221. - echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
  47222. - $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
  47223. + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  47224. + for p in $$list; do \
  47225. + $(am__strip_dir) \
  47226. + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
  47227. + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
  47228. done
  47229. clean-libLTLIBRARIES:
  47230. @@ -427,21 +453,21 @@
  47231. .c.o:
  47232. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  47233. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  47234. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  47235. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  47236. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  47237. @am__fastdepCC_FALSE@ $(COMPILE) -c $<
  47238. .c.obj:
  47239. @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  47240. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  47241. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  47242. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  47243. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  47244. @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  47245. .c.lo:
  47246. @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  47247. -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  47248. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  47249. @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  47250. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  47251. @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
  47252. @@ -464,7 +490,7 @@
  47253. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  47254. $(TAGS_FILES) $(LISP)
  47255. - tags=; \
  47256. + set x; \
  47257. here=`pwd`; \
  47258. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  47259. unique=`for i in $$list; do \
  47260. @@ -472,29 +498,34 @@
  47261. done | \
  47262. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  47263. END { if (nonempty) { for (i in files) print i; }; }'`; \
  47264. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  47265. + shift; \
  47266. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  47267. test -n "$$unique" || unique=$$empty_fix; \
  47268. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  47269. - $$tags $$unique; \
  47270. + if test $$# -gt 0; then \
  47271. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  47272. + "$$@" $$unique; \
  47273. + else \
  47274. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  47275. + $$unique; \
  47276. + fi; \
  47277. fi
  47278. ctags: CTAGS
  47279. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  47280. $(TAGS_FILES) $(LISP)
  47281. - tags=; \
  47282. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  47283. unique=`for i in $$list; do \
  47284. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  47285. done | \
  47286. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  47287. END { if (nonempty) { for (i in files) print i; }; }'`; \
  47288. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  47289. + test -z "$(CTAGS_ARGS)$$unique" \
  47290. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  47291. - $$tags $$unique
  47292. + $$unique
  47293. GTAGS:
  47294. here=`$(am__cd) $(top_builddir) && pwd` \
  47295. - && cd $(top_srcdir) \
  47296. - && gtags -i $(GTAGS_ARGS) $$here
  47297. + && $(am__cd) $(top_srcdir) \
  47298. + && gtags -i $(GTAGS_ARGS) "$$here"
  47299. distclean-tags:
  47300. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  47301. @@ -515,13 +546,17 @@
  47302. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  47303. if test -d $$d/$$file; then \
  47304. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  47305. + if test -d "$(distdir)/$$file"; then \
  47306. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  47307. + fi; \
  47308. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  47309. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  47310. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  47311. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  47312. fi; \
  47313. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  47314. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  47315. else \
  47316. - test -f $(distdir)/$$file \
  47317. - || cp -p $$d/$$file $(distdir)/$$file \
  47318. + test -f "$(distdir)/$$file" \
  47319. + || cp -p $$d/$$file "$(distdir)/$$file" \
  47320. || exit 1; \
  47321. fi; \
  47322. done
  47323. @@ -550,6 +585,7 @@
  47324. distclean-generic:
  47325. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  47326. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  47327. maintainer-clean-generic:
  47328. @echo "This command is intended for maintainers to use"
  47329. @@ -571,6 +607,8 @@
  47330. html: html-am
  47331. +html-am:
  47332. +
  47333. info: info-am
  47334. info-am:
  47335. @@ -579,18 +617,28 @@
  47336. install-dvi: install-dvi-am
  47337. +install-dvi-am:
  47338. +
  47339. install-exec-am: install-libLTLIBRARIES
  47340. install-html: install-html-am
  47341. +install-html-am:
  47342. +
  47343. install-info: install-info-am
  47344. +install-info-am:
  47345. +
  47346. install-man:
  47347. install-pdf: install-pdf-am
  47348. +install-pdf-am:
  47349. +
  47350. install-ps: install-ps-am
  47351. +install-ps-am:
  47352. +
  47353. installcheck-am:
  47354. maintainer-clean: maintainer-clean-am
  47355. @@ -647,6 +695,7 @@
  47356. clean-generic:
  47357. @RM@ -f *~ .*~
  47358. +
  47359. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  47360. # Otherwise a system limit (for SysV at least) may be exceeded.
  47361. .NOEXPORT:
  47362. diff -Nur owfs-2.7p38.orig/module/swig/python/Makefile.in owfs-2.7p38/module/swig/python/Makefile.in
  47363. --- owfs-2.7p38.orig/module/swig/python/Makefile.in 2010-06-04 03:00:41.000000000 +0200
  47364. +++ owfs-2.7p38/module/swig/python/Makefile.in 2010-07-09 16:00:59.690999311 +0200
  47365. @@ -1,8 +1,9 @@
  47366. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  47367. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  47368. # @configure_input@
  47369. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  47370. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  47371. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  47372. +# Inc.
  47373. # This Makefile.in is free software; the Free Software Foundation
  47374. # gives unlimited permission to copy and/or distribute it,
  47375. # with or without modifications, as long as this notice is preserved.
  47376. @@ -18,8 +19,9 @@
  47377. VPATH = @srcdir@
  47378. pkgdatadir = $(datadir)/@PACKAGE@
  47379. -pkglibdir = $(libdir)/@PACKAGE@
  47380. pkgincludedir = $(includedir)/@PACKAGE@
  47381. +pkglibdir = $(libdir)/@PACKAGE@
  47382. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  47383. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  47384. install_sh_DATA = $(install_sh) -c -m 644
  47385. install_sh_PROGRAM = $(install_sh) -c
  47386. @@ -39,8 +41,10 @@
  47387. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  47388. $(srcdir)/setup.py.in
  47389. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  47390. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  47391. - $(top_srcdir)/acx_pthread.m4 \
  47392. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  47393. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  47394. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  47395. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  47396. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  47397. $(top_srcdir)/module/swig/php/php.m4 \
  47398. $(top_srcdir)/module/swig/python/python.m4 \
  47399. @@ -51,6 +55,7 @@
  47400. $(top_srcdir)/src/scripts/install/mkinstalldirs
  47401. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  47402. CONFIG_CLEAN_FILES = setup.py
  47403. +CONFIG_CLEAN_VPATH_FILES =
  47404. SOURCES =
  47405. DIST_SOURCES =
  47406. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  47407. @@ -63,10 +68,38 @@
  47408. DATA = $(noinst_DATA)
  47409. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  47410. distclean-recursive maintainer-clean-recursive
  47411. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  47412. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  47413. + distdir
  47414. ETAGS = etags
  47415. CTAGS = ctags
  47416. DIST_SUBDIRS = $(SUBDIRS)
  47417. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  47418. +am__relativize = \
  47419. + dir0=`pwd`; \
  47420. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  47421. + sed_rest='s,^[^/]*/*,,'; \
  47422. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  47423. + sed_butlast='s,/*[^/]*$$,,'; \
  47424. + while test -n "$$dir1"; do \
  47425. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  47426. + if test "$$first" != "."; then \
  47427. + if test "$$first" = ".."; then \
  47428. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  47429. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  47430. + else \
  47431. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  47432. + if test "$$first2" = "$$first"; then \
  47433. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  47434. + else \
  47435. + dir2="../$$dir2"; \
  47436. + fi; \
  47437. + dir0="$$dir0"/"$$first"; \
  47438. + fi; \
  47439. + fi; \
  47440. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  47441. + done; \
  47442. + reldir="$$dir2"
  47443. ACLOCAL = @ACLOCAL@
  47444. AMTAR = @AMTAR@
  47445. AR = @AR@
  47446. @@ -160,6 +193,7 @@
  47447. LT_RELEASE = @LT_RELEASE@
  47448. LT_REVISION = @LT_REVISION@
  47449. MAKEINFO = @MAKEINFO@
  47450. +MANIFEST_TOOL = @MANIFEST_TOOL@
  47451. MKDIR_P = @MKDIR_P@
  47452. NM = @NM@
  47453. NMEDIT = @NMEDIT@
  47454. @@ -191,6 +225,7 @@
  47455. PACKAGE_NAME = @PACKAGE_NAME@
  47456. PACKAGE_STRING = @PACKAGE_STRING@
  47457. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  47458. +PACKAGE_URL = @PACKAGE_URL@
  47459. PACKAGE_VERSION = @PACKAGE_VERSION@
  47460. PATH_SEPARATOR = @PATH_SEPARATOR@
  47461. PERL = @PERL@
  47462. @@ -296,7 +331,6 @@
  47463. libexecdir = @libexecdir@
  47464. localedir = @localedir@
  47465. localstatedir = @localstatedir@
  47466. -lt_ECHO = @lt_ECHO@
  47467. mandir = @mandir@
  47468. mkdir_p = @mkdir_p@
  47469. oldincludedir = @oldincludedir@
  47470. @@ -335,9 +369,9 @@
  47471. exit 1;; \
  47472. esac; \
  47473. done; \
  47474. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/swig/python/Makefile'; \
  47475. - cd $(top_srcdir) && \
  47476. - $(AUTOMAKE) --gnu module/swig/python/Makefile
  47477. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/swig/python/Makefile'; \
  47478. + $(am__cd) $(top_srcdir) && \
  47479. + $(AUTOMAKE) --gnu module/swig/python/Makefile
  47480. .PRECIOUS: Makefile
  47481. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  47482. @case '$?' in \
  47483. @@ -355,6 +389,7 @@
  47484. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  47485. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  47486. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  47487. +$(am__aclocal_m4_deps):
  47488. setup.py: $(top_builddir)/config.status $(srcdir)/setup.py.in
  47489. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
  47490. @@ -371,7 +406,7 @@
  47491. # (which will cause the Makefiles to be regenerated when you run `make');
  47492. # (2) otherwise, pass the desired values on the `make' command line.
  47493. $(RECURSIVE_TARGETS):
  47494. - @failcom='exit 1'; \
  47495. + @fail= failcom='exit 1'; \
  47496. for f in x $$MAKEFLAGS; do \
  47497. case $$f in \
  47498. *=* | --[!k]*);; \
  47499. @@ -388,7 +423,7 @@
  47500. else \
  47501. local_target="$$target"; \
  47502. fi; \
  47503. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  47504. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  47505. || eval $$failcom; \
  47506. done; \
  47507. if test "$$dot_seen" = "no"; then \
  47508. @@ -396,7 +431,7 @@
  47509. fi; test -z "$$fail"
  47510. $(RECURSIVE_CLEAN_TARGETS):
  47511. - @failcom='exit 1'; \
  47512. + @fail= failcom='exit 1'; \
  47513. for f in x $$MAKEFLAGS; do \
  47514. case $$f in \
  47515. *=* | --[!k]*);; \
  47516. @@ -422,16 +457,16 @@
  47517. else \
  47518. local_target="$$target"; \
  47519. fi; \
  47520. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  47521. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  47522. || eval $$failcom; \
  47523. done && test -z "$$fail"
  47524. tags-recursive:
  47525. list='$(SUBDIRS)'; for subdir in $$list; do \
  47526. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  47527. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  47528. done
  47529. ctags-recursive:
  47530. list='$(SUBDIRS)'; for subdir in $$list; do \
  47531. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  47532. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  47533. done
  47534. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  47535. @@ -446,7 +481,7 @@
  47536. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  47537. $(TAGS_FILES) $(LISP)
  47538. - tags=; \
  47539. + set x; \
  47540. here=`pwd`; \
  47541. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  47542. include_option=--etags-include; \
  47543. @@ -458,7 +493,7 @@
  47544. list='$(SUBDIRS)'; for subdir in $$list; do \
  47545. if test "$$subdir" = .; then :; else \
  47546. test ! -f $$subdir/TAGS || \
  47547. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  47548. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  47549. fi; \
  47550. done; \
  47551. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  47552. @@ -467,29 +502,34 @@
  47553. done | \
  47554. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  47555. END { if (nonempty) { for (i in files) print i; }; }'`; \
  47556. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  47557. + shift; \
  47558. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  47559. test -n "$$unique" || unique=$$empty_fix; \
  47560. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  47561. - $$tags $$unique; \
  47562. + if test $$# -gt 0; then \
  47563. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  47564. + "$$@" $$unique; \
  47565. + else \
  47566. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  47567. + $$unique; \
  47568. + fi; \
  47569. fi
  47570. ctags: CTAGS
  47571. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  47572. $(TAGS_FILES) $(LISP)
  47573. - tags=; \
  47574. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  47575. unique=`for i in $$list; do \
  47576. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  47577. done | \
  47578. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  47579. END { if (nonempty) { for (i in files) print i; }; }'`; \
  47580. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  47581. + test -z "$(CTAGS_ARGS)$$unique" \
  47582. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  47583. - $$tags $$unique
  47584. + $$unique
  47585. GTAGS:
  47586. here=`$(am__cd) $(top_builddir) && pwd` \
  47587. - && cd $(top_srcdir) \
  47588. - && gtags -i $(GTAGS_ARGS) $$here
  47589. + && $(am__cd) $(top_srcdir) \
  47590. + && gtags -i $(GTAGS_ARGS) "$$here"
  47591. distclean-tags:
  47592. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  47593. @@ -510,29 +550,44 @@
  47594. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  47595. if test -d $$d/$$file; then \
  47596. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  47597. + if test -d "$(distdir)/$$file"; then \
  47598. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  47599. + fi; \
  47600. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  47601. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  47602. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  47603. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  47604. fi; \
  47605. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  47606. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  47607. else \
  47608. - test -f $(distdir)/$$file \
  47609. - || cp -p $$d/$$file $(distdir)/$$file \
  47610. + test -f "$(distdir)/$$file" \
  47611. + || cp -p $$d/$$file "$(distdir)/$$file" \
  47612. || exit 1; \
  47613. fi; \
  47614. done
  47615. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  47616. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  47617. if test "$$subdir" = .; then :; else \
  47618. test -d "$(distdir)/$$subdir" \
  47619. || $(MKDIR_P) "$(distdir)/$$subdir" \
  47620. || exit 1; \
  47621. - distdir=`$(am__cd) $(distdir) && pwd`; \
  47622. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  47623. - (cd $$subdir && \
  47624. + fi; \
  47625. + done
  47626. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  47627. + if test "$$subdir" = .; then :; else \
  47628. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  47629. + $(am__relativize); \
  47630. + new_distdir=$$reldir; \
  47631. + dir1=$$subdir; dir2="$(top_distdir)"; \
  47632. + $(am__relativize); \
  47633. + new_top_distdir=$$reldir; \
  47634. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  47635. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  47636. + ($(am__cd) $$subdir && \
  47637. $(MAKE) $(AM_MAKEFLAGS) \
  47638. - top_distdir="$$top_distdir" \
  47639. - distdir="$$distdir/$$subdir" \
  47640. + top_distdir="$$new_top_distdir" \
  47641. + distdir="$$new_distdir" \
  47642. am__remove_distdir=: \
  47643. am__skip_length_check=: \
  47644. + am__skip_mode_fix=: \
  47645. distdir) \
  47646. || exit 1; \
  47647. fi; \
  47648. @@ -560,6 +615,7 @@
  47649. distclean-generic:
  47650. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  47651. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  47652. maintainer-clean-generic:
  47653. @echo "This command is intended for maintainers to use"
  47654. @@ -578,6 +634,8 @@
  47655. html: html-recursive
  47656. +html-am:
  47657. +
  47658. info: info-recursive
  47659. info-am:
  47660. @@ -586,18 +644,28 @@
  47661. install-dvi: install-dvi-recursive
  47662. +install-dvi-am:
  47663. +
  47664. install-exec-am:
  47665. install-html: install-html-recursive
  47666. +install-html-am:
  47667. +
  47668. install-info: install-info-recursive
  47669. +install-info-am:
  47670. +
  47671. install-man:
  47672. install-pdf: install-pdf-recursive
  47673. +install-pdf-am:
  47674. +
  47675. install-ps: install-ps-recursive
  47676. +install-ps-am:
  47677. +
  47678. installcheck-am:
  47679. maintainer-clean: maintainer-clean-recursive
  47680. @@ -618,8 +686,8 @@
  47681. uninstall-am:
  47682. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  47683. - install-strip
  47684. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  47685. + install-am install-strip tags-recursive
  47686. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  47687. all all-am check check-am clean clean-generic clean-libtool \
  47688. @@ -656,6 +724,7 @@
  47689. clean-generic:
  47690. @RM@ -f *~ .*~
  47691. +
  47692. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  47693. # Otherwise a system limit (for SysV at least) may be exceeded.
  47694. .NOEXPORT:
  47695. diff -Nur owfs-2.7p38.orig/module/swig/python/ow/Makefile.in owfs-2.7p38/module/swig/python/ow/Makefile.in
  47696. --- owfs-2.7p38.orig/module/swig/python/ow/Makefile.in 2010-06-04 03:00:41.000000000 +0200
  47697. +++ owfs-2.7p38/module/swig/python/ow/Makefile.in 2010-07-09 16:00:59.838998337 +0200
  47698. @@ -1,8 +1,9 @@
  47699. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  47700. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  47701. # @configure_input@
  47702. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  47703. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  47704. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  47705. +# Inc.
  47706. # This Makefile.in is free software; the Free Software Foundation
  47707. # gives unlimited permission to copy and/or distribute it,
  47708. # with or without modifications, as long as this notice is preserved.
  47709. @@ -15,8 +16,9 @@
  47710. @SET_MAKE@
  47711. VPATH = @srcdir@
  47712. pkgdatadir = $(datadir)/@PACKAGE@
  47713. -pkglibdir = $(libdir)/@PACKAGE@
  47714. pkgincludedir = $(includedir)/@PACKAGE@
  47715. +pkglibdir = $(libdir)/@PACKAGE@
  47716. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  47717. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  47718. install_sh_DATA = $(install_sh) -c -m 644
  47719. install_sh_PROGRAM = $(install_sh) -c
  47720. @@ -35,8 +37,10 @@
  47721. subdir = module/swig/python/ow
  47722. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  47723. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  47724. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  47725. - $(top_srcdir)/acx_pthread.m4 \
  47726. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  47727. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  47728. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  47729. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  47730. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  47731. $(top_srcdir)/module/swig/php/php.m4 \
  47732. $(top_srcdir)/module/swig/python/python.m4 \
  47733. @@ -47,6 +51,7 @@
  47734. $(top_srcdir)/src/scripts/install/mkinstalldirs
  47735. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  47736. CONFIG_CLEAN_FILES =
  47737. +CONFIG_CLEAN_VPATH_FILES =
  47738. SOURCES =
  47739. DIST_SOURCES =
  47740. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  47741. @@ -143,6 +148,7 @@
  47742. LT_RELEASE = @LT_RELEASE@
  47743. LT_REVISION = @LT_REVISION@
  47744. MAKEINFO = @MAKEINFO@
  47745. +MANIFEST_TOOL = @MANIFEST_TOOL@
  47746. MKDIR_P = @MKDIR_P@
  47747. NM = @NM@
  47748. NMEDIT = @NMEDIT@
  47749. @@ -174,6 +180,7 @@
  47750. PACKAGE_NAME = @PACKAGE_NAME@
  47751. PACKAGE_STRING = @PACKAGE_STRING@
  47752. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  47753. +PACKAGE_URL = @PACKAGE_URL@
  47754. PACKAGE_VERSION = @PACKAGE_VERSION@
  47755. PATH_SEPARATOR = @PATH_SEPARATOR@
  47756. PERL = @PERL@
  47757. @@ -279,7 +286,6 @@
  47758. libexecdir = @libexecdir@
  47759. localedir = @localedir@
  47760. localstatedir = @localstatedir@
  47761. -lt_ECHO = @lt_ECHO@
  47762. mandir = @mandir@
  47763. mkdir_p = @mkdir_p@
  47764. oldincludedir = @oldincludedir@
  47765. @@ -312,9 +318,9 @@
  47766. exit 1;; \
  47767. esac; \
  47768. done; \
  47769. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/swig/python/ow/Makefile'; \
  47770. - cd $(top_srcdir) && \
  47771. - $(AUTOMAKE) --gnu module/swig/python/ow/Makefile
  47772. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu module/swig/python/ow/Makefile'; \
  47773. + $(am__cd) $(top_srcdir) && \
  47774. + $(AUTOMAKE) --gnu module/swig/python/ow/Makefile
  47775. .PRECIOUS: Makefile
  47776. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  47777. @case '$?' in \
  47778. @@ -332,6 +338,7 @@
  47779. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  47780. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  47781. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  47782. +$(am__aclocal_m4_deps):
  47783. mostlyclean-libtool:
  47784. -rm -f *.lo
  47785. @@ -361,13 +368,17 @@
  47786. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  47787. if test -d $$d/$$file; then \
  47788. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  47789. + if test -d "$(distdir)/$$file"; then \
  47790. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  47791. + fi; \
  47792. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  47793. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  47794. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  47795. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  47796. fi; \
  47797. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  47798. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  47799. else \
  47800. - test -f $(distdir)/$$file \
  47801. - || cp -p $$d/$$file $(distdir)/$$file \
  47802. + test -f "$(distdir)/$$file" \
  47803. + || cp -p $$d/$$file "$(distdir)/$$file" \
  47804. || exit 1; \
  47805. fi; \
  47806. done
  47807. @@ -393,6 +404,7 @@
  47808. distclean-generic:
  47809. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  47810. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  47811. maintainer-clean-generic:
  47812. @echo "This command is intended for maintainers to use"
  47813. @@ -411,6 +423,8 @@
  47814. html: html-am
  47815. +html-am:
  47816. +
  47817. info: info-am
  47818. info-am:
  47819. @@ -419,18 +433,28 @@
  47820. install-dvi: install-dvi-am
  47821. +install-dvi-am:
  47822. +
  47823. install-exec-am:
  47824. install-html: install-html-am
  47825. +install-html-am:
  47826. +
  47827. install-info: install-info-am
  47828. +install-info-am:
  47829. +
  47830. install-man:
  47831. install-pdf: install-pdf-am
  47832. +install-pdf-am:
  47833. +
  47834. install-ps: install-ps-am
  47835. +install-ps-am:
  47836. +
  47837. installcheck-am:
  47838. maintainer-clean: maintainer-clean-am
  47839. @@ -468,6 +492,7 @@
  47840. clean-generic:
  47841. @RM@ -f *~ .*~
  47842. +
  47843. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  47844. # Otherwise a system limit (for SysV at least) may be exceeded.
  47845. .NOEXPORT:
  47846. diff -Nur owfs-2.7p38.orig/src/include/config.h.in owfs-2.7p38/src/include/config.h.in
  47847. --- owfs-2.7p38.orig/src/include/config.h.in 2010-06-02 02:31:11.000000000 +0200
  47848. +++ owfs-2.7p38/src/include/config.h.in 2010-07-09 16:00:50.911001362 +0200
  47849. @@ -300,6 +300,9 @@
  47850. /* Define to the one symbol short name of this package. */
  47851. #undef PACKAGE_TARNAME
  47852. +/* Define to the home page for this package. */
  47853. +#undef PACKAGE_URL
  47854. +
  47855. /* Define to the version of this package. */
  47856. #undef PACKAGE_VERSION
  47857. diff -Nur owfs-2.7p38.orig/src/include/config.h.in~ owfs-2.7p38/src/include/config.h.in~
  47858. --- owfs-2.7p38.orig/src/include/config.h.in~ 1970-01-01 01:00:00.000000000 +0100
  47859. +++ owfs-2.7p38/src/include/config.h.in~ 2010-07-09 15:59:33.827001273 +0200
  47860. @@ -0,0 +1,364 @@
  47861. +/* src/include/config.h.in. Generated from configure.ac by autoheader. */
  47862. +
  47863. +
  47864. +#ifndef OWCONFIG_H
  47865. + #define OWCONFIG_H
  47866. +
  47867. +
  47868. +/* Define to 1 if you have the `accept' function. */
  47869. +#undef HAVE_ACCEPT
  47870. +
  47871. +/* Have AF_NETLINK in socket.h */
  47872. +#undef HAVE_AF_NETLINK
  47873. +
  47874. +/* Define to 1 if you have the <arpa/inet.h> header file. */
  47875. +#undef HAVE_ARPA_INET_H
  47876. +
  47877. +/* Define to 1 if you have the <asm/types.h> header file. */
  47878. +#undef HAVE_ASM_TYPES_H
  47879. +
  47880. +/* Broken glibc implementations use __ss_family instead of ss_family. */
  47881. +#undef HAVE_BROKEN_SS_FAMILY
  47882. +
  47883. +/* Define to 1 if you have the `daemon' function. */
  47884. +#undef HAVE_DAEMON
  47885. +
  47886. +/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
  47887. + */
  47888. +#undef HAVE_DIRENT_H
  47889. +
  47890. +/* Define to 1 if you have the <dlfcn.h> header file. */
  47891. +#undef HAVE_DLFCN_H
  47892. +
  47893. +/* Define if you have dlopen */
  47894. +#undef HAVE_DLOPEN
  47895. +
  47896. +/* Define to 1 if you have the <fcntl.h> header file. */
  47897. +#undef HAVE_FCNTL_H
  47898. +
  47899. +/* Define to 1 if you have the <features.h> header file. */
  47900. +#undef HAVE_FEATURES_H
  47901. +
  47902. +/* Define to 1 if you have the <feature_tests.h> header file. */
  47903. +#undef HAVE_FEATURE_TESTS_H
  47904. +
  47905. +/* Define to 1 if you have the `fork' function. */
  47906. +#undef HAVE_FORK
  47907. +
  47908. +/* Define to 1 if you have the `freeaddrinfo' function. */
  47909. +#undef HAVE_FREEADDRINFO
  47910. +
  47911. +/* Define to 1 if you have the `getaddrinfo' function. */
  47912. +#undef HAVE_GETADDRINFO
  47913. +
  47914. +/* Define to 1 if you have the `gethostbyaddr_r' function. */
  47915. +#undef HAVE_GETHOSTBYADDR_R
  47916. +
  47917. +/* Define to 1 if you have the `gethostbyname2_r' function. */
  47918. +#undef HAVE_GETHOSTBYNAME2_R
  47919. +
  47920. +/* Define to 1 if you have the `gethostbyname_r' function. */
  47921. +#undef HAVE_GETHOSTBYNAME_R
  47922. +
  47923. +/* Define to 1 if you have the `getline' function. */
  47924. +#undef HAVE_GETLINE
  47925. +
  47926. +/* Define to 1 if you have the `getopt' function. */
  47927. +#undef HAVE_GETOPT
  47928. +
  47929. +/* Define to 1 if you have the <getopt.h> header file. */
  47930. +#undef HAVE_GETOPT_H
  47931. +
  47932. +/* Define to 1 if you have the `getopt_long' function. */
  47933. +#undef HAVE_GETOPT_LONG
  47934. +
  47935. +/* Define to 1 if you have the `getservbyname_r' function. */
  47936. +#undef HAVE_GETSERVBYNAME_R
  47937. +
  47938. +/* Define to 1 if you have the `gettimeofday' function. */
  47939. +#undef HAVE_GETTIMEOFDAY
  47940. +
  47941. +/* Define to 1 if you have the `inet_ntop' function. */
  47942. +#undef HAVE_INET_NTOP
  47943. +
  47944. +/* Define to 1 if you have the `inet_pton' function. */
  47945. +#undef HAVE_INET_PTON
  47946. +
  47947. +/* Define to 1 if you have the <inttypes.h> header file. */
  47948. +#undef HAVE_INTTYPES_H
  47949. +
  47950. +/* Define to 1 if you have the <limits.h> header file. */
  47951. +#undef HAVE_LIMITS_H
  47952. +
  47953. +/* Define to 1 if you have the <linux/limits.h> header file. */
  47954. +#undef HAVE_LINUX_LIMITS_H
  47955. +
  47956. +/* Define to 1 if you have the <linux/types.h> header file. */
  47957. +#undef HAVE_LINUX_TYPES_H
  47958. +
  47959. +/* Define if you have lrint */
  47960. +#undef HAVE_LRINT
  47961. +
  47962. +/* Define to 1 if you have the `memchr' function. */
  47963. +#undef HAVE_MEMCHR
  47964. +
  47965. +/* Define to 1 if you have the <memory.h> header file. */
  47966. +#undef HAVE_MEMORY_H
  47967. +
  47968. +/* Define to 1 if you have the `memset' function. */
  47969. +#undef HAVE_MEMSET
  47970. +
  47971. +/* Define if you have nanosleep */
  47972. +#undef HAVE_NANOSLEEP
  47973. +
  47974. +/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
  47975. +#undef HAVE_NDIR_H
  47976. +
  47977. +/* Define to 1 if you have the <netdb.h> header file. */
  47978. +#undef HAVE_NETDB_H
  47979. +
  47980. +/* Define to 1 if you have the <netinet/in.h> header file. */
  47981. +#undef HAVE_NETINET_IN_H
  47982. +
  47983. +/* Define if you have POSIX threads libraries and header files. */
  47984. +#undef HAVE_PTHREAD
  47985. +
  47986. +/* Define to 1 if you have the <resolv.h> header file. */
  47987. +#undef HAVE_RESOLV_H
  47988. +
  47989. +/* Define to 1 if you have the `select' function. */
  47990. +#undef HAVE_SELECT
  47991. +
  47992. +/* Define to 1 if you have the <semaphore.h> header file. */
  47993. +#undef HAVE_SEMAPHORE_H
  47994. +
  47995. +/* Define to 1 if you have the `sem_timedwait' function. */
  47996. +#undef HAVE_SEM_TIMEDWAIT
  47997. +
  47998. +/* Define to 1 if you have the `socket' function. */
  47999. +#undef HAVE_SOCKET
  48000. +
  48001. +/* Define to 1 if stdbool.h conforms to C99. */
  48002. +#undef HAVE_STDBOOL_H
  48003. +
  48004. +/* Define to 1 if you have the <stdint.h> header file. */
  48005. +#undef HAVE_STDINT_H
  48006. +
  48007. +/* Define to 1 if you have the <stdlib.h> header file. */
  48008. +#undef HAVE_STDLIB_H
  48009. +
  48010. +/* Define to 1 if you have the `strcasecmp' function. */
  48011. +#undef HAVE_STRCASECMP
  48012. +
  48013. +/* Define to 1 if you have the `strchr' function. */
  48014. +#undef HAVE_STRCHR
  48015. +
  48016. +/* Define to 1 if you have the `strdup' function. */
  48017. +#undef HAVE_STRDUP
  48018. +
  48019. +/* Define to 1 if you have the `strftime' function. */
  48020. +#undef HAVE_STRFTIME
  48021. +
  48022. +/* Define to 1 if you have the <strings.h> header file. */
  48023. +#undef HAVE_STRINGS_H
  48024. +
  48025. +/* Define to 1 if you have the <string.h> header file. */
  48026. +#undef HAVE_STRING_H
  48027. +
  48028. +/* Define to 1 if you have the `strncasecmp' function. */
  48029. +#undef HAVE_STRNCASECMP
  48030. +
  48031. +/* Define to 1 if you have the `strsep' function. */
  48032. +#undef HAVE_STRSEP
  48033. +
  48034. +/* Define to 1 if you have the `strtol' function. */
  48035. +#undef HAVE_STRTOL
  48036. +
  48037. +/* Define to 1 if you have the `strtoul' function. */
  48038. +#undef HAVE_STRTOUL
  48039. +
  48040. +/* Define to 1 if the system has the type `struct addrinfo'. */
  48041. +#undef HAVE_STRUCT_ADDRINFO
  48042. +
  48043. +/* Define to 1 if the system has the type `struct sockaddr_storage'. */
  48044. +#undef HAVE_STRUCT_SOCKADDR_STORAGE
  48045. +
  48046. +/* Define to 1 if you have the <syslog.h> header file. */
  48047. +#undef HAVE_SYSLOG_H
  48048. +
  48049. +/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
  48050. + */
  48051. +#undef HAVE_SYS_DIR_H
  48052. +
  48053. +/* Define to 1 if you have the <sys/file.h> header file. */
  48054. +#undef HAVE_SYS_FILE_H
  48055. +
  48056. +/* Define to 1 if you have the <sys/ioctl.h> header file. */
  48057. +#undef HAVE_SYS_IOCTL_H
  48058. +
  48059. +/* Define to 1 if you have the <sys/mkdev.h> header file. */
  48060. +#undef HAVE_SYS_MKDEV_H
  48061. +
  48062. +/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
  48063. + */
  48064. +#undef HAVE_SYS_NDIR_H
  48065. +
  48066. +/* Define to 1 if you have the <sys/select.h> header file. */
  48067. +#undef HAVE_SYS_SELECT_H
  48068. +
  48069. +/* Define to 1 if you have the <sys/socket.h> header file. */
  48070. +#undef HAVE_SYS_SOCKET_H
  48071. +
  48072. +/* Define to 1 if you have the <sys/stat.h> header file. */
  48073. +#undef HAVE_SYS_STAT_H
  48074. +
  48075. +/* Define to 1 if you have the <sys/times.h> header file. */
  48076. +#undef HAVE_SYS_TIMES_H
  48077. +
  48078. +/* Define to 1 if you have the <sys/time.h> header file. */
  48079. +#undef HAVE_SYS_TIME_H
  48080. +
  48081. +/* Define to 1 if you have the <sys/types.h> header file. */
  48082. +#undef HAVE_SYS_TYPES_H
  48083. +
  48084. +/* Define to 1 if you have the <sys/uio.h> header file. */
  48085. +#undef HAVE_SYS_UIO_H
  48086. +
  48087. +/* Define to 1 if you have the `tdelete' function. */
  48088. +#undef HAVE_TDELETE
  48089. +
  48090. +/* Define to 1 if you have the `tdestroy' function. */
  48091. +#undef HAVE_TDESTROY
  48092. +
  48093. +/* Define to 1 if you have the <termios.h> header file. */
  48094. +#undef HAVE_TERMIOS_H
  48095. +
  48096. +/* Define to 1 if you have the `tfind' function. */
  48097. +#undef HAVE_TFIND
  48098. +
  48099. +/* Define to 1 if you have the `tsearch' function. */
  48100. +#undef HAVE_TSEARCH
  48101. +
  48102. +/* Define to 1 if you have the `twalk' function. */
  48103. +#undef HAVE_TWALK
  48104. +
  48105. +/* Define to 1 if you have the <unistd.h> header file. */
  48106. +#undef HAVE_UNISTD_H
  48107. +
  48108. +/* Define to 1 if you have the `usb_interrupt_read' function. */
  48109. +#undef HAVE_USB_INTERRUPT_READ
  48110. +
  48111. +/* Define to 1 if you have the `vasprintf' function. */
  48112. +#undef HAVE_VASPRINTF
  48113. +
  48114. +/* Define to 1 if you have the `vfork' function. */
  48115. +#undef HAVE_VFORK
  48116. +
  48117. +/* Define to 1 if you have the <vfork.h> header file. */
  48118. +#undef HAVE_VFORK_H
  48119. +
  48120. +/* Define to 1 if you have the `vsnprintf' function. */
  48121. +#undef HAVE_VSNPRINTF
  48122. +
  48123. +/* Define to 1 if you have the `vsprintf' function. */
  48124. +#undef HAVE_VSPRINTF
  48125. +
  48126. +/* Define to 1 if `fork' works. */
  48127. +#undef HAVE_WORKING_FORK
  48128. +
  48129. +/* Define to 1 if `vfork' works. */
  48130. +#undef HAVE_WORKING_VFORK
  48131. +
  48132. +/* Define to 1 if you have the `writev' function. */
  48133. +#undef HAVE_WRITEV
  48134. +
  48135. +/* Define to 1 if the system has the type `_Bool'. */
  48136. +#undef HAVE__BOOL
  48137. +
  48138. +/* Define if ipv6 support is present and available. */
  48139. +#undef IPV6
  48140. +
  48141. +/* Define to the sub-directory in which libtool stores uninstalled libraries.
  48142. + */
  48143. +#undef LT_OBJDIR
  48144. +
  48145. +/* Define to 1 if your system has no in6addr_any. */
  48146. +#undef NO_IN6ADDR_ANY
  48147. +
  48148. +/* Name of package */
  48149. +#undef PACKAGE
  48150. +
  48151. +/* Define to the address where bug reports for this package should be sent. */
  48152. +#undef PACKAGE_BUGREPORT
  48153. +
  48154. +/* Define to the full name of this package. */
  48155. +#undef PACKAGE_NAME
  48156. +
  48157. +/* Define to the full name and version of this package. */
  48158. +#undef PACKAGE_STRING
  48159. +
  48160. +/* Define to the one symbol short name of this package. */
  48161. +#undef PACKAGE_TARNAME
  48162. +
  48163. +/* Define to the home page for this package. */
  48164. +#undef PACKAGE_URL
  48165. +
  48166. +/* Define to the version of this package. */
  48167. +#undef PACKAGE_VERSION
  48168. +
  48169. +/* Define to necessary symbol if this constant uses a non-standard name on
  48170. + your system. */
  48171. +#undef PTHREAD_CREATE_JOINABLE
  48172. +
  48173. +/* Define as the return type of signal handlers (`int' or `void'). */
  48174. +#undef RETSIGTYPE
  48175. +
  48176. +/* Define to the type of arg 1 for `select'. */
  48177. +#undef SELECT_TYPE_ARG1
  48178. +
  48179. +/* Define to the type of args 2, 3 and 4 for `select'. */
  48180. +#undef SELECT_TYPE_ARG234
  48181. +
  48182. +/* Define to the type of arg 5 for `select'. */
  48183. +#undef SELECT_TYPE_ARG5
  48184. +
  48185. +/* Define to 1 if sockaddr_in has a 'sin_len' member. */
  48186. +#undef SOCKADDR_IN_HAS_LEN
  48187. +
  48188. +/* Define to 1 if you have the ANSI C header files. */
  48189. +#undef STDC_HEADERS
  48190. +
  48191. +/* Define to 1 if string.h may be included along with strings.h */
  48192. +#undef STRING_WITH_STRINGS
  48193. +
  48194. +/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  48195. +#undef TIME_WITH_SYS_TIME
  48196. +
  48197. +/* Define to 1 if your <sys/time.h> declares `struct tm'. */
  48198. +#undef TM_IN_SYS_TIME
  48199. +
  48200. +/* Version number of package */
  48201. +#undef VERSION
  48202. +
  48203. +/* Define on Darwin to activate all library features */
  48204. +#undef _DARWIN_C_SOURCE
  48205. +
  48206. +/* Define to empty if `const' does not conform to ANSI C. */
  48207. +#undef const
  48208. +
  48209. +/* Define to `long int' if <sys/types.h> does not define. */
  48210. +#undef off_t
  48211. +
  48212. +/* Define to `int' if <sys/types.h> does not define. */
  48213. +#undef pid_t
  48214. +
  48215. +/* Define to `unsigned int' if <sys/types.h> does not define. */
  48216. +#undef size_t
  48217. +
  48218. +/* If we don't have a real socklen_t, unsigned int is good enough. */
  48219. +#undef socklen_t
  48220. +
  48221. +/* Define as `fork' if `vfork' does not work. */
  48222. +#undef vfork
  48223. +
  48224. +#endif
  48225. diff -Nur owfs-2.7p38.orig/src/include/Makefile.in owfs-2.7p38/src/include/Makefile.in
  48226. --- owfs-2.7p38.orig/src/include/Makefile.in 2010-06-04 03:00:41.000000000 +0200
  48227. +++ owfs-2.7p38/src/include/Makefile.in 2010-07-09 16:01:00.178998899 +0200
  48228. @@ -1,8 +1,9 @@
  48229. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  48230. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  48231. # @configure_input@
  48232. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  48233. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  48234. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  48235. +# Inc.
  48236. # This Makefile.in is free software; the Free Software Foundation
  48237. # gives unlimited permission to copy and/or distribute it,
  48238. # with or without modifications, as long as this notice is preserved.
  48239. @@ -16,8 +17,9 @@
  48240. VPATH = @srcdir@
  48241. pkgdatadir = $(datadir)/@PACKAGE@
  48242. -pkglibdir = $(libdir)/@PACKAGE@
  48243. pkgincludedir = $(includedir)/@PACKAGE@
  48244. +pkglibdir = $(libdir)/@PACKAGE@
  48245. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  48246. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  48247. install_sh_DATA = $(install_sh) -c -m 644
  48248. install_sh_PROGRAM = $(install_sh) -c
  48249. @@ -38,8 +40,10 @@
  48250. $(srcdir)/Makefile.in $(srcdir)/config.h.in \
  48251. $(srcdir)/owfs_config.h.in
  48252. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  48253. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  48254. - $(top_srcdir)/acx_pthread.m4 \
  48255. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  48256. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  48257. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  48258. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  48259. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  48260. $(top_srcdir)/module/swig/php/php.m4 \
  48261. $(top_srcdir)/module/swig/python/python.m4 \
  48262. @@ -50,6 +54,7 @@
  48263. $(top_srcdir)/src/scripts/install/mkinstalldirs
  48264. CONFIG_HEADER = config.h
  48265. CONFIG_CLEAN_FILES = owfs_config.h
  48266. +CONFIG_CLEAN_VPATH_FILES =
  48267. SOURCES =
  48268. DIST_SOURCES =
  48269. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  48270. @@ -57,9 +62,23 @@
  48271. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  48272. *) f=$$p;; \
  48273. esac;
  48274. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  48275. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  48276. +am__install_max = 40
  48277. +am__nobase_strip_setup = \
  48278. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  48279. +am__nobase_strip = \
  48280. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  48281. +am__nobase_list = $(am__nobase_strip_setup); \
  48282. + for p in $$list; do echo "$$p $$p"; done | \
  48283. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  48284. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  48285. + if (++n[$$2] == $(am__install_max)) \
  48286. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  48287. + END { for (dir in files) print dir, files[dir] }'
  48288. +am__base_list = \
  48289. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  48290. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  48291. am__installdirs = "$(DESTDIR)$(owfsincludedir)"
  48292. -owfsincludeHEADERS_INSTALL = $(INSTALL_HEADER)
  48293. HEADERS = $(owfsinclude_HEADERS)
  48294. ETAGS = etags
  48295. CTAGS = ctags
  48296. @@ -157,6 +176,7 @@
  48297. LT_RELEASE = @LT_RELEASE@
  48298. LT_REVISION = @LT_REVISION@
  48299. MAKEINFO = @MAKEINFO@
  48300. +MANIFEST_TOOL = @MANIFEST_TOOL@
  48301. MKDIR_P = @MKDIR_P@
  48302. NM = @NM@
  48303. NMEDIT = @NMEDIT@
  48304. @@ -188,6 +208,7 @@
  48305. PACKAGE_NAME = @PACKAGE_NAME@
  48306. PACKAGE_STRING = @PACKAGE_STRING@
  48307. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  48308. +PACKAGE_URL = @PACKAGE_URL@
  48309. PACKAGE_VERSION = @PACKAGE_VERSION@
  48310. PATH_SEPARATOR = @PATH_SEPARATOR@
  48311. PERL = @PERL@
  48312. @@ -293,7 +314,6 @@
  48313. libexecdir = @libexecdir@
  48314. localedir = @localedir@
  48315. localstatedir = @localstatedir@
  48316. -lt_ECHO = @lt_ECHO@
  48317. mandir = @mandir@
  48318. mkdir_p = @mkdir_p@
  48319. oldincludedir = @oldincludedir@
  48320. @@ -328,9 +348,9 @@
  48321. exit 1;; \
  48322. esac; \
  48323. done; \
  48324. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/include/Makefile'; \
  48325. - cd $(top_srcdir) && \
  48326. - $(AUTOMAKE) --gnu src/include/Makefile
  48327. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/include/Makefile'; \
  48328. + $(am__cd) $(top_srcdir) && \
  48329. + $(AUTOMAKE) --gnu src/include/Makefile
  48330. .PRECIOUS: Makefile
  48331. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  48332. @case '$?' in \
  48333. @@ -348,6 +368,7 @@
  48334. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  48335. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  48336. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  48337. +$(am__aclocal_m4_deps):
  48338. config.h: stamp-h1
  48339. @if test ! -f $@; then \
  48340. @@ -359,7 +380,7 @@
  48341. @rm -f stamp-h1
  48342. cd $(top_builddir) && $(SHELL) ./config.status src/include/config.h
  48343. $(srcdir)/config.h.in: $(am__configure_deps)
  48344. - cd $(top_srcdir) && $(AUTOHEADER)
  48345. + ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
  48346. rm -f stamp-h1
  48347. touch $@
  48348. @@ -376,20 +397,23 @@
  48349. install-owfsincludeHEADERS: $(owfsinclude_HEADERS)
  48350. @$(NORMAL_INSTALL)
  48351. test -z "$(owfsincludedir)" || $(MKDIR_P) "$(DESTDIR)$(owfsincludedir)"
  48352. - @list='$(owfsinclude_HEADERS)'; for p in $$list; do \
  48353. + @list='$(owfsinclude_HEADERS)'; test -n "$(owfsincludedir)" || list=; \
  48354. + for p in $$list; do \
  48355. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  48356. - f=$(am__strip_dir) \
  48357. - echo " $(owfsincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(owfsincludedir)/$$f'"; \
  48358. - $(owfsincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(owfsincludedir)/$$f"; \
  48359. + echo "$$d$$p"; \
  48360. + done | $(am__base_list) | \
  48361. + while read files; do \
  48362. + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(owfsincludedir)'"; \
  48363. + $(INSTALL_HEADER) $$files "$(DESTDIR)$(owfsincludedir)" || exit $$?; \
  48364. done
  48365. uninstall-owfsincludeHEADERS:
  48366. @$(NORMAL_UNINSTALL)
  48367. - @list='$(owfsinclude_HEADERS)'; for p in $$list; do \
  48368. - f=$(am__strip_dir) \
  48369. - echo " rm -f '$(DESTDIR)$(owfsincludedir)/$$f'"; \
  48370. - rm -f "$(DESTDIR)$(owfsincludedir)/$$f"; \
  48371. - done
  48372. + @list='$(owfsinclude_HEADERS)'; test -n "$(owfsincludedir)" || list=; \
  48373. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  48374. + test -n "$$files" || exit 0; \
  48375. + echo " ( cd '$(DESTDIR)$(owfsincludedir)' && rm -f" $$files ")"; \
  48376. + cd "$(DESTDIR)$(owfsincludedir)" && rm -f $$files
  48377. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  48378. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  48379. @@ -403,7 +427,7 @@
  48380. TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  48381. $(TAGS_FILES) $(LISP)
  48382. - tags=; \
  48383. + set x; \
  48384. here=`pwd`; \
  48385. list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  48386. unique=`for i in $$list; do \
  48387. @@ -411,29 +435,34 @@
  48388. done | \
  48389. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  48390. END { if (nonempty) { for (i in files) print i; }; }'`; \
  48391. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  48392. + shift; \
  48393. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  48394. test -n "$$unique" || unique=$$empty_fix; \
  48395. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  48396. - $$tags $$unique; \
  48397. + if test $$# -gt 0; then \
  48398. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  48399. + "$$@" $$unique; \
  48400. + else \
  48401. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  48402. + $$unique; \
  48403. + fi; \
  48404. fi
  48405. ctags: CTAGS
  48406. CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
  48407. $(TAGS_FILES) $(LISP)
  48408. - tags=; \
  48409. list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
  48410. unique=`for i in $$list; do \
  48411. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  48412. done | \
  48413. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  48414. END { if (nonempty) { for (i in files) print i; }; }'`; \
  48415. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  48416. + test -z "$(CTAGS_ARGS)$$unique" \
  48417. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  48418. - $$tags $$unique
  48419. + $$unique
  48420. GTAGS:
  48421. here=`$(am__cd) $(top_builddir) && pwd` \
  48422. - && cd $(top_srcdir) \
  48423. - && gtags -i $(GTAGS_ARGS) $$here
  48424. + && $(am__cd) $(top_srcdir) \
  48425. + && gtags -i $(GTAGS_ARGS) "$$here"
  48426. distclean-tags:
  48427. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  48428. @@ -454,13 +483,17 @@
  48429. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  48430. if test -d $$d/$$file; then \
  48431. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  48432. + if test -d "$(distdir)/$$file"; then \
  48433. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  48434. + fi; \
  48435. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  48436. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  48437. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  48438. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  48439. fi; \
  48440. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  48441. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  48442. else \
  48443. - test -f $(distdir)/$$file \
  48444. - || cp -p $$d/$$file $(distdir)/$$file \
  48445. + test -f "$(distdir)/$$file" \
  48446. + || cp -p $$d/$$file "$(distdir)/$$file" \
  48447. || exit 1; \
  48448. fi; \
  48449. done
  48450. @@ -489,6 +522,7 @@
  48451. distclean-generic:
  48452. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  48453. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  48454. maintainer-clean-generic:
  48455. @echo "This command is intended for maintainers to use"
  48456. @@ -507,6 +541,8 @@
  48457. html: html-am
  48458. +html-am:
  48459. +
  48460. info: info-am
  48461. info-am:
  48462. @@ -515,18 +551,28 @@
  48463. install-dvi: install-dvi-am
  48464. +install-dvi-am:
  48465. +
  48466. install-exec-am:
  48467. install-html: install-html-am
  48468. +install-html-am:
  48469. +
  48470. install-info: install-info-am
  48471. +install-info-am:
  48472. +
  48473. install-man:
  48474. install-pdf: install-pdf-am
  48475. +install-pdf-am:
  48476. +
  48477. install-ps: install-ps-am
  48478. +install-ps-am:
  48479. +
  48480. installcheck-am:
  48481. maintainer-clean: maintainer-clean-am
  48482. @@ -547,7 +593,7 @@
  48483. uninstall-am: uninstall-owfsincludeHEADERS
  48484. -.MAKE: install-am install-strip
  48485. +.MAKE: all install-am install-strip
  48486. .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
  48487. clean-libtool ctags distclean distclean-generic distclean-hdr \
  48488. @@ -566,6 +612,7 @@
  48489. clean-generic:
  48490. @RM@ -f *~ .*~ stamp-*
  48491. +
  48492. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  48493. # Otherwise a system limit (for SysV at least) may be exceeded.
  48494. .NOEXPORT:
  48495. diff -Nur owfs-2.7p38.orig/src/Makefile.in owfs-2.7p38/src/Makefile.in
  48496. --- owfs-2.7p38.orig/src/Makefile.in 2010-06-04 03:00:41.000000000 +0200
  48497. +++ owfs-2.7p38/src/Makefile.in 2010-07-09 16:00:59.991000935 +0200
  48498. @@ -1,8 +1,9 @@
  48499. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  48500. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  48501. # @configure_input@
  48502. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  48503. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  48504. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  48505. +# Inc.
  48506. # This Makefile.in is free software; the Free Software Foundation
  48507. # gives unlimited permission to copy and/or distribute it,
  48508. # with or without modifications, as long as this notice is preserved.
  48509. @@ -15,8 +16,9 @@
  48510. @SET_MAKE@
  48511. VPATH = @srcdir@
  48512. pkgdatadir = $(datadir)/@PACKAGE@
  48513. -pkglibdir = $(libdir)/@PACKAGE@
  48514. pkgincludedir = $(includedir)/@PACKAGE@
  48515. +pkglibdir = $(libdir)/@PACKAGE@
  48516. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  48517. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  48518. install_sh_DATA = $(install_sh) -c -m 644
  48519. install_sh_PROGRAM = $(install_sh) -c
  48520. @@ -35,8 +37,10 @@
  48521. subdir = src
  48522. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  48523. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  48524. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  48525. - $(top_srcdir)/acx_pthread.m4 \
  48526. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  48527. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  48528. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  48529. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  48530. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  48531. $(top_srcdir)/module/swig/php/php.m4 \
  48532. $(top_srcdir)/module/swig/python/python.m4 \
  48533. @@ -47,6 +51,7 @@
  48534. $(top_srcdir)/src/scripts/install/mkinstalldirs
  48535. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  48536. CONFIG_CLEAN_FILES =
  48537. +CONFIG_CLEAN_VPATH_FILES =
  48538. SOURCES =
  48539. DIST_SOURCES =
  48540. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  48541. @@ -58,10 +63,38 @@
  48542. ps-recursive uninstall-recursive
  48543. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  48544. distclean-recursive maintainer-clean-recursive
  48545. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  48546. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  48547. + distdir
  48548. ETAGS = etags
  48549. CTAGS = ctags
  48550. DIST_SUBDIRS = $(SUBDIRS)
  48551. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  48552. +am__relativize = \
  48553. + dir0=`pwd`; \
  48554. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  48555. + sed_rest='s,^[^/]*/*,,'; \
  48556. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  48557. + sed_butlast='s,/*[^/]*$$,,'; \
  48558. + while test -n "$$dir1"; do \
  48559. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  48560. + if test "$$first" != "."; then \
  48561. + if test "$$first" = ".."; then \
  48562. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  48563. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  48564. + else \
  48565. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  48566. + if test "$$first2" = "$$first"; then \
  48567. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  48568. + else \
  48569. + dir2="../$$dir2"; \
  48570. + fi; \
  48571. + dir0="$$dir0"/"$$first"; \
  48572. + fi; \
  48573. + fi; \
  48574. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  48575. + done; \
  48576. + reldir="$$dir2"
  48577. ACLOCAL = @ACLOCAL@
  48578. AMTAR = @AMTAR@
  48579. AR = @AR@
  48580. @@ -155,6 +188,7 @@
  48581. LT_RELEASE = @LT_RELEASE@
  48582. LT_REVISION = @LT_REVISION@
  48583. MAKEINFO = @MAKEINFO@
  48584. +MANIFEST_TOOL = @MANIFEST_TOOL@
  48585. MKDIR_P = @MKDIR_P@
  48586. NM = @NM@
  48587. NMEDIT = @NMEDIT@
  48588. @@ -186,6 +220,7 @@
  48589. PACKAGE_NAME = @PACKAGE_NAME@
  48590. PACKAGE_STRING = @PACKAGE_STRING@
  48591. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  48592. +PACKAGE_URL = @PACKAGE_URL@
  48593. PACKAGE_VERSION = @PACKAGE_VERSION@
  48594. PATH_SEPARATOR = @PATH_SEPARATOR@
  48595. PERL = @PERL@
  48596. @@ -291,7 +326,6 @@
  48597. libexecdir = @libexecdir@
  48598. localedir = @localedir@
  48599. localstatedir = @localstatedir@
  48600. -lt_ECHO = @lt_ECHO@
  48601. mandir = @mandir@
  48602. mkdir_p = @mkdir_p@
  48603. oldincludedir = @oldincludedir@
  48604. @@ -324,9 +358,9 @@
  48605. exit 1;; \
  48606. esac; \
  48607. done; \
  48608. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
  48609. - cd $(top_srcdir) && \
  48610. - $(AUTOMAKE) --gnu src/Makefile
  48611. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
  48612. + $(am__cd) $(top_srcdir) && \
  48613. + $(AUTOMAKE) --gnu src/Makefile
  48614. .PRECIOUS: Makefile
  48615. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  48616. @case '$?' in \
  48617. @@ -344,6 +378,7 @@
  48618. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  48619. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  48620. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  48621. +$(am__aclocal_m4_deps):
  48622. mostlyclean-libtool:
  48623. -rm -f *.lo
  48624. @@ -358,7 +393,7 @@
  48625. # (which will cause the Makefiles to be regenerated when you run `make');
  48626. # (2) otherwise, pass the desired values on the `make' command line.
  48627. $(RECURSIVE_TARGETS):
  48628. - @failcom='exit 1'; \
  48629. + @fail= failcom='exit 1'; \
  48630. for f in x $$MAKEFLAGS; do \
  48631. case $$f in \
  48632. *=* | --[!k]*);; \
  48633. @@ -375,7 +410,7 @@
  48634. else \
  48635. local_target="$$target"; \
  48636. fi; \
  48637. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  48638. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  48639. || eval $$failcom; \
  48640. done; \
  48641. if test "$$dot_seen" = "no"; then \
  48642. @@ -383,7 +418,7 @@
  48643. fi; test -z "$$fail"
  48644. $(RECURSIVE_CLEAN_TARGETS):
  48645. - @failcom='exit 1'; \
  48646. + @fail= failcom='exit 1'; \
  48647. for f in x $$MAKEFLAGS; do \
  48648. case $$f in \
  48649. *=* | --[!k]*);; \
  48650. @@ -409,16 +444,16 @@
  48651. else \
  48652. local_target="$$target"; \
  48653. fi; \
  48654. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  48655. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  48656. || eval $$failcom; \
  48657. done && test -z "$$fail"
  48658. tags-recursive:
  48659. list='$(SUBDIRS)'; for subdir in $$list; do \
  48660. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  48661. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  48662. done
  48663. ctags-recursive:
  48664. list='$(SUBDIRS)'; for subdir in $$list; do \
  48665. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  48666. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  48667. done
  48668. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  48669. @@ -433,7 +468,7 @@
  48670. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  48671. $(TAGS_FILES) $(LISP)
  48672. - tags=; \
  48673. + set x; \
  48674. here=`pwd`; \
  48675. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  48676. include_option=--etags-include; \
  48677. @@ -445,7 +480,7 @@
  48678. list='$(SUBDIRS)'; for subdir in $$list; do \
  48679. if test "$$subdir" = .; then :; else \
  48680. test ! -f $$subdir/TAGS || \
  48681. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  48682. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  48683. fi; \
  48684. done; \
  48685. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  48686. @@ -454,29 +489,34 @@
  48687. done | \
  48688. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  48689. END { if (nonempty) { for (i in files) print i; }; }'`; \
  48690. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  48691. + shift; \
  48692. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  48693. test -n "$$unique" || unique=$$empty_fix; \
  48694. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  48695. - $$tags $$unique; \
  48696. + if test $$# -gt 0; then \
  48697. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  48698. + "$$@" $$unique; \
  48699. + else \
  48700. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  48701. + $$unique; \
  48702. + fi; \
  48703. fi
  48704. ctags: CTAGS
  48705. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  48706. $(TAGS_FILES) $(LISP)
  48707. - tags=; \
  48708. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  48709. unique=`for i in $$list; do \
  48710. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  48711. done | \
  48712. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  48713. END { if (nonempty) { for (i in files) print i; }; }'`; \
  48714. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  48715. + test -z "$(CTAGS_ARGS)$$unique" \
  48716. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  48717. - $$tags $$unique
  48718. + $$unique
  48719. GTAGS:
  48720. here=`$(am__cd) $(top_builddir) && pwd` \
  48721. - && cd $(top_srcdir) \
  48722. - && gtags -i $(GTAGS_ARGS) $$here
  48723. + && $(am__cd) $(top_srcdir) \
  48724. + && gtags -i $(GTAGS_ARGS) "$$here"
  48725. distclean-tags:
  48726. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  48727. @@ -497,29 +537,44 @@
  48728. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  48729. if test -d $$d/$$file; then \
  48730. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  48731. + if test -d "$(distdir)/$$file"; then \
  48732. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  48733. + fi; \
  48734. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  48735. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  48736. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  48737. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  48738. fi; \
  48739. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  48740. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  48741. else \
  48742. - test -f $(distdir)/$$file \
  48743. - || cp -p $$d/$$file $(distdir)/$$file \
  48744. + test -f "$(distdir)/$$file" \
  48745. + || cp -p $$d/$$file "$(distdir)/$$file" \
  48746. || exit 1; \
  48747. fi; \
  48748. done
  48749. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  48750. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  48751. if test "$$subdir" = .; then :; else \
  48752. test -d "$(distdir)/$$subdir" \
  48753. || $(MKDIR_P) "$(distdir)/$$subdir" \
  48754. || exit 1; \
  48755. - distdir=`$(am__cd) $(distdir) && pwd`; \
  48756. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  48757. - (cd $$subdir && \
  48758. + fi; \
  48759. + done
  48760. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  48761. + if test "$$subdir" = .; then :; else \
  48762. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  48763. + $(am__relativize); \
  48764. + new_distdir=$$reldir; \
  48765. + dir1=$$subdir; dir2="$(top_distdir)"; \
  48766. + $(am__relativize); \
  48767. + new_top_distdir=$$reldir; \
  48768. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  48769. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  48770. + ($(am__cd) $$subdir && \
  48771. $(MAKE) $(AM_MAKEFLAGS) \
  48772. - top_distdir="$$top_distdir" \
  48773. - distdir="$$distdir/$$subdir" \
  48774. + top_distdir="$$new_top_distdir" \
  48775. + distdir="$$new_distdir" \
  48776. am__remove_distdir=: \
  48777. am__skip_length_check=: \
  48778. + am__skip_mode_fix=: \
  48779. distdir) \
  48780. || exit 1; \
  48781. fi; \
  48782. @@ -547,6 +602,7 @@
  48783. distclean-generic:
  48784. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  48785. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  48786. maintainer-clean-generic:
  48787. @echo "This command is intended for maintainers to use"
  48788. @@ -565,6 +621,8 @@
  48789. html: html-recursive
  48790. +html-am:
  48791. +
  48792. info: info-recursive
  48793. info-am:
  48794. @@ -573,18 +631,28 @@
  48795. install-dvi: install-dvi-recursive
  48796. +install-dvi-am:
  48797. +
  48798. install-exec-am:
  48799. install-html: install-html-recursive
  48800. +install-html-am:
  48801. +
  48802. install-info: install-info-recursive
  48803. +install-info-am:
  48804. +
  48805. install-man:
  48806. install-pdf: install-pdf-recursive
  48807. +install-pdf-am:
  48808. +
  48809. install-ps: install-ps-recursive
  48810. +install-ps-am:
  48811. +
  48812. installcheck-am:
  48813. maintainer-clean: maintainer-clean-recursive
  48814. @@ -605,8 +673,8 @@
  48815. uninstall-am:
  48816. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  48817. - install-strip
  48818. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  48819. + install-am install-strip tags-recursive
  48820. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  48821. all all-am check check-am clean clean-generic clean-libtool \
  48822. @@ -626,6 +694,7 @@
  48823. clean-generic:
  48824. @RM@ -f *~ .*~
  48825. +
  48826. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  48827. # Otherwise a system limit (for SysV at least) may be exceeded.
  48828. .NOEXPORT:
  48829. diff -Nur owfs-2.7p38.orig/src/man/Makefile.in owfs-2.7p38/src/man/Makefile.in
  48830. --- owfs-2.7p38.orig/src/man/Makefile.in 2010-06-05 14:51:56.000000000 +0200
  48831. +++ owfs-2.7p38/src/man/Makefile.in 2010-07-09 16:01:00.358999488 +0200
  48832. @@ -1,8 +1,9 @@
  48833. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  48834. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  48835. # @configure_input@
  48836. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  48837. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  48838. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  48839. +# Inc.
  48840. # This Makefile.in is free software; the Free Software Foundation
  48841. # gives unlimited permission to copy and/or distribute it,
  48842. # with or without modifications, as long as this notice is preserved.
  48843. @@ -15,8 +16,9 @@
  48844. @SET_MAKE@
  48845. VPATH = @srcdir@
  48846. pkgdatadir = $(datadir)/@PACKAGE@
  48847. -pkglibdir = $(libdir)/@PACKAGE@
  48848. pkgincludedir = $(includedir)/@PACKAGE@
  48849. +pkglibdir = $(libdir)/@PACKAGE@
  48850. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  48851. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  48852. install_sh_DATA = $(install_sh) -c -m 644
  48853. install_sh_PROGRAM = $(install_sh) -c
  48854. @@ -35,8 +37,10 @@
  48855. subdir = src/man
  48856. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  48857. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  48858. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  48859. - $(top_srcdir)/acx_pthread.m4 \
  48860. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  48861. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  48862. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  48863. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  48864. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  48865. $(top_srcdir)/module/swig/php/php.m4 \
  48866. $(top_srcdir)/module/swig/python/python.m4 \
  48867. @@ -47,8 +51,30 @@
  48868. $(top_srcdir)/src/scripts/install/mkinstalldirs
  48869. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  48870. CONFIG_CLEAN_FILES =
  48871. +CONFIG_CLEAN_VPATH_FILES =
  48872. SOURCES =
  48873. DIST_SOURCES =
  48874. +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  48875. +am__vpath_adj = case $$p in \
  48876. + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  48877. + *) f=$$p;; \
  48878. + esac;
  48879. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  48880. +am__install_max = 40
  48881. +am__nobase_strip_setup = \
  48882. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  48883. +am__nobase_strip = \
  48884. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  48885. +am__nobase_list = $(am__nobase_strip_setup); \
  48886. + for p in $$list; do echo "$$p $$p"; done | \
  48887. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  48888. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  48889. + if (++n[$$2] == $(am__install_max)) \
  48890. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  48891. + END { for (dir in files) print dir, files[dir] }'
  48892. +am__base_list = \
  48893. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  48894. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  48895. man1dir = $(mandir)/man1
  48896. am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" \
  48897. "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(manndir)"
  48898. @@ -151,6 +177,7 @@
  48899. LT_RELEASE = @LT_RELEASE@
  48900. LT_REVISION = @LT_REVISION@
  48901. MAKEINFO = @MAKEINFO@
  48902. +MANIFEST_TOOL = @MANIFEST_TOOL@
  48903. MKDIR_P = @MKDIR_P@
  48904. NM = @NM@
  48905. NMEDIT = @NMEDIT@
  48906. @@ -182,6 +209,7 @@
  48907. PACKAGE_NAME = @PACKAGE_NAME@
  48908. PACKAGE_STRING = @PACKAGE_STRING@
  48909. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  48910. +PACKAGE_URL = @PACKAGE_URL@
  48911. PACKAGE_VERSION = @PACKAGE_VERSION@
  48912. PATH_SEPARATOR = @PATH_SEPARATOR@
  48913. PERL = @PERL@
  48914. @@ -287,7 +315,6 @@
  48915. libexecdir = @libexecdir@
  48916. localedir = @localedir@
  48917. localstatedir = @localstatedir@
  48918. -lt_ECHO = @lt_ECHO@
  48919. mandir = @mandir@
  48920. mkdir_p = @mkdir_p@
  48921. oldincludedir = @oldincludedir@
  48922. @@ -353,9 +380,9 @@
  48923. exit 1;; \
  48924. esac; \
  48925. done; \
  48926. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/man/Makefile'; \
  48927. - cd $(top_srcdir) && \
  48928. - $(AUTOMAKE) --gnu src/man/Makefile
  48929. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/man/Makefile'; \
  48930. + $(am__cd) $(top_srcdir) && \
  48931. + $(AUTOMAKE) --gnu src/man/Makefile
  48932. .PRECIOUS: Makefile
  48933. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  48934. @case '$?' in \
  48935. @@ -373,192 +400,165 @@
  48936. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  48937. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  48938. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  48939. +$(am__aclocal_m4_deps):
  48940. mostlyclean-libtool:
  48941. -rm -f *.lo
  48942. clean-libtool:
  48943. -rm -rf .libs _libs
  48944. -install-man1: $(man1_MANS) $(man_MANS)
  48945. +install-man1: $(man_MANS)
  48946. @$(NORMAL_INSTALL)
  48947. test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
  48948. - @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
  48949. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  48950. - for i in $$l2; do \
  48951. - case "$$i" in \
  48952. - *.1*) list="$$list $$i" ;; \
  48953. - esac; \
  48954. + @list=''; test -n "$(man1dir)" || exit 0; \
  48955. + { for i in $$list; do echo "$$i"; done; \
  48956. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  48957. + sed -n '/\.1[a-z]*$$/p'; \
  48958. + } | while read p; do \
  48959. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  48960. + echo "$$d$$p"; echo "$$p"; \
  48961. + done | \
  48962. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  48963. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  48964. + sed 'N;N;s,\n, ,g' | { \
  48965. + list=; while read file base inst; do \
  48966. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  48967. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
  48968. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
  48969. + fi; \
  48970. done; \
  48971. - for i in $$list; do \
  48972. - if test -f $$i; then file=$$i; \
  48973. - else file=$(srcdir)/$$i; fi; \
  48974. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  48975. - case "$$ext" in \
  48976. - 1*) ;; \
  48977. - *) ext='1' ;; \
  48978. - esac; \
  48979. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  48980. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  48981. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  48982. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
  48983. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
  48984. - done
  48985. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  48986. + while read files; do \
  48987. + test -z "$$files" || { \
  48988. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
  48989. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
  48990. + done; }
  48991. +
  48992. uninstall-man1:
  48993. @$(NORMAL_UNINSTALL)
  48994. - @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
  48995. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  48996. - for i in $$l2; do \
  48997. - case "$$i" in \
  48998. - *.1*) list="$$list $$i" ;; \
  48999. - esac; \
  49000. - done; \
  49001. - for i in $$list; do \
  49002. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  49003. - case "$$ext" in \
  49004. - 1*) ;; \
  49005. - *) ext='1' ;; \
  49006. - esac; \
  49007. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  49008. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  49009. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  49010. - echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
  49011. - rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
  49012. - done
  49013. -install-man3: $(man3_MANS) $(man_MANS)
  49014. + @list=''; test -n "$(man1dir)" || exit 0; \
  49015. + files=`{ for i in $$list; do echo "$$i"; done; \
  49016. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  49017. + sed -n '/\.1[a-z]*$$/p'; \
  49018. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  49019. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  49020. + test -z "$$files" || { \
  49021. + echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
  49022. + cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
  49023. +install-man3: $(man_MANS)
  49024. @$(NORMAL_INSTALL)
  49025. test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)"
  49026. - @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
  49027. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  49028. - for i in $$l2; do \
  49029. - case "$$i" in \
  49030. - *.3*) list="$$list $$i" ;; \
  49031. - esac; \
  49032. + @list=''; test -n "$(man3dir)" || exit 0; \
  49033. + { for i in $$list; do echo "$$i"; done; \
  49034. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  49035. + sed -n '/\.3[a-z]*$$/p'; \
  49036. + } | while read p; do \
  49037. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  49038. + echo "$$d$$p"; echo "$$p"; \
  49039. + done | \
  49040. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
  49041. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  49042. + sed 'N;N;s,\n, ,g' | { \
  49043. + list=; while read file base inst; do \
  49044. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  49045. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
  49046. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
  49047. + fi; \
  49048. done; \
  49049. - for i in $$list; do \
  49050. - if test -f $$i; then file=$$i; \
  49051. - else file=$(srcdir)/$$i; fi; \
  49052. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  49053. - case "$$ext" in \
  49054. - 3*) ;; \
  49055. - *) ext='3' ;; \
  49056. - esac; \
  49057. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  49058. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  49059. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  49060. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
  49061. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \
  49062. - done
  49063. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  49064. + while read files; do \
  49065. + test -z "$$files" || { \
  49066. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
  49067. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
  49068. + done; }
  49069. +
  49070. uninstall-man3:
  49071. @$(NORMAL_UNINSTALL)
  49072. - @list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \
  49073. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  49074. - for i in $$l2; do \
  49075. - case "$$i" in \
  49076. - *.3*) list="$$list $$i" ;; \
  49077. - esac; \
  49078. - done; \
  49079. - for i in $$list; do \
  49080. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  49081. - case "$$ext" in \
  49082. - 3*) ;; \
  49083. - *) ext='3' ;; \
  49084. - esac; \
  49085. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  49086. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  49087. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  49088. - echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \
  49089. - rm -f "$(DESTDIR)$(man3dir)/$$inst"; \
  49090. - done
  49091. -install-man5: $(man5_MANS) $(man_MANS)
  49092. + @list=''; test -n "$(man3dir)" || exit 0; \
  49093. + files=`{ for i in $$list; do echo "$$i"; done; \
  49094. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  49095. + sed -n '/\.3[a-z]*$$/p'; \
  49096. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
  49097. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  49098. + test -z "$$files" || { \
  49099. + echo " ( cd '$(DESTDIR)$(man3dir)' && rm -f" $$files ")"; \
  49100. + cd "$(DESTDIR)$(man3dir)" && rm -f $$files; }
  49101. +install-man5: $(man_MANS)
  49102. @$(NORMAL_INSTALL)
  49103. test -z "$(man5dir)" || $(MKDIR_P) "$(DESTDIR)$(man5dir)"
  49104. - @list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
  49105. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  49106. - for i in $$l2; do \
  49107. - case "$$i" in \
  49108. - *.5*) list="$$list $$i" ;; \
  49109. - esac; \
  49110. + @list=''; test -n "$(man5dir)" || exit 0; \
  49111. + { for i in $$list; do echo "$$i"; done; \
  49112. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  49113. + sed -n '/\.5[a-z]*$$/p'; \
  49114. + } | while read p; do \
  49115. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  49116. + echo "$$d$$p"; echo "$$p"; \
  49117. + done | \
  49118. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
  49119. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  49120. + sed 'N;N;s,\n, ,g' | { \
  49121. + list=; while read file base inst; do \
  49122. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  49123. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
  49124. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \
  49125. + fi; \
  49126. done; \
  49127. - for i in $$list; do \
  49128. - if test -f $$i; then file=$$i; \
  49129. - else file=$(srcdir)/$$i; fi; \
  49130. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  49131. - case "$$ext" in \
  49132. - 5*) ;; \
  49133. - *) ext='5' ;; \
  49134. - esac; \
  49135. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  49136. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  49137. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  49138. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
  49139. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst"; \
  49140. - done
  49141. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  49142. + while read files; do \
  49143. + test -z "$$files" || { \
  49144. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \
  49145. + $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \
  49146. + done; }
  49147. +
  49148. uninstall-man5:
  49149. @$(NORMAL_UNINSTALL)
  49150. - @list='$(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS)'; \
  49151. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  49152. - for i in $$l2; do \
  49153. - case "$$i" in \
  49154. - *.5*) list="$$list $$i" ;; \
  49155. - esac; \
  49156. - done; \
  49157. - for i in $$list; do \
  49158. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  49159. - case "$$ext" in \
  49160. - 5*) ;; \
  49161. - *) ext='5' ;; \
  49162. - esac; \
  49163. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  49164. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  49165. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  49166. - echo " rm -f '$(DESTDIR)$(man5dir)/$$inst'"; \
  49167. - rm -f "$(DESTDIR)$(man5dir)/$$inst"; \
  49168. - done
  49169. -install-mann: $(mann_MANS) $(man_MANS)
  49170. + @list=''; test -n "$(man5dir)" || exit 0; \
  49171. + files=`{ for i in $$list; do echo "$$i"; done; \
  49172. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  49173. + sed -n '/\.5[a-z]*$$/p'; \
  49174. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
  49175. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  49176. + test -z "$$files" || { \
  49177. + echo " ( cd '$(DESTDIR)$(man5dir)' && rm -f" $$files ")"; \
  49178. + cd "$(DESTDIR)$(man5dir)" && rm -f $$files; }
  49179. +install-mann: $(man_MANS)
  49180. @$(NORMAL_INSTALL)
  49181. test -z "$(manndir)" || $(MKDIR_P) "$(DESTDIR)$(manndir)"
  49182. - @list='$(mann_MANS) $(dist_mann_MANS) $(nodist_mann_MANS)'; \
  49183. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  49184. - for i in $$l2; do \
  49185. - case "$$i" in \
  49186. - *.n*) list="$$list $$i" ;; \
  49187. - esac; \
  49188. + @list=''; test -n "$(manndir)" || exit 0; \
  49189. + { for i in $$list; do echo "$$i"; done; \
  49190. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  49191. + sed -n '/\.n[a-z]*$$/p'; \
  49192. + } | while read p; do \
  49193. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  49194. + echo "$$d$$p"; echo "$$p"; \
  49195. + done | \
  49196. + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^n][0-9a-z]*$$,n,;x' \
  49197. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  49198. + sed 'N;N;s,\n, ,g' | { \
  49199. + list=; while read file base inst; do \
  49200. + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  49201. + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(manndir)/$$inst'"; \
  49202. + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(manndir)/$$inst" || exit $$?; \
  49203. + fi; \
  49204. done; \
  49205. - for i in $$list; do \
  49206. - if test -f $$i; then file=$$i; \
  49207. - else file=$(srcdir)/$$i; fi; \
  49208. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  49209. - case "$$ext" in \
  49210. - n*) ;; \
  49211. - *) ext='n' ;; \
  49212. - esac; \
  49213. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  49214. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  49215. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  49216. - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(manndir)/$$inst'"; \
  49217. - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(manndir)/$$inst"; \
  49218. - done
  49219. + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  49220. + while read files; do \
  49221. + test -z "$$files" || { \
  49222. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(manndir)'"; \
  49223. + $(INSTALL_DATA) $$files "$(DESTDIR)$(manndir)" || exit $$?; }; \
  49224. + done; }
  49225. +
  49226. uninstall-mann:
  49227. @$(NORMAL_UNINSTALL)
  49228. - @list='$(mann_MANS) $(dist_mann_MANS) $(nodist_mann_MANS)'; \
  49229. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
  49230. - for i in $$l2; do \
  49231. - case "$$i" in \
  49232. - *.n*) list="$$list $$i" ;; \
  49233. - esac; \
  49234. - done; \
  49235. - for i in $$list; do \
  49236. - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  49237. - case "$$ext" in \
  49238. - n*) ;; \
  49239. - *) ext='n' ;; \
  49240. - esac; \
  49241. - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  49242. - inst=`echo $$inst | sed -e 's/^.*\///'`; \
  49243. - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  49244. - echo " rm -f '$(DESTDIR)$(manndir)/$$inst'"; \
  49245. - rm -f "$(DESTDIR)$(manndir)/$$inst"; \
  49246. - done
  49247. + @list=''; test -n "$(manndir)" || exit 0; \
  49248. + files=`{ for i in $$list; do echo "$$i"; done; \
  49249. + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  49250. + sed -n '/\.n[a-z]*$$/p'; \
  49251. + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^n][0-9a-z]*$$,n,;x' \
  49252. + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  49253. + test -z "$$files" || { \
  49254. + echo " ( cd '$(DESTDIR)$(manndir)' && rm -f" $$files ")"; \
  49255. + cd "$(DESTDIR)$(manndir)" && rm -f $$files; }
  49256. tags: TAGS
  49257. TAGS:
  49258. @@ -567,6 +567,19 @@
  49259. distdir: $(DISTFILES)
  49260. + @list='$(MANS)'; if test -n "$$list"; then \
  49261. + list=`for p in $$list; do \
  49262. + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  49263. + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  49264. + if test -n "$$list" && \
  49265. + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  49266. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  49267. + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  49268. + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  49269. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  49270. + exit 1; \
  49271. + else :; fi; \
  49272. + else :; fi
  49273. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  49274. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  49275. list='$(DISTFILES)'; \
  49276. @@ -582,13 +595,17 @@
  49277. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  49278. if test -d $$d/$$file; then \
  49279. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  49280. + if test -d "$(distdir)/$$file"; then \
  49281. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  49282. + fi; \
  49283. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  49284. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  49285. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  49286. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  49287. fi; \
  49288. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  49289. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  49290. else \
  49291. - test -f $(distdir)/$$file \
  49292. - || cp -p $$d/$$file $(distdir)/$$file \
  49293. + test -f "$(distdir)/$$file" \
  49294. + || cp -p $$d/$$file "$(distdir)/$$file" \
  49295. || exit 1; \
  49296. fi; \
  49297. done
  49298. @@ -617,6 +634,7 @@
  49299. distclean-generic:
  49300. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  49301. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  49302. maintainer-clean-generic:
  49303. @echo "This command is intended for maintainers to use"
  49304. @@ -635,24 +653,36 @@
  49305. html: html-am
  49306. +html-am:
  49307. +
  49308. info: info-am
  49309. info-am:
  49310. install-dvi: install-dvi-am
  49311. +install-dvi-am:
  49312. +
  49313. install-exec-am:
  49314. install-html: install-html-am
  49315. +install-html-am:
  49316. +
  49317. install-info: install-info-am
  49318. +install-info-am:
  49319. +
  49320. install-man: install-man1 install-man3 install-man5 install-mann
  49321. install-pdf: install-pdf-am
  49322. +install-pdf-am:
  49323. +
  49324. install-ps: install-ps-am
  49325. +install-ps-am:
  49326. +
  49327. installcheck-am:
  49328. maintainer-clean: maintainer-clean-am
  49329. @@ -720,6 +750,7 @@
  49330. clean-generic:
  49331. @RM@ -f *~ .*~
  49332. +
  49333. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  49334. # Otherwise a system limit (for SysV at least) may be exceeded.
  49335. .NOEXPORT:
  49336. diff -Nur owfs-2.7p38.orig/src/rpm/Makefile.in owfs-2.7p38/src/rpm/Makefile.in
  49337. --- owfs-2.7p38.orig/src/rpm/Makefile.in 2010-06-04 03:00:41.000000000 +0200
  49338. +++ owfs-2.7p38/src/rpm/Makefile.in 2010-07-09 16:01:00.499001395 +0200
  49339. @@ -1,8 +1,9 @@
  49340. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  49341. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  49342. # @configure_input@
  49343. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  49344. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  49345. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  49346. +# Inc.
  49347. # This Makefile.in is free software; the Free Software Foundation
  49348. # gives unlimited permission to copy and/or distribute it,
  49349. # with or without modifications, as long as this notice is preserved.
  49350. @@ -17,8 +18,9 @@
  49351. # $Id: Makefile.am,v 1.6 2006/09/30 19:40:05 alfille Exp $
  49352. VPATH = @srcdir@
  49353. pkgdatadir = $(datadir)/@PACKAGE@
  49354. -pkglibdir = $(libdir)/@PACKAGE@
  49355. pkgincludedir = $(includedir)/@PACKAGE@
  49356. +pkglibdir = $(libdir)/@PACKAGE@
  49357. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  49358. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  49359. install_sh_DATA = $(install_sh) -c -m 644
  49360. install_sh_PROGRAM = $(install_sh) -c
  49361. @@ -38,8 +40,10 @@
  49362. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  49363. $(srcdir)/owfs.spec.in
  49364. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  49365. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  49366. - $(top_srcdir)/acx_pthread.m4 \
  49367. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  49368. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  49369. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  49370. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  49371. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  49372. $(top_srcdir)/module/swig/php/php.m4 \
  49373. $(top_srcdir)/module/swig/python/python.m4 \
  49374. @@ -50,6 +54,7 @@
  49375. $(top_srcdir)/src/scripts/install/mkinstalldirs
  49376. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  49377. CONFIG_CLEAN_FILES = owfs.spec
  49378. +CONFIG_CLEAN_VPATH_FILES =
  49379. SOURCES =
  49380. DIST_SOURCES =
  49381. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  49382. @@ -146,6 +151,7 @@
  49383. LT_RELEASE = @LT_RELEASE@
  49384. LT_REVISION = @LT_REVISION@
  49385. MAKEINFO = @MAKEINFO@
  49386. +MANIFEST_TOOL = @MANIFEST_TOOL@
  49387. MKDIR_P = @MKDIR_P@
  49388. NM = @NM@
  49389. NMEDIT = @NMEDIT@
  49390. @@ -177,6 +183,7 @@
  49391. PACKAGE_NAME = @PACKAGE_NAME@
  49392. PACKAGE_STRING = @PACKAGE_STRING@
  49393. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  49394. +PACKAGE_URL = @PACKAGE_URL@
  49395. PACKAGE_VERSION = @PACKAGE_VERSION@
  49396. PATH_SEPARATOR = @PATH_SEPARATOR@
  49397. PERL = @PERL@
  49398. @@ -282,7 +289,6 @@
  49399. libexecdir = @libexecdir@
  49400. localedir = @localedir@
  49401. localstatedir = @localstatedir@
  49402. -lt_ECHO = @lt_ECHO@
  49403. mandir = @mandir@
  49404. mkdir_p = @mkdir_p@
  49405. oldincludedir = @oldincludedir@
  49406. @@ -319,9 +325,9 @@
  49407. exit 1;; \
  49408. esac; \
  49409. done; \
  49410. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/rpm/Makefile'; \
  49411. - cd $(top_srcdir) && \
  49412. - $(AUTOMAKE) --gnu src/rpm/Makefile
  49413. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/rpm/Makefile'; \
  49414. + $(am__cd) $(top_srcdir) && \
  49415. + $(AUTOMAKE) --gnu src/rpm/Makefile
  49416. .PRECIOUS: Makefile
  49417. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  49418. @case '$?' in \
  49419. @@ -339,6 +345,7 @@
  49420. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  49421. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  49422. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  49423. +$(am__aclocal_m4_deps):
  49424. owfs.spec: $(top_builddir)/config.status $(srcdir)/owfs.spec.in
  49425. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
  49426. @@ -370,13 +377,17 @@
  49427. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  49428. if test -d $$d/$$file; then \
  49429. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  49430. + if test -d "$(distdir)/$$file"; then \
  49431. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  49432. + fi; \
  49433. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  49434. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  49435. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  49436. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  49437. fi; \
  49438. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  49439. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  49440. else \
  49441. - test -f $(distdir)/$$file \
  49442. - || cp -p $$d/$$file $(distdir)/$$file \
  49443. + test -f "$(distdir)/$$file" \
  49444. + || cp -p $$d/$$file "$(distdir)/$$file" \
  49445. || exit 1; \
  49446. fi; \
  49447. done
  49448. @@ -402,6 +413,7 @@
  49449. distclean-generic:
  49450. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  49451. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  49452. maintainer-clean-generic:
  49453. @echo "This command is intended for maintainers to use"
  49454. @@ -420,6 +432,8 @@
  49455. html: html-am
  49456. +html-am:
  49457. +
  49458. info: info-am
  49459. info-am:
  49460. @@ -428,18 +442,28 @@
  49461. install-dvi: install-dvi-am
  49462. +install-dvi-am:
  49463. +
  49464. install-exec-am:
  49465. install-html: install-html-am
  49466. +install-html-am:
  49467. +
  49468. install-info: install-info-am
  49469. +install-info-am:
  49470. +
  49471. install-man:
  49472. install-pdf: install-pdf-am
  49473. +install-pdf-am:
  49474. +
  49475. install-ps: install-ps-am
  49476. +install-ps-am:
  49477. +
  49478. installcheck-am:
  49479. maintainer-clean: maintainer-clean-am
  49480. @@ -477,6 +501,7 @@
  49481. clean-generic:
  49482. @RM@ -f *~ .*~
  49483. +
  49484. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  49485. # Otherwise a system limit (for SysV at least) may be exceeded.
  49486. .NOEXPORT:
  49487. diff -Nur owfs-2.7p38.orig/src/scripts/install/config.guess owfs-2.7p38/src/scripts/install/config.guess
  49488. --- owfs-2.7p38.orig/src/scripts/install/config.guess 2008-06-17 12:01:03.000000000 +0200
  49489. +++ owfs-2.7p38/src/scripts/install/config.guess 2010-07-09 16:00:52.259003504 +0200
  49490. @@ -1,10 +1,10 @@
  49491. #! /bin/sh
  49492. # Attempt to guess a canonical system name.
  49493. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  49494. -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
  49495. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
  49496. # Free Software Foundation, Inc.
  49497. -timestamp='2008-01-23'
  49498. +timestamp='2009-06-10'
  49499. # This file is free software; you can redistribute it and/or modify it
  49500. # under the terms of the GNU General Public License as published by
  49501. @@ -170,7 +170,7 @@
  49502. arm*|i386|m68k|ns32k|sh3*|sparc|vax)
  49503. eval $set_cc_for_build
  49504. if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
  49505. - | grep __ELF__ >/dev/null
  49506. + | grep -q __ELF__
  49507. then
  49508. # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
  49509. # Return netbsd for either. FIX?
  49510. @@ -324,6 +324,9 @@
  49511. case `/usr/bin/uname -p` in
  49512. sparc) echo sparc-icl-nx7; exit ;;
  49513. esac ;;
  49514. + s390x:SunOS:*:*)
  49515. + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  49516. + exit ;;
  49517. sun4H:SunOS:5.*:*)
  49518. echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  49519. exit ;;
  49520. @@ -331,7 +334,20 @@
  49521. echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  49522. exit ;;
  49523. i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
  49524. - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  49525. + eval $set_cc_for_build
  49526. + SUN_ARCH="i386"
  49527. + # If there is a compiler, see if it is configured for 64-bit objects.
  49528. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
  49529. + # This test works for both compilers.
  49530. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
  49531. + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
  49532. + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
  49533. + grep IS_64BIT_ARCH >/dev/null
  49534. + then
  49535. + SUN_ARCH="x86_64"
  49536. + fi
  49537. + fi
  49538. + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
  49539. exit ;;
  49540. sun4*:SunOS:6*:*)
  49541. # According to config.sub, this is the proper way to canonicalize
  49542. @@ -640,7 +656,7 @@
  49543. # => hppa64-hp-hpux11.23
  49544. if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
  49545. - grep __LP64__ >/dev/null
  49546. + grep -q __LP64__
  49547. then
  49548. HP_ARCH="hppa2.0w"
  49549. else
  49550. @@ -796,7 +812,7 @@
  49551. x86)
  49552. echo i586-pc-interix${UNAME_RELEASE}
  49553. exit ;;
  49554. - EM64T | authenticamd)
  49555. + EM64T | authenticamd | genuineintel)
  49556. echo x86_64-unknown-interix${UNAME_RELEASE}
  49557. exit ;;
  49558. IA64)
  49559. @@ -806,6 +822,9 @@
  49560. [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
  49561. echo i${UNAME_MACHINE}-pc-mks
  49562. exit ;;
  49563. + 8664:Windows_NT:*)
  49564. + echo x86_64-pc-mks
  49565. + exit ;;
  49566. i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
  49567. # How do we know it's Interix rather than the generic POSIX subsystem?
  49568. # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
  49569. @@ -866,40 +885,17 @@
  49570. m68*:Linux:*:*)
  49571. echo ${UNAME_MACHINE}-unknown-linux-gnu
  49572. exit ;;
  49573. - mips:Linux:*:*)
  49574. + mips:Linux:*:* | mips64:Linux:*:*)
  49575. eval $set_cc_for_build
  49576. sed 's/^ //' << EOF >$dummy.c
  49577. #undef CPU
  49578. - #undef mips
  49579. - #undef mipsel
  49580. + #undef ${UNAME_MACHINE}
  49581. + #undef ${UNAME_MACHINE}el
  49582. #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  49583. - CPU=mipsel
  49584. + CPU=${UNAME_MACHINE}el
  49585. #else
  49586. #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  49587. - CPU=mips
  49588. - #else
  49589. - CPU=
  49590. - #endif
  49591. - #endif
  49592. -EOF
  49593. - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
  49594. - /^CPU/{
  49595. - s: ::g
  49596. - p
  49597. - }'`"
  49598. - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
  49599. - ;;
  49600. - mips64:Linux:*:*)
  49601. - eval $set_cc_for_build
  49602. - sed 's/^ //' << EOF >$dummy.c
  49603. - #undef CPU
  49604. - #undef mips64
  49605. - #undef mips64el
  49606. - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
  49607. - CPU=mips64el
  49608. - #else
  49609. - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
  49610. - CPU=mips64
  49611. + CPU=${UNAME_MACHINE}
  49612. #else
  49613. CPU=
  49614. #endif
  49615. @@ -931,10 +927,13 @@
  49616. EV67) UNAME_MACHINE=alphaev67 ;;
  49617. EV68*) UNAME_MACHINE=alphaev68 ;;
  49618. esac
  49619. - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
  49620. + objdump --private-headers /bin/sh | grep -q ld.so.1
  49621. if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
  49622. echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
  49623. exit ;;
  49624. + padre:Linux:*:*)
  49625. + echo sparc-unknown-linux-gnu
  49626. + exit ;;
  49627. parisc:Linux:*:* | hppa:Linux:*:*)
  49628. # Look for CPU level
  49629. case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
  49630. @@ -982,17 +981,6 @@
  49631. elf32-i386)
  49632. TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
  49633. ;;
  49634. - a.out-i386-linux)
  49635. - echo "${UNAME_MACHINE}-pc-linux-gnuaout"
  49636. - exit ;;
  49637. - coff-i386)
  49638. - echo "${UNAME_MACHINE}-pc-linux-gnucoff"
  49639. - exit ;;
  49640. - "")
  49641. - # Either a pre-BFD a.out linker (linux-gnuoldld) or
  49642. - # one that does not give us useful --help.
  49643. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
  49644. - exit ;;
  49645. esac
  49646. # Determine whether the default compiler is a.out or elf
  49647. eval $set_cc_for_build
  49648. @@ -1058,7 +1046,7 @@
  49649. i*86:syllable:*:*)
  49650. echo ${UNAME_MACHINE}-pc-syllable
  49651. exit ;;
  49652. - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
  49653. + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
  49654. echo i386-unknown-lynxos${UNAME_RELEASE}
  49655. exit ;;
  49656. i*86:*DOS:*:*)
  49657. @@ -1102,8 +1090,11 @@
  49658. pc:*:*:*)
  49659. # Left here for compatibility:
  49660. # uname -m prints for DJGPP always 'pc', but it prints nothing about
  49661. - # the processor, so we play safe by assuming i386.
  49662. - echo i386-pc-msdosdjgpp
  49663. + # the processor, so we play safe by assuming i586.
  49664. + # Note: whatever this is, it MUST be the same as what config.sub
  49665. + # prints for the "djgpp" host, or else GDB configury will decide that
  49666. + # this is a cross-build.
  49667. + echo i586-pc-msdosdjgpp
  49668. exit ;;
  49669. Intel:Mach:3*:*)
  49670. echo i386-pc-mach3
  49671. @@ -1141,6 +1132,16 @@
  49672. 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
  49673. /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  49674. && { echo i486-ncr-sysv4; exit; } ;;
  49675. + NCR*:*:4.2:* | MPRAS*:*:4.2:*)
  49676. + OS_REL='.3'
  49677. + test -r /etc/.relid \
  49678. + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
  49679. + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
  49680. + && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
  49681. + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
  49682. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
  49683. + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
  49684. + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
  49685. m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
  49686. echo m68k-unknown-lynxos${UNAME_RELEASE}
  49687. exit ;;
  49688. @@ -1153,7 +1154,7 @@
  49689. rs6000:LynxOS:2.*:*)
  49690. echo rs6000-unknown-lynxos${UNAME_RELEASE}
  49691. exit ;;
  49692. - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
  49693. + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
  49694. echo powerpc-unknown-lynxos${UNAME_RELEASE}
  49695. exit ;;
  49696. SM[BE]S:UNIX_SV:*:*)
  49697. @@ -1216,6 +1217,9 @@
  49698. BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
  49699. echo i586-pc-beos
  49700. exit ;;
  49701. + BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
  49702. + echo i586-pc-haiku
  49703. + exit ;;
  49704. SX-4:SUPER-UX:*:*)
  49705. echo sx4-nec-superux${UNAME_RELEASE}
  49706. exit ;;
  49707. @@ -1324,6 +1328,9 @@
  49708. i*86:rdos:*:*)
  49709. echo ${UNAME_MACHINE}-pc-rdos
  49710. exit ;;
  49711. + i*86:AROS:*:*)
  49712. + echo ${UNAME_MACHINE}-pc-aros
  49713. + exit ;;
  49714. esac
  49715. #echo '(No uname command or uname output not recognized.)' 1>&2
  49716. diff -Nur owfs-2.7p38.orig/src/scripts/install/config.sub owfs-2.7p38/src/scripts/install/config.sub
  49717. --- owfs-2.7p38.orig/src/scripts/install/config.sub 2008-06-17 12:01:03.000000000 +0200
  49718. +++ owfs-2.7p38/src/scripts/install/config.sub 2010-07-09 16:00:52.263013233 +0200
  49719. @@ -1,10 +1,10 @@
  49720. #! /bin/sh
  49721. # Configuration validation subroutine script.
  49722. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
  49723. -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
  49724. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
  49725. # Free Software Foundation, Inc.
  49726. -timestamp='2008-01-16'
  49727. +timestamp='2009-06-11'
  49728. # This file is (in principle) common to ALL GNU software.
  49729. # The presence of a machine in this file suggests that SOME GNU software
  49730. @@ -122,6 +122,7 @@
  49731. case $maybe_os in
  49732. nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
  49733. uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
  49734. + kopensolaris*-gnu* | \
  49735. storm-chaos* | os2-emx* | rtmk-nova*)
  49736. os=-$maybe_os
  49737. basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
  49738. @@ -152,6 +153,9 @@
  49739. os=
  49740. basic_machine=$1
  49741. ;;
  49742. + -bluegene*)
  49743. + os=-cnk
  49744. + ;;
  49745. -sim | -cisco | -oki | -wec | -winbond)
  49746. os=
  49747. basic_machine=$1
  49748. @@ -249,13 +253,16 @@
  49749. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  49750. | i370 | i860 | i960 | ia64 \
  49751. | ip2k | iq2000 \
  49752. + | lm32 \
  49753. | m32c | m32r | m32rle | m68000 | m68k | m88k \
  49754. - | maxq | mb | microblaze | mcore | mep \
  49755. + | maxq | mb | microblaze | mcore | mep | metag \
  49756. | mips | mipsbe | mipseb | mipsel | mipsle \
  49757. | mips16 \
  49758. | mips64 | mips64el \
  49759. - | mips64vr | mips64vrel \
  49760. + | mips64octeon | mips64octeonel \
  49761. | mips64orion | mips64orionel \
  49762. + | mips64r5900 | mips64r5900el \
  49763. + | mips64vr | mips64vrel \
  49764. | mips64vr4100 | mips64vr4100el \
  49765. | mips64vr4300 | mips64vr4300el \
  49766. | mips64vr5000 | mips64vr5000el \
  49767. @@ -268,6 +275,7 @@
  49768. | mipsisa64sr71k | mipsisa64sr71kel \
  49769. | mipstx39 | mipstx39el \
  49770. | mn10200 | mn10300 \
  49771. + | moxie \
  49772. | mt \
  49773. | msp430 \
  49774. | nios | nios2 \
  49775. @@ -277,7 +285,7 @@
  49776. | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  49777. | pyramid \
  49778. | score \
  49779. - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  49780. + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  49781. | sh64 | sh64le \
  49782. | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  49783. | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  49784. @@ -286,7 +294,7 @@
  49785. | v850 | v850e \
  49786. | we32k \
  49787. | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
  49788. - | z8k)
  49789. + | z8k | z80)
  49790. basic_machine=$basic_machine-unknown
  49791. ;;
  49792. m6811 | m68hc11 | m6812 | m68hc12)
  49793. @@ -329,14 +337,17 @@
  49794. | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
  49795. | i*86-* | i860-* | i960-* | ia64-* \
  49796. | ip2k-* | iq2000-* \
  49797. + | lm32-* \
  49798. | m32c-* | m32r-* | m32rle-* \
  49799. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  49800. - | m88110-* | m88k-* | maxq-* | mcore-* \
  49801. + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  49802. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  49803. | mips16-* \
  49804. | mips64-* | mips64el-* \
  49805. - | mips64vr-* | mips64vrel-* \
  49806. + | mips64octeon-* | mips64octeonel-* \
  49807. | mips64orion-* | mips64orionel-* \
  49808. + | mips64r5900-* | mips64r5900el-* \
  49809. + | mips64vr-* | mips64vrel-* \
  49810. | mips64vr4100-* | mips64vr4100el-* \
  49811. | mips64vr4300-* | mips64vr4300el-* \
  49812. | mips64vr5000-* | mips64vr5000el-* \
  49813. @@ -358,20 +369,20 @@
  49814. | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  49815. | pyramid-* \
  49816. | romp-* | rs6000-* \
  49817. - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  49818. + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  49819. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  49820. | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  49821. | sparclite-* \
  49822. | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
  49823. | tahoe-* | thumb-* \
  49824. - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  49825. + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
  49826. | tron-* \
  49827. | v850-* | v850e-* | vax-* \
  49828. | we32k-* \
  49829. | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
  49830. | xstormy16-* | xtensa*-* \
  49831. | ymp-* \
  49832. - | z8k-*)
  49833. + | z8k-* | z80-*)
  49834. ;;
  49835. # Recognize the basic CPU types without company name, with glob match.
  49836. xtensa*)
  49837. @@ -439,6 +450,10 @@
  49838. basic_machine=m68k-apollo
  49839. os=-bsd
  49840. ;;
  49841. + aros)
  49842. + basic_machine=i386-pc
  49843. + os=-aros
  49844. + ;;
  49845. aux)
  49846. basic_machine=m68k-apple
  49847. os=-aux
  49848. @@ -455,10 +470,18 @@
  49849. basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
  49850. os=-linux
  49851. ;;
  49852. + bluegene*)
  49853. + basic_machine=powerpc-ibm
  49854. + os=-cnk
  49855. + ;;
  49856. c90)
  49857. basic_machine=c90-cray
  49858. os=-unicos
  49859. ;;
  49860. + cegcc)
  49861. + basic_machine=arm-unknown
  49862. + os=-cegcc
  49863. + ;;
  49864. convex-c1)
  49865. basic_machine=c1-convex
  49866. os=-bsd
  49867. @@ -526,6 +549,10 @@
  49868. basic_machine=m88k-motorola
  49869. os=-sysv3
  49870. ;;
  49871. + dicos)
  49872. + basic_machine=i686-pc
  49873. + os=-dicos
  49874. + ;;
  49875. djgpp)
  49876. basic_machine=i586-pc
  49877. os=-msdosdjgpp
  49878. @@ -1128,6 +1155,10 @@
  49879. basic_machine=z8k-unknown
  49880. os=-sim
  49881. ;;
  49882. + z80-*-coff)
  49883. + basic_machine=z80-unknown
  49884. + os=-sim
  49885. + ;;
  49886. none)
  49887. basic_machine=none-none
  49888. os=-none
  49889. @@ -1166,7 +1197,7 @@
  49890. we32k)
  49891. basic_machine=we32k-att
  49892. ;;
  49893. - sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
  49894. + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
  49895. basic_machine=sh-unknown
  49896. ;;
  49897. sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
  49898. @@ -1236,10 +1267,11 @@
  49899. # Each alternative MUST END IN A *, to match a version number.
  49900. # -sysv* is not here because it comes later, after sysvr4.
  49901. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
  49902. - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
  49903. + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
  49904. | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
  49905. + | -kopensolaris* \
  49906. | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
  49907. - | -aos* \
  49908. + | -aos* | -aros* \
  49909. | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  49910. | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  49911. | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  49912. @@ -1248,7 +1280,7 @@
  49913. | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  49914. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  49915. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  49916. - | -chorusos* | -chorusrdb* \
  49917. + | -chorusos* | -chorusrdb* | -cegcc* \
  49918. | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  49919. | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
  49920. | -uxpv* | -beos* | -mpeix* | -udk* \
  49921. @@ -1388,6 +1420,9 @@
  49922. -zvmoe)
  49923. os=-zvmoe
  49924. ;;
  49925. + -dicos*)
  49926. + os=-dicos
  49927. + ;;
  49928. -none)
  49929. ;;
  49930. *)
  49931. @@ -1585,7 +1620,7 @@
  49932. -sunos*)
  49933. vendor=sun
  49934. ;;
  49935. - -aix*)
  49936. + -cnk*|-aix*)
  49937. vendor=ibm
  49938. ;;
  49939. -beos*)
  49940. diff -Nur owfs-2.7p38.orig/src/scripts/install/depcomp owfs-2.7p38/src/scripts/install/depcomp
  49941. --- owfs-2.7p38.orig/src/scripts/install/depcomp 2003-10-08 08:42:28.000000000 +0200
  49942. +++ owfs-2.7p38/src/scripts/install/depcomp 2010-07-09 16:00:59.415004946 +0200
  49943. @@ -1,7 +1,10 @@
  49944. #! /bin/sh
  49945. -
  49946. # depcomp - compile a program generating dependencies as side-effects
  49947. -# Copyright 1999, 2000 Free Software Foundation, Inc.
  49948. +
  49949. +scriptversion=2009-04-28.21; # UTC
  49950. +
  49951. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
  49952. +# Software Foundation, Inc.
  49953. # This program is free software; you can redistribute it and/or modify
  49954. # it under the terms of the GNU General Public License as published by
  49955. @@ -14,9 +17,7 @@
  49956. # GNU General Public License for more details.
  49957. # You should have received a copy of the GNU General Public License
  49958. -# along with this program; if not, write to the Free Software
  49959. -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  49960. -# 02111-1307, USA.
  49961. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  49962. # As a special exception to the GNU General Public License, if you
  49963. # distribute this file as part of a program that contains a
  49964. @@ -25,22 +26,45 @@
  49965. # Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
  49966. +case $1 in
  49967. + '')
  49968. + echo "$0: No command. Try \`$0 --help' for more information." 1>&2
  49969. + exit 1;
  49970. + ;;
  49971. + -h | --h*)
  49972. + cat <<\EOF
  49973. +Usage: depcomp [--help] [--version] PROGRAM [ARGS]
  49974. +
  49975. +Run PROGRAMS ARGS to compile a file, generating dependencies
  49976. +as side-effects.
  49977. +
  49978. +Environment variables:
  49979. + depmode Dependency tracking mode.
  49980. + source Source file read by `PROGRAMS ARGS'.
  49981. + object Object file output by `PROGRAMS ARGS'.
  49982. + DEPDIR directory where to store dependencies.
  49983. + depfile Dependency file to output.
  49984. + tmpdepfile Temporary file to use when outputing dependencies.
  49985. + libtool Whether libtool is used (yes/no).
  49986. +
  49987. +Report bugs to <bug-automake@gnu.org>.
  49988. +EOF
  49989. + exit $?
  49990. + ;;
  49991. + -v | --v*)
  49992. + echo "depcomp $scriptversion"
  49993. + exit $?
  49994. + ;;
  49995. +esac
  49996. +
  49997. if test -z "$depmode" || test -z "$source" || test -z "$object"; then
  49998. echo "depcomp: Variables source, object and depmode must be set" 1>&2
  49999. exit 1
  50000. fi
  50001. -# `libtool' can also be set to `yes' or `no'.
  50002. -
  50003. -if test -z "$depfile"; then
  50004. - base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
  50005. - dir=`echo "$object" | sed 's,/.*$,/,'`
  50006. - if test "$dir" = "$object"; then
  50007. - dir=
  50008. - fi
  50009. - # FIXME: should be _deps on DOS.
  50010. - depfile="$dir.deps/$base"
  50011. -fi
  50012. +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
  50013. +depfile=${depfile-`echo "$object" |
  50014. + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
  50015. tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
  50016. rm -f "$tmpdepfile"
  50017. @@ -61,12 +85,34 @@
  50018. depmode=dashmstdout
  50019. fi
  50020. +cygpath_u="cygpath -u -f -"
  50021. +if test "$depmode" = msvcmsys; then
  50022. + # This is just like msvisualcpp but w/o cygpath translation.
  50023. + # Just convert the backslash-escaped backslashes to single forward
  50024. + # slashes to satisfy depend.m4
  50025. + cygpath_u="sed s,\\\\\\\\,/,g"
  50026. + depmode=msvisualcpp
  50027. +fi
  50028. +
  50029. case "$depmode" in
  50030. gcc3)
  50031. ## gcc 3 implements dependency tracking that does exactly what
  50032. ## we want. Yay! Note: for some reason libtool 1.4 doesn't like
  50033. ## it if -MD -MP comes after the -MF stuff. Hmm.
  50034. - "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
  50035. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon
  50036. +## the command line argument order; so add the flags where they
  50037. +## appear in depend2.am. Note that the slowdown incurred here
  50038. +## affects only configure: in makefiles, %FASTDEP% shortcuts this.
  50039. + for arg
  50040. + do
  50041. + case $arg in
  50042. + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
  50043. + *) set fnord "$@" "$arg" ;;
  50044. + esac
  50045. + shift # fnord
  50046. + shift # $arg
  50047. + done
  50048. + "$@"
  50049. stat=$?
  50050. if test $stat -eq 0; then :
  50051. else
  50052. @@ -153,14 +199,14 @@
  50053. ' < "$tmpdepfile" \
  50054. | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
  50055. tr '
  50056. -' ' ' >> $depfile
  50057. - echo >> $depfile
  50058. +' ' ' >> "$depfile"
  50059. + echo >> "$depfile"
  50060. # The second pass generates a dummy entry for each header file.
  50061. tr ' ' '
  50062. ' < "$tmpdepfile" \
  50063. | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
  50064. - >> $depfile
  50065. + >> "$depfile"
  50066. else
  50067. # The sourcefile does not contain any dependencies, so just
  50068. # store a dummy comment line, to avoid errors with the Makefile
  50069. @@ -172,31 +218,43 @@
  50070. aix)
  50071. # The C for AIX Compiler uses -M and outputs the dependencies
  50072. - # in a .u file. This file always lives in the current directory.
  50073. - # Also, the AIX compiler puts `$object:' at the start of each line;
  50074. - # $object doesn't have directory information.
  50075. - stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
  50076. - tmpdepfile="$stripped.u"
  50077. - outname="$stripped.o"
  50078. + # in a .u file. In older versions, this file always lives in the
  50079. + # current directory. Also, the AIX compiler puts `$object:' at the
  50080. + # start of each line; $object doesn't have directory information.
  50081. + # Version 6 uses the directory in both cases.
  50082. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
  50083. + test "x$dir" = "x$object" && dir=
  50084. + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
  50085. if test "$libtool" = yes; then
  50086. + tmpdepfile1=$dir$base.u
  50087. + tmpdepfile2=$base.u
  50088. + tmpdepfile3=$dir.libs/$base.u
  50089. "$@" -Wc,-M
  50090. else
  50091. + tmpdepfile1=$dir$base.u
  50092. + tmpdepfile2=$dir$base.u
  50093. + tmpdepfile3=$dir$base.u
  50094. "$@" -M
  50095. fi
  50096. -
  50097. stat=$?
  50098. +
  50099. if test $stat -eq 0; then :
  50100. else
  50101. - rm -f "$tmpdepfile"
  50102. + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
  50103. exit $stat
  50104. fi
  50105. + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
  50106. + do
  50107. + test -f "$tmpdepfile" && break
  50108. + done
  50109. if test -f "$tmpdepfile"; then
  50110. # Each line is of the form `foo.o: dependent.h'.
  50111. # Do two passes, one to just change these to
  50112. # `$object: dependent.h' and one to simply `dependent.h:'.
  50113. - sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
  50114. - sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
  50115. + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
  50116. + # That's a tab and a space in the [].
  50117. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
  50118. else
  50119. # The sourcefile does not contain any dependencies, so just
  50120. # store a dummy comment line, to avoid errors with the Makefile
  50121. @@ -206,6 +264,89 @@
  50122. rm -f "$tmpdepfile"
  50123. ;;
  50124. +icc)
  50125. + # Intel's C compiler understands `-MD -MF file'. However on
  50126. + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
  50127. + # ICC 7.0 will fill foo.d with something like
  50128. + # foo.o: sub/foo.c
  50129. + # foo.o: sub/foo.h
  50130. + # which is wrong. We want:
  50131. + # sub/foo.o: sub/foo.c
  50132. + # sub/foo.o: sub/foo.h
  50133. + # sub/foo.c:
  50134. + # sub/foo.h:
  50135. + # ICC 7.1 will output
  50136. + # foo.o: sub/foo.c sub/foo.h
  50137. + # and will wrap long lines using \ :
  50138. + # foo.o: sub/foo.c ... \
  50139. + # sub/foo.h ... \
  50140. + # ...
  50141. +
  50142. + "$@" -MD -MF "$tmpdepfile"
  50143. + stat=$?
  50144. + if test $stat -eq 0; then :
  50145. + else
  50146. + rm -f "$tmpdepfile"
  50147. + exit $stat
  50148. + fi
  50149. + rm -f "$depfile"
  50150. + # Each line is of the form `foo.o: dependent.h',
  50151. + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
  50152. + # Do two passes, one to just change these to
  50153. + # `$object: dependent.h' and one to simply `dependent.h:'.
  50154. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
  50155. + # Some versions of the HPUX 10.20 sed can't process this invocation
  50156. + # correctly. Breaking it into two sed invocations is a workaround.
  50157. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
  50158. + sed -e 's/$/ :/' >> "$depfile"
  50159. + rm -f "$tmpdepfile"
  50160. + ;;
  50161. +
  50162. +hp2)
  50163. + # The "hp" stanza above does not work with aCC (C++) and HP's ia64
  50164. + # compilers, which have integrated preprocessors. The correct option
  50165. + # to use with these is +Maked; it writes dependencies to a file named
  50166. + # 'foo.d', which lands next to the object file, wherever that
  50167. + # happens to be.
  50168. + # Much of this is similar to the tru64 case; see comments there.
  50169. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
  50170. + test "x$dir" = "x$object" && dir=
  50171. + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
  50172. + if test "$libtool" = yes; then
  50173. + tmpdepfile1=$dir$base.d
  50174. + tmpdepfile2=$dir.libs/$base.d
  50175. + "$@" -Wc,+Maked
  50176. + else
  50177. + tmpdepfile1=$dir$base.d
  50178. + tmpdepfile2=$dir$base.d
  50179. + "$@" +Maked
  50180. + fi
  50181. + stat=$?
  50182. + if test $stat -eq 0; then :
  50183. + else
  50184. + rm -f "$tmpdepfile1" "$tmpdepfile2"
  50185. + exit $stat
  50186. + fi
  50187. +
  50188. + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
  50189. + do
  50190. + test -f "$tmpdepfile" && break
  50191. + done
  50192. + if test -f "$tmpdepfile"; then
  50193. + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
  50194. + # Add `dependent.h:' lines.
  50195. + sed -ne '2,${
  50196. + s/^ *//
  50197. + s/ \\*$//
  50198. + s/$/:/
  50199. + p
  50200. + }' "$tmpdepfile" >> "$depfile"
  50201. + else
  50202. + echo "#dummy" > "$depfile"
  50203. + fi
  50204. + rm -f "$tmpdepfile" "$tmpdepfile2"
  50205. + ;;
  50206. +
  50207. tru64)
  50208. # The Tru64 compiler uses -MD to generate dependencies as a side
  50209. # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
  50210. @@ -217,31 +358,47 @@
  50211. base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
  50212. if test "$libtool" = yes; then
  50213. - tmpdepfile1="$dir.libs/$base.lo.d"
  50214. - tmpdepfile2="$dir.libs/$base.d"
  50215. + # With Tru64 cc, shared objects can also be used to make a
  50216. + # static library. This mechanism is used in libtool 1.4 series to
  50217. + # handle both shared and static libraries in a single compilation.
  50218. + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
  50219. + #
  50220. + # With libtool 1.5 this exception was removed, and libtool now
  50221. + # generates 2 separate objects for the 2 libraries. These two
  50222. + # compilations output dependencies in $dir.libs/$base.o.d and
  50223. + # in $dir$base.o.d. We have to check for both files, because
  50224. + # one of the two compilations can be disabled. We should prefer
  50225. + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
  50226. + # automatically cleaned when .libs/ is deleted, while ignoring
  50227. + # the former would cause a distcleancheck panic.
  50228. + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
  50229. + tmpdepfile2=$dir$base.o.d # libtool 1.5
  50230. + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
  50231. + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
  50232. "$@" -Wc,-MD
  50233. else
  50234. - tmpdepfile1="$dir$base.o.d"
  50235. - tmpdepfile2="$dir$base.d"
  50236. + tmpdepfile1=$dir$base.o.d
  50237. + tmpdepfile2=$dir$base.d
  50238. + tmpdepfile3=$dir$base.d
  50239. + tmpdepfile4=$dir$base.d
  50240. "$@" -MD
  50241. fi
  50242. stat=$?
  50243. if test $stat -eq 0; then :
  50244. else
  50245. - rm -f "$tmpdepfile1" "$tmpdepfile2"
  50246. + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
  50247. exit $stat
  50248. fi
  50249. - if test -f "$tmpdepfile1"; then
  50250. - tmpdepfile="$tmpdepfile1"
  50251. - else
  50252. - tmpdepfile="$tmpdepfile2"
  50253. - fi
  50254. + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
  50255. + do
  50256. + test -f "$tmpdepfile" && break
  50257. + done
  50258. if test -f "$tmpdepfile"; then
  50259. sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
  50260. - # That's a space and a tab in the [].
  50261. - sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
  50262. + # That's a tab and a space in the [].
  50263. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
  50264. else
  50265. echo "#dummy" > "$depfile"
  50266. fi
  50267. @@ -254,20 +411,18 @@
  50268. dashmstdout)
  50269. # Important note: in order to support this mode, a compiler *must*
  50270. - # always write the proprocessed file to stdout, regardless of -o.
  50271. + # always write the preprocessed file to stdout, regardless of -o.
  50272. "$@" || exit $?
  50273. # Remove the call to Libtool.
  50274. if test "$libtool" = yes; then
  50275. - while test $1 != '--mode=compile'; do
  50276. + while test "X$1" != 'X--mode=compile'; do
  50277. shift
  50278. done
  50279. shift
  50280. fi
  50281. - # Remove `-o $object'. We will use -o /dev/null later,
  50282. - # however we can't do the remplacement now because
  50283. - # `-o $object' might simply not be used
  50284. + # Remove `-o $object'.
  50285. IFS=" "
  50286. for arg
  50287. do
  50288. @@ -287,7 +442,11 @@
  50289. done
  50290. test -z "$dashmflag" && dashmflag=-M
  50291. - "$@" -o /dev/null $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
  50292. + # Require at least two characters before searching for `:'
  50293. + # in the target name. This is to cope with DOS-style filenames:
  50294. + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
  50295. + "$@" $dashmflag |
  50296. + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
  50297. rm -f "$depfile"
  50298. cat < "$tmpdepfile" > "$depfile"
  50299. tr ' ' '
  50300. @@ -306,25 +465,41 @@
  50301. makedepend)
  50302. "$@" || exit $?
  50303. + # Remove any Libtool call
  50304. + if test "$libtool" = yes; then
  50305. + while test "X$1" != 'X--mode=compile'; do
  50306. + shift
  50307. + done
  50308. + shift
  50309. + fi
  50310. # X makedepend
  50311. shift
  50312. - cleared=no
  50313. - for arg in "$@"; do
  50314. + cleared=no eat=no
  50315. + for arg
  50316. + do
  50317. case $cleared in
  50318. no)
  50319. set ""; shift
  50320. cleared=yes ;;
  50321. esac
  50322. + if test $eat = yes; then
  50323. + eat=no
  50324. + continue
  50325. + fi
  50326. case "$arg" in
  50327. -D*|-I*)
  50328. set fnord "$@" "$arg"; shift ;;
  50329. - -*)
  50330. + # Strip any option that makedepend may not understand. Remove
  50331. + # the object too, otherwise makedepend will parse it as a source file.
  50332. + -arch)
  50333. + eat=yes ;;
  50334. + -*|$object)
  50335. ;;
  50336. *)
  50337. set fnord "$@" "$arg"; shift ;;
  50338. esac
  50339. done
  50340. - obj_suffix="`echo $object | sed 's/^.*\././'`"
  50341. + obj_suffix=`echo "$object" | sed 's/^.*\././'`
  50342. touch "$tmpdepfile"
  50343. ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
  50344. rm -f "$depfile"
  50345. @@ -339,12 +514,12 @@
  50346. cpp)
  50347. # Important note: in order to support this mode, a compiler *must*
  50348. - # always write the proprocessed file to stdout.
  50349. + # always write the preprocessed file to stdout.
  50350. "$@" || exit $?
  50351. # Remove the call to Libtool.
  50352. if test "$libtool" = yes; then
  50353. - while test $1 != '--mode=compile'; do
  50354. + while test "X$1" != 'X--mode=compile'; do
  50355. shift
  50356. done
  50357. shift
  50358. @@ -370,7 +545,8 @@
  50359. done
  50360. "$@" -E |
  50361. - sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
  50362. + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
  50363. + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
  50364. sed '$ s: \\$::' > "$tmpdepfile"
  50365. rm -f "$depfile"
  50366. echo "$object : \\" > "$depfile"
  50367. @@ -381,13 +557,27 @@
  50368. msvisualcpp)
  50369. # Important note: in order to support this mode, a compiler *must*
  50370. - # always write the proprocessed file to stdout, regardless of -o,
  50371. - # because we must use -o when running libtool.
  50372. + # always write the preprocessed file to stdout.
  50373. "$@" || exit $?
  50374. +
  50375. + # Remove the call to Libtool.
  50376. + if test "$libtool" = yes; then
  50377. + while test "X$1" != 'X--mode=compile'; do
  50378. + shift
  50379. + done
  50380. + shift
  50381. + fi
  50382. +
  50383. IFS=" "
  50384. for arg
  50385. do
  50386. case "$arg" in
  50387. + -o)
  50388. + shift
  50389. + ;;
  50390. + $object)
  50391. + shift
  50392. + ;;
  50393. "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
  50394. set fnord "$@"
  50395. shift
  50396. @@ -400,16 +590,23 @@
  50397. ;;
  50398. esac
  50399. done
  50400. - "$@" -E |
  50401. - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
  50402. + "$@" -E 2>/dev/null |
  50403. + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
  50404. rm -f "$depfile"
  50405. echo "$object : \\" > "$depfile"
  50406. - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
  50407. + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
  50408. echo " " >> "$depfile"
  50409. - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
  50410. + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
  50411. rm -f "$tmpdepfile"
  50412. ;;
  50413. +msvcmsys)
  50414. + # This case exists only to let depend.m4 do its work. It works by
  50415. + # looking at the text of this script. This case will never be run,
  50416. + # since it is checked for above.
  50417. + exit 1
  50418. + ;;
  50419. +
  50420. none)
  50421. exec "$@"
  50422. ;;
  50423. @@ -421,3 +618,13 @@
  50424. esac
  50425. exit 0
  50426. +
  50427. +# Local Variables:
  50428. +# mode: shell-script
  50429. +# sh-indentation: 2
  50430. +# eval: (add-hook 'write-file-hooks 'time-stamp)
  50431. +# time-stamp-start: "scriptversion="
  50432. +# time-stamp-format: "%:y-%02m-%02d.%02H"
  50433. +# time-stamp-time-zone: "UTC"
  50434. +# time-stamp-end: "; # UTC"
  50435. +# End:
  50436. diff -Nur owfs-2.7p38.orig/src/scripts/install/install-sh owfs-2.7p38/src/scripts/install/install-sh
  50437. --- owfs-2.7p38.orig/src/scripts/install/install-sh 2008-06-17 12:01:03.000000000 +0200
  50438. +++ owfs-2.7p38/src/scripts/install/install-sh 2010-07-09 16:00:52.267002010 +0200
  50439. @@ -1,7 +1,7 @@
  50440. #!/bin/sh
  50441. # install - install a program, script, or datafile
  50442. -scriptversion=2006-12-25.00
  50443. +scriptversion=2009-04-28.21; # UTC
  50444. # This originates from X11R5 (mit/util/scripts/install.sh), which was
  50445. # later released in X11R6 (xc/config/util/install.sh) with the
  50446. @@ -515,5 +515,6 @@
  50447. # eval: (add-hook 'write-file-hooks 'time-stamp)
  50448. # time-stamp-start: "scriptversion="
  50449. # time-stamp-format: "%:y-%02m-%02d.%02H"
  50450. -# time-stamp-end: "$"
  50451. +# time-stamp-time-zone: "UTC"
  50452. +# time-stamp-end: "; # UTC"
  50453. # End:
  50454. diff -Nur owfs-2.7p38.orig/src/scripts/install/ltmain.sh owfs-2.7p38/src/scripts/install/ltmain.sh
  50455. --- owfs-2.7p38.orig/src/scripts/install/ltmain.sh 2010-01-18 03:21:27.000000000 +0100
  50456. +++ owfs-2.7p38/src/scripts/install/ltmain.sh 2010-07-09 16:00:36.063003117 +0200
  50457. @@ -1,420 +1,10 @@
  50458. -#! /bin/bash
  50459. -
  50460. -# libtool - Provide generalized library-building support services.
  50461. -# Generated automatically by config.status (libtool) 2.2.6
  50462. -# Libtool was configured on host crested:
  50463. -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  50464. -#
  50465. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  50466. -# 2006, 2007, 2008 Free Software Foundation, Inc.
  50467. -# Written by Gordon Matzigkeit, 1996
  50468. -#
  50469. -# This file is part of GNU Libtool.
  50470. -#
  50471. -# GNU Libtool is free software; you can redistribute it and/or
  50472. -# modify it under the terms of the GNU General Public License as
  50473. -# published by the Free Software Foundation; either version 2 of
  50474. -# the License, or (at your option) any later version.
  50475. -#
  50476. -# As a special exception to the GNU General Public License,
  50477. -# if you distribute this file as part of a program or library that
  50478. -# is built using GNU Libtool, you may include this file under the
  50479. -# same distribution terms that you use for the rest of that program.
  50480. -#
  50481. -# GNU Libtool is distributed in the hope that it will be useful,
  50482. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  50483. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  50484. -# GNU General Public License for more details.
  50485. -#
  50486. -# You should have received a copy of the GNU General Public License
  50487. -# along with GNU Libtool; see the file COPYING. If not, a copy
  50488. -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  50489. -# obtained by writing to the Free Software Foundation, Inc.,
  50490. -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  50491. -
  50492. -
  50493. -# The names of the tagged configurations supported by this script.
  50494. -available_tags="CXX F77 FC GCJ RC BINCC BINCXX"
  50495. -
  50496. -# ### BEGIN LIBTOOL CONFIG
  50497. -
  50498. -# Which release of libtool.m4 was used?
  50499. -macro_version=2.2.6
  50500. -macro_revision=1.3012
  50501. -
  50502. -# Assembler program.
  50503. -AS=as
  50504. -
  50505. -# DLL creation program.
  50506. -DLLTOOL=dlltool
  50507. -
  50508. -# Object dumper program.
  50509. -OBJDUMP=objdump
  50510. -
  50511. -# Whether or not to build shared libraries.
  50512. -build_libtool_libs=yes
  50513. -
  50514. -# Whether or not to build static libraries.
  50515. -build_old_libs=yes
  50516. -
  50517. -# What type of objects to build.
  50518. -pic_mode=default
  50519. -
  50520. -# Whether or not to optimize for fast installation.
  50521. -fast_install=yes
  50522. -
  50523. -# The host system.
  50524. -host_alias=
  50525. -host=x86_64-pc-linux-gnu
  50526. -host_os=linux-gnu
  50527. -
  50528. -# The build system.
  50529. -build_alias=x86_64-linux-gnu
  50530. -build=x86_64-pc-linux-gnu
  50531. -build_os=linux-gnu
  50532. -
  50533. -# A sed program that does not truncate output.
  50534. -SED="/bin/sed"
  50535. -
  50536. -# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  50537. -Xsed="$SED -e 1s/^X//"
  50538. -
  50539. -# A grep program that handles long lines.
  50540. -GREP="/bin/grep"
  50541. -
  50542. -# An ERE matcher.
  50543. -EGREP="/bin/grep -E"
  50544. -
  50545. -# A literal string matcher.
  50546. -FGREP="/bin/grep -F"
  50547. -
  50548. -# A BSD- or MS-compatible name lister.
  50549. -NM="/usr/bin/nm -B"
  50550. -
  50551. -# Whether we need soft or hard links.
  50552. -LN_S="ln -s"
  50553. -
  50554. -# What is the maximum length of a command?
  50555. -max_cmd_len=3458764513820540925
  50556. -
  50557. -# Object file suffix (normally "o").
  50558. -objext=o
  50559. -
  50560. -# Executable file suffix (normally "").
  50561. -exeext=
  50562. -
  50563. -# whether the shell understands "unset".
  50564. -lt_unset=unset
  50565. -
  50566. -# turn spaces into newlines.
  50567. -SP2NL="tr \\040 \\012"
  50568. -
  50569. -# turn newlines into spaces.
  50570. -NL2SP="tr \\015\\012 \\040\\040"
  50571. -
  50572. -# How to create reloadable object files.
  50573. -reload_flag=" -r"
  50574. -reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"
  50575. -
  50576. -# Method to check whether dependent libraries are shared objects.
  50577. -deplibs_check_method="pass_all"
  50578. -
  50579. -# Command to use when deplibs_check_method == "file_magic".
  50580. -file_magic_cmd="\$MAGIC_CMD"
  50581. -
  50582. -# The archiver.
  50583. -AR="ar"
  50584. -AR_FLAGS="cru"
  50585. -
  50586. -# A symbol stripping program.
  50587. -STRIP="strip"
  50588. -
  50589. -# Commands used to install an old-style archive.
  50590. -RANLIB="ranlib"
  50591. -old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib"
  50592. -old_postuninstall_cmds=""
  50593. -
  50594. -# A C compiler.
  50595. -LTCC="gcc"
  50596. -
  50597. -# LTCC compiler flags.
  50598. -LTCFLAGS="-Wall -g -O2"
  50599. -
  50600. -# Take the output of nm and produce a listing of raw symbols and C names.
  50601. -global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'"
  50602. -
  50603. -# Transform the output of nm in a proper C declaration.
  50604. -global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 's/^[ABCDGIRSTW]* .* \\(.*\\)\$/extern char \\1;/p'"
  50605. -
  50606. -# Transform the output of nm in a C name address pair.
  50607. -global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (void *) \\&\\2},/p'"
  50608. -
  50609. -# Transform the output of nm in a C name address pair when lib prefix is needed.
  50610. -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'"
  50611. -
  50612. -# The name of the directory that contains temporary libtool files.
  50613. -objdir=.libs
  50614. -
  50615. -# Shell to use when invoking shell scripts.
  50616. -SHELL="/bin/bash"
  50617. -
  50618. -# An echo program that does not interpret backslashes.
  50619. -ECHO="echo"
  50620. -
  50621. -# Used to examine libraries when file_magic_cmd begins with "file".
  50622. -MAGIC_CMD=file
  50623. -
  50624. -# Must we lock files when doing compilation?
  50625. -need_locks="no"
  50626. -
  50627. -# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  50628. -DSYMUTIL=""
  50629. -
  50630. -# Tool to change global to local symbols on Mac OS X.
  50631. -NMEDIT=""
  50632. -
  50633. -# Tool to manipulate fat objects and archives on Mac OS X.
  50634. -LIPO=""
  50635. -
  50636. -# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  50637. -OTOOL=""
  50638. -
  50639. -# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  50640. -OTOOL64=""
  50641. -
  50642. -# Old archive suffix (normally "a").
  50643. -libext=a
  50644. -
  50645. -# Shared library suffix (normally ".so").
  50646. -shrext_cmds=".so"
  50647. -
  50648. -# The commands to extract the exported symbol list from a shared archive.
  50649. -extract_expsyms_cmds=""
  50650. -
  50651. -# Variables whose values should be saved in libtool wrapper scripts and
  50652. -# restored at link time.
  50653. -variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  50654. -
  50655. -# Do we need the "lib" prefix for modules?
  50656. -need_lib_prefix=no
  50657. -
  50658. -# Do we need a version for libraries?
  50659. -need_version=no
  50660. -
  50661. -# Library versioning type.
  50662. -version_type=linux
  50663. -
  50664. -# Shared library runtime path variable.
  50665. -runpath_var=LD_RUN_PATH
  50666. -
  50667. -# Shared library path variable.
  50668. -shlibpath_var=LD_LIBRARY_PATH
  50669. -
  50670. -# Is shlibpath searched before the hard-coded library search path?
  50671. -shlibpath_overrides_runpath=no
  50672. -
  50673. -# Format of library name prefix.
  50674. -libname_spec="lib\$name"
  50675. -
  50676. -# List of archive names. First name is the real one, the rest are links.
  50677. -# The last name is the one that the linker finds with -lNAME
  50678. -library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}"
  50679. -
  50680. -# The coded name of the library, if different from the real name.
  50681. -soname_spec="\${libname}\${release}\${shared_ext}\$major"
  50682. -
  50683. -# Command to use after installation of a shared archive.
  50684. -postinstall_cmds=""
  50685. -
  50686. -# Command to use after uninstallation of a shared archive.
  50687. -postuninstall_cmds=""
  50688. -
  50689. -# Commands used to finish a libtool library installation in a directory.
  50690. -finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir"
  50691. -
  50692. -# As "finish_cmds", except a single script fragment to be evaled but
  50693. -# not shown.
  50694. -finish_eval=""
  50695. -
  50696. -# Whether we should hardcode library paths into libraries.
  50697. -hardcode_into_libs=yes
  50698. -
  50699. -# Compile-time system search path for libraries.
  50700. -sys_lib_search_path_spec="/lib/ /usr/lib/ /usr/X11R6/lib/ /usr/local/lib/"
  50701. -
  50702. -# Run-time system search path for libraries.
  50703. -sys_lib_dlsearch_path_spec="/lib /usr/lib /lib32 /usr/lib32 /usr/X11R6/lib32 /usr/lib/alsa-lib /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu "
  50704. -
  50705. -# Whether dlopen is supported.
  50706. -dlopen_support=yes
  50707. -
  50708. -# Whether dlopen of programs is supported.
  50709. -dlopen_self=yes
  50710. -
  50711. -# Whether dlopen of statically linked programs is supported.
  50712. -dlopen_self_static=no
  50713. -
  50714. -# Commands to strip libraries.
  50715. -old_striplib="strip --strip-debug"
  50716. -striplib="strip --strip-unneeded"
  50717. -
  50718. -
  50719. -# The linker used to build libraries.
  50720. -LD="/usr/bin/ld -m elf_x86_64"
  50721. -
  50722. -# Commands used to build an old-style archive.
  50723. -old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
  50724. -
  50725. -# A language specific compiler.
  50726. -CC="gcc"
  50727. -
  50728. -# Is the compiler the GNU compiler?
  50729. -with_gcc=yes
  50730. -
  50731. -# Compiler flag to turn off builtin functions.
  50732. -no_builtin_flag=" -fno-builtin"
  50733. -
  50734. -# How to pass a linker flag through the compiler.
  50735. -wl="-Wl,"
  50736. -
  50737. -# Additional compiler flags for building library objects.
  50738. -pic_flag=" -fPIC -DPIC"
  50739. -
  50740. -# Compiler flag to prevent dynamic linking.
  50741. -link_static_flag="-static"
  50742. -
  50743. -# Does compiler simultaneously support -c and -o options?
  50744. -compiler_c_o="yes"
  50745. -
  50746. -# Whether or not to add -lc for building shared libraries.
  50747. -build_libtool_need_lc=no
  50748. -
  50749. -# Whether or not to disallow shared libs when runtime libs are static.
  50750. -allow_libtool_libs_with_static_runtimes=no
  50751. -
  50752. -# Compiler flag to allow reflexive dlopens.
  50753. -export_dynamic_flag_spec="\${wl}--export-dynamic"
  50754. -
  50755. -# Compiler flag to generate shared objects directly from archives.
  50756. -whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"
  50757. -
  50758. -# Whether the compiler copes with passing no objects directly.
  50759. -compiler_needs_object="no"
  50760. -
  50761. -# Create an old-style archive from a shared archive.
  50762. -old_archive_from_new_cmds=""
  50763. -
  50764. -# Create a temporary old-style archive to link instead of a shared archive.
  50765. -old_archive_from_expsyms_cmds=""
  50766. -
  50767. -# Commands used to build a shared archive.
  50768. -archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
  50769. -archive_expsym_cmds="echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~
  50770. - cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$output_objdir/\$libname.ver~
  50771. - echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~
  50772. - \$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib"
  50773. -
  50774. -# Commands used to build a loadable module if different from building
  50775. -# a shared archive.
  50776. -module_cmds=""
  50777. -module_expsym_cmds=""
  50778. -
  50779. -# Whether we are building with GNU ld or not.
  50780. -with_gnu_ld="yes"
  50781. -
  50782. -# Flag that allows shared libraries with undefined symbols to be built.
  50783. -allow_undefined_flag=""
  50784. -
  50785. -# Flag that enforces no undefined symbols.
  50786. -no_undefined_flag=""
  50787. -
  50788. -# Flag to hardcode $libdir into a binary during linking.
  50789. -# This must work even if $libdir does not exist
  50790. -hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
  50791. -
  50792. -# If ld is used when linking, flag to hardcode $libdir into a binary
  50793. -# during linking. This must work even if $libdir does not exist.
  50794. -hardcode_libdir_flag_spec_ld=""
  50795. -
  50796. -# Whether we need a single "-rpath" flag with a separated argument.
  50797. -hardcode_libdir_separator=""
  50798. -
  50799. -# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  50800. -# DIR into the resulting binary.
  50801. -hardcode_direct=no
  50802. -
  50803. -# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  50804. -# DIR into the resulting binary and the resulting library dependency is
  50805. -# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
  50806. -# library is relocated.
  50807. -hardcode_direct_absolute=no
  50808. -
  50809. -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  50810. -# into the resulting binary.
  50811. -hardcode_minus_L=no
  50812. -
  50813. -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  50814. -# into the resulting binary.
  50815. -hardcode_shlibpath_var=unsupported
  50816. -
  50817. -# Set to "yes" if building a shared library automatically hardcodes DIR
  50818. -# into the library and all subsequent libraries and executables linked
  50819. -# against it.
  50820. -hardcode_automatic=no
  50821. -
  50822. -# Set to yes if linker adds runtime paths of dependent libraries
  50823. -# to runtime path list.
  50824. -inherit_rpath=no
  50825. -
  50826. -# Whether libtool must link a program against all its dependency libraries.
  50827. -link_all_deplibs=unknown
  50828. -
  50829. -# Fix the shell variable $srcfile for the compiler.
  50830. -fix_srcfile_path=""
  50831. -
  50832. -# Set to "yes" if exported symbols are required.
  50833. -always_export_symbols=no
  50834. -
  50835. -# The commands to list exported symbols.
  50836. -export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"
  50837. -
  50838. -# Symbols that should not be listed in the preloaded symbols.
  50839. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"
  50840. -
  50841. -# Symbols that must always be exported.
  50842. -include_expsyms=""
  50843. -
  50844. -# Commands necessary for linking programs (against libraries) with templates.
  50845. -prelink_cmds=""
  50846. -
  50847. -# Specify filename containing input files.
  50848. -file_list_spec=""
  50849. -
  50850. -# How to hardcode a shared library path into an executable.
  50851. -hardcode_action=immediate
  50852. -
  50853. -# The directories searched by this compiler when creating a shared library.
  50854. -compiler_lib_search_dirs=""
  50855. -
  50856. -# Dependencies to place before and after the objects being linked to
  50857. -# create a shared library.
  50858. -predep_objects=""
  50859. -postdep_objects=""
  50860. -predeps=""
  50861. -postdeps=""
  50862. -
  50863. -# The library search path used internally by the compiler when linking
  50864. -# a shared library.
  50865. -compiler_lib_search_path=""
  50866. -
  50867. -# ### END LIBTOOL CONFIG
  50868. -
  50869. # Generated from ltmain.m4sh.
  50870. -# ltmain.sh (GNU libtool) 2.2.6
  50871. +# libtool (GNU libtool 1.3216 2010-07-08) 2.2.11a
  50872. # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  50873. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
  50874. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
  50875. +# 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
  50876. # This is free software; see the source for copying conditions. There is NO
  50877. # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  50878. @@ -443,50 +33,56 @@
  50879. #
  50880. # Provide generalized library-building support services.
  50881. #
  50882. -# --config show all configuration variables
  50883. -# --debug enable verbose shell tracing
  50884. -# -n, --dry-run display commands without modifying any files
  50885. -# --features display basic configuration information and exit
  50886. -# --mode=MODE use operation mode MODE
  50887. -# --preserve-dup-deps don't remove duplicate dependency libraries
  50888. -# --quiet, --silent don't print informational messages
  50889. -# --tag=TAG use configuration variables from tag TAG
  50890. -# -v, --verbose print informational messages (default)
  50891. -# --version print version information
  50892. -# -h, --help print short or long help message
  50893. +# --config show all configuration variables
  50894. +# --debug enable verbose shell tracing
  50895. +# -n, --dry-run display commands without modifying any files
  50896. +# --features display basic configuration information and exit
  50897. +# --mode=MODE use operation mode MODE
  50898. +# --preserve-dup-deps don't remove duplicate dependency libraries
  50899. +# --quiet, --silent don't print informational messages
  50900. +# --no-quiet, --no-silent
  50901. +# print informational messages (default)
  50902. +# --tag=TAG use configuration variables from tag TAG
  50903. +# -v, --verbose print more informational messages than default
  50904. +# --no-verbose don't print the extra informational messages
  50905. +# --version print version information
  50906. +# -h, --help, --help-all print short, long, or detailed help message
  50907. #
  50908. # MODE must be one of the following:
  50909. #
  50910. -# clean remove files from the build directory
  50911. -# compile compile a source file into a libtool object
  50912. -# execute automatically set library path, then run a program
  50913. -# finish complete the installation of libtool libraries
  50914. -# install install libraries or executables
  50915. -# link create a library or an executable
  50916. -# uninstall remove libraries from an installed directory
  50917. +# clean remove files from the build directory
  50918. +# compile compile a source file into a libtool object
  50919. +# execute automatically set library path, then run a program
  50920. +# finish complete the installation of libtool libraries
  50921. +# install install libraries or executables
  50922. +# link create a library or an executable
  50923. +# uninstall remove libraries from an installed directory
  50924. #
  50925. -# MODE-ARGS vary depending on the MODE.
  50926. +# MODE-ARGS vary depending on the MODE. When passed as first option,
  50927. +# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
  50928. # Try `$progname --help --mode=MODE' for a more detailed description of MODE.
  50929. #
  50930. # When reporting a bug, please describe a test case to reproduce it and
  50931. # include the following information:
  50932. #
  50933. -# host-triplet: $host
  50934. -# shell: $SHELL
  50935. -# compiler: $LTCC
  50936. -# compiler flags: $LTCFLAGS
  50937. -# linker: $LD (gnu? $with_gnu_ld)
  50938. -# $progname: (GNU libtool) 2.2.6 Debian-2.2.6a-1ubuntu1
  50939. -# automake: $automake_version
  50940. -# autoconf: $autoconf_version
  50941. +# host-triplet: $host
  50942. +# shell: $SHELL
  50943. +# compiler: $LTCC
  50944. +# compiler flags: $LTCFLAGS
  50945. +# linker: $LD (gnu? $with_gnu_ld)
  50946. +# $progname: (GNU libtool 1.3216 2010-07-08) 2.2.11a
  50947. +# automake: $automake_version
  50948. +# autoconf: $autoconf_version
  50949. #
  50950. # Report bugs to <bug-libtool@gnu.org>.
  50951. +# GNU libtool home page: <http://www.gnu.org/software/libtool/>.
  50952. +# General help using GNU software: <http://www.gnu.org/gethelp/>.
  50953. -PROGRAM=ltmain.sh
  50954. +PROGRAM=libtool
  50955. PACKAGE=libtool
  50956. -VERSION="2.2.6 Debian-2.2.6a-1ubuntu1"
  50957. -TIMESTAMP=""
  50958. -package_revision=1.3012
  50959. +VERSION=2.2.11a
  50960. +TIMESTAMP=" 1.3216 2010-07-08"
  50961. +package_revision=1.3216
  50962. # Be Bourne compatible
  50963. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  50964. @@ -502,10 +98,15 @@
  50965. BIN_SH=xpg4; export BIN_SH # for Tru64
  50966. DUALCASE=1; export DUALCASE # for MKS sh
  50967. +# A function that is used when there is no print builtin or printf.
  50968. +func_fallback_echo ()
  50969. +{
  50970. + eval 'cat <<_LTECHO_EOF
  50971. +$1
  50972. +_LTECHO_EOF'
  50973. +}
  50974. +
  50975. # NLS nuisances: We save the old values to restore during execute mode.
  50976. -# Only set LANG and LC_ALL to C if already set.
  50977. -# These must not be set unconditionally because not all systems understand
  50978. -# e.g. LANG=C (notably SCO).
  50979. lt_user_locale=
  50980. lt_safe_locale=
  50981. for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
  50982. @@ -518,24 +119,33 @@
  50983. lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
  50984. fi"
  50985. done
  50986. +LC_ALL=C
  50987. +LANGUAGE=C
  50988. +export LANGUAGE LC_ALL
  50989. $lt_unset CDPATH
  50990. +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
  50991. +# is ksh but when the shell is invoked as "sh" and the current value of
  50992. +# the _XPG environment variable is not equal to 1 (one), the special
  50993. +# positional parameter $0, within a function call, is the name of the
  50994. +# function.
  50995. +progpath="$0"
  50996. : ${CP="cp -f"}
  50997. -: ${ECHO="echo"}
  50998. -: ${EGREP="egrep"}
  50999. -: ${FGREP="fgrep"}
  51000. -: ${GREP="grep"}
  51001. +test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
  51002. +: ${EGREP="/bin/grep -E"}
  51003. +: ${FGREP="/bin/grep -F"}
  51004. +: ${GREP="/bin/grep"}
  51005. : ${LN_S="ln -s"}
  51006. : ${MAKE="make"}
  51007. : ${MKDIR="mkdir"}
  51008. : ${MV="mv -f"}
  51009. : ${RM="rm -f"}
  51010. -: ${SED="sed"}
  51011. +: ${SED="/bin/sed"}
  51012. : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
  51013. : ${Xsed="$SED -e 1s/^X//"}
  51014. @@ -555,48 +165,26 @@
  51015. dirname="s,/[^/]*$,,"
  51016. basename="s,^.*/,,"
  51017. -# func_dirname_and_basename file append nondir_replacement
  51018. -# perform func_basename and func_dirname in a single function
  51019. -# call:
  51020. -# dirname: Compute the dirname of FILE. If nonempty,
  51021. -# add APPEND to the result, otherwise set result
  51022. -# to NONDIR_REPLACEMENT.
  51023. -# value returned in "$func_dirname_result"
  51024. -# basename: Compute filename of FILE.
  51025. -# value retuned in "$func_basename_result"
  51026. -# Implementation must be kept synchronized with func_dirname
  51027. -# and func_basename. For efficiency, we do not delegate to
  51028. -# those functions but instead duplicate the functionality here.
  51029. -func_dirname_and_basename ()
  51030. -{
  51031. - # Extract subdirectory from the argument.
  51032. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  51033. - if test "X$func_dirname_result" = "X${1}"; then
  51034. - func_dirname_result="${3}"
  51035. - else
  51036. - func_dirname_result="$func_dirname_result${2}"
  51037. - fi
  51038. - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  51039. -}
  51040. -
  51041. -# Generated shell functions inserted here.
  51042. -
  51043. # func_dirname file append nondir_replacement
  51044. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  51045. # otherwise set result to NONDIR_REPLACEMENT.
  51046. func_dirname ()
  51047. {
  51048. - case ${1} in
  51049. - */*) func_dirname_result="${1%/*}${2}" ;;
  51050. - * ) func_dirname_result="${3}" ;;
  51051. - esac
  51052. -}
  51053. + func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
  51054. + if test "X$func_dirname_result" = "X${1}"; then
  51055. + func_dirname_result="${3}"
  51056. + else
  51057. + func_dirname_result="$func_dirname_result${2}"
  51058. + fi
  51059. +} # func_dirname may be replaced by extended shell implementation
  51060. +
  51061. # func_basename file
  51062. func_basename ()
  51063. {
  51064. - func_basename_result="${1##*/}"
  51065. -}
  51066. + func_basename_result=`$ECHO "${1}" | $SED "$basename"`
  51067. +} # func_basename may be replaced by extended shell implementation
  51068. +
  51069. # func_dirname_and_basename file append nondir_replacement
  51070. # perform func_basename and func_dirname in a single function
  51071. @@ -612,86 +200,183 @@
  51072. # those functions but instead duplicate the functionality here.
  51073. func_dirname_and_basename ()
  51074. {
  51075. - case ${1} in
  51076. - */*) func_dirname_result="${1%/*}${2}" ;;
  51077. - * ) func_dirname_result="${3}" ;;
  51078. - esac
  51079. - func_basename_result="${1##*/}"
  51080. -}
  51081. + # Extract subdirectory from the argument.
  51082. + func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
  51083. + if test "X$func_dirname_result" = "X${1}"; then
  51084. + func_dirname_result="${3}"
  51085. + else
  51086. + func_dirname_result="$func_dirname_result${2}"
  51087. + fi
  51088. + func_basename_result=`$ECHO "${1}" | $SED -e "$basename"`
  51089. +} # func_dirname_and_basename may be replaced by extended shell implementation
  51090. +
  51091. # func_stripname prefix suffix name
  51092. # strip PREFIX and SUFFIX off of NAME.
  51093. # PREFIX and SUFFIX must not contain globbing or regex special
  51094. # characters, hashes, percent signs, but SUFFIX may contain a leading
  51095. # dot (in which case that matches only a dot).
  51096. +# func_strip_suffix prefix name
  51097. func_stripname ()
  51098. {
  51099. - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  51100. - # positional parameters, so assign one to ordinary parameter first.
  51101. - func_stripname_result=${3}
  51102. - func_stripname_result=${func_stripname_result#"${1}"}
  51103. - func_stripname_result=${func_stripname_result%"${2}"}
  51104. -}
  51105. + case ${2} in
  51106. + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
  51107. + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
  51108. + esac
  51109. +} # func_stripname may be replaced by extended shell implementation
  51110. -# func_opt_split
  51111. -func_opt_split ()
  51112. -{
  51113. - func_opt_split_opt=${1%%=*}
  51114. - func_opt_split_arg=${1#*=}
  51115. -}
  51116. -# func_lo2o object
  51117. -func_lo2o ()
  51118. -{
  51119. - case ${1} in
  51120. - *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  51121. - *) func_lo2o_result=${1} ;;
  51122. +# These SED scripts presuppose an absolute path with a trailing slash.
  51123. +pathcar='s,^/\([^/]*\).*$,\1,'
  51124. +pathcdr='s,^/[^/]*,,'
  51125. +removedotparts=':dotsl
  51126. + s@/\./@/@g
  51127. + t dotsl
  51128. + s,/\.$,/,'
  51129. +collapseslashes='s@/\{1,\}@/@g'
  51130. +finalslash='s,/*$,/,'
  51131. +
  51132. +# func_normal_abspath PATH
  51133. +# Remove doubled-up and trailing slashes, "." path components,
  51134. +# and cancel out any ".." path components in PATH after making
  51135. +# it an absolute path.
  51136. +# value returned in "$func_normal_abspath_result"
  51137. +func_normal_abspath ()
  51138. +{
  51139. + # Start from root dir and reassemble the path.
  51140. + func_normal_abspath_result=
  51141. + func_normal_abspath_tpath=$1
  51142. + func_normal_abspath_altnamespace=
  51143. + case $func_normal_abspath_tpath in
  51144. + "")
  51145. + # Empty path, that just means $cwd.
  51146. + func_stripname '' '/' "`pwd`"
  51147. + func_normal_abspath_result=$func_stripname_result
  51148. + return
  51149. + ;;
  51150. + # The next three entries are used to spot a run of precisely
  51151. + # two leading slashes without using negated character classes;
  51152. + # we take advantage of case's first-match behaviour.
  51153. + ///*)
  51154. + # Unusual form of absolute path, do nothing.
  51155. + ;;
  51156. + //*)
  51157. + # Not necessarily an ordinary path; POSIX reserves leading '//'
  51158. + # and for example Cygwin uses it to access remote file shares
  51159. + # over CIFS/SMB, so we conserve a leading double slash if found.
  51160. + func_normal_abspath_altnamespace=/
  51161. + ;;
  51162. + /*)
  51163. + # Absolute path, do nothing.
  51164. + ;;
  51165. + *)
  51166. + # Relative path, prepend $cwd.
  51167. + func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
  51168. + ;;
  51169. esac
  51170. + # Cancel out all the simple stuff to save iterations. We also want
  51171. + # the path to end with a slash for ease of parsing, so make sure
  51172. + # there is one (and only one) here.
  51173. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
  51174. + -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"`
  51175. + while :; do
  51176. + # Processed it all yet?
  51177. + if test "$func_normal_abspath_tpath" = / ; then
  51178. + # If we ascended to the root using ".." the result may be empty now.
  51179. + if test -z "$func_normal_abspath_result" ; then
  51180. + func_normal_abspath_result=/
  51181. + fi
  51182. + break
  51183. + fi
  51184. + func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
  51185. + -e "$pathcar"`
  51186. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
  51187. + -e "$pathcdr"`
  51188. + # Figure out what to do with it
  51189. + case $func_normal_abspath_tcomponent in
  51190. + "")
  51191. + # Trailing empty path component, ignore it.
  51192. + ;;
  51193. + ..)
  51194. + # Parent dir; strip last assembled component from result.
  51195. + func_dirname "$func_normal_abspath_result"
  51196. + func_normal_abspath_result=$func_dirname_result
  51197. + ;;
  51198. + *)
  51199. + # Actual path component, append it.
  51200. + func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent
  51201. + ;;
  51202. + esac
  51203. + done
  51204. + # Restore leading double-slash if one was found on entry.
  51205. + func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
  51206. }
  51207. -# func_xform libobj-or-source
  51208. -func_xform ()
  51209. -{
  51210. - func_xform_result=${1%.*}.lo
  51211. -}
  51212. -
  51213. -# func_arith arithmetic-term...
  51214. -func_arith ()
  51215. -{
  51216. - func_arith_result=$(( $* ))
  51217. -}
  51218. -
  51219. -# func_len string
  51220. -# STRING may not start with a hyphen.
  51221. -func_len ()
  51222. -{
  51223. - func_len_result=${#1}
  51224. -}
  51225. +# func_relative_path SRCDIR DSTDIR
  51226. +# generates a relative path from SRCDIR to DSTDIR, with a trailing
  51227. +# slash if non-empty, suitable for immediately appending a filename
  51228. +# without needing to append a separator.
  51229. +# value returned in "$func_relative_path_result"
  51230. +func_relative_path ()
  51231. +{
  51232. + func_relative_path_result=
  51233. + func_normal_abspath "$1"
  51234. + func_relative_path_tlibdir=$func_normal_abspath_result
  51235. + func_normal_abspath "$2"
  51236. + func_relative_path_tbindir=$func_normal_abspath_result
  51237. +
  51238. + # Ascend the tree starting from libdir
  51239. + while :; do
  51240. + # check if we have found a prefix of bindir
  51241. + case $func_relative_path_tbindir in
  51242. + $func_relative_path_tlibdir)
  51243. + # found an exact match
  51244. + func_relative_path_tcancelled=
  51245. + break
  51246. + ;;
  51247. + $func_relative_path_tlibdir*)
  51248. + # found a matching prefix
  51249. + func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
  51250. + func_relative_path_tcancelled=$func_stripname_result
  51251. + if test -z "$func_relative_path_result"; then
  51252. + func_relative_path_result=.
  51253. + fi
  51254. + break
  51255. + ;;
  51256. + *)
  51257. + func_dirname $func_relative_path_tlibdir
  51258. + func_relative_path_tlibdir=${func_dirname_result}
  51259. + if test "x$func_relative_path_tlibdir" = x ; then
  51260. + # Have to descend all the way to the root!
  51261. + func_relative_path_result=../$func_relative_path_result
  51262. + func_relative_path_tcancelled=$func_relative_path_tbindir
  51263. + break
  51264. + fi
  51265. + func_relative_path_result=../$func_relative_path_result
  51266. + ;;
  51267. + esac
  51268. + done
  51269. + # Now calculate path; take care to avoid doubling-up slashes.
  51270. + func_stripname '' '/' "$func_relative_path_result"
  51271. + func_relative_path_result=$func_stripname_result
  51272. + func_stripname '/' '/' "$func_relative_path_tcancelled"
  51273. + if test "x$func_stripname_result" != x ; then
  51274. + func_relative_path_result=${func_relative_path_result}/${func_stripname_result}
  51275. + fi
  51276. -# func_append var value
  51277. -# Append VALUE to the end of shell variable VAR.
  51278. -func_append ()
  51279. -{
  51280. - eval "$1+=\$2"
  51281. + # Normalisation. If bindir is libdir, return empty string,
  51282. + # else relative path ending with a slash; either way, target
  51283. + # file name can be directly appended.
  51284. + if test ! -z "$func_relative_path_result"; then
  51285. + func_stripname './' '' "$func_relative_path_result/"
  51286. + func_relative_path_result=$func_stripname_result
  51287. + fi
  51288. }
  51289. -# Generated shell functions inserted here.
  51290. -
  51291. -# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
  51292. -# is ksh but when the shell is invoked as "sh" and the current value of
  51293. -# the _XPG environment variable is not equal to 1 (one), the special
  51294. -# positional parameter $0, within a function call, is the name of the
  51295. -# function.
  51296. -progpath="$0"
  51297. # The name of this program:
  51298. -# In the unlikely event $progname began with a '-', it would play havoc with
  51299. -# func_echo (imagine progname=-n), so we prepend ./ in that case:
  51300. func_dirname_and_basename "$progpath"
  51301. progname=$func_basename_result
  51302. -case $progname in
  51303. - -*) progname=./$progname ;;
  51304. -esac
  51305. # Make sure we have an absolute path for reexecution:
  51306. case $progpath in
  51307. @@ -750,7 +435,7 @@
  51308. # name if it has been set yet.
  51309. func_echo ()
  51310. {
  51311. - $ECHO "$progname${mode+: }$mode: $*"
  51312. + $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
  51313. }
  51314. # func_verbose arg...
  51315. @@ -765,18 +450,25 @@
  51316. :
  51317. }
  51318. +# func_echo_all arg...
  51319. +# Invoke $ECHO with all args, space-separated.
  51320. +func_echo_all ()
  51321. +{
  51322. + $ECHO "$*"
  51323. +}
  51324. +
  51325. # func_error arg...
  51326. # Echo program name prefixed message to standard error.
  51327. func_error ()
  51328. {
  51329. - $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
  51330. + $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
  51331. }
  51332. # func_warning arg...
  51333. # Echo program name prefixed warning message to standard error.
  51334. func_warning ()
  51335. {
  51336. - $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
  51337. + $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
  51338. # bash bug again:
  51339. :
  51340. @@ -833,9 +525,9 @@
  51341. case $my_directory_path in */*) ;; *) break ;; esac
  51342. # ...otherwise throw away the child directory and loop
  51343. - my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
  51344. + my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"`
  51345. done
  51346. - my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'`
  51347. + my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'`
  51348. save_mkdir_p_IFS="$IFS"; IFS=':'
  51349. for my_dir in $my_dir_list; do
  51350. @@ -885,7 +577,7 @@
  51351. func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
  51352. fi
  51353. - $ECHO "X$my_tmpdir" | $Xsed
  51354. + $ECHO "$my_tmpdir"
  51355. }
  51356. @@ -899,7 +591,7 @@
  51357. {
  51358. case $1 in
  51359. *[\\\`\"\$]*)
  51360. - func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;;
  51361. + func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;;
  51362. *)
  51363. func_quote_for_eval_unquoted_result="$1" ;;
  51364. esac
  51365. @@ -926,7 +618,7 @@
  51366. {
  51367. case $1 in
  51368. *[\\\`\"]*)
  51369. - my_arg=`$ECHO "X$1" | $Xsed \
  51370. + my_arg=`$ECHO "$1" | $SED \
  51371. -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
  51372. *)
  51373. my_arg="$1" ;;
  51374. @@ -995,15 +687,39 @@
  51375. fi
  51376. }
  51377. -
  51378. -
  51379. +# func_tr_sh
  51380. +# Turn $1 into a string suitable for a shell variable name.
  51381. +# Result is stored in $func_tr_sh_result. All characters
  51382. +# not in the set a-zA-Z0-9_ are replaced with '_'. Further,
  51383. +# if $1 begins with a digit, a '_' is prepended as well.
  51384. +func_tr_sh ()
  51385. +{
  51386. + case $1 in
  51387. + [0-9]* | *[!a-zA-Z0-9_]*)
  51388. + func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'`
  51389. + ;;
  51390. + * )
  51391. + func_tr_sh_result=$1
  51392. + ;;
  51393. + esac
  51394. +}
  51395. # func_version
  51396. # Echo version message to standard output and exit.
  51397. func_version ()
  51398. {
  51399. - $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
  51400. + $opt_debug
  51401. +
  51402. + $SED -n '/(C)/!b go
  51403. + :more
  51404. + /\./!{
  51405. + N
  51406. + s/\n# / /
  51407. + b more
  51408. + }
  51409. + :go
  51410. + /^# '$PROGRAM' (GNU /,/# warranty; / {
  51411. s/^# //
  51412. s/^# *$//
  51413. s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
  51414. @@ -1016,22 +732,28 @@
  51415. # Echo short help message to standard output and exit.
  51416. func_usage ()
  51417. {
  51418. - $SED -n '/^# Usage:/,/# -h/ {
  51419. + $opt_debug
  51420. +
  51421. + $SED -n '/^# Usage:/,/^# *.*--help/ {
  51422. s/^# //
  51423. s/^# *$//
  51424. s/\$progname/'$progname'/
  51425. p
  51426. }' < "$progpath"
  51427. - $ECHO
  51428. + echo
  51429. $ECHO "run \`$progname --help | more' for full usage"
  51430. exit $?
  51431. }
  51432. -# func_help
  51433. -# Echo long help message to standard output and exit.
  51434. +# func_help [NOEXIT]
  51435. +# Echo long help message to standard output and exit,
  51436. +# unless 'noexit' is passed as argument.
  51437. func_help ()
  51438. {
  51439. + $opt_debug
  51440. +
  51441. $SED -n '/^# Usage:/,/# Report bugs to/ {
  51442. + :print
  51443. s/^# //
  51444. s/^# *$//
  51445. s*\$progname*'$progname'*
  51446. @@ -1044,8 +766,15 @@
  51447. s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
  51448. s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
  51449. p
  51450. - }' < "$progpath"
  51451. - exit $?
  51452. + d
  51453. + }
  51454. + /^# .* home page:/b print
  51455. + /^# General help using/b print
  51456. + ' < "$progpath"
  51457. + ret=$?
  51458. + if test -z "$1"; then
  51459. + exit $ret
  51460. + fi
  51461. }
  51462. # func_missing_arg argname
  51463. @@ -1053,63 +782,105 @@
  51464. # exit_cmd.
  51465. func_missing_arg ()
  51466. {
  51467. - func_error "missing argument for $1"
  51468. + $opt_debug
  51469. +
  51470. + func_error "missing argument for $1."
  51471. exit_cmd=exit
  51472. }
  51473. +
  51474. +# func_split_short_opt shortopt
  51475. +# Set func_split_short_opt_name and func_split_short_opt_arg shell
  51476. +# variables after splitting SHORTOPT after the 2nd character.
  51477. +func_split_short_opt ()
  51478. +{
  51479. + my_sed_short_opt='1s/^\(..\).*$/\1/;q'
  51480. + my_sed_short_rest='1s/^..\(.*\)$/\1/;q'
  51481. +
  51482. + func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"`
  51483. + func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"`
  51484. +} # func_split_short_opt may be replaced by extended shell implementation
  51485. +
  51486. +
  51487. +# func_split_long_opt longopt
  51488. +# Set func_split_long_opt_name and func_split_long_opt_arg shell
  51489. +# variables after splitting LONGOPT at the `=' sign.
  51490. +func_split_long_opt ()
  51491. +{
  51492. + my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q'
  51493. + my_sed_long_arg='1s/^--[^=]*=//'
  51494. +
  51495. + func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"`
  51496. + func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"`
  51497. +} # func_split_long_opt may be replaced by extended shell implementation
  51498. +
  51499. exit_cmd=:
  51500. -# Check that we have a working $ECHO.
  51501. -if test "X$1" = X--no-reexec; then
  51502. - # Discard the --no-reexec flag, and continue.
  51503. - shift
  51504. -elif test "X$1" = X--fallback-echo; then
  51505. - # Avoid inline document here, it may be left over
  51506. - :
  51507. -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then
  51508. - # Yippee, $ECHO works!
  51509. - :
  51510. -else
  51511. - # Restart under the correct shell, and then maybe $ECHO will work.
  51512. - exec $SHELL "$progpath" --no-reexec ${1+"$@"}
  51513. -fi
  51514. -
  51515. -if test "X$1" = X--fallback-echo; then
  51516. - # used as fallback echo
  51517. - shift
  51518. - cat <<EOF
  51519. -$*
  51520. -EOF
  51521. - exit $EXIT_SUCCESS
  51522. -fi
  51523. -
  51524. magic="%%%MAGIC variable%%%"
  51525. magic_exe="%%%MAGIC EXE variable%%%"
  51526. # Global variables.
  51527. -# $mode is unset
  51528. nonopt=
  51529. -execute_dlfiles=
  51530. preserve_args=
  51531. lo2o="s/\\.lo\$/.${objext}/"
  51532. o2lo="s/\\.${objext}\$/.lo/"
  51533. extracted_archives=
  51534. extracted_serial=0
  51535. -opt_dry_run=false
  51536. -opt_duplicate_deps=false
  51537. -opt_silent=false
  51538. -opt_debug=:
  51539. -
  51540. # If this variable is set in any of the actions, the command in it
  51541. # will be execed at the end. This prevents here-documents from being
  51542. # left over by shells.
  51543. exec_cmd=
  51544. +# func_append var value
  51545. +# Append VALUE to the end of shell variable VAR.
  51546. +func_append ()
  51547. +{
  51548. + eval "${1}=\$${1}\${2}"
  51549. +} # func_append may be replaced by extended shell implementation
  51550. +
  51551. +# func_append_quoted var value
  51552. +# Quote VALUE and append to the end of shell variable VAR.
  51553. +func_append_quoted ()
  51554. +{
  51555. + func_quote_for_eval "${2}"
  51556. + eval "${1}=\$${1}\\ \$func_quote_for_eval_result"
  51557. +} # func_append_quoted may be replaced by extended shell implementation
  51558. +
  51559. +
  51560. +# func_arith arithmetic-term...
  51561. +func_arith ()
  51562. +{
  51563. + func_arith_result=`expr "${@}"`
  51564. +} # func_arith may be replaced by extended shell implementation
  51565. +
  51566. +
  51567. +# func_len string
  51568. +# STRING may not start with a hyphen.
  51569. +func_len ()
  51570. +{
  51571. + func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len`
  51572. +} # func_len may be replaced by extended shell implementation
  51573. +
  51574. +
  51575. +# func_lo2o object
  51576. +func_lo2o ()
  51577. +{
  51578. + func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
  51579. +} # func_lo2o may be replaced by extended shell implementation
  51580. +
  51581. +
  51582. +# func_xform libobj-or-source
  51583. +func_xform ()
  51584. +{
  51585. + func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'`
  51586. +} # func_xform may be replaced by extended shell implementation
  51587. +
  51588. +
  51589. # func_fatal_configuration arg...
  51590. # Echo program name prefixed message to standard error, followed by
  51591. # a configuration failure hint, and exit.
  51592. @@ -1143,16 +914,16 @@
  51593. # Display the features supported by this script.
  51594. func_features ()
  51595. {
  51596. - $ECHO "host: $host"
  51597. + echo "host: $host"
  51598. if test "$build_libtool_libs" = yes; then
  51599. - $ECHO "enable shared libraries"
  51600. + echo "enable shared libraries"
  51601. else
  51602. - $ECHO "disable shared libraries"
  51603. + echo "disable shared libraries"
  51604. fi
  51605. if test "$build_old_libs" = yes; then
  51606. - $ECHO "enable static libraries"
  51607. + echo "enable static libraries"
  51608. else
  51609. - $ECHO "disable static libraries"
  51610. + echo "disable static libraries"
  51611. fi
  51612. exit $?
  51613. @@ -1199,117 +970,201 @@
  51614. esac
  51615. }
  51616. -# Parse options once, thoroughly. This comes as soon as possible in
  51617. -# the script to make things like `libtool --version' happen quickly.
  51618. +# func_check_version_match
  51619. +# Ensure that we are using m4 macros, and libtool script from the same
  51620. +# release of libtool.
  51621. +func_check_version_match ()
  51622. {
  51623. + if test "$package_revision" != "$macro_revision"; then
  51624. + if test "$VERSION" != "$macro_version"; then
  51625. + if test -z "$macro_version"; then
  51626. + cat >&2 <<_LT_EOF
  51627. +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  51628. +$progname: definition of this LT_INIT comes from an older release.
  51629. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  51630. +$progname: and run autoconf again.
  51631. +_LT_EOF
  51632. + else
  51633. + cat >&2 <<_LT_EOF
  51634. +$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  51635. +$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
  51636. +$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  51637. +$progname: and run autoconf again.
  51638. +_LT_EOF
  51639. + fi
  51640. + else
  51641. + cat >&2 <<_LT_EOF
  51642. +$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
  51643. +$progname: but the definition of this LT_INIT comes from revision $macro_revision.
  51644. +$progname: You should recreate aclocal.m4 with macros from revision $package_revision
  51645. +$progname: of $PACKAGE $VERSION and run autoconf again.
  51646. +_LT_EOF
  51647. + fi
  51648. - # Shorthand for --mode=foo, only valid as the first argument
  51649. - case $1 in
  51650. - clean|clea|cle|cl)
  51651. - shift; set dummy --mode clean ${1+"$@"}; shift
  51652. - ;;
  51653. - compile|compil|compi|comp|com|co|c)
  51654. - shift; set dummy --mode compile ${1+"$@"}; shift
  51655. - ;;
  51656. - execute|execut|execu|exec|exe|ex|e)
  51657. - shift; set dummy --mode execute ${1+"$@"}; shift
  51658. - ;;
  51659. - finish|finis|fini|fin|fi|f)
  51660. - shift; set dummy --mode finish ${1+"$@"}; shift
  51661. - ;;
  51662. - install|instal|insta|inst|ins|in|i)
  51663. - shift; set dummy --mode install ${1+"$@"}; shift
  51664. - ;;
  51665. - link|lin|li|l)
  51666. - shift; set dummy --mode link ${1+"$@"}; shift
  51667. - ;;
  51668. - uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
  51669. - shift; set dummy --mode uninstall ${1+"$@"}; shift
  51670. - ;;
  51671. - esac
  51672. + exit $EXIT_MISMATCH
  51673. + fi
  51674. +}
  51675. - # Parse non-mode specific arguments:
  51676. - while test "$#" -gt 0; do
  51677. +
  51678. +# Shorthand for --mode=foo, only valid as the first argument
  51679. +case $1 in
  51680. +clean|clea|cle|cl)
  51681. + shift; set dummy --mode clean ${1+"$@"}; shift
  51682. + ;;
  51683. +compile|compil|compi|comp|com|co|c)
  51684. + shift; set dummy --mode compile ${1+"$@"}; shift
  51685. + ;;
  51686. +execute|execut|execu|exec|exe|ex|e)
  51687. + shift; set dummy --mode execute ${1+"$@"}; shift
  51688. + ;;
  51689. +finish|finis|fini|fin|fi|f)
  51690. + shift; set dummy --mode finish ${1+"$@"}; shift
  51691. + ;;
  51692. +install|instal|insta|inst|ins|in|i)
  51693. + shift; set dummy --mode install ${1+"$@"}; shift
  51694. + ;;
  51695. +link|lin|li|l)
  51696. + shift; set dummy --mode link ${1+"$@"}; shift
  51697. + ;;
  51698. +uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
  51699. + shift; set dummy --mode uninstall ${1+"$@"}; shift
  51700. + ;;
  51701. +esac
  51702. +
  51703. +
  51704. +
  51705. +# Option defaults:
  51706. +opt_debug=:
  51707. +opt_dry_run=false
  51708. +opt_config=false
  51709. +opt_preserve_dup_deps=false
  51710. +opt_features=false
  51711. +opt_finish=false
  51712. +opt_help=false
  51713. +opt_help_all=false
  51714. +opt_silent=:
  51715. +opt_verbose=:
  51716. +opt_silent=false
  51717. +opt_verbose=false
  51718. +
  51719. +
  51720. +# Parse options once, thoroughly. This comes as soon as possible in the
  51721. +# script to make things like `--version' happen as quickly as we can.
  51722. +{
  51723. + # this just eases exit handling
  51724. + while test $# -gt 0; do
  51725. opt="$1"
  51726. shift
  51727. -
  51728. case $opt in
  51729. - --config) func_config ;;
  51730. -
  51731. - --debug) preserve_args="$preserve_args $opt"
  51732. + --debug|-x) opt_debug='set -x'
  51733. func_echo "enabling shell trace mode"
  51734. - opt_debug='set -x'
  51735. $opt_debug
  51736. ;;
  51737. -
  51738. - -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break
  51739. - execute_dlfiles="$execute_dlfiles $1"
  51740. - shift
  51741. + --dry-run|--dryrun|-n)
  51742. + opt_dry_run=:
  51743. ;;
  51744. -
  51745. - --dry-run | -n) opt_dry_run=: ;;
  51746. - --features) func_features ;;
  51747. - --finish) mode="finish" ;;
  51748. -
  51749. - --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break
  51750. - case $1 in
  51751. - # Valid mode arguments:
  51752. - clean) ;;
  51753. - compile) ;;
  51754. - execute) ;;
  51755. - finish) ;;
  51756. - install) ;;
  51757. - link) ;;
  51758. - relink) ;;
  51759. - uninstall) ;;
  51760. -
  51761. - # Catch anything else as an error
  51762. - *) func_error "invalid argument for $opt"
  51763. - exit_cmd=exit
  51764. - break
  51765. - ;;
  51766. - esac
  51767. -
  51768. - mode="$1"
  51769. + --config)
  51770. + opt_config=:
  51771. +func_config
  51772. + ;;
  51773. + --dlopen|-dlopen)
  51774. + optarg="$1"
  51775. + opt_dlopen="${opt_dlopen+$opt_dlopen
  51776. +}$optarg"
  51777. shift
  51778. ;;
  51779. -
  51780. --preserve-dup-deps)
  51781. - opt_duplicate_deps=: ;;
  51782. -
  51783. - --quiet|--silent) preserve_args="$preserve_args $opt"
  51784. - opt_silent=:
  51785. + opt_preserve_dup_deps=:
  51786. ;;
  51787. -
  51788. - --verbose| -v) preserve_args="$preserve_args $opt"
  51789. + --features)
  51790. + opt_features=:
  51791. +func_features
  51792. + ;;
  51793. + --finish)
  51794. + opt_finish=:
  51795. +set dummy --mode finish ${1+"$@"}; shift
  51796. + ;;
  51797. + --help)
  51798. + opt_help=:
  51799. + ;;
  51800. + --help-all)
  51801. + opt_help_all=:
  51802. +opt_help=': help-all'
  51803. + ;;
  51804. + --mode)
  51805. + test $# = 0 && func_missing_arg $opt && break
  51806. + optarg="$1"
  51807. + opt_mode="$optarg"
  51808. +case $optarg in
  51809. + # Valid mode arguments:
  51810. + clean|compile|execute|finish|install|link|relink|uninstall) ;;
  51811. +
  51812. + # Catch anything else as an error
  51813. + *) func_error "invalid argument for $opt"
  51814. + exit_cmd=exit
  51815. + break
  51816. + ;;
  51817. +esac
  51818. + shift
  51819. + ;;
  51820. + --no-silent|--no-quiet)
  51821. opt_silent=false
  51822. +func_append preserve_args " $opt"
  51823. ;;
  51824. -
  51825. - --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
  51826. - preserve_args="$preserve_args $opt $1"
  51827. - func_enable_tag "$1" # tagname is set here
  51828. + --no-verbose)
  51829. + opt_verbose=false
  51830. +func_append preserve_args " $opt"
  51831. + ;;
  51832. + --silent|--quiet)
  51833. + opt_silent=:
  51834. +func_append preserve_args " $opt"
  51835. + opt_verbose=false
  51836. + ;;
  51837. + --verbose|-v)
  51838. + opt_verbose=:
  51839. +func_append preserve_args " $opt"
  51840. +opt_silent=false
  51841. + ;;
  51842. + --tag)
  51843. + test $# = 0 && func_missing_arg $opt && break
  51844. + optarg="$1"
  51845. + opt_tag="$optarg"
  51846. +func_append preserve_args " $opt $optarg"
  51847. +func_enable_tag "$optarg"
  51848. shift
  51849. ;;
  51850. + -\?|-h) func_usage ;;
  51851. + --help) func_help ;;
  51852. + --version) func_version ;;
  51853. +
  51854. # Separate optargs to long options:
  51855. - -dlopen=*|--mode=*|--tag=*)
  51856. - func_opt_split "$opt"
  51857. - set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
  51858. + --*=*)
  51859. + func_split_long_opt "$opt"
  51860. + set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"}
  51861. shift
  51862. ;;
  51863. - -\?|-h) func_usage ;;
  51864. - --help) opt_help=: ;;
  51865. - --version) func_version ;;
  51866. -
  51867. - -*) func_fatal_help "unrecognized option \`$opt'" ;;
  51868. -
  51869. - *) nonopt="$opt"
  51870. - break
  51871. + # Separate non-argument short options:
  51872. + -\?*|-h*|-n*|-v*)
  51873. + func_split_short_opt "$opt"
  51874. + set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"}
  51875. + shift
  51876. ;;
  51877. +
  51878. + --) break ;;
  51879. + -*) func_fatal_help "unrecognized option \`$opt'" ;;
  51880. + *) set dummy "$opt" ${1+"$@"}; shift; break ;;
  51881. esac
  51882. done
  51883. + # Validate options:
  51884. +
  51885. + # save first non-option argument
  51886. + nonopt="$opt"; shift
  51887. +
  51888. + # preserve --debug
  51889. + $opt_debug && func_append preserve_args " --debug"
  51890. case $host in
  51891. *cygwin* | *mingw* | *pw32* | *cegcc*)
  51892. @@ -1317,82 +1172,46 @@
  51893. opt_duplicate_compiler_generated_deps=:
  51894. ;;
  51895. *)
  51896. - opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
  51897. + opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
  51898. ;;
  51899. esac
  51900. - # Having warned about all mis-specified options, bail out if
  51901. - # anything was wrong.
  51902. - $exit_cmd $EXIT_FAILURE
  51903. -}
  51904. + $opt_help || {
  51905. + # Sanity checks first:
  51906. + func_check_version_match
  51907. -# func_check_version_match
  51908. -# Ensure that we are using m4 macros, and libtool script from the same
  51909. -# release of libtool.
  51910. -func_check_version_match ()
  51911. -{
  51912. - if test "$package_revision" != "$macro_revision"; then
  51913. - if test "$VERSION" != "$macro_version"; then
  51914. - if test -z "$macro_version"; then
  51915. - cat >&2 <<_LT_EOF
  51916. -$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  51917. -$progname: definition of this LT_INIT comes from an older release.
  51918. -$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  51919. -$progname: and run autoconf again.
  51920. -_LT_EOF
  51921. - else
  51922. - cat >&2 <<_LT_EOF
  51923. -$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
  51924. -$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
  51925. -$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
  51926. -$progname: and run autoconf again.
  51927. -_LT_EOF
  51928. - fi
  51929. - else
  51930. - cat >&2 <<_LT_EOF
  51931. -$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
  51932. -$progname: but the definition of this LT_INIT comes from revision $macro_revision.
  51933. -$progname: You should recreate aclocal.m4 with macros from revision $package_revision
  51934. -$progname: of $PACKAGE $VERSION and run autoconf again.
  51935. -_LT_EOF
  51936. + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  51937. + func_fatal_configuration "not configured to build any kind of library"
  51938. fi
  51939. - exit $EXIT_MISMATCH
  51940. - fi
  51941. -}
  51942. -
  51943. + test -z "$opt_mode" && func_fatal_error "error: you must specify a MODE."
  51944. -## ----------- ##
  51945. -## Main. ##
  51946. -## ----------- ##
  51947. -
  51948. -$opt_help || {
  51949. - # Sanity checks first:
  51950. - func_check_version_match
  51951. + # Darwin sucks
  51952. + eval std_shrext=\"$shrext_cmds\"
  51953. - if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
  51954. - func_fatal_configuration "not configured to build any kind of library"
  51955. - fi
  51956. + # Only execute mode is allowed to have -dlopen flags.
  51957. + if test -n "$opt_dlopen" && test "$opt_mode" != execute; then
  51958. + func_error "unrecognized option \`-dlopen'"
  51959. + $ECHO "$help" 1>&2
  51960. + exit $EXIT_FAILURE
  51961. + fi
  51962. - test -z "$mode" && func_fatal_error "error: you must specify a MODE."
  51963. + # Change the help message to a mode-specific one.
  51964. + generic_help="$help"
  51965. + help="Try \`$progname --help --mode=$opt_mode' for more information."
  51966. + }
  51967. - # Darwin sucks
  51968. - eval std_shrext=\"$shrext_cmds\"
  51969. + # Bail if the options were screwed
  51970. + $exit_cmd $EXIT_FAILURE
  51971. +}
  51972. - # Only execute mode is allowed to have -dlopen flags.
  51973. - if test -n "$execute_dlfiles" && test "$mode" != execute; then
  51974. - func_error "unrecognized option \`-dlopen'"
  51975. - $ECHO "$help" 1>&2
  51976. - exit $EXIT_FAILURE
  51977. - fi
  51978. - # Change the help message to a mode-specific one.
  51979. - generic_help="$help"
  51980. - help="Try \`$progname --help --mode=$mode' for more information."
  51981. -}
  51982. +## ----------- ##
  51983. +## Main. ##
  51984. +## ----------- ##
  51985. # func_lalib_p file
  51986. # True iff FILE is a libtool `.la' library or `.lo' object file.
  51987. @@ -1457,12 +1276,9 @@
  51988. # temporary ltwrapper_script.
  51989. func_ltwrapper_scriptname ()
  51990. {
  51991. - func_ltwrapper_scriptname_result=""
  51992. - if func_ltwrapper_executable_p "$1"; then
  51993. - func_dirname_and_basename "$1" "" "."
  51994. - func_stripname '' '.exe' "$func_basename_result"
  51995. - func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
  51996. - fi
  51997. + func_dirname_and_basename "$1" "" "."
  51998. + func_stripname '' '.exe' "$func_basename_result"
  51999. + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
  52000. }
  52001. # func_ltwrapper_p file
  52002. @@ -1520,13 +1336,15 @@
  52003. if test -n "$available_tags" && test -z "$tagname"; then
  52004. CC_quoted=
  52005. for arg in $CC; do
  52006. - func_quote_for_eval "$arg"
  52007. - CC_quoted="$CC_quoted $func_quote_for_eval_result"
  52008. + func_append_quoted CC_quoted "$arg"
  52009. done
  52010. + CC_expanded=`func_echo_all $CC`
  52011. + CC_quoted_expanded=`func_echo_all $CC_quoted`
  52012. case $@ in
  52013. # Blanks in the command may have been stripped by the calling shell,
  52014. # but not from the CC environment variable when configure was run.
  52015. - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;;
  52016. + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
  52017. + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;;
  52018. # Blanks at the start of $base_compile will cause this to fail
  52019. # if we don't check for them as well.
  52020. *)
  52021. @@ -1537,11 +1355,13 @@
  52022. CC_quoted=
  52023. for arg in $CC; do
  52024. # Double-quote args containing other shell metacharacters.
  52025. - func_quote_for_eval "$arg"
  52026. - CC_quoted="$CC_quoted $func_quote_for_eval_result"
  52027. + func_append_quoted CC_quoted "$arg"
  52028. done
  52029. + CC_expanded=`func_echo_all $CC`
  52030. + CC_quoted_expanded=`func_echo_all $CC_quoted`
  52031. case "$@ " in
  52032. - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*)
  52033. + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \
  52034. + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*)
  52035. # The compiler in the base compile command matches
  52036. # the one in the tagged configuration.
  52037. # Assume this is the tagged configuration we want.
  52038. @@ -1644,12 +1464,12 @@
  52039. ;;
  52040. -pie | -fpie | -fPIE)
  52041. - pie_flag="$pie_flag $arg"
  52042. + func_append pie_flag " $arg"
  52043. continue
  52044. ;;
  52045. -shared | -static | -prefer-pic | -prefer-non-pic)
  52046. - later="$later $arg"
  52047. + func_append later " $arg"
  52048. continue
  52049. ;;
  52050. @@ -1670,15 +1490,14 @@
  52051. save_ifs="$IFS"; IFS=','
  52052. for arg in $args; do
  52053. IFS="$save_ifs"
  52054. - func_quote_for_eval "$arg"
  52055. - lastarg="$lastarg $func_quote_for_eval_result"
  52056. + func_append_quoted lastarg " $arg"
  52057. done
  52058. IFS="$save_ifs"
  52059. func_stripname ' ' '' "$lastarg"
  52060. lastarg=$func_stripname_result
  52061. # Add the arguments to base_compile.
  52062. - base_compile="$base_compile $lastarg"
  52063. + func_append base_compile " $lastarg"
  52064. continue
  52065. ;;
  52066. @@ -1694,8 +1513,7 @@
  52067. esac # case $arg_mode
  52068. # Aesthetically quote the previous argument.
  52069. - func_quote_for_eval "$lastarg"
  52070. - base_compile="$base_compile $func_quote_for_eval_result"
  52071. + func_append_quoted base_compile "$lastarg"
  52072. done # for arg
  52073. case $arg_mode in
  52074. @@ -1720,7 +1538,7 @@
  52075. *.[cCFSifmso] | \
  52076. *.ada | *.adb | *.ads | *.asm | \
  52077. *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
  52078. - *.[fF][09]? | *.for | *.java | *.obj | *.sx)
  52079. + *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)
  52080. func_xform "$libobj"
  52081. libobj=$func_xform_result
  52082. ;;
  52083. @@ -1795,7 +1613,7 @@
  52084. # Calculate the filename of the output object if compiler does
  52085. # not support -o with -c
  52086. if test "$compiler_c_o" = no; then
  52087. - output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
  52088. + output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext}
  52089. lockfile="$output_obj.lock"
  52090. else
  52091. output_obj=
  52092. @@ -1826,12 +1644,12 @@
  52093. $opt_dry_run || $RM $removelist
  52094. exit $EXIT_FAILURE
  52095. fi
  52096. - removelist="$removelist $output_obj"
  52097. + func_append removelist " $output_obj"
  52098. $ECHO "$srcfile" > "$lockfile"
  52099. fi
  52100. $opt_dry_run || $RM $removelist
  52101. - removelist="$removelist $lockfile"
  52102. + func_append removelist " $lockfile"
  52103. trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
  52104. if test -n "$fix_srcfile_path"; then
  52105. @@ -1856,7 +1674,7 @@
  52106. if test -z "$output_obj"; then
  52107. # Place PIC objects in $objdir
  52108. - command="$command -o $lobj"
  52109. + func_append command " -o $lobj"
  52110. fi
  52111. func_show_eval_locale "$command" \
  52112. @@ -1903,11 +1721,11 @@
  52113. command="$base_compile $qsrcfile $pic_flag"
  52114. fi
  52115. if test "$compiler_c_o" = yes; then
  52116. - command="$command -o $obj"
  52117. + func_append command " -o $obj"
  52118. fi
  52119. # Suppress compiler output if we already did a PIC compilation.
  52120. - command="$command$suppress_output"
  52121. + func_append command "$suppress_output"
  52122. func_show_eval_locale "$command" \
  52123. '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
  52124. @@ -1952,13 +1770,13 @@
  52125. }
  52126. $opt_help || {
  52127. -test "$mode" = compile && func_mode_compile ${1+"$@"}
  52128. + test "$opt_mode" = compile && func_mode_compile ${1+"$@"}
  52129. }
  52130. func_mode_help ()
  52131. {
  52132. # We need to display help for each of the modes.
  52133. - case $mode in
  52134. + case $opt_mode in
  52135. "")
  52136. # Generic help is extracted from the usage comments
  52137. # at the start of this file.
  52138. @@ -1989,10 +1807,11 @@
  52139. -o OUTPUT-FILE set the output file name to OUTPUT-FILE
  52140. -no-suppress do not suppress compiler output for multiple passes
  52141. - -prefer-pic try to building PIC objects only
  52142. - -prefer-non-pic try to building non-PIC objects only
  52143. + -prefer-pic try to build PIC objects only
  52144. + -prefer-non-pic try to build non-PIC objects only
  52145. -shared do not build a \`.o' file suitable for static linking
  52146. -static only build a \`.o' file suitable for static linking
  52147. + -Wc,FLAG pass FLAG directly to the compiler
  52148. COMPILE-COMMAND is a command to be used in creating a \`standard' object file
  52149. from the given SOURCEFILE.
  52150. @@ -2045,7 +1864,7 @@
  52151. The following components of INSTALL-COMMAND are treated specially:
  52152. - -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation
  52153. + -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation
  52154. The rest of the components are interpreted as arguments to that command (only
  52155. BSD-compatible install options are recognized)."
  52156. @@ -2065,6 +1884,8 @@
  52157. -all-static do not do any dynamic linking at all
  52158. -avoid-version do not add a version suffix if possible
  52159. + -bindir BINDIR specify path to binaries directory (for systems where
  52160. + libraries must be found in the PATH setting at runtime)
  52161. -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
  52162. -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
  52163. -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
  52164. @@ -2093,6 +1914,11 @@
  52165. -version-info CURRENT[:REVISION[:AGE]]
  52166. specify library version info [each variable defaults to 0]
  52167. -weak LIBNAME declare that the target provides the LIBNAME interface
  52168. + -Wc,FLAG
  52169. + -Xcompiler FLAG pass linker-specific FLAG directly to the compiler
  52170. + -Wl,FLAG
  52171. + -Xlinker FLAG pass linker-specific FLAG directly to the linker
  52172. + -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
  52173. All other options (arguments beginning with \`-') are ignored.
  52174. @@ -2126,18 +1952,44 @@
  52175. ;;
  52176. *)
  52177. - func_fatal_help "invalid operation mode \`$mode'"
  52178. + func_fatal_help "invalid operation mode \`$opt_mode'"
  52179. ;;
  52180. esac
  52181. - $ECHO
  52182. + echo
  52183. $ECHO "Try \`$progname --help' for more information about other modes."
  52184. -
  52185. - exit $?
  52186. }
  52187. - # Now that we've collected a possible --mode arg, show help if necessary
  52188. - $opt_help && func_mode_help
  52189. +# Now that we've collected a possible --mode arg, show help if necessary
  52190. +if $opt_help; then
  52191. + if test "$opt_help" = :; then
  52192. + func_mode_help
  52193. + else
  52194. + {
  52195. + func_help noexit
  52196. + for opt_mode in compile link execute install finish uninstall clean; do
  52197. + func_mode_help
  52198. + done
  52199. + } | sed -n '1p; 2,$s/^Usage:/ or: /p'
  52200. + {
  52201. + func_help noexit
  52202. + for opt_mode in compile link execute install finish uninstall clean; do
  52203. + echo
  52204. + func_mode_help
  52205. + done
  52206. + } |
  52207. + sed '1d
  52208. + /^When reporting/,/^Report/{
  52209. + H
  52210. + d
  52211. + }
  52212. + $x
  52213. + /information about other modes/d
  52214. + /more detailed .*MODE/d
  52215. + s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/'
  52216. + fi
  52217. + exit $?
  52218. +fi
  52219. # func_mode_execute arg...
  52220. @@ -2150,7 +2002,7 @@
  52221. func_fatal_help "you must specify a COMMAND"
  52222. # Handle -dlopen flags immediately.
  52223. - for file in $execute_dlfiles; do
  52224. + for file in $opt_dlopen; do
  52225. test -f "$file" \
  52226. || func_fatal_help "\`$file' is not a file"
  52227. @@ -2178,7 +2030,7 @@
  52228. dir="$func_dirname_result"
  52229. if test -f "$dir/$objdir/$dlname"; then
  52230. - dir="$dir/$objdir"
  52231. + func_append dir "/$objdir"
  52232. else
  52233. if test ! -f "$dir/$dlname"; then
  52234. func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
  52235. @@ -2219,7 +2071,7 @@
  52236. for file
  52237. do
  52238. case $file in
  52239. - -*) ;;
  52240. + -* | *.la | *.lo ) ;;
  52241. *)
  52242. # Do a test to see if this is really a libtool program.
  52243. if func_ltwrapper_script_p "$file"; then
  52244. @@ -2235,8 +2087,7 @@
  52245. ;;
  52246. esac
  52247. # Quote arguments (to preserve shell metacharacters).
  52248. - func_quote_for_eval "$file"
  52249. - args="$args $func_quote_for_eval_result"
  52250. + func_append_quoted args "$file"
  52251. done
  52252. if test "X$opt_dry_run" = Xfalse; then
  52253. @@ -2261,14 +2112,14 @@
  52254. # Display what would be done.
  52255. if test -n "$shlibpath_var"; then
  52256. eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
  52257. - $ECHO "export $shlibpath_var"
  52258. + echo "export $shlibpath_var"
  52259. fi
  52260. $ECHO "$cmd$args"
  52261. exit $EXIT_SUCCESS
  52262. fi
  52263. }
  52264. -test "$mode" = execute && func_mode_execute ${1+"$@"}
  52265. +test "$opt_mode" = execute && func_mode_execute ${1+"$@"}
  52266. # func_mode_finish arg...
  52267. @@ -2281,7 +2132,7 @@
  52268. if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
  52269. for dir
  52270. do
  52271. - libdirs="$libdirs $dir"
  52272. + func_append libdirs " $dir"
  52273. done
  52274. for libdir in $libdirs; do
  52275. @@ -2293,7 +2144,7 @@
  52276. if test -n "$finish_eval"; then
  52277. # Do the single finish_eval.
  52278. eval cmds=\"$finish_eval\"
  52279. - $opt_dry_run || eval "$cmds" || admincmds="$admincmds
  52280. + $opt_dry_run || eval "$cmds" || func_append admincmds "
  52281. $cmds"
  52282. fi
  52283. done
  52284. @@ -2302,23 +2153,23 @@
  52285. # Exit here if they wanted silent mode.
  52286. $opt_silent && exit $EXIT_SUCCESS
  52287. - $ECHO "X----------------------------------------------------------------------" | $Xsed
  52288. - $ECHO "Libraries have been installed in:"
  52289. + echo "----------------------------------------------------------------------"
  52290. + echo "Libraries have been installed in:"
  52291. for libdir in $libdirs; do
  52292. $ECHO " $libdir"
  52293. done
  52294. - $ECHO
  52295. - $ECHO "If you ever happen to want to link against installed libraries"
  52296. - $ECHO "in a given directory, LIBDIR, you must either use libtool, and"
  52297. - $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'"
  52298. - $ECHO "flag during linking and do at least one of the following:"
  52299. + echo
  52300. + echo "If you ever happen to want to link against installed libraries"
  52301. + echo "in a given directory, LIBDIR, you must either use libtool, and"
  52302. + echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
  52303. + echo "flag during linking and do at least one of the following:"
  52304. if test -n "$shlibpath_var"; then
  52305. - $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable"
  52306. - $ECHO " during execution"
  52307. + echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
  52308. + echo " during execution"
  52309. fi
  52310. if test -n "$runpath_var"; then
  52311. - $ECHO " - add LIBDIR to the \`$runpath_var' environment variable"
  52312. - $ECHO " during linking"
  52313. + echo " - add LIBDIR to the \`$runpath_var' environment variable"
  52314. + echo " during linking"
  52315. fi
  52316. if test -n "$hardcode_libdir_flag_spec"; then
  52317. libdir=LIBDIR
  52318. @@ -2330,25 +2181,25 @@
  52319. $ECHO " - have your system administrator run these commands:$admincmds"
  52320. fi
  52321. if test -f /etc/ld.so.conf; then
  52322. - $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  52323. + echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
  52324. fi
  52325. - $ECHO
  52326. + echo
  52327. - $ECHO "See any operating system documentation about shared libraries for"
  52328. + echo "See any operating system documentation about shared libraries for"
  52329. case $host in
  52330. solaris2.[6789]|solaris2.1[0-9])
  52331. - $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual"
  52332. - $ECHO "pages."
  52333. + echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
  52334. + echo "pages."
  52335. ;;
  52336. *)
  52337. - $ECHO "more information, such as the ld(1) and ld.so(8) manual pages."
  52338. + echo "more information, such as the ld(1) and ld.so(8) manual pages."
  52339. ;;
  52340. esac
  52341. - $ECHO "X----------------------------------------------------------------------" | $Xsed
  52342. + echo "----------------------------------------------------------------------"
  52343. exit $EXIT_SUCCESS
  52344. }
  52345. -test "$mode" = finish && func_mode_finish ${1+"$@"}
  52346. +test "$opt_mode" = finish && func_mode_finish ${1+"$@"}
  52347. # func_mode_install arg...
  52348. @@ -2359,7 +2210,7 @@
  52349. # install_prog (especially on Windows NT).
  52350. if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
  52351. # Allow the use of GNU shtool's install command.
  52352. - $ECHO "X$nonopt" | $GREP shtool >/dev/null; then
  52353. + case $nonopt in *shtool*) :;; *) false;; esac; then
  52354. # Aesthetically quote it.
  52355. func_quote_for_eval "$nonopt"
  52356. install_prog="$func_quote_for_eval_result "
  52357. @@ -2373,7 +2224,12 @@
  52358. # The real first argument should be the name of the installation program.
  52359. # Aesthetically quote it.
  52360. func_quote_for_eval "$arg"
  52361. - install_prog="$install_prog$func_quote_for_eval_result"
  52362. + func_append install_prog "$func_quote_for_eval_result"
  52363. + install_shared_prog=$install_prog
  52364. + case " $install_prog " in
  52365. + *[\\\ /]cp\ *) install_cp=: ;;
  52366. + *) install_cp=false ;;
  52367. + esac
  52368. # We need to accept at least all the BSD install flags.
  52369. dest=
  52370. @@ -2383,10 +2239,12 @@
  52371. install_type=
  52372. isdir=no
  52373. stripme=
  52374. + no_mode=:
  52375. for arg
  52376. do
  52377. + arg2=
  52378. if test -n "$dest"; then
  52379. - files="$files $dest"
  52380. + func_append files " $dest"
  52381. dest=$arg
  52382. continue
  52383. fi
  52384. @@ -2394,10 +2252,9 @@
  52385. case $arg in
  52386. -d) isdir=yes ;;
  52387. -f)
  52388. - case " $install_prog " in
  52389. - *[\\\ /]cp\ *) ;;
  52390. - *) prev=$arg ;;
  52391. - esac
  52392. + if $install_cp; then :; else
  52393. + prev=$arg
  52394. + fi
  52395. ;;
  52396. -g | -m | -o)
  52397. prev=$arg
  52398. @@ -2411,6 +2268,10 @@
  52399. *)
  52400. # If the previous option needed an argument, then skip it.
  52401. if test -n "$prev"; then
  52402. + if test "x$prev" = x-m && test -n "$install_override_mode"; then
  52403. + arg2=$install_override_mode
  52404. + no_mode=false
  52405. + fi
  52406. prev=
  52407. else
  52408. dest=$arg
  52409. @@ -2421,7 +2282,11 @@
  52410. # Aesthetically quote the argument.
  52411. func_quote_for_eval "$arg"
  52412. - install_prog="$install_prog $func_quote_for_eval_result"
  52413. + func_append install_prog " $func_quote_for_eval_result"
  52414. + if test -n "$arg2"; then
  52415. + func_quote_for_eval "$arg2"
  52416. + fi
  52417. + func_append install_shared_prog " $func_quote_for_eval_result"
  52418. done
  52419. test -z "$install_prog" && \
  52420. @@ -2430,6 +2295,13 @@
  52421. test -n "$prev" && \
  52422. func_fatal_help "the \`$prev' option requires an argument"
  52423. + if test -n "$install_override_mode" && $no_mode; then
  52424. + if $install_cp; then :; else
  52425. + func_quote_for_eval "$install_override_mode"
  52426. + func_append install_shared_prog " -m $func_quote_for_eval_result"
  52427. + fi
  52428. + fi
  52429. +
  52430. if test -z "$files"; then
  52431. if test -z "$dest"; then
  52432. func_fatal_help "no file or destination specified"
  52433. @@ -2484,7 +2356,7 @@
  52434. case $file in
  52435. *.$libext)
  52436. # Do the static libraries later.
  52437. - staticlibs="$staticlibs $file"
  52438. + func_append staticlibs " $file"
  52439. ;;
  52440. *.la)
  52441. @@ -2501,23 +2373,23 @@
  52442. if test "X$destdir" = "X$libdir"; then
  52443. case "$current_libdirs " in
  52444. *" $libdir "*) ;;
  52445. - *) current_libdirs="$current_libdirs $libdir" ;;
  52446. + *) func_append current_libdirs " $libdir" ;;
  52447. esac
  52448. else
  52449. # Note the libdir as a future libdir.
  52450. case "$future_libdirs " in
  52451. *" $libdir "*) ;;
  52452. - *) future_libdirs="$future_libdirs $libdir" ;;
  52453. + *) func_append future_libdirs " $libdir" ;;
  52454. esac
  52455. fi
  52456. func_dirname "$file" "/" ""
  52457. dir="$func_dirname_result"
  52458. - dir="$dir$objdir"
  52459. + func_append dir "$objdir"
  52460. if test -n "$relink_command"; then
  52461. # Determine the prefix the user has applied to our future dir.
  52462. - inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
  52463. + inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
  52464. # Don't allow the user to place us outside of our expected
  52465. # location b/c this prevents finding dependent libraries that
  52466. @@ -2530,9 +2402,9 @@
  52467. if test -n "$inst_prefix_dir"; then
  52468. # Stick the inst_prefix_dir data into the link command.
  52469. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  52470. + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
  52471. else
  52472. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"`
  52473. + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
  52474. fi
  52475. func_warning "relinking \`$file'"
  52476. @@ -2550,7 +2422,7 @@
  52477. test -n "$relink_command" && srcname="$realname"T
  52478. # Install the shared library and build the symlinks.
  52479. - func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \
  52480. + func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
  52481. 'exit $?'
  52482. tstripme="$stripme"
  52483. case $host_os in
  52484. @@ -2590,7 +2462,7 @@
  52485. func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
  52486. # Maybe install the static library, too.
  52487. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
  52488. + test -n "$old_library" && func_append staticlibs " $dir/$old_library"
  52489. ;;
  52490. *.lo)
  52491. @@ -2690,7 +2562,7 @@
  52492. if test -f "$lib"; then
  52493. func_source "$lib"
  52494. fi
  52495. - libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
  52496. + libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test
  52497. if test -n "$libdir" && test ! -f "$libfile"; then
  52498. func_warning "\`$lib' has not been installed in \`$libdir'"
  52499. finalize=no
  52500. @@ -2709,7 +2581,7 @@
  52501. file="$func_basename_result"
  52502. outputname="$tmpdir/$file"
  52503. # Replace the output file specification.
  52504. - relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
  52505. + relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
  52506. $opt_silent || {
  52507. func_quote_for_expand "$relink_command"
  52508. @@ -2728,7 +2600,7 @@
  52509. }
  52510. else
  52511. # Install the binary that we compiled earlier.
  52512. - file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
  52513. + file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"`
  52514. fi
  52515. fi
  52516. @@ -2787,7 +2659,7 @@
  52517. fi
  52518. }
  52519. -test "$mode" = install && func_mode_install ${1+"$@"}
  52520. +test "$opt_mode" = install && func_mode_install ${1+"$@"}
  52521. # func_generate_dlsyms outputname originator pic_p
  52522. @@ -2830,6 +2702,10 @@
  52523. extern \"C\" {
  52524. #endif
  52525. +#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
  52526. +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
  52527. +#endif
  52528. +
  52529. /* External symbol declarations for the compiler. */\
  52530. "
  52531. @@ -2839,7 +2715,7 @@
  52532. $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
  52533. # Add our own program objects to the symbol list.
  52534. - progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  52535. + progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
  52536. for progfile in $progfiles; do
  52537. func_verbose "extracting global C symbols from \`$progfile'"
  52538. $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
  52539. @@ -2878,7 +2754,7 @@
  52540. eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
  52541. eval '$MV "$nlist"T "$nlist"'
  52542. case $host in
  52543. - *cygwin | *mingw* | *cegcc* )
  52544. + *cygwin* | *mingw* | *cegcc* )
  52545. eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
  52546. eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
  52547. ;;
  52548. @@ -2891,10 +2767,49 @@
  52549. func_verbose "extracting global C symbols from \`$dlprefile'"
  52550. func_basename "$dlprefile"
  52551. name="$func_basename_result"
  52552. - $opt_dry_run || {
  52553. - eval '$ECHO ": $name " >> "$nlist"'
  52554. - eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  52555. - }
  52556. + case $host in
  52557. + *cygwin* | *mingw* | *cegcc* )
  52558. + # if an import library, we need to obtain dlname
  52559. + if func_win32_import_lib_p "$dlprefile"; then
  52560. + func_tr_sh "$dlprefile"
  52561. + eval "curr_lafile=\$libfile_$func_tr_sh_result"
  52562. + dlprefile_dlbasename=""
  52563. + if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
  52564. + # Use subshell, to avoid clobbering current variable values
  52565. + dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
  52566. + if test -n "$dlprefile_dlname" ; then
  52567. + func_basename "$dlprefile_dlname"
  52568. + dlprefile_dlbasename="$func_basename_result"
  52569. + else
  52570. + # no lafile. user explicitly requested -dlpreopen <import library>.
  52571. + $sharedlib_from_linklib "$dlprefile"
  52572. + dlprefile_dlbasename=$sharedlib_from_linklib_result
  52573. + fi
  52574. + fi
  52575. + $opt_dry_run || {
  52576. + if test -n "$dlprefile_dlbasename" ; then
  52577. + eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
  52578. + else
  52579. + func_warning "Could not compute DLL name from $name"
  52580. + eval '$ECHO ": $name " >> "$nlist"'
  52581. + fi
  52582. + eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe |
  52583. + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
  52584. + }
  52585. + else # not an import lib
  52586. + $opt_dry_run || {
  52587. + eval '$ECHO ": $name " >> "$nlist"'
  52588. + eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  52589. + }
  52590. + fi
  52591. + ;;
  52592. + *)
  52593. + $opt_dry_run || {
  52594. + eval '$ECHO ": $name " >> "$nlist"'
  52595. + eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
  52596. + }
  52597. + ;;
  52598. + esac
  52599. done
  52600. $opt_dry_run || {
  52601. @@ -2922,10 +2837,10 @@
  52602. if test -f "$nlist"S; then
  52603. eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"'
  52604. else
  52605. - $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms"
  52606. + echo '/* NONE */' >> "$output_objdir/$my_dlsyms"
  52607. fi
  52608. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  52609. + echo >> "$output_objdir/$my_dlsyms" "\
  52610. /* The mapping between symbol names and symbols. */
  52611. typedef struct {
  52612. @@ -2935,7 +2850,7 @@
  52613. "
  52614. case $host in
  52615. *cygwin* | *mingw* | *cegcc* )
  52616. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  52617. + echo >> "$output_objdir/$my_dlsyms" "\
  52618. /* DATA imports from DLLs on WIN32 con't be const, because
  52619. runtime relocations are performed -- see ld's documentation
  52620. on pseudo-relocs. */"
  52621. @@ -2948,7 +2863,7 @@
  52622. lt_dlsym_const=const ;;
  52623. esac
  52624. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  52625. + echo >> "$output_objdir/$my_dlsyms" "\
  52626. extern $lt_dlsym_const lt_dlsymlist
  52627. lt_${my_prefix}_LTX_preloaded_symbols[];
  52628. $lt_dlsym_const lt_dlsymlist
  52629. @@ -2964,7 +2879,7 @@
  52630. eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms"
  52631. ;;
  52632. esac
  52633. - $ECHO >> "$output_objdir/$my_dlsyms" "\
  52634. + echo >> "$output_objdir/$my_dlsyms" "\
  52635. {0, (void *) 0}
  52636. };
  52637. @@ -3007,7 +2922,7 @@
  52638. for arg in $LTCFLAGS; do
  52639. case $arg in
  52640. -pie | -fpie | -fPIE) ;;
  52641. - *) symtab_cflags="$symtab_cflags $arg" ;;
  52642. + *) func_append symtab_cflags " $arg" ;;
  52643. esac
  52644. done
  52645. @@ -3022,16 +2937,16 @@
  52646. case $host in
  52647. *cygwin* | *mingw* | *cegcc* )
  52648. if test -f "$output_objdir/$my_outputname.def"; then
  52649. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  52650. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  52651. + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  52652. + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
  52653. else
  52654. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  52655. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  52656. + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  52657. + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  52658. fi
  52659. ;;
  52660. *)
  52661. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  52662. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"`
  52663. + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  52664. + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"`
  52665. ;;
  52666. esac
  52667. ;;
  52668. @@ -3045,8 +2960,8 @@
  52669. # really was required.
  52670. # Nullify the symbol file.
  52671. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
  52672. - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
  52673. + compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"`
  52674. + finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
  52675. fi
  52676. }
  52677. @@ -3056,6 +2971,7 @@
  52678. # Need a lot of goo to handle *both* DLLs and import libs
  52679. # Has to be a shell function in order to 'eat' the argument
  52680. # that is supplied when $file_magic_command is called.
  52681. +# Despite the name, also deal with 64 bit binaries.
  52682. func_win32_libid ()
  52683. {
  52684. $opt_debug
  52685. @@ -3066,8 +2982,9 @@
  52686. win32_libid_type="x86 archive import"
  52687. ;;
  52688. *ar\ archive*) # could be an import, or static
  52689. + # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
  52690. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
  52691. - $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
  52692. + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
  52693. win32_nmres=`eval $NM -f posix -A $1 |
  52694. $SED -n -e '
  52695. 1,100{
  52696. @@ -3097,6 +3014,129 @@
  52697. $ECHO "$win32_libid_type"
  52698. }
  52699. +# func_cygming_dll_for_implib ARG
  52700. +#
  52701. +# Platform-specific function to extract the
  52702. +# name of the DLL associated with the specified
  52703. +# import library ARG.
  52704. +# Invoked by eval'ing the libtool variable
  52705. +# $sharedlib_from_linklib_cmd
  52706. +# Result is available in the variable
  52707. +# $sharedlib_from_linklib_result
  52708. +func_cygming_dll_for_implib ()
  52709. +{
  52710. + $opt_debug
  52711. + sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
  52712. +}
  52713. +
  52714. +# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
  52715. +#
  52716. +# The is the core of a fallback implementation of a
  52717. +# platform-specific function to extract the name of the
  52718. +# DLL associated with the specified import library LIBNAME.
  52719. +#
  52720. +# SECTION_NAME is either .idata$6 or .idata$7, depending
  52721. +# on the platform and compiler that created the implib.
  52722. +#
  52723. +# Echos the name of the DLL associated with the
  52724. +# specified import library.
  52725. +func_cygming_dll_for_implib_fallback_core ()
  52726. +{
  52727. + $opt_debug
  52728. + match_literal=`$ECHO "$1" | $SED 's/[].[^$\\*|]/\\\\&/g'`
  52729. + $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
  52730. + $SED '/^Contents of section '"$match_literal"':/{
  52731. + # Place marker at beginning of archive member dllname section
  52732. + s/.*/====MARK====/
  52733. + p
  52734. + d
  52735. + }
  52736. + # These lines can sometimes be longer than 43 characters, but
  52737. + # are always uninteresting
  52738. + /:[ ]*file format pe[i]\{,1\}-/d
  52739. + /^In archive [^:]*:/d
  52740. + # Ensure marker is printed
  52741. + /^====MARK====/p
  52742. + # Remove all lines with less than 43 characters
  52743. + /^.\{43\}/!d
  52744. + # From remaining lines, remove first 43 characters
  52745. + s/^.\{43\}//' |
  52746. + $SED -n '
  52747. + # Join marker and all lines until next marker into a single line
  52748. + /^====MARK====/ b para
  52749. + H
  52750. + $ b para
  52751. + b
  52752. + :para
  52753. + x
  52754. + s/\n//g
  52755. + # Remove the marker
  52756. + s/^====MARK====//
  52757. + # Remove trailing dots and whitespace
  52758. + s/[\. \t]*$//
  52759. + # Print
  52760. + /./p' |
  52761. + # we now have a list, one entry per line, of the stringified
  52762. + # contents of the appropriate section of all members of the
  52763. + # archive which possess that section. Heuristic: eliminate
  52764. + # all those which have a first or second character that is
  52765. + # a '.' (that is, objdump's representation of an unprintable
  52766. + # character.) This should work for all archives with less than
  52767. + # 0x302f exports -- but will fail for DLLs whose name actually
  52768. + # begins with a literal '.' or a single character followed by
  52769. + # a '.'.
  52770. + #
  52771. + # Of those that remain, print the first one.
  52772. + $SED -e '/^\./d;/^.\./d;q'
  52773. +}
  52774. +
  52775. +# func_cygming_gnu_implib_p ARG
  52776. +# This predicate returns with zero status (TRUE) if
  52777. +# ARG is a GNU/binutils-style import library. Returns
  52778. +# with nonzero status (FALSE) otherwise.
  52779. +func_cygming_gnu_implib_p ()
  52780. +{
  52781. + $opt_debug
  52782. + func_cygming_gnu_implib_tmp=`$NM $1 | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
  52783. + test -n "$func_cygming_gnu_implib_tmp"
  52784. +}
  52785. +
  52786. +# func_cygming_ms_implib_p ARG
  52787. +# This predicate returns with zero status (TRUE) if
  52788. +# ARG is an MS-style import library. Returns
  52789. +# with nonzero status (FALSE) otherwise.
  52790. +func_cygming_ms_implib_p ()
  52791. +{
  52792. + $opt_debug
  52793. + func_cygming_ms_implib_tmp=`$NM $1 | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
  52794. + test -n "$func_cygming_ms_implib_tmp"
  52795. +}
  52796. +
  52797. +# func_cygming_dll_for_implib_fallback ARG
  52798. +# Platform-specific function to extract the
  52799. +# name of the DLL associated with the specified
  52800. +# import library ARG.
  52801. +#
  52802. +# This fallback implementation is for use when $DLLTOOL
  52803. +# does not support the --identify-strict option.
  52804. +# Invoked by eval'ing the libtool variable
  52805. +# $sharedlib_from_linklib_cmd
  52806. +# Result is available in the variable
  52807. +# $sharedlib_from_linklib_result
  52808. +func_cygming_dll_for_implib_fallback ()
  52809. +{
  52810. + $opt_debug
  52811. + if func_cygming_gnu_implib_p "$1" ; then
  52812. + # binutils import library
  52813. + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
  52814. + elif func_cygming_ms_implib_p "$1" ; then
  52815. + # ms-generated import library
  52816. + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
  52817. + else
  52818. + # unknown
  52819. + sharedlib_from_linklib_result=""
  52820. + fi
  52821. +}
  52822. # func_extract_an_archive dir oldlib
  52823. @@ -3105,7 +3145,18 @@
  52824. $opt_debug
  52825. f_ex_an_ar_dir="$1"; shift
  52826. f_ex_an_ar_oldlib="$1"
  52827. - func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?'
  52828. + if test "$lock_old_archive_extraction" = yes; then
  52829. + lockfile=$f_ex_an_ar_oldlib.lock
  52830. + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
  52831. + func_echo "Waiting for $lockfile to be removed"
  52832. + sleep 2
  52833. + done
  52834. + fi
  52835. + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
  52836. + 'stat=$?; rm -f "$lockfile"; exit $stat'
  52837. + if test "$lock_old_archive_extraction" = yes; then
  52838. + $opt_dry_run || rm -f "$lockfile"
  52839. + fi
  52840. if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
  52841. :
  52842. else
  52843. @@ -3176,7 +3227,7 @@
  52844. darwin_file=
  52845. darwin_files=
  52846. for darwin_file in $darwin_filelist; do
  52847. - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
  52848. + darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
  52849. $LIPO -create -output "$darwin_file" $darwin_files
  52850. done # $darwin_filelist
  52851. $RM -rf unfat-$$
  52852. @@ -3191,31 +3242,36 @@
  52853. func_extract_an_archive "$my_xdir" "$my_xabs"
  52854. ;;
  52855. esac
  52856. - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
  52857. + func_append my_oldobjs " "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
  52858. done
  52859. func_extract_archives_result="$my_oldobjs"
  52860. }
  52861. -
  52862. -# func_emit_wrapper_part1 [arg=no]
  52863. +# func_emit_wrapper [arg=no]
  52864. #
  52865. -# Emit the first part of a libtool wrapper script on stdout.
  52866. -# For more information, see the description associated with
  52867. -# func_emit_wrapper(), below.
  52868. -func_emit_wrapper_part1 ()
  52869. -{
  52870. - func_emit_wrapper_part1_arg1=no
  52871. - if test -n "$1" ; then
  52872. - func_emit_wrapper_part1_arg1=$1
  52873. - fi
  52874. -
  52875. - $ECHO "\
  52876. -#! $SHELL
  52877. -
  52878. -# $output - temporary wrapper script for $objdir/$outputname
  52879. -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  52880. +# Emit a libtool wrapper script on stdout.
  52881. +# Don't directly open a file because we may want to
  52882. +# incorporate the script contents within a cygwin/mingw
  52883. +# wrapper executable. Must ONLY be called from within
  52884. +# func_mode_link because it depends on a number of variables
  52885. +# set therein.
  52886. +#
  52887. +# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  52888. +# variable will take. If 'yes', then the emitted script
  52889. +# will assume that the directory in which it is stored is
  52890. +# the $objdir directory. This is a cygwin/mingw-specific
  52891. +# behavior.
  52892. +func_emit_wrapper ()
  52893. +{
  52894. + func_emit_wrapper_arg1=${1-no}
  52895. +
  52896. + $ECHO "\
  52897. +#! $SHELL
  52898. +
  52899. +# $output - temporary wrapper script for $objdir/$outputname
  52900. +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
  52901. #
  52902. # The $output program cannot be directly executed until all the libtool
  52903. # libraries that it depends on are installed.
  52904. @@ -3225,7 +3281,6 @@
  52905. # Sed substitution that helps us do robust quoting. It backslashifies
  52906. # metacharacters that are still active within double-quoted strings.
  52907. -Xsed='${SED} -e 1s/^X//'
  52908. sed_quote_subst='$sed_quote_subst'
  52909. # Be Bourne compatible
  52910. @@ -3256,31 +3311,132 @@
  52911. else
  52912. # When we are sourced in execute mode, \$file and \$ECHO are already set.
  52913. if test \"\$libtool_execute_magic\" != \"$magic\"; then
  52914. - ECHO=\"$qecho\"
  52915. - file=\"\$0\"
  52916. - # Make sure echo works.
  52917. - if test \"X\$1\" = X--no-reexec; then
  52918. - # Discard the --no-reexec flag, and continue.
  52919. - shift
  52920. - elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then
  52921. - # Yippee, \$ECHO works!
  52922. - :
  52923. - else
  52924. - # Restart under the correct shell, and then maybe \$ECHO will work.
  52925. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
  52926. - fi
  52927. - fi\
  52928. + file=\"\$0\""
  52929. +
  52930. + qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
  52931. + $ECHO "\
  52932. +
  52933. +# A function that is used when there is no print builtin or printf.
  52934. +func_fallback_echo ()
  52935. +{
  52936. + eval 'cat <<_LTECHO_EOF
  52937. +\$1
  52938. +_LTECHO_EOF'
  52939. +}
  52940. + ECHO=\"$qECHO\"
  52941. + fi
  52942. +
  52943. +# Very basic option parsing. These options are (a) specific to
  52944. +# the libtool wrapper, (b) are identical between the wrapper
  52945. +# /script/ and the wrapper /executable/ which is used only on
  52946. +# windows platforms, and (c) all begin with the string "--lt-"
  52947. +# (application programs are unlikely to have options which match
  52948. +# this pattern).
  52949. +#
  52950. +# There are only two supported options: --lt-debug and
  52951. +# --lt-dump-script. There is, deliberately, no --lt-help.
  52952. +#
  52953. +# The first argument to this parsing function should be the
  52954. +# script's $0 value, followed by "$@".
  52955. +lt_option_debug=
  52956. +func_parse_lt_options ()
  52957. +{
  52958. + lt_script_arg0=\$0
  52959. + shift
  52960. + for lt_opt
  52961. + do
  52962. + case \"\$lt_opt\" in
  52963. + --lt-debug) lt_option_debug=1 ;;
  52964. + --lt-dump-script)
  52965. + lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
  52966. + test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
  52967. + lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
  52968. + cat \"\$lt_dump_D/\$lt_dump_F\"
  52969. + exit 0
  52970. + ;;
  52971. + --lt-*)
  52972. + \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
  52973. + exit 1
  52974. + ;;
  52975. + esac
  52976. + done
  52977. +
  52978. + # Print the debug banner immediately:
  52979. + if test -n \"\$lt_option_debug\"; then
  52980. + echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2
  52981. + fi
  52982. +}
  52983. +
  52984. +# Used when --lt-debug. Prints its arguments to stdout
  52985. +# (redirection is the responsibility of the caller)
  52986. +func_lt_dump_args ()
  52987. +{
  52988. + lt_dump_args_N=1;
  52989. + for lt_arg
  52990. + do
  52991. + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\"
  52992. + lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
  52993. + done
  52994. +}
  52995. +
  52996. +# Core function for launching the target application
  52997. +func_exec_program_core ()
  52998. +{
  52999. "
  53000. - $ECHO "\
  53001. + case $host in
  53002. + # Backslashes separate directories on plain windows
  53003. + *-*-mingw | *-*-os2* | *-cegcc*)
  53004. + $ECHO "\
  53005. + if test -n \"\$lt_option_debug\"; then
  53006. + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2
  53007. + func_lt_dump_args \${1+\"\$@\"} 1>&2
  53008. + fi
  53009. + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  53010. +"
  53011. + ;;
  53012. +
  53013. + *)
  53014. + $ECHO "\
  53015. + if test -n \"\$lt_option_debug\"; then
  53016. + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2
  53017. + func_lt_dump_args \${1+\"\$@\"} 1>&2
  53018. + fi
  53019. + exec \"\$progdir/\$program\" \${1+\"\$@\"}
  53020. +"
  53021. + ;;
  53022. + esac
  53023. + $ECHO "\
  53024. + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
  53025. + exit 1
  53026. +}
  53027. +
  53028. +# A function to encapsulate launching the target application
  53029. +# Strips options in the --lt-* namespace from \$@ and
  53030. +# launches target application with the remaining arguments.
  53031. +func_exec_program ()
  53032. +{
  53033. + for lt_wr_arg
  53034. + do
  53035. + case \$lt_wr_arg in
  53036. + --lt-*) ;;
  53037. + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
  53038. + esac
  53039. + shift
  53040. + done
  53041. + func_exec_program_core \${1+\"\$@\"}
  53042. +}
  53043. +
  53044. + # Parse options
  53045. + func_parse_lt_options \"\$0\" \${1+\"\$@\"}
  53046. # Find the directory that this script lives in.
  53047. - thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
  53048. + thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
  53049. test \"x\$thisdir\" = \"x\$file\" && thisdir=.
  53050. # Follow symbolic links until we get to the real thisdir.
  53051. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
  53052. + file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\`
  53053. while test -n \"\$file\"; do
  53054. - destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
  53055. + destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\`
  53056. # If there was a directory component, then change thisdir.
  53057. if test \"x\$destdir\" != \"x\$file\"; then
  53058. @@ -3290,30 +3446,13 @@
  53059. esac
  53060. fi
  53061. - file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
  53062. - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
  53063. + file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\`
  53064. + file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\`
  53065. done
  53066. -"
  53067. -}
  53068. -# end: func_emit_wrapper_part1
  53069. -
  53070. -# func_emit_wrapper_part2 [arg=no]
  53071. -#
  53072. -# Emit the second part of a libtool wrapper script on stdout.
  53073. -# For more information, see the description associated with
  53074. -# func_emit_wrapper(), below.
  53075. -func_emit_wrapper_part2 ()
  53076. -{
  53077. - func_emit_wrapper_part2_arg1=no
  53078. - if test -n "$1" ; then
  53079. - func_emit_wrapper_part2_arg1=$1
  53080. - fi
  53081. -
  53082. - $ECHO "\
  53083. # Usually 'no', except on cygwin/mingw when embedded into
  53084. # the cwrapper.
  53085. - WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
  53086. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
  53087. if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
  53088. # special case for '.'
  53089. if test \"\$thisdir\" = \".\"; then
  53090. @@ -3321,7 +3460,7 @@
  53091. fi
  53092. # remove .libs from thisdir
  53093. case \"\$thisdir\" in
  53094. - *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;;
  53095. + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;;
  53096. $objdir ) thisdir=. ;;
  53097. esac
  53098. fi
  53099. @@ -3384,7 +3523,7 @@
  53100. # Some systems cannot cope with colon-terminated $shlibpath_var
  53101. # The second colon is a workaround for a bug in BeOS R4 sed
  53102. - $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
  53103. + $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\`
  53104. export $shlibpath_var
  53105. "
  53106. @@ -3401,64 +3540,18 @@
  53107. $ECHO "\
  53108. if test \"\$libtool_execute_magic\" != \"$magic\"; then
  53109. # Run the actual program with our arguments.
  53110. -"
  53111. - case $host in
  53112. - # Backslashes separate directories on plain windows
  53113. - *-*-mingw | *-*-os2* | *-cegcc*)
  53114. - $ECHO "\
  53115. - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  53116. -"
  53117. - ;;
  53118. -
  53119. - *)
  53120. - $ECHO "\
  53121. - exec \"\$progdir/\$program\" \${1+\"\$@\"}
  53122. -"
  53123. - ;;
  53124. - esac
  53125. - $ECHO "\
  53126. - \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
  53127. - exit 1
  53128. + func_exec_program \${1+\"\$@\"}
  53129. fi
  53130. else
  53131. # The program doesn't exist.
  53132. \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
  53133. \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
  53134. - $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
  53135. + \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
  53136. exit 1
  53137. fi
  53138. fi\
  53139. "
  53140. }
  53141. -# end: func_emit_wrapper_part2
  53142. -
  53143. -
  53144. -# func_emit_wrapper [arg=no]
  53145. -#
  53146. -# Emit a libtool wrapper script on stdout.
  53147. -# Don't directly open a file because we may want to
  53148. -# incorporate the script contents within a cygwin/mingw
  53149. -# wrapper executable. Must ONLY be called from within
  53150. -# func_mode_link because it depends on a number of variables
  53151. -# set therein.
  53152. -#
  53153. -# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
  53154. -# variable will take. If 'yes', then the emitted script
  53155. -# will assume that the directory in which it is stored is
  53156. -# the $objdir directory. This is a cygwin/mingw-specific
  53157. -# behavior.
  53158. -func_emit_wrapper ()
  53159. -{
  53160. - func_emit_wrapper_arg1=no
  53161. - if test -n "$1" ; then
  53162. - func_emit_wrapper_arg1=$1
  53163. - fi
  53164. -
  53165. - # split this up so that func_emit_cwrapperexe_src
  53166. - # can call each part independently.
  53167. - func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
  53168. - func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
  53169. -}
  53170. # func_to_host_path arg
  53171. @@ -3485,23 +3578,19 @@
  53172. func_to_host_path ()
  53173. {
  53174. func_to_host_path_result="$1"
  53175. - if test -n "$1" ; then
  53176. + if test -n "$1"; then
  53177. case $host in
  53178. *mingw* )
  53179. lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  53180. case $build in
  53181. *mingw* ) # actually, msys
  53182. # awkward: cmd appends spaces to result
  53183. - lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  53184. - func_to_host_path_tmp1=`( cmd //c echo "$1" |\
  53185. - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  53186. - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  53187. - $SED -e "$lt_sed_naive_backslashify"`
  53188. + func_to_host_path_result=`( cmd //c echo "$1" ) 2>/dev/null |
  53189. + $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
  53190. ;;
  53191. *cygwin* )
  53192. - func_to_host_path_tmp1=`cygpath -w "$1"`
  53193. - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  53194. - $SED -e "$lt_sed_naive_backslashify"`
  53195. + func_to_host_path_result=`cygpath -w "$1" |
  53196. + $SED -e "$lt_sed_naive_backslashify"`
  53197. ;;
  53198. * )
  53199. # Unfortunately, winepath does not exit with a non-zero
  53200. @@ -3513,17 +3602,17 @@
  53201. # the odd construction:
  53202. func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
  53203. if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
  53204. - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
  53205. + func_to_host_path_result=`$ECHO "$func_to_host_path_tmp1" |
  53206. $SED -e "$lt_sed_naive_backslashify"`
  53207. else
  53208. # Allow warning below.
  53209. - func_to_host_path_result=""
  53210. + func_to_host_path_result=
  53211. fi
  53212. ;;
  53213. esac
  53214. if test -z "$func_to_host_path_result" ; then
  53215. func_error "Could not determine host path corresponding to"
  53216. - func_error " '$1'"
  53217. + func_error " \`$1'"
  53218. func_error "Continuing, but uninstalled executables may not work."
  53219. # Fallback:
  53220. func_to_host_path_result="$1"
  53221. @@ -3556,30 +3645,24 @@
  53222. func_to_host_pathlist ()
  53223. {
  53224. func_to_host_pathlist_result="$1"
  53225. - if test -n "$1" ; then
  53226. + if test -n "$1"; then
  53227. case $host in
  53228. *mingw* )
  53229. lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
  53230. # Remove leading and trailing path separator characters from
  53231. # ARG. msys behavior is inconsistent here, cygpath turns them
  53232. # into '.;' and ';.', and winepath ignores them completely.
  53233. - func_to_host_pathlist_tmp2="$1"
  53234. - # Once set for this call, this variable should not be
  53235. - # reassigned. It is used in tha fallback case.
  53236. - func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
  53237. - $SED -e 's|^:*||' -e 's|:*$||'`
  53238. + func_stripname : : "$1"
  53239. + func_to_host_pathlist_tmp1=$func_stripname_result
  53240. case $build in
  53241. *mingw* ) # Actually, msys.
  53242. # Awkward: cmd appends spaces to result.
  53243. - lt_sed_strip_trailing_spaces="s/[ ]*\$//"
  53244. - func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
  53245. - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
  53246. - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  53247. - $SED -e "$lt_sed_naive_backslashify"`
  53248. + func_to_host_pathlist_result=`
  53249. + ( cmd //c echo "$func_to_host_pathlist_tmp1" ) 2>/dev/null |
  53250. + $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
  53251. ;;
  53252. *cygwin* )
  53253. - func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
  53254. - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
  53255. + func_to_host_pathlist_result=`cygpath -w -p "$func_to_host_pathlist_tmp1" |
  53256. $SED -e "$lt_sed_naive_backslashify"`
  53257. ;;
  53258. * )
  53259. @@ -3595,18 +3678,17 @@
  53260. if test -z "$func_to_host_pathlist_result" ; then
  53261. func_to_host_pathlist_result="$func_to_host_path_result"
  53262. else
  53263. - func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
  53264. + func_append func_to_host_pathlist_result ";$func_to_host_path_result"
  53265. fi
  53266. fi
  53267. fi
  53268. - IFS=:
  53269. done
  53270. IFS=$func_to_host_pathlist_oldIFS
  53271. ;;
  53272. esac
  53273. - if test -z "$func_to_host_pathlist_result" ; then
  53274. + if test -z "$func_to_host_pathlist_result"; then
  53275. func_error "Could not determine the host path(s) corresponding to"
  53276. - func_error " '$1'"
  53277. + func_error " \`$1'"
  53278. func_error "Continuing, but uninstalled executables may not work."
  53279. # Fallback. This may break if $1 contains DOS-style drive
  53280. # specifications. The fix is not to complicate the expression
  53281. @@ -3623,7 +3705,7 @@
  53282. ;;
  53283. esac
  53284. case "$1" in
  53285. - *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
  53286. + *: ) func_append func_to_host_pathlist_result ";"
  53287. ;;
  53288. esac
  53289. ;;
  53290. @@ -3648,31 +3730,23 @@
  53291. This wrapper executable should never be moved out of the build directory.
  53292. If it is, it will not operate correctly.
  53293. -
  53294. - Currently, it simply execs the wrapper *script* "$SHELL $output",
  53295. - but could eventually absorb all of the scripts functionality and
  53296. - exec $objdir/$outputname directly.
  53297. */
  53298. EOF
  53299. cat <<"EOF"
  53300. +#ifdef _MSC_VER
  53301. +# define _CRT_SECURE_NO_DEPRECATE 1
  53302. +#endif
  53303. #include <stdio.h>
  53304. #include <stdlib.h>
  53305. #ifdef _MSC_VER
  53306. # include <direct.h>
  53307. # include <process.h>
  53308. # include <io.h>
  53309. -# define setmode _setmode
  53310. #else
  53311. # include <unistd.h>
  53312. # include <stdint.h>
  53313. # ifdef __CYGWIN__
  53314. # include <io.h>
  53315. -# define HAVE_SETENV
  53316. -# ifdef __STRICT_ANSI__
  53317. -char *realpath (const char *, char *);
  53318. -int putenv (char *);
  53319. -int setenv (const char *, const char *, int);
  53320. -# endif
  53321. # endif
  53322. #endif
  53323. #include <malloc.h>
  53324. @@ -3684,6 +3758,44 @@
  53325. #include <fcntl.h>
  53326. #include <sys/stat.h>
  53327. +/* declarations of non-ANSI functions */
  53328. +#if defined(__MINGW32__)
  53329. +# ifdef __STRICT_ANSI__
  53330. +int _putenv (const char *);
  53331. +# endif
  53332. +#elif defined(__CYGWIN__)
  53333. +# ifdef __STRICT_ANSI__
  53334. +char *realpath (const char *, char *);
  53335. +int putenv (char *);
  53336. +int setenv (const char *, const char *, int);
  53337. +# endif
  53338. +/* #elif defined (other platforms) ... */
  53339. +#endif
  53340. +
  53341. +/* portability defines, excluding path handling macros */
  53342. +#if defined(_MSC_VER)
  53343. +# define setmode _setmode
  53344. +# define stat _stat
  53345. +# define chmod _chmod
  53346. +# define getcwd _getcwd
  53347. +# define putenv _putenv
  53348. +# define S_IXUSR _S_IEXEC
  53349. +# ifndef _INTPTR_T_DEFINED
  53350. +# define _INTPTR_T_DEFINED
  53351. +# define intptr_t int
  53352. +# endif
  53353. +#elif defined(__MINGW32__)
  53354. +# define setmode _setmode
  53355. +# define stat _stat
  53356. +# define chmod _chmod
  53357. +# define getcwd _getcwd
  53358. +# define putenv _putenv
  53359. +#elif defined(__CYGWIN__)
  53360. +# define HAVE_SETENV
  53361. +# define FOPEN_WB "wb"
  53362. +/* #elif defined (other platforms) ... */
  53363. +#endif
  53364. +
  53365. #if defined(PATH_MAX)
  53366. # define LT_PATHMAX PATH_MAX
  53367. #elif defined(MAXPATHLEN)
  53368. @@ -3699,14 +3811,7 @@
  53369. # define S_IXGRP 0
  53370. #endif
  53371. -#ifdef _MSC_VER
  53372. -# define S_IXUSR _S_IEXEC
  53373. -# define stat _stat
  53374. -# ifndef _INTPTR_T_DEFINED
  53375. -# define intptr_t int
  53376. -# endif
  53377. -#endif
  53378. -
  53379. +/* path handling portability macros */
  53380. #ifndef DIR_SEPARATOR
  53381. # define DIR_SEPARATOR '/'
  53382. # define PATH_SEPARATOR ':'
  53383. @@ -3737,10 +3842,6 @@
  53384. # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2)
  53385. #endif /* PATH_SEPARATOR_2 */
  53386. -#ifdef __CYGWIN__
  53387. -# define FOPEN_WB "wb"
  53388. -#endif
  53389. -
  53390. #ifndef FOPEN_WB
  53391. # define FOPEN_WB "w"
  53392. #endif
  53393. @@ -3753,22 +3854,13 @@
  53394. if (stale) { free ((void *) stale); stale = 0; } \
  53395. } while (0)
  53396. -#undef LTWRAPPER_DEBUGPRINTF
  53397. -#if defined DEBUGWRAPPER
  53398. -# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
  53399. -static void
  53400. -ltwrapper_debugprintf (const char *fmt, ...)
  53401. -{
  53402. - va_list args;
  53403. - va_start (args, fmt);
  53404. - (void) vfprintf (stderr, fmt, args);
  53405. - va_end (args);
  53406. -}
  53407. +#if defined(LT_DEBUGWRAPPER)
  53408. +static int lt_debug = 1;
  53409. #else
  53410. -# define LTWRAPPER_DEBUGPRINTF(args)
  53411. +static int lt_debug = 0;
  53412. #endif
  53413. -const char *program_name = NULL;
  53414. +const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
  53415. void *xmalloc (size_t num);
  53416. char *xstrdup (const char *string);
  53417. @@ -3778,31 +3870,17 @@
  53418. int make_executable (const char *path);
  53419. int check_executable (const char *path);
  53420. char *strendzap (char *str, const char *pat);
  53421. -void lt_fatal (const char *message, ...);
  53422. +void lt_debugprintf (const char *file, int line, const char *fmt, ...);
  53423. +void lt_fatal (const char *file, int line, const char *message, ...);
  53424. +static const char *nonnull (const char *s);
  53425. +static const char *nonempty (const char *s);
  53426. void lt_setenv (const char *name, const char *value);
  53427. char *lt_extend_str (const char *orig_value, const char *add, int to_end);
  53428. -void lt_opt_process_env_set (const char *arg);
  53429. -void lt_opt_process_env_prepend (const char *arg);
  53430. -void lt_opt_process_env_append (const char *arg);
  53431. -int lt_split_name_value (const char *arg, char** name, char** value);
  53432. void lt_update_exe_path (const char *name, const char *value);
  53433. void lt_update_lib_path (const char *name, const char *value);
  53434. -
  53435. -static const char *script_text_part1 =
  53436. -EOF
  53437. -
  53438. - func_emit_wrapper_part1 yes |
  53439. - $SED -e 's/\([\\"]\)/\\\1/g' \
  53440. - -e 's/^/ "/' -e 's/$/\\n"/'
  53441. - echo ";"
  53442. - cat <<EOF
  53443. -
  53444. -static const char *script_text_part2 =
  53445. +char **prepare_spawn (char **argv);
  53446. +void lt_dump_script (FILE *f);
  53447. EOF
  53448. - func_emit_wrapper_part2 yes |
  53449. - $SED -e 's/\([\\"]\)/\\\1/g' \
  53450. - -e 's/^/ "/' -e 's/$/\\n"/'
  53451. - echo ";"
  53452. cat <<EOF
  53453. const char * MAGIC_EXE = "$magic_exe";
  53454. @@ -3847,24 +3925,10 @@
  53455. cat <<"EOF"
  53456. #define LTWRAPPER_OPTION_PREFIX "--lt-"
  53457. -#define LTWRAPPER_OPTION_PREFIX_LENGTH 5
  53458. -static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
  53459. static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
  53460. -
  53461. static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
  53462. -
  53463. -static const size_t env_set_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
  53464. -static const char *env_set_opt = LTWRAPPER_OPTION_PREFIX "env-set";
  53465. - /* argument is putenv-style "foo=bar", value of foo is set to bar */
  53466. -
  53467. -static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
  53468. -static const char *env_prepend_opt = LTWRAPPER_OPTION_PREFIX "env-prepend";
  53469. - /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
  53470. -
  53471. -static const size_t env_append_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
  53472. -static const char *env_append_opt = LTWRAPPER_OPTION_PREFIX "env-append";
  53473. - /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
  53474. +static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";
  53475. int
  53476. main (int argc, char *argv[])
  53477. @@ -3881,10 +3945,13 @@
  53478. int i;
  53479. program_name = (char *) xstrdup (base_name (argv[0]));
  53480. - LTWRAPPER_DEBUGPRINTF (("(main) argv[0] : %s\n", argv[0]));
  53481. - LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
  53482. + newargz = XMALLOC (char *, argc + 1);
  53483. - /* very simple arg parsing; don't want to rely on getopt */
  53484. + /* very simple arg parsing; don't want to rely on getopt
  53485. + * also, copy all non cwrapper options to newargz, except
  53486. + * argz[0], which is handled differently
  53487. + */
  53488. + newargc=0;
  53489. for (i = 1; i < argc; i++)
  53490. {
  53491. if (strcmp (argv[i], dumpscript_opt) == 0)
  53492. @@ -3898,25 +3965,57 @@
  53493. esac
  53494. cat <<"EOF"
  53495. - printf ("%s", script_text_part1);
  53496. - printf ("%s", script_text_part2);
  53497. + lt_dump_script (stdout);
  53498. return 0;
  53499. }
  53500. + if (strcmp (argv[i], debug_opt) == 0)
  53501. + {
  53502. + lt_debug = 1;
  53503. + continue;
  53504. + }
  53505. + if (strcmp (argv[i], ltwrapper_option_prefix) == 0)
  53506. + {
  53507. + /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
  53508. + namespace, but it is not one of the ones we know about and
  53509. + have already dealt with, above (inluding dump-script), then
  53510. + report an error. Otherwise, targets might begin to believe
  53511. + they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
  53512. + namespace. The first time any user complains about this, we'll
  53513. + need to make LTWRAPPER_OPTION_PREFIX a configure-time option
  53514. + or a configure.ac-settable value.
  53515. + */
  53516. + lt_fatal (__FILE__, __LINE__,
  53517. + "unrecognized %s option: '%s'",
  53518. + ltwrapper_option_prefix, argv[i]);
  53519. + }
  53520. + /* otherwise ... */
  53521. + newargz[++newargc] = xstrdup (argv[i]);
  53522. }
  53523. + newargz[++newargc] = NULL;
  53524. +
  53525. +EOF
  53526. + cat <<EOF
  53527. + /* The GNU banner must be the first non-error debug message */
  53528. + lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n");
  53529. +EOF
  53530. + cat <<"EOF"
  53531. + lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
  53532. + lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
  53533. - newargz = XMALLOC (char *, argc + 1);
  53534. tmp_pathspec = find_executable (argv[0]);
  53535. if (tmp_pathspec == NULL)
  53536. - lt_fatal ("Couldn't find %s", argv[0]);
  53537. - LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
  53538. - tmp_pathspec));
  53539. + lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
  53540. + lt_debugprintf (__FILE__, __LINE__,
  53541. + "(main) found exe (before symlink chase) at: %s\n",
  53542. + tmp_pathspec);
  53543. actual_cwrapper_path = chase_symlinks (tmp_pathspec);
  53544. - LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
  53545. - actual_cwrapper_path));
  53546. + lt_debugprintf (__FILE__, __LINE__,
  53547. + "(main) found exe (after symlink chase) at: %s\n",
  53548. + actual_cwrapper_path);
  53549. XFREE (tmp_pathspec);
  53550. - actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
  53551. + actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
  53552. strendzap (actual_cwrapper_path, actual_cwrapper_name);
  53553. /* wrapper name transforms */
  53554. @@ -3934,8 +4033,9 @@
  53555. target_name = tmp_pathspec;
  53556. tmp_pathspec = 0;
  53557. - LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
  53558. - target_name));
  53559. + lt_debugprintf (__FILE__, __LINE__,
  53560. + "(main) libtool target name: %s\n",
  53561. + target_name);
  53562. EOF
  53563. cat <<EOF
  53564. @@ -3988,77 +4088,12 @@
  53565. lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
  53566. lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
  53567. - newargc=0;
  53568. - for (i = 1; i < argc; i++)
  53569. - {
  53570. - if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
  53571. - {
  53572. - if (argv[i][env_set_opt_len] == '=')
  53573. - {
  53574. - const char *p = argv[i] + env_set_opt_len + 1;
  53575. - lt_opt_process_env_set (p);
  53576. - }
  53577. - else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
  53578. - {
  53579. - lt_opt_process_env_set (argv[++i]); /* don't copy */
  53580. - }
  53581. - else
  53582. - lt_fatal ("%s missing required argument", env_set_opt);
  53583. - continue;
  53584. - }
  53585. - if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
  53586. - {
  53587. - if (argv[i][env_prepend_opt_len] == '=')
  53588. - {
  53589. - const char *p = argv[i] + env_prepend_opt_len + 1;
  53590. - lt_opt_process_env_prepend (p);
  53591. - }
  53592. - else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
  53593. - {
  53594. - lt_opt_process_env_prepend (argv[++i]); /* don't copy */
  53595. - }
  53596. - else
  53597. - lt_fatal ("%s missing required argument", env_prepend_opt);
  53598. - continue;
  53599. - }
  53600. - if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
  53601. - {
  53602. - if (argv[i][env_append_opt_len] == '=')
  53603. - {
  53604. - const char *p = argv[i] + env_append_opt_len + 1;
  53605. - lt_opt_process_env_append (p);
  53606. - }
  53607. - else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
  53608. - {
  53609. - lt_opt_process_env_append (argv[++i]); /* don't copy */
  53610. - }
  53611. - else
  53612. - lt_fatal ("%s missing required argument", env_append_opt);
  53613. - continue;
  53614. - }
  53615. - if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
  53616. - {
  53617. - /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
  53618. - namespace, but it is not one of the ones we know about and
  53619. - have already dealt with, above (inluding dump-script), then
  53620. - report an error. Otherwise, targets might begin to believe
  53621. - they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
  53622. - namespace. The first time any user complains about this, we'll
  53623. - need to make LTWRAPPER_OPTION_PREFIX a configure-time option
  53624. - or a configure.ac-settable value.
  53625. - */
  53626. - lt_fatal ("Unrecognized option in %s namespace: '%s'",
  53627. - ltwrapper_option_prefix, argv[i]);
  53628. - }
  53629. - /* otherwise ... */
  53630. - newargz[++newargc] = xstrdup (argv[i]);
  53631. - }
  53632. - newargz[++newargc] = NULL;
  53633. -
  53634. - LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
  53635. + lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
  53636. + nonnull (lt_argv_zero));
  53637. for (i = 0; i < newargc; i++)
  53638. {
  53639. - LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
  53640. + lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
  53641. + i, nonnull (newargz[i]));
  53642. }
  53643. EOF
  53644. @@ -4067,11 +4102,14 @@
  53645. mingw*)
  53646. cat <<"EOF"
  53647. /* execv doesn't actually work on mingw as expected on unix */
  53648. + newargz = prepare_spawn (newargz);
  53649. rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
  53650. if (rval == -1)
  53651. {
  53652. /* failed to start process */
  53653. - LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
  53654. + lt_debugprintf (__FILE__, __LINE__,
  53655. + "(main) failed to launch target \"%s\": %s\n",
  53656. + lt_argv_zero, nonnull (strerror (errno)));
  53657. return 127;
  53658. }
  53659. return rval;
  53660. @@ -4093,7 +4131,7 @@
  53661. {
  53662. void *p = (void *) malloc (num);
  53663. if (!p)
  53664. - lt_fatal ("Memory exhausted");
  53665. + lt_fatal (__FILE__, __LINE__, "memory exhausted");
  53666. return p;
  53667. }
  53668. @@ -4127,8 +4165,8 @@
  53669. {
  53670. struct stat st;
  53671. - LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n",
  53672. - path ? (*path ? path : "EMPTY!") : "NULL!"));
  53673. + lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
  53674. + nonempty (path));
  53675. if ((!path) || (!*path))
  53676. return 0;
  53677. @@ -4145,8 +4183,8 @@
  53678. int rval = 0;
  53679. struct stat st;
  53680. - LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n",
  53681. - path ? (*path ? path : "EMPTY!") : "NULL!"));
  53682. + lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
  53683. + nonempty (path));
  53684. if ((!path) || (!*path))
  53685. return 0;
  53686. @@ -4172,8 +4210,8 @@
  53687. int tmp_len;
  53688. char *concat_name;
  53689. - LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n",
  53690. - wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
  53691. + lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
  53692. + nonempty (wrapper));
  53693. if ((wrapper == NULL) || (*wrapper == '\0'))
  53694. return NULL;
  53695. @@ -4226,7 +4264,8 @@
  53696. {
  53697. /* empty path: current directory */
  53698. if (getcwd (tmp, LT_PATHMAX) == NULL)
  53699. - lt_fatal ("getcwd failed");
  53700. + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
  53701. + nonnull (strerror (errno)));
  53702. tmp_len = strlen (tmp);
  53703. concat_name =
  53704. XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  53705. @@ -4251,7 +4290,8 @@
  53706. }
  53707. /* Relative path | not found in path: prepend cwd */
  53708. if (getcwd (tmp, LT_PATHMAX) == NULL)
  53709. - lt_fatal ("getcwd failed");
  53710. + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
  53711. + nonnull (strerror (errno)));
  53712. tmp_len = strlen (tmp);
  53713. concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
  53714. memcpy (concat_name, tmp, tmp_len);
  53715. @@ -4277,8 +4317,9 @@
  53716. int has_symlinks = 0;
  53717. while (strlen (tmp_pathspec) && !has_symlinks)
  53718. {
  53719. - LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
  53720. - tmp_pathspec));
  53721. + lt_debugprintf (__FILE__, __LINE__,
  53722. + "checking path component for symlinks: %s\n",
  53723. + tmp_pathspec);
  53724. if (lstat (tmp_pathspec, &s) == 0)
  53725. {
  53726. if (S_ISLNK (s.st_mode) != 0)
  53727. @@ -4300,8 +4341,9 @@
  53728. }
  53729. else
  53730. {
  53731. - char *errstr = strerror (errno);
  53732. - lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
  53733. + lt_fatal (__FILE__, __LINE__,
  53734. + "error accessing file \"%s\": %s",
  53735. + tmp_pathspec, nonnull (strerror (errno)));
  53736. }
  53737. }
  53738. XFREE (tmp_pathspec);
  53739. @@ -4314,7 +4356,8 @@
  53740. tmp_pathspec = realpath (pathspec, buf);
  53741. if (tmp_pathspec == 0)
  53742. {
  53743. - lt_fatal ("Could not follow symlinks for %s", pathspec);
  53744. + lt_fatal (__FILE__, __LINE__,
  53745. + "could not follow symlinks for %s", pathspec);
  53746. }
  53747. return xstrdup (tmp_pathspec);
  53748. #endif
  53749. @@ -4340,11 +4383,25 @@
  53750. return str;
  53751. }
  53752. +void
  53753. +lt_debugprintf (const char *file, int line, const char *fmt, ...)
  53754. +{
  53755. + va_list args;
  53756. + if (lt_debug)
  53757. + {
  53758. + (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
  53759. + va_start (args, fmt);
  53760. + (void) vfprintf (stderr, fmt, args);
  53761. + va_end (args);
  53762. + }
  53763. +}
  53764. +
  53765. static void
  53766. -lt_error_core (int exit_status, const char *mode,
  53767. +lt_error_core (int exit_status, const char *file,
  53768. + int line, const char *mode,
  53769. const char *message, va_list ap)
  53770. {
  53771. - fprintf (stderr, "%s: %s: ", program_name, mode);
  53772. + fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
  53773. vfprintf (stderr, message, ap);
  53774. fprintf (stderr, ".\n");
  53775. @@ -4353,20 +4410,32 @@
  53776. }
  53777. void
  53778. -lt_fatal (const char *message, ...)
  53779. +lt_fatal (const char *file, int line, const char *message, ...)
  53780. {
  53781. va_list ap;
  53782. va_start (ap, message);
  53783. - lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
  53784. + lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
  53785. va_end (ap);
  53786. }
  53787. +static const char *
  53788. +nonnull (const char *s)
  53789. +{
  53790. + return s ? s : "(null)";
  53791. +}
  53792. +
  53793. +static const char *
  53794. +nonempty (const char *s)
  53795. +{
  53796. + return (s && !*s) ? "(empty)" : nonnull (s);
  53797. +}
  53798. +
  53799. void
  53800. lt_setenv (const char *name, const char *value)
  53801. {
  53802. - LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
  53803. - (name ? name : "<NULL>"),
  53804. - (value ? value : "<NULL>")));
  53805. + lt_debugprintf (__FILE__, __LINE__,
  53806. + "(lt_setenv) setting '%s' to '%s'\n",
  53807. + nonnull (name), nonnull (value));
  53808. {
  53809. #ifdef HAVE_SETENV
  53810. /* always make a copy, for consistency with !HAVE_SETENV */
  53811. @@ -4411,95 +4480,12 @@
  53812. return new_value;
  53813. }
  53814. -int
  53815. -lt_split_name_value (const char *arg, char** name, char** value)
  53816. -{
  53817. - const char *p;
  53818. - int len;
  53819. - if (!arg || !*arg)
  53820. - return 1;
  53821. -
  53822. - p = strchr (arg, (int)'=');
  53823. -
  53824. - if (!p)
  53825. - return 1;
  53826. -
  53827. - *value = xstrdup (++p);
  53828. -
  53829. - len = strlen (arg) - strlen (*value);
  53830. - *name = XMALLOC (char, len);
  53831. - strncpy (*name, arg, len-1);
  53832. - (*name)[len - 1] = '\0';
  53833. -
  53834. - return 0;
  53835. -}
  53836. -
  53837. -void
  53838. -lt_opt_process_env_set (const char *arg)
  53839. -{
  53840. - char *name = NULL;
  53841. - char *value = NULL;
  53842. -
  53843. - if (lt_split_name_value (arg, &name, &value) != 0)
  53844. - {
  53845. - XFREE (name);
  53846. - XFREE (value);
  53847. - lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
  53848. - }
  53849. -
  53850. - lt_setenv (name, value);
  53851. - XFREE (name);
  53852. - XFREE (value);
  53853. -}
  53854. -
  53855. -void
  53856. -lt_opt_process_env_prepend (const char *arg)
  53857. -{
  53858. - char *name = NULL;
  53859. - char *value = NULL;
  53860. - char *new_value = NULL;
  53861. -
  53862. - if (lt_split_name_value (arg, &name, &value) != 0)
  53863. - {
  53864. - XFREE (name);
  53865. - XFREE (value);
  53866. - lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
  53867. - }
  53868. -
  53869. - new_value = lt_extend_str (getenv (name), value, 0);
  53870. - lt_setenv (name, new_value);
  53871. - XFREE (new_value);
  53872. - XFREE (name);
  53873. - XFREE (value);
  53874. -}
  53875. -
  53876. -void
  53877. -lt_opt_process_env_append (const char *arg)
  53878. -{
  53879. - char *name = NULL;
  53880. - char *value = NULL;
  53881. - char *new_value = NULL;
  53882. -
  53883. - if (lt_split_name_value (arg, &name, &value) != 0)
  53884. - {
  53885. - XFREE (name);
  53886. - XFREE (value);
  53887. - lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
  53888. - }
  53889. -
  53890. - new_value = lt_extend_str (getenv (name), value, 1);
  53891. - lt_setenv (name, new_value);
  53892. - XFREE (new_value);
  53893. - XFREE (name);
  53894. - XFREE (value);
  53895. -}
  53896. -
  53897. void
  53898. lt_update_exe_path (const char *name, const char *value)
  53899. {
  53900. - LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
  53901. - (name ? name : "<NULL>"),
  53902. - (value ? value : "<NULL>")));
  53903. + lt_debugprintf (__FILE__, __LINE__,
  53904. + "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
  53905. + nonnull (name), nonnull (value));
  53906. if (name && *name && value && *value)
  53907. {
  53908. @@ -4518,9 +4504,9 @@
  53909. void
  53910. lt_update_lib_path (const char *name, const char *value)
  53911. {
  53912. - LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
  53913. - (name ? name : "<NULL>"),
  53914. - (value ? value : "<NULL>")));
  53915. + lt_debugprintf (__FILE__, __LINE__,
  53916. + "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
  53917. + nonnull (name), nonnull (value));
  53918. if (name && *name && value && *value)
  53919. {
  53920. @@ -4530,11 +4516,152 @@
  53921. }
  53922. }
  53923. -
  53924. +EOF
  53925. + case $host_os in
  53926. + mingw*)
  53927. + cat <<"EOF"
  53928. +
  53929. +/* Prepares an argument vector before calling spawn().
  53930. + Note that spawn() does not by itself call the command interpreter
  53931. + (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") :
  53932. + ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
  53933. + GetVersionEx(&v);
  53934. + v.dwPlatformId == VER_PLATFORM_WIN32_NT;
  53935. + }) ? "cmd.exe" : "command.com").
  53936. + Instead it simply concatenates the arguments, separated by ' ', and calls
  53937. + CreateProcess(). We must quote the arguments since Win32 CreateProcess()
  53938. + interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a
  53939. + special way:
  53940. + - Space and tab are interpreted as delimiters. They are not treated as
  53941. + delimiters if they are surrounded by double quotes: "...".
  53942. + - Unescaped double quotes are removed from the input. Their only effect is
  53943. + that within double quotes, space and tab are treated like normal
  53944. + characters.
  53945. + - Backslashes not followed by double quotes are not special.
  53946. + - But 2*n+1 backslashes followed by a double quote become
  53947. + n backslashes followed by a double quote (n >= 0):
  53948. + \" -> "
  53949. + \\\" -> \"
  53950. + \\\\\" -> \\"
  53951. + */
  53952. +#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
  53953. +#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037"
  53954. +char **
  53955. +prepare_spawn (char **argv)
  53956. +{
  53957. + size_t argc;
  53958. + char **new_argv;
  53959. + size_t i;
  53960. +
  53961. + /* Count number of arguments. */
  53962. + for (argc = 0; argv[argc] != NULL; argc++)
  53963. + ;
  53964. +
  53965. + /* Allocate new argument vector. */
  53966. + new_argv = XMALLOC (char *, argc + 1);
  53967. +
  53968. + /* Put quoted arguments into the new argument vector. */
  53969. + for (i = 0; i < argc; i++)
  53970. + {
  53971. + const char *string = argv[i];
  53972. +
  53973. + if (string[0] == '\0')
  53974. + new_argv[i] = xstrdup ("\"\"");
  53975. + else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
  53976. + {
  53977. + int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
  53978. + size_t length;
  53979. + unsigned int backslashes;
  53980. + const char *s;
  53981. + char *quoted_string;
  53982. + char *p;
  53983. +
  53984. + length = 0;
  53985. + backslashes = 0;
  53986. + if (quote_around)
  53987. + length++;
  53988. + for (s = string; *s != '\0'; s++)
  53989. + {
  53990. + char c = *s;
  53991. + if (c == '"')
  53992. + length += backslashes + 1;
  53993. + length++;
  53994. + if (c == '\\')
  53995. + backslashes++;
  53996. + else
  53997. + backslashes = 0;
  53998. + }
  53999. + if (quote_around)
  54000. + length += backslashes + 1;
  54001. +
  54002. + quoted_string = XMALLOC (char, length + 1);
  54003. +
  54004. + p = quoted_string;
  54005. + backslashes = 0;
  54006. + if (quote_around)
  54007. + *p++ = '"';
  54008. + for (s = string; *s != '\0'; s++)
  54009. + {
  54010. + char c = *s;
  54011. + if (c == '"')
  54012. + {
  54013. + unsigned int j;
  54014. + for (j = backslashes + 1; j > 0; j--)
  54015. + *p++ = '\\';
  54016. + }
  54017. + *p++ = c;
  54018. + if (c == '\\')
  54019. + backslashes++;
  54020. + else
  54021. + backslashes = 0;
  54022. + }
  54023. + if (quote_around)
  54024. + {
  54025. + unsigned int j;
  54026. + for (j = backslashes; j > 0; j--)
  54027. + *p++ = '\\';
  54028. + *p++ = '"';
  54029. + }
  54030. + *p = '\0';
  54031. +
  54032. + new_argv[i] = quoted_string;
  54033. + }
  54034. + else
  54035. + new_argv[i] = (char *) string;
  54036. + }
  54037. + new_argv[argc] = NULL;
  54038. +
  54039. + return new_argv;
  54040. +}
  54041. +EOF
  54042. + ;;
  54043. + esac
  54044. +
  54045. + cat <<"EOF"
  54046. +void lt_dump_script (FILE* f)
  54047. +{
  54048. +EOF
  54049. + func_emit_wrapper yes |
  54050. + $SED -e 's/\([\\"]\)/\\\1/g' \
  54051. + -e 's/^/ fputs ("/' -e 's/$/\\n", f);/'
  54052. +
  54053. + cat <<"EOF"
  54054. +}
  54055. EOF
  54056. }
  54057. # end: func_emit_cwrapperexe_src
  54058. +# func_win32_import_lib_p ARG
  54059. +# True if ARG is an import lib, as indicated by $file_magic_cmd
  54060. +func_win32_import_lib_p ()
  54061. +{
  54062. + $opt_debug
  54063. + case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
  54064. + *import*) : ;;
  54065. + *) false ;;
  54066. + esac
  54067. +}
  54068. +
  54069. # func_mode_link arg...
  54070. func_mode_link ()
  54071. {
  54072. @@ -4579,6 +4706,7 @@
  54073. new_inherited_linker_flags=
  54074. avoid_version=no
  54075. + bindir=
  54076. dlfiles=
  54077. dlprefiles=
  54078. dlself=no
  54079. @@ -4671,6 +4799,11 @@
  54080. esac
  54081. case $prev in
  54082. + bindir)
  54083. + bindir="$arg"
  54084. + prev=
  54085. + continue
  54086. + ;;
  54087. dlfiles|dlprefiles)
  54088. if test "$preload" = no; then
  54089. # Add the symbol object into the linking commands.
  54090. @@ -4702,9 +4835,9 @@
  54091. ;;
  54092. *)
  54093. if test "$prev" = dlfiles; then
  54094. - dlfiles="$dlfiles $arg"
  54095. + func_append dlfiles " $arg"
  54096. else
  54097. - dlprefiles="$dlprefiles $arg"
  54098. + func_append dlprefiles " $arg"
  54099. fi
  54100. prev=
  54101. continue
  54102. @@ -4728,7 +4861,7 @@
  54103. *-*-darwin*)
  54104. case "$deplibs " in
  54105. *" $qarg.ltframework "*) ;;
  54106. - *) deplibs="$deplibs $qarg.ltframework" # this is fixed later
  54107. + *) func_append deplibs " $qarg.ltframework" # this is fixed later
  54108. ;;
  54109. esac
  54110. ;;
  54111. @@ -4747,7 +4880,7 @@
  54112. moreargs=
  54113. for fil in `cat "$save_arg"`
  54114. do
  54115. -# moreargs="$moreargs $fil"
  54116. +# func_append moreargs " $fil"
  54117. arg=$fil
  54118. # A libtool-controlled object.
  54119. @@ -4776,7 +4909,7 @@
  54120. if test "$prev" = dlfiles; then
  54121. if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  54122. - dlfiles="$dlfiles $pic_object"
  54123. + func_append dlfiles " $pic_object"
  54124. prev=
  54125. continue
  54126. else
  54127. @@ -4788,7 +4921,7 @@
  54128. # CHECK ME: I think I busted this. -Ossama
  54129. if test "$prev" = dlprefiles; then
  54130. # Preload the old-style object.
  54131. - dlprefiles="$dlprefiles $pic_object"
  54132. + func_append dlprefiles " $pic_object"
  54133. prev=
  54134. fi
  54135. @@ -4858,12 +4991,12 @@
  54136. if test "$prev" = rpath; then
  54137. case "$rpath " in
  54138. *" $arg "*) ;;
  54139. - *) rpath="$rpath $arg" ;;
  54140. + *) func_append rpath " $arg" ;;
  54141. esac
  54142. else
  54143. case "$xrpath " in
  54144. *" $arg "*) ;;
  54145. - *) xrpath="$xrpath $arg" ;;
  54146. + *) func_append xrpath " $arg" ;;
  54147. esac
  54148. fi
  54149. prev=
  54150. @@ -4875,28 +5008,28 @@
  54151. continue
  54152. ;;
  54153. weak)
  54154. - weak_libs="$weak_libs $arg"
  54155. + func_append weak_libs " $arg"
  54156. prev=
  54157. continue
  54158. ;;
  54159. xcclinker)
  54160. - linker_flags="$linker_flags $qarg"
  54161. - compiler_flags="$compiler_flags $qarg"
  54162. + func_append linker_flags " $qarg"
  54163. + func_append compiler_flags " $qarg"
  54164. prev=
  54165. func_append compile_command " $qarg"
  54166. func_append finalize_command " $qarg"
  54167. continue
  54168. ;;
  54169. xcompiler)
  54170. - compiler_flags="$compiler_flags $qarg"
  54171. + func_append compiler_flags " $qarg"
  54172. prev=
  54173. func_append compile_command " $qarg"
  54174. func_append finalize_command " $qarg"
  54175. continue
  54176. ;;
  54177. xlinker)
  54178. - linker_flags="$linker_flags $qarg"
  54179. - compiler_flags="$compiler_flags $wl$qarg"
  54180. + func_append linker_flags " $qarg"
  54181. + func_append compiler_flags " $wl$qarg"
  54182. prev=
  54183. func_append compile_command " $wl$qarg"
  54184. func_append finalize_command " $wl$qarg"
  54185. @@ -4932,6 +5065,11 @@
  54186. continue
  54187. ;;
  54188. + -bindir)
  54189. + prev=bindir
  54190. + continue
  54191. + ;;
  54192. +
  54193. -dlopen)
  54194. prev=dlfiles
  54195. continue
  54196. @@ -5004,22 +5142,22 @@
  54197. case "$deplibs " in
  54198. *" -L$dir "*) ;;
  54199. *)
  54200. - deplibs="$deplibs -L$dir"
  54201. - lib_search_path="$lib_search_path $dir"
  54202. + func_append deplibs " -L$dir"
  54203. + func_append lib_search_path " $dir"
  54204. ;;
  54205. esac
  54206. case $host in
  54207. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
  54208. - testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
  54209. + testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
  54210. case :$dllsearchpath: in
  54211. *":$dir:"*) ;;
  54212. ::) dllsearchpath=$dir;;
  54213. - *) dllsearchpath="$dllsearchpath:$dir";;
  54214. + *) func_append dllsearchpath ":$dir";;
  54215. esac
  54216. case :$dllsearchpath: in
  54217. *":$testbindir:"*) ;;
  54218. ::) dllsearchpath=$testbindir;;
  54219. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  54220. + *) func_append dllsearchpath ":$testbindir";;
  54221. esac
  54222. ;;
  54223. esac
  54224. @@ -5029,7 +5167,7 @@
  54225. -l*)
  54226. if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
  54227. case $host in
  54228. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
  54229. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
  54230. # These systems don't actually have a C or math library (as such)
  54231. continue
  54232. ;;
  54233. @@ -5043,7 +5181,7 @@
  54234. ;;
  54235. *-*-rhapsody* | *-*-darwin1.[012])
  54236. # Rhapsody C and math libraries are in the System framework
  54237. - deplibs="$deplibs System.ltframework"
  54238. + func_append deplibs " System.ltframework"
  54239. continue
  54240. ;;
  54241. *-*-sco3.2v5* | *-*-sco5v6*)
  54242. @@ -5063,7 +5201,7 @@
  54243. ;;
  54244. esac
  54245. fi
  54246. - deplibs="$deplibs $arg"
  54247. + func_append deplibs " $arg"
  54248. continue
  54249. ;;
  54250. @@ -5076,7 +5214,7 @@
  54251. # classes, name mangling, and exception handling.
  54252. # Darwin uses the -arch flag to determine output architecture.
  54253. -model|-arch|-isysroot)
  54254. - compiler_flags="$compiler_flags $arg"
  54255. + func_append compiler_flags " $arg"
  54256. func_append compile_command " $arg"
  54257. func_append finalize_command " $arg"
  54258. prev=xcompiler
  54259. @@ -5084,12 +5222,12 @@
  54260. ;;
  54261. -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
  54262. - compiler_flags="$compiler_flags $arg"
  54263. + func_append compiler_flags " $arg"
  54264. func_append compile_command " $arg"
  54265. func_append finalize_command " $arg"
  54266. case "$new_inherited_linker_flags " in
  54267. *" $arg "*) ;;
  54268. - * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
  54269. + * ) func_append new_inherited_linker_flags " $arg" ;;
  54270. esac
  54271. continue
  54272. ;;
  54273. @@ -5162,7 +5300,7 @@
  54274. esac
  54275. case "$xrpath " in
  54276. *" $dir "*) ;;
  54277. - *) xrpath="$xrpath $dir" ;;
  54278. + *) func_append xrpath " $dir" ;;
  54279. esac
  54280. continue
  54281. ;;
  54282. @@ -5215,8 +5353,8 @@
  54283. for flag in $args; do
  54284. IFS="$save_ifs"
  54285. func_quote_for_eval "$flag"
  54286. - arg="$arg $wl$func_quote_for_eval_result"
  54287. - compiler_flags="$compiler_flags $func_quote_for_eval_result"
  54288. + func_append arg " $func_quote_for_eval_result"
  54289. + func_append compiler_flags " $func_quote_for_eval_result"
  54290. done
  54291. IFS="$save_ifs"
  54292. func_stripname ' ' '' "$arg"
  54293. @@ -5231,9 +5369,9 @@
  54294. for flag in $args; do
  54295. IFS="$save_ifs"
  54296. func_quote_for_eval "$flag"
  54297. - arg="$arg $wl$func_quote_for_eval_result"
  54298. - compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
  54299. - linker_flags="$linker_flags $func_quote_for_eval_result"
  54300. + func_append arg " $wl$func_quote_for_eval_result"
  54301. + func_append compiler_flags " $wl$func_quote_for_eval_result"
  54302. + func_append linker_flags " $func_quote_for_eval_result"
  54303. done
  54304. IFS="$save_ifs"
  54305. func_stripname ' ' '' "$arg"
  54306. @@ -5261,23 +5399,24 @@
  54307. arg="$func_quote_for_eval_result"
  54308. ;;
  54309. - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
  54310. - # -r[0-9][0-9]* specifies the processor on the SGI compiler
  54311. - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
  54312. - # +DA*, +DD* enable 64-bit mode on the HP compiler
  54313. - # -q* pass through compiler args for the IBM compiler
  54314. - # -m*, -t[45]*, -txscale* pass through architecture-specific
  54315. - # compiler args for GCC
  54316. - # -F/path gives path to uninstalled frameworks, gcc on darwin
  54317. - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
  54318. - # @file GCC response files
  54319. + # Flags to be passed through unchanged, with rationale:
  54320. + # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
  54321. + # -r[0-9][0-9]* specify processor for the SGI compiler
  54322. + # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
  54323. + # +DA*, +DD* enable 64-bit mode for the HP compiler
  54324. + # -q* compiler args for the IBM compiler
  54325. + # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
  54326. + # -F/path path to uninstalled frameworks, gcc on darwin
  54327. + # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
  54328. + # @file GCC response files
  54329. + # -tp=* Portland pgcc target processor selection
  54330. -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
  54331. - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
  54332. + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|-fstack-protector*|-flto)
  54333. func_quote_for_eval "$arg"
  54334. arg="$func_quote_for_eval_result"
  54335. func_append compile_command " $arg"
  54336. func_append finalize_command " $arg"
  54337. - compiler_flags="$compiler_flags $arg"
  54338. + func_append compiler_flags " $arg"
  54339. continue
  54340. ;;
  54341. @@ -5289,7 +5428,7 @@
  54342. *.$objext)
  54343. # A standard object.
  54344. - objs="$objs $arg"
  54345. + func_append objs " $arg"
  54346. ;;
  54347. *.lo)
  54348. @@ -5320,7 +5459,7 @@
  54349. if test "$prev" = dlfiles; then
  54350. if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
  54351. - dlfiles="$dlfiles $pic_object"
  54352. + func_append dlfiles " $pic_object"
  54353. prev=
  54354. continue
  54355. else
  54356. @@ -5332,7 +5471,7 @@
  54357. # CHECK ME: I think I busted this. -Ossama
  54358. if test "$prev" = dlprefiles; then
  54359. # Preload the old-style object.
  54360. - dlprefiles="$dlprefiles $pic_object"
  54361. + func_append dlprefiles " $pic_object"
  54362. prev=
  54363. fi
  54364. @@ -5377,8 +5516,8 @@
  54365. *.$libext)
  54366. # An archive.
  54367. - deplibs="$deplibs $arg"
  54368. - old_deplibs="$old_deplibs $arg"
  54369. + func_append deplibs " $arg"
  54370. + func_append old_deplibs " $arg"
  54371. continue
  54372. ;;
  54373. @@ -5387,14 +5526,14 @@
  54374. if test "$prev" = dlfiles; then
  54375. # This library was specified with -dlopen.
  54376. - dlfiles="$dlfiles $arg"
  54377. + func_append dlfiles " $arg"
  54378. prev=
  54379. elif test "$prev" = dlprefiles; then
  54380. # The library was specified with -dlpreopen.
  54381. - dlprefiles="$dlprefiles $arg"
  54382. + func_append dlprefiles " $arg"
  54383. prev=
  54384. else
  54385. - deplibs="$deplibs $arg"
  54386. + func_append deplibs " $arg"
  54387. fi
  54388. continue
  54389. ;;
  54390. @@ -5432,7 +5571,7 @@
  54391. if test -n "$shlibpath_var"; then
  54392. # get the directories listed in $shlibpath_var
  54393. - eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
  54394. + eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\`
  54395. else
  54396. shlib_search_path=
  54397. fi
  54398. @@ -5461,12 +5600,12 @@
  54399. # Find all interdependent deplibs by searching for libraries
  54400. # that are linked more than once (e.g. -la -lb -la)
  54401. for deplib in $deplibs; do
  54402. - if $opt_duplicate_deps ; then
  54403. + if $opt_preserve_dup_deps ; then
  54404. case "$libs " in
  54405. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  54406. + *" $deplib "*) func_append specialdeplibs " $deplib" ;;
  54407. esac
  54408. fi
  54409. - libs="$libs $deplib"
  54410. + func_append libs " $deplib"
  54411. done
  54412. if test "$linkmode" = lib; then
  54413. @@ -5479,9 +5618,9 @@
  54414. if $opt_duplicate_compiler_generated_deps; then
  54415. for pre_post_dep in $predeps $postdeps; do
  54416. case "$pre_post_deps " in
  54417. - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
  54418. + *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;;
  54419. esac
  54420. - pre_post_deps="$pre_post_deps $pre_post_dep"
  54421. + func_append pre_post_deps " $pre_post_dep"
  54422. done
  54423. fi
  54424. pre_post_deps=
  54425. @@ -5540,10 +5679,7 @@
  54426. case $pass in
  54427. dlopen) libs="$dlfiles" ;;
  54428. dlpreopen) libs="$dlprefiles" ;;
  54429. - link)
  54430. - libs="$deplibs %DEPLIBS%"
  54431. - test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
  54432. - ;;
  54433. + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
  54434. esac
  54435. fi
  54436. if test "$linkmode,$pass" = "lib,dlpreopen"; then
  54437. @@ -5558,10 +5694,11 @@
  54438. # Collect preopened libtool deplibs, except any this library
  54439. # has declared as weak libs
  54440. for deplib in $dependency_libs; do
  54441. - deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"`
  54442. + func_basename "$deplib"
  54443. + deplib_base=$func_basename_result
  54444. case " $weak_libs " in
  54445. *" $deplib_base "*) ;;
  54446. - *) deplibs="$deplibs $deplib" ;;
  54447. + *) func_append deplibs " $deplib" ;;
  54448. esac
  54449. done
  54450. done
  54451. @@ -5582,11 +5719,11 @@
  54452. compile_deplibs="$deplib $compile_deplibs"
  54453. finalize_deplibs="$deplib $finalize_deplibs"
  54454. else
  54455. - compiler_flags="$compiler_flags $deplib"
  54456. + func_append compiler_flags " $deplib"
  54457. if test "$linkmode" = lib ; then
  54458. case "$new_inherited_linker_flags " in
  54459. *" $deplib "*) ;;
  54460. - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  54461. + * ) func_append new_inherited_linker_flags " $deplib" ;;
  54462. esac
  54463. fi
  54464. fi
  54465. @@ -5671,7 +5808,7 @@
  54466. if test "$linkmode" = lib ; then
  54467. case "$new_inherited_linker_flags " in
  54468. *" $deplib "*) ;;
  54469. - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
  54470. + * ) func_append new_inherited_linker_flags " $deplib" ;;
  54471. esac
  54472. fi
  54473. fi
  54474. @@ -5684,7 +5821,7 @@
  54475. test "$pass" = conv && continue
  54476. newdependency_libs="$deplib $newdependency_libs"
  54477. func_stripname '-L' '' "$deplib"
  54478. - newlib_search_path="$newlib_search_path $func_stripname_result"
  54479. + func_append newlib_search_path " $func_stripname_result"
  54480. ;;
  54481. prog)
  54482. if test "$pass" = conv; then
  54483. @@ -5698,7 +5835,7 @@
  54484. finalize_deplibs="$deplib $finalize_deplibs"
  54485. fi
  54486. func_stripname '-L' '' "$deplib"
  54487. - newlib_search_path="$newlib_search_path $func_stripname_result"
  54488. + func_append newlib_search_path " $func_stripname_result"
  54489. ;;
  54490. *)
  54491. func_warning "\`-L' is ignored for archives/objects"
  54492. @@ -5713,7 +5850,7 @@
  54493. # Make sure the xrpath contains only unique directories.
  54494. case "$xrpath " in
  54495. *" $dir "*) ;;
  54496. - *) xrpath="$xrpath $dir" ;;
  54497. + *) func_append xrpath " $dir" ;;
  54498. esac
  54499. fi
  54500. deplibs="$deplib $deplibs"
  54501. @@ -5737,7 +5874,7 @@
  54502. match_pattern*)
  54503. set dummy $deplibs_check_method; shift
  54504. match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"`
  54505. - if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \
  54506. + if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
  54507. | $EGREP "$match_pattern_regex" > /dev/null; then
  54508. valid_a_lib=yes
  54509. fi
  54510. @@ -5747,15 +5884,15 @@
  54511. ;;
  54512. esac
  54513. if test "$valid_a_lib" != yes; then
  54514. - $ECHO
  54515. + echo
  54516. $ECHO "*** Warning: Trying to link with static lib archive $deplib."
  54517. - $ECHO "*** I have the capability to make that library automatically link in when"
  54518. - $ECHO "*** you link to this library. But I can only do this if you have a"
  54519. - $ECHO "*** shared version of the library, which you do not appear to have"
  54520. - $ECHO "*** because the file extensions .$libext of this argument makes me believe"
  54521. - $ECHO "*** that it is just a static archive that I should not use here."
  54522. + echo "*** I have the capability to make that library automatically link in when"
  54523. + echo "*** you link to this library. But I can only do this if you have a"
  54524. + echo "*** shared version of the library, which you do not appear to have"
  54525. + echo "*** because the file extensions .$libext of this argument makes me believe"
  54526. + echo "*** that it is just a static archive that I should not use here."
  54527. else
  54528. - $ECHO
  54529. + echo
  54530. $ECHO "*** Warning: Linking the shared library $output against the"
  54531. $ECHO "*** static library $deplib is not portable!"
  54532. deplibs="$deplib $deplibs"
  54533. @@ -5782,11 +5919,11 @@
  54534. if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
  54535. # If there is no dlopen support or we're linking statically,
  54536. # we need to preload.
  54537. - newdlprefiles="$newdlprefiles $deplib"
  54538. + func_append newdlprefiles " $deplib"
  54539. compile_deplibs="$deplib $compile_deplibs"
  54540. finalize_deplibs="$deplib $finalize_deplibs"
  54541. else
  54542. - newdlfiles="$newdlfiles $deplib"
  54543. + func_append newdlfiles " $deplib"
  54544. fi
  54545. fi
  54546. continue
  54547. @@ -5828,20 +5965,20 @@
  54548. # Convert "-framework foo" to "foo.ltframework"
  54549. if test -n "$inherited_linker_flags"; then
  54550. - tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
  54551. + tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'`
  54552. for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
  54553. case " $new_inherited_linker_flags " in
  54554. *" $tmp_inherited_linker_flag "*) ;;
  54555. - *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
  54556. + *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";;
  54557. esac
  54558. done
  54559. fi
  54560. - dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  54561. + dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  54562. if test "$linkmode,$pass" = "lib,link" ||
  54563. test "$linkmode,$pass" = "prog,scan" ||
  54564. { test "$linkmode" != prog && test "$linkmode" != lib; }; then
  54565. - test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
  54566. - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
  54567. + test -n "$dlopen" && func_append dlfiles " $dlopen"
  54568. + test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
  54569. fi
  54570. if test "$pass" = conv; then
  54571. @@ -5852,20 +5989,20 @@
  54572. func_fatal_error "cannot find name of link library for \`$lib'"
  54573. fi
  54574. # It is a libtool convenience library, so add in its objects.
  54575. - convenience="$convenience $ladir/$objdir/$old_library"
  54576. - old_convenience="$old_convenience $ladir/$objdir/$old_library"
  54577. + func_append convenience " $ladir/$objdir/$old_library"
  54578. + func_append old_convenience " $ladir/$objdir/$old_library"
  54579. elif test "$linkmode" != prog && test "$linkmode" != lib; then
  54580. func_fatal_error "\`$lib' is not a convenience library"
  54581. fi
  54582. tmp_libs=
  54583. for deplib in $dependency_libs; do
  54584. deplibs="$deplib $deplibs"
  54585. - if $opt_duplicate_deps ; then
  54586. + if $opt_preserve_dup_deps ; then
  54587. case "$tmp_libs " in
  54588. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  54589. + *" $deplib "*) func_append specialdeplibs " $deplib" ;;
  54590. esac
  54591. fi
  54592. - tmp_libs="$tmp_libs $deplib"
  54593. + func_append tmp_libs " $deplib"
  54594. done
  54595. continue
  54596. fi # $pass = conv
  54597. @@ -5892,9 +6029,9 @@
  54598. # statically, we need to preload. We also need to preload any
  54599. # dependent libraries so libltdl's deplib preloader doesn't
  54600. # bomb out in the load deplibs phase.
  54601. - dlprefiles="$dlprefiles $lib $dependency_libs"
  54602. + func_append dlprefiles " $lib $dependency_libs"
  54603. else
  54604. - newdlfiles="$newdlfiles $lib"
  54605. + func_append newdlfiles " $lib"
  54606. fi
  54607. continue
  54608. fi # $pass = dlopen
  54609. @@ -5931,12 +6068,12 @@
  54610. dir="$ladir"
  54611. absdir="$abs_ladir"
  54612. # Remove this search path later
  54613. - notinst_path="$notinst_path $abs_ladir"
  54614. + func_append notinst_path " $abs_ladir"
  54615. else
  54616. dir="$ladir/$objdir"
  54617. absdir="$abs_ladir/$objdir"
  54618. # Remove this search path later
  54619. - notinst_path="$notinst_path $abs_ladir"
  54620. + func_append notinst_path " $abs_ladir"
  54621. fi
  54622. fi # $installed = yes
  54623. func_stripname 'lib' '.la' "$laname"
  54624. @@ -5947,20 +6084,46 @@
  54625. if test -z "$libdir" && test "$linkmode" = prog; then
  54626. func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
  54627. fi
  54628. - # Prefer using a static library (so that no silly _DYNAMIC symbols
  54629. - # are required to link).
  54630. - if test -n "$old_library"; then
  54631. - newdlprefiles="$newdlprefiles $dir/$old_library"
  54632. - # Keep a list of preopened convenience libraries to check
  54633. - # that they are being used correctly in the link pass.
  54634. - test -z "$libdir" && \
  54635. - dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
  54636. - # Otherwise, use the dlname, so that lt_dlopen finds it.
  54637. - elif test -n "$dlname"; then
  54638. - newdlprefiles="$newdlprefiles $dir/$dlname"
  54639. - else
  54640. - newdlprefiles="$newdlprefiles $dir/$linklib"
  54641. - fi
  54642. + case "$host" in
  54643. + # special handling for platforms with PE-DLLs.
  54644. + *cygwin* | *mingw* | *cegcc* )
  54645. + # Linker will automatically link against shared library if both
  54646. + # static and shared are present. Therefore, ensure we extract
  54647. + # symbols from the import library if a shared library is present
  54648. + # (otherwise, the dlopen module name will be incorrect). We do
  54649. + # this by putting the import library name into $newdlprefiles.
  54650. + # We recover the dlopen module name by 'saving' the la file
  54651. + # name in a special purpose variable, and (later) extracting the
  54652. + # dlname from the la file.
  54653. + if test -n "$dlname"; then
  54654. + func_tr_sh "$dir/$linklib"
  54655. + eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
  54656. + func_append newdlprefiles " $dir/$linklib"
  54657. + else
  54658. + func_append newdlprefiles " $dir/$old_library"
  54659. + # Keep a list of preopened convenience libraries to check
  54660. + # that they are being used correctly in the link pass.
  54661. + test -z "$libdir" && \
  54662. + func_append dlpreconveniencelibs " $dir/$old_library"
  54663. + fi
  54664. + ;;
  54665. + * )
  54666. + # Prefer using a static library (so that no silly _DYNAMIC symbols
  54667. + # are required to link).
  54668. + if test -n "$old_library"; then
  54669. + func_append newdlprefiles " $dir/$old_library"
  54670. + # Keep a list of preopened convenience libraries to check
  54671. + # that they are being used correctly in the link pass.
  54672. + test -z "$libdir" && \
  54673. + func_append dlpreconveniencelibs " $dir/$old_library"
  54674. + # Otherwise, use the dlname, so that lt_dlopen finds it.
  54675. + elif test -n "$dlname"; then
  54676. + func_append newdlprefiles " $dir/$dlname"
  54677. + else
  54678. + func_append newdlprefiles " $dir/$linklib"
  54679. + fi
  54680. + ;;
  54681. + esac
  54682. fi # $pass = dlpreopen
  54683. if test -z "$libdir"; then
  54684. @@ -5978,7 +6141,7 @@
  54685. if test "$linkmode" = prog && test "$pass" != link; then
  54686. - newlib_search_path="$newlib_search_path $ladir"
  54687. + func_append newlib_search_path " $ladir"
  54688. deplibs="$lib $deplibs"
  54689. linkalldeplibs=no
  54690. @@ -5991,7 +6154,7 @@
  54691. for deplib in $dependency_libs; do
  54692. case $deplib in
  54693. -L*) func_stripname '-L' '' "$deplib"
  54694. - newlib_search_path="$newlib_search_path $func_stripname_result"
  54695. + func_append newlib_search_path " $func_stripname_result"
  54696. ;;
  54697. esac
  54698. # Need to link against all dependency_libs?
  54699. @@ -6002,12 +6165,12 @@
  54700. # or/and link against static libraries
  54701. newdependency_libs="$deplib $newdependency_libs"
  54702. fi
  54703. - if $opt_duplicate_deps ; then
  54704. + if $opt_preserve_dup_deps ; then
  54705. case "$tmp_libs " in
  54706. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  54707. + *" $deplib "*) func_append specialdeplibs " $deplib" ;;
  54708. esac
  54709. fi
  54710. - tmp_libs="$tmp_libs $deplib"
  54711. + func_append tmp_libs " $deplib"
  54712. done # for deplib
  54713. continue
  54714. fi # $linkmode = prog...
  54715. @@ -6022,7 +6185,7 @@
  54716. # Make sure the rpath contains only unique directories.
  54717. case "$temp_rpath:" in
  54718. *"$absdir:"*) ;;
  54719. - *) temp_rpath="$temp_rpath$absdir:" ;;
  54720. + *) func_append temp_rpath "$absdir:" ;;
  54721. esac
  54722. fi
  54723. @@ -6034,7 +6197,7 @@
  54724. *)
  54725. case "$compile_rpath " in
  54726. *" $absdir "*) ;;
  54727. - *) compile_rpath="$compile_rpath $absdir"
  54728. + *) func_append compile_rpath " $absdir" ;;
  54729. esac
  54730. ;;
  54731. esac
  54732. @@ -6043,7 +6206,7 @@
  54733. *)
  54734. case "$finalize_rpath " in
  54735. *" $libdir "*) ;;
  54736. - *) finalize_rpath="$finalize_rpath $libdir"
  54737. + *) func_append finalize_rpath " $libdir" ;;
  54738. esac
  54739. ;;
  54740. esac
  54741. @@ -6068,12 +6231,12 @@
  54742. case $host in
  54743. *cygwin* | *mingw* | *cegcc*)
  54744. # No point in relinking DLLs because paths are not encoded
  54745. - notinst_deplibs="$notinst_deplibs $lib"
  54746. + func_append notinst_deplibs " $lib"
  54747. need_relink=no
  54748. ;;
  54749. *)
  54750. if test "$installed" = no; then
  54751. - notinst_deplibs="$notinst_deplibs $lib"
  54752. + func_append notinst_deplibs " $lib"
  54753. need_relink=yes
  54754. fi
  54755. ;;
  54756. @@ -6090,7 +6253,7 @@
  54757. fi
  54758. done
  54759. if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
  54760. - $ECHO
  54761. + echo
  54762. if test "$linkmode" = prog; then
  54763. $ECHO "*** Warning: Linking the executable $output against the loadable module"
  54764. else
  54765. @@ -6108,7 +6271,7 @@
  54766. *)
  54767. case "$compile_rpath " in
  54768. *" $absdir "*) ;;
  54769. - *) compile_rpath="$compile_rpath $absdir"
  54770. + *) func_append compile_rpath " $absdir" ;;
  54771. esac
  54772. ;;
  54773. esac
  54774. @@ -6117,7 +6280,7 @@
  54775. *)
  54776. case "$finalize_rpath " in
  54777. *" $libdir "*) ;;
  54778. - *) finalize_rpath="$finalize_rpath $libdir"
  54779. + *) func_append finalize_rpath " $libdir" ;;
  54780. esac
  54781. ;;
  54782. esac
  54783. @@ -6171,7 +6334,7 @@
  54784. linklib=$newlib
  54785. fi # test -n "$old_archive_from_expsyms_cmds"
  54786. - if test "$linkmode" = prog || test "$mode" != relink; then
  54787. + if test "$linkmode" = prog || test "$opt_mode" != relink; then
  54788. add_shlibpath=
  54789. add_dir=
  54790. add=
  54791. @@ -6193,9 +6356,9 @@
  54792. if test "X$dlopenmodule" != "X$lib"; then
  54793. $ECHO "*** Warning: lib $linklib is a module, not a shared library"
  54794. if test -z "$old_library" ; then
  54795. - $ECHO
  54796. - $ECHO "*** And there doesn't seem to be a static archive available"
  54797. - $ECHO "*** The link will probably fail, sorry"
  54798. + echo
  54799. + echo "*** And there doesn't seem to be a static archive available"
  54800. + echo "*** The link will probably fail, sorry"
  54801. else
  54802. add="$dir/$old_library"
  54803. fi
  54804. @@ -6227,7 +6390,7 @@
  54805. if test -n "$inst_prefix_dir"; then
  54806. case $libdir in
  54807. [\\/]*)
  54808. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  54809. + func_append add_dir " -L$inst_prefix_dir$libdir"
  54810. ;;
  54811. esac
  54812. fi
  54813. @@ -6249,7 +6412,7 @@
  54814. if test -n "$add_shlibpath"; then
  54815. case :$compile_shlibpath: in
  54816. *":$add_shlibpath:"*) ;;
  54817. - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
  54818. + *) func_append compile_shlibpath "$add_shlibpath:" ;;
  54819. esac
  54820. fi
  54821. if test "$linkmode" = prog; then
  54822. @@ -6263,13 +6426,13 @@
  54823. test "$hardcode_shlibpath_var" = yes; then
  54824. case :$finalize_shlibpath: in
  54825. *":$libdir:"*) ;;
  54826. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  54827. + *) func_append finalize_shlibpath "$libdir:" ;;
  54828. esac
  54829. fi
  54830. fi
  54831. fi
  54832. - if test "$linkmode" = prog || test "$mode" = relink; then
  54833. + if test "$linkmode" = prog || test "$opt_mode" = relink; then
  54834. add_shlibpath=
  54835. add_dir=
  54836. add=
  54837. @@ -6283,7 +6446,7 @@
  54838. elif test "$hardcode_shlibpath_var" = yes; then
  54839. case :$finalize_shlibpath: in
  54840. *":$libdir:"*) ;;
  54841. - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
  54842. + *) func_append finalize_shlibpath "$libdir:" ;;
  54843. esac
  54844. add="-l$name"
  54845. elif test "$hardcode_automatic" = yes; then
  54846. @@ -6300,7 +6463,7 @@
  54847. if test -n "$inst_prefix_dir"; then
  54848. case $libdir in
  54849. [\\/]*)
  54850. - add_dir="$add_dir -L$inst_prefix_dir$libdir"
  54851. + func_append add_dir " -L$inst_prefix_dir$libdir"
  54852. ;;
  54853. esac
  54854. fi
  54855. @@ -6335,21 +6498,21 @@
  54856. # Just print a warning and add the library to dependency_libs so
  54857. # that the program can be linked against the static library.
  54858. - $ECHO
  54859. + echo
  54860. $ECHO "*** Warning: This system can not link to static lib archive $lib."
  54861. - $ECHO "*** I have the capability to make that library automatically link in when"
  54862. - $ECHO "*** you link to this library. But I can only do this if you have a"
  54863. - $ECHO "*** shared version of the library, which you do not appear to have."
  54864. + echo "*** I have the capability to make that library automatically link in when"
  54865. + echo "*** you link to this library. But I can only do this if you have a"
  54866. + echo "*** shared version of the library, which you do not appear to have."
  54867. if test "$module" = yes; then
  54868. - $ECHO "*** But as you try to build a module library, libtool will still create "
  54869. - $ECHO "*** a static module, that should work as long as the dlopening application"
  54870. - $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime."
  54871. + echo "*** But as you try to build a module library, libtool will still create "
  54872. + echo "*** a static module, that should work as long as the dlopening application"
  54873. + echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
  54874. if test -z "$global_symbol_pipe"; then
  54875. - $ECHO
  54876. - $ECHO "*** However, this would only work if libtool was able to extract symbol"
  54877. - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  54878. - $ECHO "*** not find such a program. So, this module is probably useless."
  54879. - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  54880. + echo
  54881. + echo "*** However, this would only work if libtool was able to extract symbol"
  54882. + echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
  54883. + echo "*** not find such a program. So, this module is probably useless."
  54884. + echo "*** \`nm' from GNU binutils and a full rebuild may help."
  54885. fi
  54886. if test "$build_old_libs" = no; then
  54887. build_libtool_libs=module
  54888. @@ -6377,32 +6540,33 @@
  54889. temp_xrpath=$func_stripname_result
  54890. case " $xrpath " in
  54891. *" $temp_xrpath "*) ;;
  54892. - *) xrpath="$xrpath $temp_xrpath";;
  54893. + *) func_append xrpath " $temp_xrpath";;
  54894. esac;;
  54895. - *) temp_deplibs="$temp_deplibs $libdir";;
  54896. + *) func_append temp_deplibs " $libdir";;
  54897. esac
  54898. done
  54899. dependency_libs="$temp_deplibs"
  54900. fi
  54901. - newlib_search_path="$newlib_search_path $absdir"
  54902. + func_append newlib_search_path " $absdir"
  54903. # Link against this library
  54904. test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
  54905. # ... and its dependency_libs
  54906. tmp_libs=
  54907. for deplib in $dependency_libs; do
  54908. newdependency_libs="$deplib $newdependency_libs"
  54909. - if $opt_duplicate_deps ; then
  54910. + if $opt_preserve_dup_deps ; then
  54911. case "$tmp_libs " in
  54912. - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
  54913. + *" $deplib "*) func_append specialdeplibs " $deplib" ;;
  54914. esac
  54915. fi
  54916. - tmp_libs="$tmp_libs $deplib"
  54917. + func_append tmp_libs " $deplib"
  54918. done
  54919. if test "$link_all_deplibs" != no; then
  54920. # Add the search paths of all dependency libraries
  54921. for deplib in $dependency_libs; do
  54922. + path=
  54923. case $deplib in
  54924. -L*) path="$deplib" ;;
  54925. *.la)
  54926. @@ -6434,8 +6598,8 @@
  54927. if test -z "$darwin_install_name"; then
  54928. darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
  54929. fi
  54930. - compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
  54931. - linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
  54932. + func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
  54933. + func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}"
  54934. path=
  54935. fi
  54936. fi
  54937. @@ -6468,7 +6632,7 @@
  54938. compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
  54939. finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
  54940. else
  54941. - compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  54942. + func_append compiler_flags " "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  54943. fi
  54944. fi
  54945. dependency_libs="$newdependency_libs"
  54946. @@ -6485,7 +6649,7 @@
  54947. for dir in $newlib_search_path; do
  54948. case "$lib_search_path " in
  54949. *" $dir "*) ;;
  54950. - *) lib_search_path="$lib_search_path $dir" ;;
  54951. + *) func_append lib_search_path " $dir" ;;
  54952. esac
  54953. done
  54954. newlib_search_path=
  54955. @@ -6543,10 +6707,10 @@
  54956. -L*)
  54957. case " $tmp_libs " in
  54958. *" $deplib "*) ;;
  54959. - *) tmp_libs="$tmp_libs $deplib" ;;
  54960. + *) func_append tmp_libs " $deplib" ;;
  54961. esac
  54962. ;;
  54963. - *) tmp_libs="$tmp_libs $deplib" ;;
  54964. + *) func_append tmp_libs " $deplib" ;;
  54965. esac
  54966. done
  54967. eval $var=\"$tmp_libs\"
  54968. @@ -6562,7 +6726,7 @@
  54969. ;;
  54970. esac
  54971. if test -n "$i" ; then
  54972. - tmp_libs="$tmp_libs $i"
  54973. + func_append tmp_libs " $i"
  54974. fi
  54975. done
  54976. dependency_libs=$tmp_libs
  54977. @@ -6603,7 +6767,7 @@
  54978. # Now set the variables for building old libraries.
  54979. build_libtool_libs=no
  54980. oldlibs="$output"
  54981. - objs="$objs$old_deplibs"
  54982. + func_append objs "$old_deplibs"
  54983. ;;
  54984. lib)
  54985. @@ -6636,10 +6800,10 @@
  54986. if test "$deplibs_check_method" != pass_all; then
  54987. func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
  54988. else
  54989. - $ECHO
  54990. + echo
  54991. $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
  54992. $ECHO "*** objects $objs is not portable!"
  54993. - libobjs="$libobjs $objs"
  54994. + func_append libobjs " $objs"
  54995. fi
  54996. fi
  54997. @@ -6704,7 +6868,7 @@
  54998. age="$number_minor"
  54999. revision="$number_revision"
  55000. ;;
  55001. - freebsd-aout|freebsd-elf|sunos)
  55002. + freebsd-aout|freebsd-elf|qnx|sunos)
  55003. current="$number_major"
  55004. revision="$number_minor"
  55005. age="0"
  55006. @@ -6716,9 +6880,6 @@
  55007. revision="$number_minor"
  55008. lt_irix_increment=no
  55009. ;;
  55010. - *)
  55011. - func_fatal_configuration "$modename: unknown library version type \`$version_type'"
  55012. - ;;
  55013. esac
  55014. ;;
  55015. no)
  55016. @@ -6840,7 +7001,7 @@
  55017. done
  55018. # Make executables depend on our current version.
  55019. - verstring="$verstring:${current}.0"
  55020. + func_append verstring ":${current}.0"
  55021. ;;
  55022. qnx)
  55023. @@ -6908,10 +7069,10 @@
  55024. fi
  55025. func_generate_dlsyms "$libname" "$libname" "yes"
  55026. - libobjs="$libobjs $symfileobj"
  55027. + func_append libobjs " $symfileobj"
  55028. test "X$libobjs" = "X " && libobjs=
  55029. - if test "$mode" != relink; then
  55030. + if test "$opt_mode" != relink; then
  55031. # Remove our outputs, but don't remove object files since they
  55032. # may have been created when compiling PIC objects.
  55033. removelist=
  55034. @@ -6927,7 +7088,7 @@
  55035. continue
  55036. fi
  55037. fi
  55038. - removelist="$removelist $p"
  55039. + func_append removelist " $p"
  55040. ;;
  55041. *) ;;
  55042. esac
  55043. @@ -6938,27 +7099,27 @@
  55044. # Now set the variables for building old libraries.
  55045. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
  55046. - oldlibs="$oldlibs $output_objdir/$libname.$libext"
  55047. + func_append oldlibs " $output_objdir/$libname.$libext"
  55048. # Transform .lo files to .o files.
  55049. - oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
  55050. + oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
  55051. fi
  55052. # Eliminate all temporary directories.
  55053. #for path in $notinst_path; do
  55054. - # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"`
  55055. - # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"`
  55056. - # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"`
  55057. + # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"`
  55058. + # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"`
  55059. + # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"`
  55060. #done
  55061. if test -n "$xrpath"; then
  55062. # If the user specified any rpath flags, then add them.
  55063. temp_xrpath=
  55064. for libdir in $xrpath; do
  55065. - temp_xrpath="$temp_xrpath -R$libdir"
  55066. + func_append temp_xrpath " -R$libdir"
  55067. case "$finalize_rpath " in
  55068. *" $libdir "*) ;;
  55069. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  55070. + *) func_append finalize_rpath " $libdir" ;;
  55071. esac
  55072. done
  55073. if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
  55074. @@ -6972,7 +7133,7 @@
  55075. for lib in $old_dlfiles; do
  55076. case " $dlprefiles $dlfiles " in
  55077. *" $lib "*) ;;
  55078. - *) dlfiles="$dlfiles $lib" ;;
  55079. + *) func_append dlfiles " $lib" ;;
  55080. esac
  55081. done
  55082. @@ -6982,19 +7143,19 @@
  55083. for lib in $old_dlprefiles; do
  55084. case "$dlprefiles " in
  55085. *" $lib "*) ;;
  55086. - *) dlprefiles="$dlprefiles $lib" ;;
  55087. + *) func_append dlprefiles " $lib" ;;
  55088. esac
  55089. done
  55090. if test "$build_libtool_libs" = yes; then
  55091. if test -n "$rpath"; then
  55092. case $host in
  55093. - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
  55094. + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
  55095. # these systems don't actually have a c library (as such)!
  55096. ;;
  55097. *-*-rhapsody* | *-*-darwin1.[012])
  55098. # Rhapsody C library is in the System framework
  55099. - deplibs="$deplibs System.ltframework"
  55100. + func_append deplibs " System.ltframework"
  55101. ;;
  55102. *-*-netbsd*)
  55103. # Don't link with libc until the a.out ld.so is fixed.
  55104. @@ -7011,7 +7172,7 @@
  55105. *)
  55106. # Add libc to deplibs on all other systems if necessary.
  55107. if test "$build_libtool_need_lc" = "yes"; then
  55108. - deplibs="$deplibs -lc"
  55109. + func_append deplibs " -lc"
  55110. fi
  55111. ;;
  55112. esac
  55113. @@ -7060,7 +7221,7 @@
  55114. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  55115. case " $predeps $postdeps " in
  55116. *" $i "*)
  55117. - newdeplibs="$newdeplibs $i"
  55118. + func_append newdeplibs " $i"
  55119. i=""
  55120. ;;
  55121. esac
  55122. @@ -7071,21 +7232,21 @@
  55123. set dummy $deplib_matches; shift
  55124. deplib_match=$1
  55125. if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  55126. - newdeplibs="$newdeplibs $i"
  55127. + func_append newdeplibs " $i"
  55128. else
  55129. droppeddeps=yes
  55130. - $ECHO
  55131. + echo
  55132. $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  55133. - $ECHO "*** I have the capability to make that library automatically link in when"
  55134. - $ECHO "*** you link to this library. But I can only do this if you have a"
  55135. - $ECHO "*** shared version of the library, which I believe you do not have"
  55136. - $ECHO "*** because a test_compile did reveal that the linker did not use it for"
  55137. - $ECHO "*** its dynamic dependency list that programs get resolved with at runtime."
  55138. + echo "*** I have the capability to make that library automatically link in when"
  55139. + echo "*** you link to this library. But I can only do this if you have a"
  55140. + echo "*** shared version of the library, which I believe you do not have"
  55141. + echo "*** because a test_compile did reveal that the linker did not use it for"
  55142. + echo "*** its dynamic dependency list that programs get resolved with at runtime."
  55143. fi
  55144. fi
  55145. ;;
  55146. *)
  55147. - newdeplibs="$newdeplibs $i"
  55148. + func_append newdeplibs " $i"
  55149. ;;
  55150. esac
  55151. done
  55152. @@ -7103,7 +7264,7 @@
  55153. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  55154. case " $predeps $postdeps " in
  55155. *" $i "*)
  55156. - newdeplibs="$newdeplibs $i"
  55157. + func_append newdeplibs " $i"
  55158. i=""
  55159. ;;
  55160. esac
  55161. @@ -7114,29 +7275,29 @@
  55162. set dummy $deplib_matches; shift
  55163. deplib_match=$1
  55164. if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
  55165. - newdeplibs="$newdeplibs $i"
  55166. + func_append newdeplibs " $i"
  55167. else
  55168. droppeddeps=yes
  55169. - $ECHO
  55170. + echo
  55171. $ECHO "*** Warning: dynamic linker does not accept needed library $i."
  55172. - $ECHO "*** I have the capability to make that library automatically link in when"
  55173. - $ECHO "*** you link to this library. But I can only do this if you have a"
  55174. - $ECHO "*** shared version of the library, which you do not appear to have"
  55175. - $ECHO "*** because a test_compile did reveal that the linker did not use this one"
  55176. - $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime."
  55177. + echo "*** I have the capability to make that library automatically link in when"
  55178. + echo "*** you link to this library. But I can only do this if you have a"
  55179. + echo "*** shared version of the library, which you do not appear to have"
  55180. + echo "*** because a test_compile did reveal that the linker did not use this one"
  55181. + echo "*** as a dynamic dependency that programs can get resolved with at runtime."
  55182. fi
  55183. fi
  55184. else
  55185. droppeddeps=yes
  55186. - $ECHO
  55187. + echo
  55188. $ECHO "*** Warning! Library $i is needed by this library but I was not able to"
  55189. - $ECHO "*** make it link in! You will probably need to install it or some"
  55190. - $ECHO "*** library that it depends on before this library will be fully"
  55191. - $ECHO "*** functional. Installing it before continuing would be even better."
  55192. + echo "*** make it link in! You will probably need to install it or some"
  55193. + echo "*** library that it depends on before this library will be fully"
  55194. + echo "*** functional. Installing it before continuing would be even better."
  55195. fi
  55196. ;;
  55197. *)
  55198. - newdeplibs="$newdeplibs $i"
  55199. + func_append newdeplibs " $i"
  55200. ;;
  55201. esac
  55202. done
  55203. @@ -7153,15 +7314,27 @@
  55204. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  55205. case " $predeps $postdeps " in
  55206. *" $a_deplib "*)
  55207. - newdeplibs="$newdeplibs $a_deplib"
  55208. + func_append newdeplibs " $a_deplib"
  55209. a_deplib=""
  55210. ;;
  55211. esac
  55212. fi
  55213. if test -n "$a_deplib" ; then
  55214. libname=`eval "\\$ECHO \"$libname_spec\""`
  55215. + if test -n "$file_magic_glob"; then
  55216. + libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
  55217. + else
  55218. + libnameglob=$libname
  55219. + fi
  55220. + test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob`
  55221. for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
  55222. - potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  55223. + if test "$want_nocaseglob" = yes; then
  55224. + shopt -s nocaseglob
  55225. + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
  55226. + $nocaseglob
  55227. + else
  55228. + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
  55229. + fi
  55230. for potent_lib in $potential_libs; do
  55231. # Follow soft links.
  55232. if ls -lLd "$potent_lib" 2>/dev/null |
  55233. @@ -7178,13 +7351,13 @@
  55234. potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
  55235. case $potliblink in
  55236. [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
  55237. - *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
  55238. + *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
  55239. esac
  55240. done
  55241. if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
  55242. $SED -e 10q |
  55243. $EGREP "$file_magic_regex" > /dev/null; then
  55244. - newdeplibs="$newdeplibs $a_deplib"
  55245. + func_append newdeplibs " $a_deplib"
  55246. a_deplib=""
  55247. break 2
  55248. fi
  55249. @@ -7193,12 +7366,12 @@
  55250. fi
  55251. if test -n "$a_deplib" ; then
  55252. droppeddeps=yes
  55253. - $ECHO
  55254. + echo
  55255. $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  55256. - $ECHO "*** I have the capability to make that library automatically link in when"
  55257. - $ECHO "*** you link to this library. But I can only do this if you have a"
  55258. - $ECHO "*** shared version of the library, which you do not appear to have"
  55259. - $ECHO "*** because I did check the linker path looking for a file starting"
  55260. + echo "*** I have the capability to make that library automatically link in when"
  55261. + echo "*** you link to this library. But I can only do this if you have a"
  55262. + echo "*** shared version of the library, which you do not appear to have"
  55263. + echo "*** because I did check the linker path looking for a file starting"
  55264. if test -z "$potlib" ; then
  55265. $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
  55266. else
  55267. @@ -7209,7 +7382,7 @@
  55268. ;;
  55269. *)
  55270. # Add a -L argument.
  55271. - newdeplibs="$newdeplibs $a_deplib"
  55272. + func_append newdeplibs " $a_deplib"
  55273. ;;
  55274. esac
  55275. done # Gone through all deplibs.
  55276. @@ -7225,7 +7398,7 @@
  55277. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  55278. case " $predeps $postdeps " in
  55279. *" $a_deplib "*)
  55280. - newdeplibs="$newdeplibs $a_deplib"
  55281. + func_append newdeplibs " $a_deplib"
  55282. a_deplib=""
  55283. ;;
  55284. esac
  55285. @@ -7236,9 +7409,9 @@
  55286. potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
  55287. for potent_lib in $potential_libs; do
  55288. potlib="$potent_lib" # see symlink-check above in file_magic test
  55289. - if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \
  55290. + if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
  55291. $EGREP "$match_pattern_regex" > /dev/null; then
  55292. - newdeplibs="$newdeplibs $a_deplib"
  55293. + func_append newdeplibs " $a_deplib"
  55294. a_deplib=""
  55295. break 2
  55296. fi
  55297. @@ -7247,12 +7420,12 @@
  55298. fi
  55299. if test -n "$a_deplib" ; then
  55300. droppeddeps=yes
  55301. - $ECHO
  55302. + echo
  55303. $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
  55304. - $ECHO "*** I have the capability to make that library automatically link in when"
  55305. - $ECHO "*** you link to this library. But I can only do this if you have a"
  55306. - $ECHO "*** shared version of the library, which you do not appear to have"
  55307. - $ECHO "*** because I did check the linker path looking for a file starting"
  55308. + echo "*** I have the capability to make that library automatically link in when"
  55309. + echo "*** you link to this library. But I can only do this if you have a"
  55310. + echo "*** shared version of the library, which you do not appear to have"
  55311. + echo "*** because I did check the linker path looking for a file starting"
  55312. if test -z "$potlib" ; then
  55313. $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
  55314. else
  55315. @@ -7263,32 +7436,32 @@
  55316. ;;
  55317. *)
  55318. # Add a -L argument.
  55319. - newdeplibs="$newdeplibs $a_deplib"
  55320. + func_append newdeplibs " $a_deplib"
  55321. ;;
  55322. esac
  55323. done # Gone through all deplibs.
  55324. ;;
  55325. none | unknown | *)
  55326. newdeplibs=""
  55327. - tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \
  55328. - -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'`
  55329. + tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
  55330. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
  55331. for i in $predeps $postdeps ; do
  55332. # can't use Xsed below, because $i might contain '/'
  55333. - tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
  55334. + tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"`
  55335. done
  55336. fi
  55337. - if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' |
  55338. - $GREP . >/dev/null; then
  55339. - $ECHO
  55340. + case $tmp_deplibs in
  55341. + *[!\ \ ]*)
  55342. + echo
  55343. if test "X$deplibs_check_method" = "Xnone"; then
  55344. - $ECHO "*** Warning: inter-library dependencies are not supported in this platform."
  55345. + echo "*** Warning: inter-library dependencies are not supported in this platform."
  55346. else
  55347. - $ECHO "*** Warning: inter-library dependencies are not known to be supported."
  55348. + echo "*** Warning: inter-library dependencies are not known to be supported."
  55349. fi
  55350. - $ECHO "*** All declared inter-library dependencies are being dropped."
  55351. + echo "*** All declared inter-library dependencies are being dropped."
  55352. droppeddeps=yes
  55353. - fi
  55354. + ;;
  55355. + esac
  55356. ;;
  55357. esac
  55358. versuffix=$versuffix_save
  55359. @@ -7300,23 +7473,23 @@
  55360. case $host in
  55361. *-*-rhapsody* | *-*-darwin1.[012])
  55362. # On Rhapsody replace the C library with the System framework
  55363. - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  55364. + newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'`
  55365. ;;
  55366. esac
  55367. if test "$droppeddeps" = yes; then
  55368. if test "$module" = yes; then
  55369. - $ECHO
  55370. - $ECHO "*** Warning: libtool could not satisfy all declared inter-library"
  55371. + echo
  55372. + echo "*** Warning: libtool could not satisfy all declared inter-library"
  55373. $ECHO "*** dependencies of module $libname. Therefore, libtool will create"
  55374. - $ECHO "*** a static module, that should work as long as the dlopening"
  55375. - $ECHO "*** application is linked with the -dlopen flag."
  55376. + echo "*** a static module, that should work as long as the dlopening"
  55377. + echo "*** application is linked with the -dlopen flag."
  55378. if test -z "$global_symbol_pipe"; then
  55379. - $ECHO
  55380. - $ECHO "*** However, this would only work if libtool was able to extract symbol"
  55381. - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could"
  55382. - $ECHO "*** not find such a program. So, this module is probably useless."
  55383. - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help."
  55384. + echo
  55385. + echo "*** However, this would only work if libtool was able to extract symbol"
  55386. + echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
  55387. + echo "*** not find such a program. So, this module is probably useless."
  55388. + echo "*** \`nm' from GNU binutils and a full rebuild may help."
  55389. fi
  55390. if test "$build_old_libs" = no; then
  55391. oldlibs="$output_objdir/$libname.$libext"
  55392. @@ -7326,16 +7499,16 @@
  55393. build_libtool_libs=no
  55394. fi
  55395. else
  55396. - $ECHO "*** The inter-library dependencies that have been dropped here will be"
  55397. - $ECHO "*** automatically added whenever a program is linked with this library"
  55398. - $ECHO "*** or is declared to -dlopen it."
  55399. + echo "*** The inter-library dependencies that have been dropped here will be"
  55400. + echo "*** automatically added whenever a program is linked with this library"
  55401. + echo "*** or is declared to -dlopen it."
  55402. if test "$allow_undefined" = no; then
  55403. - $ECHO
  55404. - $ECHO "*** Since this library must not contain undefined symbols,"
  55405. - $ECHO "*** because either the platform does not support them or"
  55406. - $ECHO "*** it was explicitly requested with -no-undefined,"
  55407. - $ECHO "*** libtool will only create a static version of it."
  55408. + echo
  55409. + echo "*** Since this library must not contain undefined symbols,"
  55410. + echo "*** because either the platform does not support them or"
  55411. + echo "*** it was explicitly requested with -no-undefined,"
  55412. + echo "*** libtool will only create a static version of it."
  55413. if test "$build_old_libs" = no; then
  55414. oldlibs="$output_objdir/$libname.$libext"
  55415. build_libtool_libs=module
  55416. @@ -7352,9 +7525,9 @@
  55417. # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  55418. case $host in
  55419. *-*-darwin*)
  55420. - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  55421. - new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  55422. - deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  55423. + newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  55424. + new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  55425. + deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  55426. ;;
  55427. esac
  55428. @@ -7367,7 +7540,7 @@
  55429. *)
  55430. case " $deplibs " in
  55431. *" -L$path/$objdir "*)
  55432. - new_libs="$new_libs -L$path/$objdir" ;;
  55433. + func_append new_libs " -L$path/$objdir" ;;
  55434. esac
  55435. ;;
  55436. esac
  55437. @@ -7377,10 +7550,10 @@
  55438. -L*)
  55439. case " $new_libs " in
  55440. *" $deplib "*) ;;
  55441. - *) new_libs="$new_libs $deplib" ;;
  55442. + *) func_append new_libs " $deplib" ;;
  55443. esac
  55444. ;;
  55445. - *) new_libs="$new_libs $deplib" ;;
  55446. + *) func_append new_libs " $deplib" ;;
  55447. esac
  55448. done
  55449. deplibs="$new_libs"
  55450. @@ -7397,7 +7570,7 @@
  55451. hardcode_libdirs=
  55452. dep_rpath=
  55453. rpath="$finalize_rpath"
  55454. - test "$mode" != relink && rpath="$compile_rpath$rpath"
  55455. + test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
  55456. for libdir in $rpath; do
  55457. if test -n "$hardcode_libdir_flag_spec"; then
  55458. if test -n "$hardcode_libdir_separator"; then
  55459. @@ -7409,18 +7582,18 @@
  55460. *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  55461. ;;
  55462. *)
  55463. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  55464. + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
  55465. ;;
  55466. esac
  55467. fi
  55468. else
  55469. eval flag=\"$hardcode_libdir_flag_spec\"
  55470. - dep_rpath="$dep_rpath $flag"
  55471. + func_append dep_rpath " $flag"
  55472. fi
  55473. elif test -n "$runpath_var"; then
  55474. case "$perm_rpath " in
  55475. *" $libdir "*) ;;
  55476. - *) perm_rpath="$perm_rpath $libdir" ;;
  55477. + *) func_apped perm_rpath " $libdir" ;;
  55478. esac
  55479. fi
  55480. done
  55481. @@ -7438,7 +7611,7 @@
  55482. # We should set the runpath_var.
  55483. rpath=
  55484. for dir in $perm_rpath; do
  55485. - rpath="$rpath$dir:"
  55486. + func_append rpath "$dir:"
  55487. done
  55488. eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
  55489. fi
  55490. @@ -7446,7 +7619,7 @@
  55491. fi
  55492. shlibpath="$finalize_shlibpath"
  55493. - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  55494. + test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
  55495. if test -n "$shlibpath"; then
  55496. eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
  55497. fi
  55498. @@ -7472,18 +7645,18 @@
  55499. linknames=
  55500. for link
  55501. do
  55502. - linknames="$linknames $link"
  55503. + func_append linknames " $link"
  55504. done
  55505. # Use standard objects if they are pic
  55506. - test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  55507. + test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP`
  55508. test "X$libobjs" = "X " && libobjs=
  55509. delfiles=
  55510. if test -n "$export_symbols" && test -n "$include_expsyms"; then
  55511. $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
  55512. export_symbols="$output_objdir/$libname.uexp"
  55513. - delfiles="$delfiles $export_symbols"
  55514. + func_append delfiles " $export_symbols"
  55515. fi
  55516. orig_export_symbols=
  55517. @@ -7514,14 +7687,31 @@
  55518. $opt_dry_run || $RM $export_symbols
  55519. cmds=$export_symbols_cmds
  55520. save_ifs="$IFS"; IFS='~'
  55521. - for cmd in $cmds; do
  55522. + for cmd1 in $cmds; do
  55523. IFS="$save_ifs"
  55524. - eval cmd=\"$cmd\"
  55525. + eval cmd=\"$cmd1\"
  55526. func_len " $cmd"
  55527. len=$func_len_result
  55528. if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
  55529. func_show_eval "$cmd" 'exit $?'
  55530. skipped_export=false
  55531. + elif test -n "$nm_file_list_spec"; then
  55532. + func_basename "$output"
  55533. + output_la=$func_basename_result
  55534. + save_libobjs=$libobjs
  55535. + save_output=$output
  55536. + output=${output_objdir}/${output_la}.nm
  55537. + libobjs=$nm_file_list_spec$output
  55538. + func_append delfiles " $output"
  55539. + func_verbose "creating $NM input file list: $output"
  55540. + for obj in $save_libobjs; do
  55541. + $ECHO "$obj"
  55542. + done > "$output"
  55543. + eval cmd=\"$cmd1\"
  55544. + func_show_eval "$cmd" 'exit $?'
  55545. + output=$save_output
  55546. + libobjs=$save_libobjs
  55547. + skipped_export=false
  55548. else
  55549. # The command line is too long to execute in one step.
  55550. func_verbose "using reloadable object file for export list..."
  55551. @@ -7542,7 +7732,7 @@
  55552. if test -n "$export_symbols" && test -n "$include_expsyms"; then
  55553. tmp_export_symbols="$export_symbols"
  55554. test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  55555. - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  55556. + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
  55557. fi
  55558. if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
  55559. @@ -7554,7 +7744,7 @@
  55560. # global variables. join(1) would be nice here, but unfortunately
  55561. # isn't a blessed tool.
  55562. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  55563. - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  55564. + func_append delfiles " $export_symbols $output_objdir/$libname.filter"
  55565. export_symbols=$output_objdir/$libname.def
  55566. $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  55567. fi
  55568. @@ -7564,7 +7754,7 @@
  55569. case " $convenience " in
  55570. *" $test_deplib "*) ;;
  55571. *)
  55572. - tmp_deplibs="$tmp_deplibs $test_deplib"
  55573. + func_append tmp_deplibs " $test_deplib"
  55574. ;;
  55575. esac
  55576. done
  55577. @@ -7584,21 +7774,21 @@
  55578. test "X$libobjs" = "X " && libobjs=
  55579. else
  55580. gentop="$output_objdir/${outputname}x"
  55581. - generated="$generated $gentop"
  55582. + func_append generated " $gentop"
  55583. func_extract_archives $gentop $convenience
  55584. - libobjs="$libobjs $func_extract_archives_result"
  55585. + func_append libobjs " $func_extract_archives_result"
  55586. test "X$libobjs" = "X " && libobjs=
  55587. fi
  55588. fi
  55589. if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
  55590. eval flag=\"$thread_safe_flag_spec\"
  55591. - linker_flags="$linker_flags $flag"
  55592. + func_append linker_flags " $flag"
  55593. fi
  55594. # Make a backup of the uninstalled library when relinking
  55595. - if test "$mode" = relink; then
  55596. + if test "$opt_mode" = relink; then
  55597. $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
  55598. fi
  55599. @@ -7643,7 +7833,8 @@
  55600. save_libobjs=$libobjs
  55601. fi
  55602. save_output=$output
  55603. - output_la=`$ECHO "X$output" | $Xsed -e "$basename"`
  55604. + func_basename "$output"
  55605. + output_la=$func_basename_result
  55606. # Clear the reloadable object creation command queue and
  55607. # initialize k to one.
  55608. @@ -7656,13 +7847,13 @@
  55609. if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
  55610. output=${output_objdir}/${output_la}.lnkscript
  55611. func_verbose "creating GNU ld script: $output"
  55612. - $ECHO 'INPUT (' > $output
  55613. + echo 'INPUT (' > $output
  55614. for obj in $save_libobjs
  55615. do
  55616. $ECHO "$obj" >> $output
  55617. done
  55618. - $ECHO ')' >> $output
  55619. - delfiles="$delfiles $output"
  55620. + echo ')' >> $output
  55621. + func_append delfiles " $output"
  55622. elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
  55623. output=${output_objdir}/${output_la}.lnk
  55624. func_verbose "creating linker input file list: $output"
  55625. @@ -7678,7 +7869,7 @@
  55626. do
  55627. $ECHO "$obj" >> $output
  55628. done
  55629. - delfiles="$delfiles $output"
  55630. + func_append delfiles " $output"
  55631. output=$firstobj\"$file_list_spec$output\"
  55632. else
  55633. if test -n "$save_libobjs"; then
  55634. @@ -7703,17 +7894,19 @@
  55635. # command to the queue.
  55636. if test "$k" -eq 1 ; then
  55637. # The first file doesn't have a previous command to add.
  55638. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
  55639. + reload_objs=$objlist
  55640. + eval concat_cmds=\"$reload_cmds\"
  55641. else
  55642. # All subsequent reloadable object files will link in
  55643. # the last one created.
  55644. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\"
  55645. + reload_objs="$objlist $last_robj"
  55646. + eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
  55647. fi
  55648. last_robj=$output_objdir/$output_la-${k}.$objext
  55649. func_arith $k + 1
  55650. k=$func_arith_result
  55651. output=$output_objdir/$output_la-${k}.$objext
  55652. - objlist=$obj
  55653. + objlist=" $obj"
  55654. func_len " $last_robj"
  55655. func_arith $len0 + $func_len_result
  55656. len=$func_arith_result
  55657. @@ -7723,11 +7916,12 @@
  55658. # reloadable object file. All subsequent reloadable object
  55659. # files will link in the last one created.
  55660. test -z "$concat_cmds" || concat_cmds=$concat_cmds~
  55661. - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
  55662. + reload_objs="$objlist $last_robj"
  55663. + eval concat_cmds=\"\${concat_cmds}$reload_cmds\"
  55664. if test -n "$last_robj"; then
  55665. eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
  55666. fi
  55667. - delfiles="$delfiles $output"
  55668. + func_append delfiles " $output"
  55669. else
  55670. output=
  55671. @@ -7761,7 +7955,7 @@
  55672. lt_exit=$?
  55673. # Restore the uninstalled library and exit
  55674. - if test "$mode" = relink; then
  55675. + if test "$opt_mode" = relink; then
  55676. ( cd "$output_objdir" && \
  55677. $RM "${realname}T" && \
  55678. $MV "${realname}U" "$realname" )
  55679. @@ -7782,7 +7976,7 @@
  55680. if test -n "$export_symbols" && test -n "$include_expsyms"; then
  55681. tmp_export_symbols="$export_symbols"
  55682. test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
  55683. - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"'
  55684. + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
  55685. fi
  55686. if test -n "$orig_export_symbols"; then
  55687. @@ -7794,7 +7988,7 @@
  55688. # global variables. join(1) would be nice here, but unfortunately
  55689. # isn't a blessed tool.
  55690. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
  55691. - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
  55692. + func_append delfiles " $export_symbols $output_objdir/$libname.filter"
  55693. export_symbols=$output_objdir/$libname.def
  55694. $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
  55695. fi
  55696. @@ -7835,10 +8029,10 @@
  55697. # Add any objects from preloaded convenience libraries
  55698. if test -n "$dlprefiles"; then
  55699. gentop="$output_objdir/${outputname}x"
  55700. - generated="$generated $gentop"
  55701. + func_append generated " $gentop"
  55702. func_extract_archives $gentop $dlprefiles
  55703. - libobjs="$libobjs $func_extract_archives_result"
  55704. + func_append libobjs " $func_extract_archives_result"
  55705. test "X$libobjs" = "X " && libobjs=
  55706. fi
  55707. @@ -7854,7 +8048,7 @@
  55708. lt_exit=$?
  55709. # Restore the uninstalled library and exit
  55710. - if test "$mode" = relink; then
  55711. + if test "$opt_mode" = relink; then
  55712. ( cd "$output_objdir" && \
  55713. $RM "${realname}T" && \
  55714. $MV "${realname}U" "$realname" )
  55715. @@ -7866,7 +8060,7 @@
  55716. IFS="$save_ifs"
  55717. # Restore the uninstalled library and exit
  55718. - if test "$mode" = relink; then
  55719. + if test "$opt_mode" = relink; then
  55720. $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
  55721. if test -n "$convenience"; then
  55722. @@ -7947,18 +8141,21 @@
  55723. if test -n "$convenience"; then
  55724. if test -n "$whole_archive_flag_spec"; then
  55725. eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
  55726. - reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
  55727. + reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
  55728. else
  55729. gentop="$output_objdir/${obj}x"
  55730. - generated="$generated $gentop"
  55731. + func_append generated " $gentop"
  55732. func_extract_archives $gentop $convenience
  55733. reload_conv_objs="$reload_objs $func_extract_archives_result"
  55734. fi
  55735. fi
  55736. + # If we're not building shared, we need to use non_pic_objs
  55737. + test "$build_libtool_libs" != yes && libobjs="$non_pic_objects"
  55738. +
  55739. # Create the old-style object.
  55740. - 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
  55741. + reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
  55742. output="$obj"
  55743. func_execute_cmds "$reload_cmds" 'exit $?'
  55744. @@ -8018,8 +8215,8 @@
  55745. case $host in
  55746. *-*-rhapsody* | *-*-darwin1.[012])
  55747. # On Rhapsody replace the C library is the System framework
  55748. - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  55749. - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
  55750. + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'`
  55751. + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'`
  55752. ;;
  55753. esac
  55754. @@ -8030,14 +8227,14 @@
  55755. if test "$tagname" = CXX ; then
  55756. case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
  55757. 10.[0123])
  55758. - compile_command="$compile_command ${wl}-bind_at_load"
  55759. - finalize_command="$finalize_command ${wl}-bind_at_load"
  55760. + func_append compile_command " ${wl}-bind_at_load"
  55761. + func_append finalize_command " ${wl}-bind_at_load"
  55762. ;;
  55763. esac
  55764. fi
  55765. # Time to change all our "foo.ltframework" stuff back to "-framework foo"
  55766. - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  55767. - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
  55768. + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  55769. + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
  55770. ;;
  55771. esac
  55772. @@ -8051,7 +8248,7 @@
  55773. *)
  55774. case " $compile_deplibs " in
  55775. *" -L$path/$objdir "*)
  55776. - new_libs="$new_libs -L$path/$objdir" ;;
  55777. + func_append new_libs " -L$path/$objdir" ;;
  55778. esac
  55779. ;;
  55780. esac
  55781. @@ -8061,17 +8258,17 @@
  55782. -L*)
  55783. case " $new_libs " in
  55784. *" $deplib "*) ;;
  55785. - *) new_libs="$new_libs $deplib" ;;
  55786. + *) func_append new_libs " $deplib" ;;
  55787. esac
  55788. ;;
  55789. - *) new_libs="$new_libs $deplib" ;;
  55790. + *) func_append new_libs " $deplib" ;;
  55791. esac
  55792. done
  55793. compile_deplibs="$new_libs"
  55794. - compile_command="$compile_command $compile_deplibs"
  55795. - finalize_command="$finalize_command $finalize_deplibs"
  55796. + func_append compile_command " $compile_deplibs"
  55797. + func_append finalize_command " $finalize_deplibs"
  55798. if test -n "$rpath$xrpath"; then
  55799. # If the user specified any rpath flags, then add them.
  55800. @@ -8079,7 +8276,7 @@
  55801. # This is the magic to use -rpath.
  55802. case "$finalize_rpath " in
  55803. *" $libdir "*) ;;
  55804. - *) finalize_rpath="$finalize_rpath $libdir" ;;
  55805. + *) func_append finalize_rpath " $libdir" ;;
  55806. esac
  55807. done
  55808. fi
  55809. @@ -8098,18 +8295,18 @@
  55810. *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  55811. ;;
  55812. *)
  55813. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  55814. + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
  55815. ;;
  55816. esac
  55817. fi
  55818. else
  55819. eval flag=\"$hardcode_libdir_flag_spec\"
  55820. - rpath="$rpath $flag"
  55821. + func_append rpath " $flag"
  55822. fi
  55823. elif test -n "$runpath_var"; then
  55824. case "$perm_rpath " in
  55825. *" $libdir "*) ;;
  55826. - *) perm_rpath="$perm_rpath $libdir" ;;
  55827. + *) func_append perm_rpath " $libdir" ;;
  55828. esac
  55829. fi
  55830. case $host in
  55831. @@ -8118,12 +8315,12 @@
  55832. case :$dllsearchpath: in
  55833. *":$libdir:"*) ;;
  55834. ::) dllsearchpath=$libdir;;
  55835. - *) dllsearchpath="$dllsearchpath:$libdir";;
  55836. + *) func_append dllsearchpath ":$libdir";;
  55837. esac
  55838. case :$dllsearchpath: in
  55839. *":$testbindir:"*) ;;
  55840. ::) dllsearchpath=$testbindir;;
  55841. - *) dllsearchpath="$dllsearchpath:$testbindir";;
  55842. + *) func_append dllsearchpath ":$testbindir";;
  55843. esac
  55844. ;;
  55845. esac
  55846. @@ -8149,18 +8346,18 @@
  55847. *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
  55848. ;;
  55849. *)
  55850. - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
  55851. + func_append hardcode_libdirs "_libdirs$hardcode_libdir_separator$libdir"
  55852. ;;
  55853. esac
  55854. fi
  55855. else
  55856. eval flag=\"$hardcode_libdir_flag_spec\"
  55857. - rpath="$rpath $flag"
  55858. + func_append rpath " $flag"
  55859. fi
  55860. elif test -n "$runpath_var"; then
  55861. case "$finalize_perm_rpath " in
  55862. *" $libdir "*) ;;
  55863. - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
  55864. + *) func_append finalize_perm_rpath " $libdir" ;;
  55865. esac
  55866. fi
  55867. done
  55868. @@ -8174,8 +8371,8 @@
  55869. if test -n "$libobjs" && test "$build_old_libs" = yes; then
  55870. # Transform all the library objects into standard objects.
  55871. - compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  55872. - finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
  55873. + compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
  55874. + finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
  55875. fi
  55876. func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
  55877. @@ -8187,15 +8384,15 @@
  55878. wrappers_required=yes
  55879. case $host in
  55880. + *cegcc* | *mingw32ce*)
  55881. + # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
  55882. + wrappers_required=no
  55883. + ;;
  55884. *cygwin* | *mingw* )
  55885. if test "$build_libtool_libs" != yes; then
  55886. wrappers_required=no
  55887. fi
  55888. ;;
  55889. - *cegcc)
  55890. - # Disable wrappers for cegcc, we are cross compiling anyway.
  55891. - wrappers_required=no
  55892. - ;;
  55893. *)
  55894. if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
  55895. wrappers_required=no
  55896. @@ -8204,13 +8401,18 @@
  55897. esac
  55898. if test "$wrappers_required" = no; then
  55899. # Replace the output file specification.
  55900. - compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  55901. + compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
  55902. link_command="$compile_command$compile_rpath"
  55903. # We have no uninstalled library dependencies, so finalize right now.
  55904. exit_status=0
  55905. func_show_eval "$link_command" 'exit_status=$?'
  55906. + if test -n "$postlink_cmds"; then
  55907. + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g'`
  55908. + func_execute_cmds "$postlink_cmds" 'exit $?'
  55909. + fi
  55910. +
  55911. # Delete the generated files.
  55912. if test -f "$output_objdir/${outputname}S.${objext}"; then
  55913. func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
  55914. @@ -8233,7 +8435,7 @@
  55915. # We should set the runpath_var.
  55916. rpath=
  55917. for dir in $perm_rpath; do
  55918. - rpath="$rpath$dir:"
  55919. + func_append rpath "$dir:"
  55920. done
  55921. compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
  55922. fi
  55923. @@ -8241,7 +8443,7 @@
  55924. # We should set the runpath_var.
  55925. rpath=
  55926. for dir in $finalize_perm_rpath; do
  55927. - rpath="$rpath$dir:"
  55928. + func_append rpath "$dir:"
  55929. done
  55930. finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
  55931. fi
  55932. @@ -8251,11 +8453,17 @@
  55933. # We don't need to create a wrapper script.
  55934. link_command="$compile_var$compile_command$compile_rpath"
  55935. # Replace the output file specification.
  55936. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
  55937. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
  55938. # Delete the old output file.
  55939. $opt_dry_run || $RM $output
  55940. # Link the executable and exit
  55941. func_show_eval "$link_command" 'exit $?'
  55942. +
  55943. + if test -n "$postlink_cmds"; then
  55944. + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g'`
  55945. + func_execute_cmds "$postlink_cmds" 'exit $?'
  55946. + fi
  55947. +
  55948. exit $EXIT_SUCCESS
  55949. fi
  55950. @@ -8270,7 +8478,7 @@
  55951. if test "$fast_install" != no; then
  55952. link_command="$finalize_var$compile_command$finalize_rpath"
  55953. if test "$fast_install" = yes; then
  55954. - relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
  55955. + relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
  55956. else
  55957. # fast_install is set to needless
  55958. relink_command=
  55959. @@ -8282,13 +8490,18 @@
  55960. fi
  55961. # Replace the output file specification.
  55962. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  55963. + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  55964. # Delete the old output files.
  55965. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname
  55966. func_show_eval "$link_command" 'exit $?'
  55967. + if test -n "$postlink_cmds"; then
  55968. + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
  55969. + func_execute_cmds "$postlink_cmds" 'exit $?'
  55970. + fi
  55971. +
  55972. # Now create the wrapper script.
  55973. func_verbose "creating $output"
  55974. @@ -8306,18 +8519,7 @@
  55975. fi
  55976. done
  55977. relink_command="(cd `pwd`; $relink_command)"
  55978. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  55979. - fi
  55980. -
  55981. - # Quote $ECHO for shipping.
  55982. - if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then
  55983. - case $progpath in
  55984. - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";;
  55985. - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";;
  55986. - esac
  55987. - qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"`
  55988. - else
  55989. - qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"`
  55990. + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
  55991. fi
  55992. # Only actually do things if not in dry run mode.
  55993. @@ -8397,7 +8599,7 @@
  55994. else
  55995. oldobjs="$old_deplibs $non_pic_objects"
  55996. if test "$preload" = yes && test -f "$symfileobj"; then
  55997. - oldobjs="$oldobjs $symfileobj"
  55998. + func_append oldobjs " $symfileobj"
  55999. fi
  56000. fi
  56001. addlibs="$old_convenience"
  56002. @@ -8405,10 +8607,10 @@
  56003. if test -n "$addlibs"; then
  56004. gentop="$output_objdir/${outputname}x"
  56005. - generated="$generated $gentop"
  56006. + func_append generated " $gentop"
  56007. func_extract_archives $gentop $addlibs
  56008. - oldobjs="$oldobjs $func_extract_archives_result"
  56009. + func_append oldobjs " $func_extract_archives_result"
  56010. fi
  56011. # Do each command in the archive commands.
  56012. @@ -8419,10 +8621,10 @@
  56013. # Add any objects from preloaded convenience libraries
  56014. if test -n "$dlprefiles"; then
  56015. gentop="$output_objdir/${outputname}x"
  56016. - generated="$generated $gentop"
  56017. + func_append generated " $gentop"
  56018. func_extract_archives $gentop $dlprefiles
  56019. - oldobjs="$oldobjs $func_extract_archives_result"
  56020. + func_append oldobjs " $func_extract_archives_result"
  56021. fi
  56022. # POSIX demands no paths to be encoded in archives. We have
  56023. @@ -8438,9 +8640,9 @@
  56024. done | sort | sort -uc >/dev/null 2>&1); then
  56025. :
  56026. else
  56027. - $ECHO "copying selected object files to avoid basename conflicts..."
  56028. + echo "copying selected object files to avoid basename conflicts..."
  56029. gentop="$output_objdir/${outputname}x"
  56030. - generated="$generated $gentop"
  56031. + func_append generated " $gentop"
  56032. func_mkdir_p "$gentop"
  56033. save_oldobjs=$oldobjs
  56034. oldobjs=
  56035. @@ -8464,9 +8666,9 @@
  56036. esac
  56037. done
  56038. func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
  56039. - oldobjs="$oldobjs $gentop/$newobj"
  56040. + func_append oldobjs " $gentop/$newobj"
  56041. ;;
  56042. - *) oldobjs="$oldobjs $obj" ;;
  56043. + *) func_append oldobjs " $obj" ;;
  56044. esac
  56045. done
  56046. fi
  56047. @@ -8549,7 +8751,7 @@
  56048. done
  56049. # Quote the link command for shipping.
  56050. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
  56051. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"`
  56052. + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
  56053. if test "$hardcode_automatic" = yes ; then
  56054. relink_command=
  56055. fi
  56056. @@ -8572,9 +8774,9 @@
  56057. eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
  56058. test -z "$libdir" && \
  56059. func_fatal_error "\`$deplib' is not a valid libtool archive"
  56060. - newdependency_libs="$newdependency_libs $libdir/$name"
  56061. + func_append newdependency_libs " $libdir/$name"
  56062. ;;
  56063. - *) newdependency_libs="$newdependency_libs $deplib" ;;
  56064. + *) func_append newdependency_libs " $deplib" ;;
  56065. esac
  56066. done
  56067. dependency_libs="$newdependency_libs"
  56068. @@ -8588,9 +8790,9 @@
  56069. eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  56070. test -z "$libdir" && \
  56071. func_fatal_error "\`$lib' is not a valid libtool archive"
  56072. - newdlfiles="$newdlfiles $libdir/$name"
  56073. + func_append newdlfiles " $libdir/$name"
  56074. ;;
  56075. - *) newdlfiles="$newdlfiles $lib" ;;
  56076. + *) func_append newdlfiles " $lib" ;;
  56077. esac
  56078. done
  56079. dlfiles="$newdlfiles"
  56080. @@ -8607,7 +8809,7 @@
  56081. eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
  56082. test -z "$libdir" && \
  56083. func_fatal_error "\`$lib' is not a valid libtool archive"
  56084. - newdlprefiles="$newdlprefiles $libdir/$name"
  56085. + func_append newdlprefiles " $libdir/$name"
  56086. ;;
  56087. esac
  56088. done
  56089. @@ -8619,7 +8821,7 @@
  56090. [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  56091. *) abs=`pwd`"/$lib" ;;
  56092. esac
  56093. - newdlfiles="$newdlfiles $abs"
  56094. + func_append newdlfiles " $abs"
  56095. done
  56096. dlfiles="$newdlfiles"
  56097. newdlprefiles=
  56098. @@ -8628,15 +8830,33 @@
  56099. [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
  56100. *) abs=`pwd`"/$lib" ;;
  56101. esac
  56102. - newdlprefiles="$newdlprefiles $abs"
  56103. + func_append newdlprefiles " $abs"
  56104. done
  56105. dlprefiles="$newdlprefiles"
  56106. fi
  56107. $RM $output
  56108. # place dlname in correct position for cygwin
  56109. + # In fact, it would be nice if we could use this code for all target
  56110. + # systems that can't hard-code library paths into their executables
  56111. + # and that have no shared library path variable independent of PATH,
  56112. + # but it turns out we can't easily determine that from inspecting
  56113. + # libtool variables, so we have to hard-code the OSs to which it
  56114. + # applies here; at the moment, that means platforms that use the PE
  56115. + # object format with DLL files. See the long comment at the top of
  56116. + # tests/bindir.at for full details.
  56117. tdlname=$dlname
  56118. case $host,$output,$installed,$module,$dlname in
  56119. - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
  56120. + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
  56121. + # If a -bindir argument was supplied, place the dll there.
  56122. + if test "x$bindir" != x ;
  56123. + then
  56124. + func_relative_path "$install_libdir" "$bindir"
  56125. + tdlname=$func_relative_path_result$dlname
  56126. + else
  56127. + # Otherwise fall back on heuristic.
  56128. + tdlname=../bin/$dlname
  56129. + fi
  56130. + ;;
  56131. esac
  56132. $ECHO > $output "\
  56133. # $outputname - a libtool library file
  56134. @@ -8695,7 +8915,7 @@
  56135. exit $EXIT_SUCCESS
  56136. }
  56137. -{ test "$mode" = link || test "$mode" = relink; } &&
  56138. +{ test "$opt_mode" = link || test "$opt_mode" = relink; } &&
  56139. func_mode_link ${1+"$@"}
  56140. @@ -8715,9 +8935,9 @@
  56141. for arg
  56142. do
  56143. case $arg in
  56144. - -f) RM="$RM $arg"; rmforce=yes ;;
  56145. - -*) RM="$RM $arg" ;;
  56146. - *) files="$files $arg" ;;
  56147. + -f) func_append RM " $arg"; rmforce=yes ;;
  56148. + -*) func_append RM " $arg" ;;
  56149. + *) func_append files " $arg" ;;
  56150. esac
  56151. done
  56152. @@ -8726,24 +8946,23 @@
  56153. rmdirs=
  56154. - origobjdir="$objdir"
  56155. for file in $files; do
  56156. func_dirname "$file" "" "."
  56157. dir="$func_dirname_result"
  56158. if test "X$dir" = X.; then
  56159. - objdir="$origobjdir"
  56160. + odir="$objdir"
  56161. else
  56162. - objdir="$dir/$origobjdir"
  56163. + odir="$dir/$objdir"
  56164. fi
  56165. func_basename "$file"
  56166. name="$func_basename_result"
  56167. - test "$mode" = uninstall && objdir="$dir"
  56168. + test "$opt_mode" = uninstall && odir="$dir"
  56169. - # Remember objdir for removal later, being careful to avoid duplicates
  56170. - if test "$mode" = clean; then
  56171. + # Remember odir for removal later, being careful to avoid duplicates
  56172. + if test "$opt_mode" = clean; then
  56173. case " $rmdirs " in
  56174. - *" $objdir "*) ;;
  56175. - *) rmdirs="$rmdirs $objdir" ;;
  56176. + *" $odir "*) ;;
  56177. + *) func_append rmdirs " $odir" ;;
  56178. esac
  56179. fi
  56180. @@ -8769,18 +8988,17 @@
  56181. # Delete the libtool libraries and symlinks.
  56182. for n in $library_names; do
  56183. - rmfiles="$rmfiles $objdir/$n"
  56184. + func_append rmfiles " $odir/$n"
  56185. done
  56186. - test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
  56187. + test -n "$old_library" && func_append rmfiles " $odir/$old_library"
  56188. - case "$mode" in
  56189. + case "$opt_mode" in
  56190. clean)
  56191. - case " $library_names " in
  56192. - # " " in the beginning catches empty $dlname
  56193. + case " $library_names " in
  56194. *" $dlname "*) ;;
  56195. - *) rmfiles="$rmfiles $objdir/$dlname" ;;
  56196. + *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;;
  56197. esac
  56198. - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
  56199. + test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i"
  56200. ;;
  56201. uninstall)
  56202. if test -n "$library_names"; then
  56203. @@ -8808,19 +9026,19 @@
  56204. # Add PIC object to the list of files to remove.
  56205. if test -n "$pic_object" &&
  56206. test "$pic_object" != none; then
  56207. - rmfiles="$rmfiles $dir/$pic_object"
  56208. + func_append rmfiles " $dir/$pic_object"
  56209. fi
  56210. # Add non-PIC object to the list of files to remove.
  56211. if test -n "$non_pic_object" &&
  56212. test "$non_pic_object" != none; then
  56213. - rmfiles="$rmfiles $dir/$non_pic_object"
  56214. + func_append rmfiles " $dir/$non_pic_object"
  56215. fi
  56216. fi
  56217. ;;
  56218. *)
  56219. - if test "$mode" = clean ; then
  56220. + if test "$opt_mode" = clean ; then
  56221. noexename=$name
  56222. case $file in
  56223. *.exe)
  56224. @@ -8830,7 +9048,7 @@
  56225. noexename=$func_stripname_result
  56226. # $file with .exe has already been added to rmfiles,
  56227. # add $file without .exe
  56228. - rmfiles="$rmfiles $file"
  56229. + func_append rmfiles " $file"
  56230. ;;
  56231. esac
  56232. # Do a test to see if this is a libtool program.
  56233. @@ -8839,7 +9057,7 @@
  56234. func_ltwrapper_scriptname "$file"
  56235. relink_command=
  56236. func_source $func_ltwrapper_scriptname_result
  56237. - rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
  56238. + func_append rmfiles " $func_ltwrapper_scriptname_result"
  56239. else
  56240. relink_command=
  56241. func_source $dir/$noexename
  56242. @@ -8847,12 +9065,12 @@
  56243. # note $name still contains .exe if it was in $file originally
  56244. # as does the version of $file that was added into $rmfiles
  56245. - rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
  56246. + func_append rmfiles " $odir/$name $odir/${name}S.${objext}"
  56247. if test "$fast_install" = yes && test -n "$relink_command"; then
  56248. - rmfiles="$rmfiles $objdir/lt-$name"
  56249. + func_append rmfiles " $odir/lt-$name"
  56250. fi
  56251. if test "X$noexename" != "X$name" ; then
  56252. - rmfiles="$rmfiles $objdir/lt-${noexename}.c"
  56253. + func_append rmfiles " $odir/lt-${noexename}.c"
  56254. fi
  56255. fi
  56256. fi
  56257. @@ -8860,7 +9078,6 @@
  56258. esac
  56259. func_show_eval "$RM $rmfiles" 'exit_status=1'
  56260. done
  56261. - objdir="$origobjdir"
  56262. # Try to remove the ${objdir}s in the directories where we deleted files
  56263. for dir in $rmdirs; do
  56264. @@ -8872,16 +9089,16 @@
  56265. exit $exit_status
  56266. }
  56267. -{ test "$mode" = uninstall || test "$mode" = clean; } &&
  56268. +{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } &&
  56269. func_mode_uninstall ${1+"$@"}
  56270. -test -z "$mode" && {
  56271. +test -z "$opt_mode" && {
  56272. help="$generic_help"
  56273. func_fatal_help "you must specify a MODE"
  56274. }
  56275. test -z "$exec_cmd" && \
  56276. - func_fatal_help "invalid operation mode \`$mode'"
  56277. + func_fatal_help "invalid operation mode \`$opt_mode'"
  56278. if test -n "$exec_cmd"; then
  56279. eval exec "$exec_cmd"
  56280. @@ -8917,917 +9134,3 @@
  56281. # End:
  56282. # vi:sw=2
  56283. -
  56284. -# ### BEGIN LIBTOOL TAG CONFIG: CXX
  56285. -
  56286. -# The linker used to build libraries.
  56287. -LD="/usr/bin/ld -m elf_x86_64"
  56288. -
  56289. -# Commands used to build an old-style archive.
  56290. -old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
  56291. -
  56292. -# A language specific compiler.
  56293. -CC="g++"
  56294. -
  56295. -# Is the compiler the GNU compiler?
  56296. -with_gcc=yes
  56297. -
  56298. -# Compiler flag to turn off builtin functions.
  56299. -no_builtin_flag=" -fno-builtin"
  56300. -
  56301. -# How to pass a linker flag through the compiler.
  56302. -wl="-Wl,"
  56303. -
  56304. -# Additional compiler flags for building library objects.
  56305. -pic_flag=" -fPIC -DPIC"
  56306. -
  56307. -# Compiler flag to prevent dynamic linking.
  56308. -link_static_flag="-static"
  56309. -
  56310. -# Does compiler simultaneously support -c and -o options?
  56311. -compiler_c_o="yes"
  56312. -
  56313. -# Whether or not to add -lc for building shared libraries.
  56314. -build_libtool_need_lc=no
  56315. -
  56316. -# Whether or not to disallow shared libs when runtime libs are static.
  56317. -allow_libtool_libs_with_static_runtimes=no
  56318. -
  56319. -# Compiler flag to allow reflexive dlopens.
  56320. -export_dynamic_flag_spec="\${wl}--export-dynamic"
  56321. -
  56322. -# Compiler flag to generate shared objects directly from archives.
  56323. -whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"
  56324. -
  56325. -# Whether the compiler copes with passing no objects directly.
  56326. -compiler_needs_object="no"
  56327. -
  56328. -# Create an old-style archive from a shared archive.
  56329. -old_archive_from_new_cmds=""
  56330. -
  56331. -# Create a temporary old-style archive to link instead of a shared archive.
  56332. -old_archive_from_expsyms_cmds=""
  56333. -
  56334. -# Commands used to build a shared archive.
  56335. -archive_cmds="\$CC -shared \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
  56336. -archive_expsym_cmds="\$CC -shared \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-retain-symbols-file \$wl\$export_symbols -o \$lib"
  56337. -
  56338. -# Commands used to build a loadable module if different from building
  56339. -# a shared archive.
  56340. -module_cmds=""
  56341. -module_expsym_cmds=""
  56342. -
  56343. -# Whether we are building with GNU ld or not.
  56344. -with_gnu_ld="yes"
  56345. -
  56346. -# Flag that allows shared libraries with undefined symbols to be built.
  56347. -allow_undefined_flag=""
  56348. -
  56349. -# Flag that enforces no undefined symbols.
  56350. -no_undefined_flag=""
  56351. -
  56352. -# Flag to hardcode $libdir into a binary during linking.
  56353. -# This must work even if $libdir does not exist
  56354. -hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
  56355. -
  56356. -# If ld is used when linking, flag to hardcode $libdir into a binary
  56357. -# during linking. This must work even if $libdir does not exist.
  56358. -hardcode_libdir_flag_spec_ld=""
  56359. -
  56360. -# Whether we need a single "-rpath" flag with a separated argument.
  56361. -hardcode_libdir_separator=""
  56362. -
  56363. -# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  56364. -# DIR into the resulting binary.
  56365. -hardcode_direct=no
  56366. -
  56367. -# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  56368. -# DIR into the resulting binary and the resulting library dependency is
  56369. -# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
  56370. -# library is relocated.
  56371. -hardcode_direct_absolute=no
  56372. -
  56373. -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  56374. -# into the resulting binary.
  56375. -hardcode_minus_L=no
  56376. -
  56377. -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  56378. -# into the resulting binary.
  56379. -hardcode_shlibpath_var=unsupported
  56380. -
  56381. -# Set to "yes" if building a shared library automatically hardcodes DIR
  56382. -# into the library and all subsequent libraries and executables linked
  56383. -# against it.
  56384. -hardcode_automatic=no
  56385. -
  56386. -# Set to yes if linker adds runtime paths of dependent libraries
  56387. -# to runtime path list.
  56388. -inherit_rpath=no
  56389. -
  56390. -# Whether libtool must link a program against all its dependency libraries.
  56391. -link_all_deplibs=no
  56392. -
  56393. -# Fix the shell variable $srcfile for the compiler.
  56394. -fix_srcfile_path=""
  56395. -
  56396. -# Set to "yes" if exported symbols are required.
  56397. -always_export_symbols=no
  56398. -
  56399. -# The commands to list exported symbols.
  56400. -export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"
  56401. -
  56402. -# Symbols that should not be listed in the preloaded symbols.
  56403. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"
  56404. -
  56405. -# Symbols that must always be exported.
  56406. -include_expsyms=""
  56407. -
  56408. -# Commands necessary for linking programs (against libraries) with templates.
  56409. -prelink_cmds=""
  56410. -
  56411. -# Specify filename containing input files.
  56412. -file_list_spec=""
  56413. -
  56414. -# How to hardcode a shared library path into an executable.
  56415. -hardcode_action=immediate
  56416. -
  56417. -# The directories searched by this compiler when creating a shared library.
  56418. -compiler_lib_search_dirs="/usr/lib/gcc/x86_64-linux-gnu/4.3.3 /usr/lib/gcc/x86_64-linux-gnu/4.3.3 /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib /lib/../lib /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../.."
  56419. -
  56420. -# Dependencies to place before and after the objects being linked to
  56421. -# create a shared library.
  56422. -predep_objects=""
  56423. -postdep_objects=""
  56424. -predeps=""
  56425. -postdeps="-lstdc++ -lm -lgcc_s -lc -lgcc_s"
  56426. -
  56427. -# The library search path used internally by the compiler when linking
  56428. -# a shared library.
  56429. -compiler_lib_search_path=""
  56430. -
  56431. -# ### END LIBTOOL TAG CONFIG: CXX
  56432. -
  56433. -# ### BEGIN LIBTOOL TAG CONFIG: F77
  56434. -
  56435. -# The linker used to build libraries.
  56436. -LD="/usr/bin/ld -m elf_x86_64"
  56437. -
  56438. -# Commands used to build an old-style archive.
  56439. -old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
  56440. -
  56441. -# A language specific compiler.
  56442. -CC="gfortran"
  56443. -
  56444. -# Is the compiler the GNU compiler?
  56445. -with_gcc=yes
  56446. -
  56447. -# Compiler flag to turn off builtin functions.
  56448. -no_builtin_flag=""
  56449. -
  56450. -# How to pass a linker flag through the compiler.
  56451. -wl="-Wl,"
  56452. -
  56453. -# Additional compiler flags for building library objects.
  56454. -pic_flag=" -fPIC"
  56455. -
  56456. -# Compiler flag to prevent dynamic linking.
  56457. -link_static_flag="-static"
  56458. -
  56459. -# Does compiler simultaneously support -c and -o options?
  56460. -compiler_c_o="yes"
  56461. -
  56462. -# Whether or not to add -lc for building shared libraries.
  56463. -build_libtool_need_lc=no
  56464. -
  56465. -# Whether or not to disallow shared libs when runtime libs are static.
  56466. -allow_libtool_libs_with_static_runtimes=no
  56467. -
  56468. -# Compiler flag to allow reflexive dlopens.
  56469. -export_dynamic_flag_spec="\${wl}--export-dynamic"
  56470. -
  56471. -# Compiler flag to generate shared objects directly from archives.
  56472. -whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"
  56473. -
  56474. -# Whether the compiler copes with passing no objects directly.
  56475. -compiler_needs_object="no"
  56476. -
  56477. -# Create an old-style archive from a shared archive.
  56478. -old_archive_from_new_cmds=""
  56479. -
  56480. -# Create a temporary old-style archive to link instead of a shared archive.
  56481. -old_archive_from_expsyms_cmds=""
  56482. -
  56483. -# Commands used to build a shared archive.
  56484. -archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
  56485. -archive_expsym_cmds="echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~
  56486. - cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$output_objdir/\$libname.ver~
  56487. - echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~
  56488. - \$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib"
  56489. -
  56490. -# Commands used to build a loadable module if different from building
  56491. -# a shared archive.
  56492. -module_cmds=""
  56493. -module_expsym_cmds=""
  56494. -
  56495. -# Whether we are building with GNU ld or not.
  56496. -with_gnu_ld="yes"
  56497. -
  56498. -# Flag that allows shared libraries with undefined symbols to be built.
  56499. -allow_undefined_flag=""
  56500. -
  56501. -# Flag that enforces no undefined symbols.
  56502. -no_undefined_flag=""
  56503. -
  56504. -# Flag to hardcode $libdir into a binary during linking.
  56505. -# This must work even if $libdir does not exist
  56506. -hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
  56507. -
  56508. -# If ld is used when linking, flag to hardcode $libdir into a binary
  56509. -# during linking. This must work even if $libdir does not exist.
  56510. -hardcode_libdir_flag_spec_ld=""
  56511. -
  56512. -# Whether we need a single "-rpath" flag with a separated argument.
  56513. -hardcode_libdir_separator=""
  56514. -
  56515. -# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  56516. -# DIR into the resulting binary.
  56517. -hardcode_direct=no
  56518. -
  56519. -# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  56520. -# DIR into the resulting binary and the resulting library dependency is
  56521. -# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
  56522. -# library is relocated.
  56523. -hardcode_direct_absolute=no
  56524. -
  56525. -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  56526. -# into the resulting binary.
  56527. -hardcode_minus_L=no
  56528. -
  56529. -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  56530. -# into the resulting binary.
  56531. -hardcode_shlibpath_var=unsupported
  56532. -
  56533. -# Set to "yes" if building a shared library automatically hardcodes DIR
  56534. -# into the library and all subsequent libraries and executables linked
  56535. -# against it.
  56536. -hardcode_automatic=no
  56537. -
  56538. -# Set to yes if linker adds runtime paths of dependent libraries
  56539. -# to runtime path list.
  56540. -inherit_rpath=no
  56541. -
  56542. -# Whether libtool must link a program against all its dependency libraries.
  56543. -link_all_deplibs=unknown
  56544. -
  56545. -# Fix the shell variable $srcfile for the compiler.
  56546. -fix_srcfile_path=""
  56547. -
  56548. -# Set to "yes" if exported symbols are required.
  56549. -always_export_symbols=no
  56550. -
  56551. -# The commands to list exported symbols.
  56552. -export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"
  56553. -
  56554. -# Symbols that should not be listed in the preloaded symbols.
  56555. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"
  56556. -
  56557. -# Symbols that must always be exported.
  56558. -include_expsyms=""
  56559. -
  56560. -# Commands necessary for linking programs (against libraries) with templates.
  56561. -prelink_cmds=""
  56562. -
  56563. -# Specify filename containing input files.
  56564. -file_list_spec=""
  56565. -
  56566. -# How to hardcode a shared library path into an executable.
  56567. -hardcode_action=immediate
  56568. -
  56569. -# The directories searched by this compiler when creating a shared library.
  56570. -compiler_lib_search_dirs=""
  56571. -
  56572. -# Dependencies to place before and after the objects being linked to
  56573. -# create a shared library.
  56574. -predep_objects=""
  56575. -postdep_objects=""
  56576. -predeps=""
  56577. -postdeps=""
  56578. -
  56579. -# The library search path used internally by the compiler when linking
  56580. -# a shared library.
  56581. -compiler_lib_search_path=""
  56582. -
  56583. -# ### END LIBTOOL TAG CONFIG: F77
  56584. -
  56585. -# ### BEGIN LIBTOOL TAG CONFIG: FC
  56586. -
  56587. -# The linker used to build libraries.
  56588. -LD="/usr/bin/ld -m elf_x86_64"
  56589. -
  56590. -# Commands used to build an old-style archive.
  56591. -old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
  56592. -
  56593. -# A language specific compiler.
  56594. -CC="gfortran"
  56595. -
  56596. -# Is the compiler the GNU compiler?
  56597. -with_gcc=yes
  56598. -
  56599. -# Compiler flag to turn off builtin functions.
  56600. -no_builtin_flag=""
  56601. -
  56602. -# How to pass a linker flag through the compiler.
  56603. -wl="-Wl,"
  56604. -
  56605. -# Additional compiler flags for building library objects.
  56606. -pic_flag=" -fPIC"
  56607. -
  56608. -# Compiler flag to prevent dynamic linking.
  56609. -link_static_flag="-static"
  56610. -
  56611. -# Does compiler simultaneously support -c and -o options?
  56612. -compiler_c_o="yes"
  56613. -
  56614. -# Whether or not to add -lc for building shared libraries.
  56615. -build_libtool_need_lc=no
  56616. -
  56617. -# Whether or not to disallow shared libs when runtime libs are static.
  56618. -allow_libtool_libs_with_static_runtimes=no
  56619. -
  56620. -# Compiler flag to allow reflexive dlopens.
  56621. -export_dynamic_flag_spec="\${wl}--export-dynamic"
  56622. -
  56623. -# Compiler flag to generate shared objects directly from archives.
  56624. -whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"
  56625. -
  56626. -# Whether the compiler copes with passing no objects directly.
  56627. -compiler_needs_object="no"
  56628. -
  56629. -# Create an old-style archive from a shared archive.
  56630. -old_archive_from_new_cmds=""
  56631. -
  56632. -# Create a temporary old-style archive to link instead of a shared archive.
  56633. -old_archive_from_expsyms_cmds=""
  56634. -
  56635. -# Commands used to build a shared archive.
  56636. -archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
  56637. -archive_expsym_cmds="echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~
  56638. - cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$output_objdir/\$libname.ver~
  56639. - echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~
  56640. - \$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib"
  56641. -
  56642. -# Commands used to build a loadable module if different from building
  56643. -# a shared archive.
  56644. -module_cmds=""
  56645. -module_expsym_cmds=""
  56646. -
  56647. -# Whether we are building with GNU ld or not.
  56648. -with_gnu_ld="yes"
  56649. -
  56650. -# Flag that allows shared libraries with undefined symbols to be built.
  56651. -allow_undefined_flag=""
  56652. -
  56653. -# Flag that enforces no undefined symbols.
  56654. -no_undefined_flag=""
  56655. -
  56656. -# Flag to hardcode $libdir into a binary during linking.
  56657. -# This must work even if $libdir does not exist
  56658. -hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
  56659. -
  56660. -# If ld is used when linking, flag to hardcode $libdir into a binary
  56661. -# during linking. This must work even if $libdir does not exist.
  56662. -hardcode_libdir_flag_spec_ld=""
  56663. -
  56664. -# Whether we need a single "-rpath" flag with a separated argument.
  56665. -hardcode_libdir_separator=""
  56666. -
  56667. -# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  56668. -# DIR into the resulting binary.
  56669. -hardcode_direct=no
  56670. -
  56671. -# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  56672. -# DIR into the resulting binary and the resulting library dependency is
  56673. -# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
  56674. -# library is relocated.
  56675. -hardcode_direct_absolute=no
  56676. -
  56677. -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  56678. -# into the resulting binary.
  56679. -hardcode_minus_L=no
  56680. -
  56681. -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  56682. -# into the resulting binary.
  56683. -hardcode_shlibpath_var=unsupported
  56684. -
  56685. -# Set to "yes" if building a shared library automatically hardcodes DIR
  56686. -# into the library and all subsequent libraries and executables linked
  56687. -# against it.
  56688. -hardcode_automatic=no
  56689. -
  56690. -# Set to yes if linker adds runtime paths of dependent libraries
  56691. -# to runtime path list.
  56692. -inherit_rpath=no
  56693. -
  56694. -# Whether libtool must link a program against all its dependency libraries.
  56695. -link_all_deplibs=unknown
  56696. -
  56697. -# Fix the shell variable $srcfile for the compiler.
  56698. -fix_srcfile_path=""
  56699. -
  56700. -# Set to "yes" if exported symbols are required.
  56701. -always_export_symbols=no
  56702. -
  56703. -# The commands to list exported symbols.
  56704. -export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"
  56705. -
  56706. -# Symbols that should not be listed in the preloaded symbols.
  56707. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"
  56708. -
  56709. -# Symbols that must always be exported.
  56710. -include_expsyms=""
  56711. -
  56712. -# Commands necessary for linking programs (against libraries) with templates.
  56713. -prelink_cmds=""
  56714. -
  56715. -# Specify filename containing input files.
  56716. -file_list_spec=""
  56717. -
  56718. -# How to hardcode a shared library path into an executable.
  56719. -hardcode_action=immediate
  56720. -
  56721. -# The directories searched by this compiler when creating a shared library.
  56722. -compiler_lib_search_dirs="/usr/lib/gcc/x86_64-linux-gnu/4.3.3 /usr/lib/gcc/x86_64-linux-gnu/4.3.3 /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib /lib/../lib /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../.."
  56723. -
  56724. -# Dependencies to place before and after the objects being linked to
  56725. -# create a shared library.
  56726. -predep_objects=""
  56727. -postdep_objects=""
  56728. -predeps=""
  56729. -postdeps="-lgfortranbegin -lgfortran -lm -lgcc_s -lc -lgcc_s"
  56730. -
  56731. -# The library search path used internally by the compiler when linking
  56732. -# a shared library.
  56733. -compiler_lib_search_path=""
  56734. -
  56735. -# ### END LIBTOOL TAG CONFIG: FC
  56736. -
  56737. -# ### BEGIN LIBTOOL TAG CONFIG: GCJ
  56738. -
  56739. -# The linker used to build libraries.
  56740. -LD="/usr/bin/ld -m elf_x86_64"
  56741. -
  56742. -# Commands used to build an old-style archive.
  56743. -old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
  56744. -
  56745. -# A language specific compiler.
  56746. -CC="gcj"
  56747. -
  56748. -# Is the compiler the GNU compiler?
  56749. -with_gcc=
  56750. -
  56751. -# Compiler flag to turn off builtin functions.
  56752. -no_builtin_flag=" -fno-builtin"
  56753. -
  56754. -# How to pass a linker flag through the compiler.
  56755. -wl="-Wl,"
  56756. -
  56757. -# Additional compiler flags for building library objects.
  56758. -pic_flag=" -fPIC"
  56759. -
  56760. -# Compiler flag to prevent dynamic linking.
  56761. -link_static_flag=""
  56762. -
  56763. -# Does compiler simultaneously support -c and -o options?
  56764. -compiler_c_o="yes"
  56765. -
  56766. -# Whether or not to add -lc for building shared libraries.
  56767. -build_libtool_need_lc=no
  56768. -
  56769. -# Whether or not to disallow shared libs when runtime libs are static.
  56770. -allow_libtool_libs_with_static_runtimes=no
  56771. -
  56772. -# Compiler flag to allow reflexive dlopens.
  56773. -export_dynamic_flag_spec="\${wl}--export-dynamic"
  56774. -
  56775. -# Compiler flag to generate shared objects directly from archives.
  56776. -whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"
  56777. -
  56778. -# Whether the compiler copes with passing no objects directly.
  56779. -compiler_needs_object="no"
  56780. -
  56781. -# Create an old-style archive from a shared archive.
  56782. -old_archive_from_new_cmds=""
  56783. -
  56784. -# Create a temporary old-style archive to link instead of a shared archive.
  56785. -old_archive_from_expsyms_cmds=""
  56786. -
  56787. -# Commands used to build a shared archive.
  56788. -archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
  56789. -archive_expsym_cmds="echo \\\"{ global:\\\" > \$output_objdir/\$libname.ver~
  56790. - cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\" >> \$output_objdir/\$libname.ver~
  56791. - echo \\\"local: *; };\\\" >> \$output_objdir/\$libname.ver~
  56792. - \$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib"
  56793. -
  56794. -# Commands used to build a loadable module if different from building
  56795. -# a shared archive.
  56796. -module_cmds=""
  56797. -module_expsym_cmds=""
  56798. -
  56799. -# Whether we are building with GNU ld or not.
  56800. -with_gnu_ld="yes"
  56801. -
  56802. -# Flag that allows shared libraries with undefined symbols to be built.
  56803. -allow_undefined_flag=""
  56804. -
  56805. -# Flag that enforces no undefined symbols.
  56806. -no_undefined_flag=""
  56807. -
  56808. -# Flag to hardcode $libdir into a binary during linking.
  56809. -# This must work even if $libdir does not exist
  56810. -hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
  56811. -
  56812. -# If ld is used when linking, flag to hardcode $libdir into a binary
  56813. -# during linking. This must work even if $libdir does not exist.
  56814. -hardcode_libdir_flag_spec_ld=""
  56815. -
  56816. -# Whether we need a single "-rpath" flag with a separated argument.
  56817. -hardcode_libdir_separator=""
  56818. -
  56819. -# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  56820. -# DIR into the resulting binary.
  56821. -hardcode_direct=no
  56822. -
  56823. -# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  56824. -# DIR into the resulting binary and the resulting library dependency is
  56825. -# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
  56826. -# library is relocated.
  56827. -hardcode_direct_absolute=no
  56828. -
  56829. -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  56830. -# into the resulting binary.
  56831. -hardcode_minus_L=no
  56832. -
  56833. -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  56834. -# into the resulting binary.
  56835. -hardcode_shlibpath_var=unsupported
  56836. -
  56837. -# Set to "yes" if building a shared library automatically hardcodes DIR
  56838. -# into the library and all subsequent libraries and executables linked
  56839. -# against it.
  56840. -hardcode_automatic=no
  56841. -
  56842. -# Set to yes if linker adds runtime paths of dependent libraries
  56843. -# to runtime path list.
  56844. -inherit_rpath=no
  56845. -
  56846. -# Whether libtool must link a program against all its dependency libraries.
  56847. -link_all_deplibs=unknown
  56848. -
  56849. -# Fix the shell variable $srcfile for the compiler.
  56850. -fix_srcfile_path=""
  56851. -
  56852. -# Set to "yes" if exported symbols are required.
  56853. -always_export_symbols=no
  56854. -
  56855. -# The commands to list exported symbols.
  56856. -export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"
  56857. -
  56858. -# Symbols that should not be listed in the preloaded symbols.
  56859. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"
  56860. -
  56861. -# Symbols that must always be exported.
  56862. -include_expsyms=""
  56863. -
  56864. -# Commands necessary for linking programs (against libraries) with templates.
  56865. -prelink_cmds=""
  56866. -
  56867. -# Specify filename containing input files.
  56868. -file_list_spec=""
  56869. -
  56870. -# How to hardcode a shared library path into an executable.
  56871. -hardcode_action=immediate
  56872. -
  56873. -# The directories searched by this compiler when creating a shared library.
  56874. -compiler_lib_search_dirs=""
  56875. -
  56876. -# Dependencies to place before and after the objects being linked to
  56877. -# create a shared library.
  56878. -predep_objects=""
  56879. -postdep_objects=""
  56880. -predeps=""
  56881. -postdeps=""
  56882. -
  56883. -# The library search path used internally by the compiler when linking
  56884. -# a shared library.
  56885. -compiler_lib_search_path=""
  56886. -
  56887. -# ### END LIBTOOL TAG CONFIG: GCJ
  56888. -
  56889. -# ### BEGIN LIBTOOL TAG CONFIG: RC
  56890. -
  56891. -# The linker used to build libraries.
  56892. -LD=""
  56893. -
  56894. -# Commands used to build an old-style archive.
  56895. -old_archive_cmds=""
  56896. -
  56897. -# A language specific compiler.
  56898. -CC=""
  56899. -
  56900. -# Is the compiler the GNU compiler?
  56901. -with_gcc=
  56902. -
  56903. -# Compiler flag to turn off builtin functions.
  56904. -no_builtin_flag=""
  56905. -
  56906. -# How to pass a linker flag through the compiler.
  56907. -wl=""
  56908. -
  56909. -# Additional compiler flags for building library objects.
  56910. -pic_flag=""
  56911. -
  56912. -# Compiler flag to prevent dynamic linking.
  56913. -link_static_flag=""
  56914. -
  56915. -# Does compiler simultaneously support -c and -o options?
  56916. -compiler_c_o="yes"
  56917. -
  56918. -# Whether or not to add -lc for building shared libraries.
  56919. -build_libtool_need_lc=
  56920. -
  56921. -# Whether or not to disallow shared libs when runtime libs are static.
  56922. -allow_libtool_libs_with_static_runtimes=
  56923. -
  56924. -# Compiler flag to allow reflexive dlopens.
  56925. -export_dynamic_flag_spec=""
  56926. -
  56927. -# Compiler flag to generate shared objects directly from archives.
  56928. -whole_archive_flag_spec=""
  56929. -
  56930. -# Whether the compiler copes with passing no objects directly.
  56931. -compiler_needs_object=""
  56932. -
  56933. -# Create an old-style archive from a shared archive.
  56934. -old_archive_from_new_cmds=""
  56935. -
  56936. -# Create a temporary old-style archive to link instead of a shared archive.
  56937. -old_archive_from_expsyms_cmds=""
  56938. -
  56939. -# Commands used to build a shared archive.
  56940. -archive_cmds=""
  56941. -archive_expsym_cmds=""
  56942. -
  56943. -# Commands used to build a loadable module if different from building
  56944. -# a shared archive.
  56945. -module_cmds=""
  56946. -module_expsym_cmds=""
  56947. -
  56948. -# Whether we are building with GNU ld or not.
  56949. -with_gnu_ld=""
  56950. -
  56951. -# Flag that allows shared libraries with undefined symbols to be built.
  56952. -allow_undefined_flag=""
  56953. -
  56954. -# Flag that enforces no undefined symbols.
  56955. -no_undefined_flag=""
  56956. -
  56957. -# Flag to hardcode $libdir into a binary during linking.
  56958. -# This must work even if $libdir does not exist
  56959. -hardcode_libdir_flag_spec=""
  56960. -
  56961. -# If ld is used when linking, flag to hardcode $libdir into a binary
  56962. -# during linking. This must work even if $libdir does not exist.
  56963. -hardcode_libdir_flag_spec_ld=""
  56964. -
  56965. -# Whether we need a single "-rpath" flag with a separated argument.
  56966. -hardcode_libdir_separator=""
  56967. -
  56968. -# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  56969. -# DIR into the resulting binary.
  56970. -hardcode_direct=
  56971. -
  56972. -# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  56973. -# DIR into the resulting binary and the resulting library dependency is
  56974. -# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
  56975. -# library is relocated.
  56976. -hardcode_direct_absolute=
  56977. -
  56978. -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  56979. -# into the resulting binary.
  56980. -hardcode_minus_L=
  56981. -
  56982. -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  56983. -# into the resulting binary.
  56984. -hardcode_shlibpath_var=
  56985. -
  56986. -# Set to "yes" if building a shared library automatically hardcodes DIR
  56987. -# into the library and all subsequent libraries and executables linked
  56988. -# against it.
  56989. -hardcode_automatic=
  56990. -
  56991. -# Set to yes if linker adds runtime paths of dependent libraries
  56992. -# to runtime path list.
  56993. -inherit_rpath=
  56994. -
  56995. -# Whether libtool must link a program against all its dependency libraries.
  56996. -link_all_deplibs=
  56997. -
  56998. -# Fix the shell variable $srcfile for the compiler.
  56999. -fix_srcfile_path=""
  57000. -
  57001. -# Set to "yes" if exported symbols are required.
  57002. -always_export_symbols=
  57003. -
  57004. -# The commands to list exported symbols.
  57005. -export_symbols_cmds=""
  57006. -
  57007. -# Symbols that should not be listed in the preloaded symbols.
  57008. -exclude_expsyms=""
  57009. -
  57010. -# Symbols that must always be exported.
  57011. -include_expsyms=""
  57012. -
  57013. -# Commands necessary for linking programs (against libraries) with templates.
  57014. -prelink_cmds=""
  57015. -
  57016. -# Specify filename containing input files.
  57017. -file_list_spec=""
  57018. -
  57019. -# How to hardcode a shared library path into an executable.
  57020. -hardcode_action=
  57021. -
  57022. -# The directories searched by this compiler when creating a shared library.
  57023. -compiler_lib_search_dirs=""
  57024. -
  57025. -# Dependencies to place before and after the objects being linked to
  57026. -# create a shared library.
  57027. -predep_objects=""
  57028. -postdep_objects=""
  57029. -predeps=""
  57030. -postdeps=""
  57031. -
  57032. -# The library search path used internally by the compiler when linking
  57033. -# a shared library.
  57034. -compiler_lib_search_path=""
  57035. -
  57036. -# ### END LIBTOOL TAG CONFIG: RC
  57037. -# ### BEGIN LIBTOOL TAG CONFIG: BINCC
  57038. -
  57039. -# A C compiler.
  57040. -LTCC="cc"
  57041. -
  57042. -
  57043. -# A language specific compiler.
  57044. -CC="cc"
  57045. -
  57046. -# ### END LIBTOOL TAG CONFIG: BINCC
  57047. -
  57048. -# ### BEGIN LIBTOOL TAG CONFIG: BINCXX
  57049. -
  57050. -# The linker used to build libraries.
  57051. -LD="/usr/bin/ld -m elf_x86_64"
  57052. -
  57053. -# Commands used to build an old-style archive.
  57054. -old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
  57055. -
  57056. -# A language specific compiler.
  57057. -CC="c++"
  57058. -
  57059. -# Is the compiler the GNU compiler?
  57060. -with_gcc=yes
  57061. -
  57062. -# Compiler flag to turn off builtin functions.
  57063. -no_builtin_flag=" -fno-builtin"
  57064. -
  57065. -# How to pass a linker flag through the compiler.
  57066. -wl="-Wl,"
  57067. -
  57068. -# Additional compiler flags for building library objects.
  57069. -pic_flag=" -fPIC -DPIC"
  57070. -
  57071. -# Compiler flag to prevent dynamic linking.
  57072. -link_static_flag="-static"
  57073. -
  57074. -# Does compiler simultaneously support -c and -o options?
  57075. -compiler_c_o="yes"
  57076. -
  57077. -# Whether or not to add -lc for building shared libraries.
  57078. -build_libtool_need_lc=no
  57079. -
  57080. -# Whether or not to disallow shared libs when runtime libs are static.
  57081. -allow_libtool_libs_with_static_runtimes=no
  57082. -
  57083. -# Compiler flag to allow reflexive dlopens.
  57084. -export_dynamic_flag_spec="\${wl}--export-dynamic"
  57085. -
  57086. -# Compiler flag to generate shared objects directly from archives.
  57087. -whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive"
  57088. -
  57089. -# Whether the compiler copes with passing no objects directly.
  57090. -compiler_needs_object="no"
  57091. -
  57092. -# Create an old-style archive from a shared archive.
  57093. -old_archive_from_new_cmds=""
  57094. -
  57095. -# Create a temporary old-style archive to link instead of a shared archive.
  57096. -old_archive_from_expsyms_cmds=""
  57097. -
  57098. -# Commands used to build a shared archive.
  57099. -archive_cmds="\$CC -shared \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
  57100. -archive_expsym_cmds="\$CC -shared \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-retain-symbols-file \$wl\$export_symbols -o \$lib"
  57101. -
  57102. -# Commands used to build a loadable module if different from building
  57103. -# a shared archive.
  57104. -module_cmds=""
  57105. -module_expsym_cmds=""
  57106. -
  57107. -# Whether we are building with GNU ld or not.
  57108. -with_gnu_ld="yes"
  57109. -
  57110. -# Flag that allows shared libraries with undefined symbols to be built.
  57111. -allow_undefined_flag=""
  57112. -
  57113. -# Flag that enforces no undefined symbols.
  57114. -no_undefined_flag=""
  57115. -
  57116. -# Flag to hardcode $libdir into a binary during linking.
  57117. -# This must work even if $libdir does not exist
  57118. -hardcode_libdir_flag_spec="\${wl}-rpath \${wl}\$libdir"
  57119. -
  57120. -# If ld is used when linking, flag to hardcode $libdir into a binary
  57121. -# during linking. This must work even if $libdir does not exist.
  57122. -hardcode_libdir_flag_spec_ld=""
  57123. -
  57124. -# Whether we need a single "-rpath" flag with a separated argument.
  57125. -hardcode_libdir_separator=""
  57126. -
  57127. -# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  57128. -# DIR into the resulting binary.
  57129. -hardcode_direct=no
  57130. -
  57131. -# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  57132. -# DIR into the resulting binary and the resulting library dependency is
  57133. -# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
  57134. -# library is relocated.
  57135. -hardcode_direct_absolute=no
  57136. -
  57137. -# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  57138. -# into the resulting binary.
  57139. -hardcode_minus_L=no
  57140. -
  57141. -# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  57142. -# into the resulting binary.
  57143. -hardcode_shlibpath_var=unsupported
  57144. -
  57145. -# Set to "yes" if building a shared library automatically hardcodes DIR
  57146. -# into the library and all subsequent libraries and executables linked
  57147. -# against it.
  57148. -hardcode_automatic=no
  57149. -
  57150. -# Set to yes if linker adds runtime paths of dependent libraries
  57151. -# to runtime path list.
  57152. -inherit_rpath=no
  57153. -
  57154. -# Whether libtool must link a program against all its dependency libraries.
  57155. -link_all_deplibs=no
  57156. -
  57157. -# Fix the shell variable $srcfile for the compiler.
  57158. -fix_srcfile_path=""
  57159. -
  57160. -# Set to "yes" if exported symbols are required.
  57161. -always_export_symbols=no
  57162. -
  57163. -# The commands to list exported symbols.
  57164. -export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"
  57165. -
  57166. -# Symbols that should not be listed in the preloaded symbols.
  57167. -exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"
  57168. -
  57169. -# Symbols that must always be exported.
  57170. -include_expsyms=""
  57171. -
  57172. -# Commands necessary for linking programs (against libraries) with templates.
  57173. -prelink_cmds=""
  57174. -
  57175. -# Specify filename containing input files.
  57176. -file_list_spec=""
  57177. -
  57178. -# How to hardcode a shared library path into an executable.
  57179. -hardcode_action=immediate
  57180. -
  57181. -# The directories searched by this compiler when creating a shared library.
  57182. -compiler_lib_search_dirs="/usr/lib/gcc/x86_64-linux-gnu/4.3.3 /usr/lib/gcc/x86_64-linux-gnu/4.3.3 /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../../lib /lib/../lib /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../.."
  57183. -
  57184. -# Dependencies to place before and after the objects being linked to
  57185. -# create a shared library.
  57186. -predep_objects=""
  57187. -postdep_objects=""
  57188. -predeps=""
  57189. -postdeps="-lstdc++ -lm -lgcc_s -lc -lgcc_s"
  57190. -
  57191. -# The library search path used internally by the compiler when linking
  57192. -# a shared library.
  57193. -compiler_lib_search_path=""
  57194. -
  57195. -# ### END LIBTOOL TAG CONFIG: BINCXX
  57196. -
  57197. diff -Nur owfs-2.7p38.orig/src/scripts/install/missing owfs-2.7p38/src/scripts/install/missing
  57198. --- owfs-2.7p38.orig/src/scripts/install/missing 2008-06-17 12:01:03.000000000 +0200
  57199. +++ owfs-2.7p38/src/scripts/install/missing 2010-07-09 16:00:52.275002191 +0200
  57200. @@ -1,10 +1,10 @@
  57201. #! /bin/sh
  57202. # Common stub for a few missing GNU programs while installing.
  57203. -scriptversion=2006-05-10.23
  57204. +scriptversion=2009-04-28.21; # UTC
  57205. -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
  57206. -# Free Software Foundation, Inc.
  57207. +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
  57208. +# 2008, 2009 Free Software Foundation, Inc.
  57209. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
  57210. # This program is free software; you can redistribute it and/or modify
  57211. @@ -18,9 +18,7 @@
  57212. # GNU General Public License for more details.
  57213. # You should have received a copy of the GNU General Public License
  57214. -# along with this program; if not, write to the Free Software
  57215. -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  57216. -# 02110-1301, USA.
  57217. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  57218. # As a special exception to the GNU General Public License, if you
  57219. # distribute this file as part of a program that contains a
  57220. @@ -89,6 +87,9 @@
  57221. tar try tar, gnutar, gtar, then tar without non-portable flags
  57222. yacc create \`y.tab.[ch]', if possible, from existing .[ch]
  57223. +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
  57224. +\`g' are ignored when checking the name.
  57225. +
  57226. Send bug reports to <bug-automake@gnu.org>."
  57227. exit $?
  57228. ;;
  57229. @@ -106,15 +107,22 @@
  57230. esac
  57231. +# normalize program name to check for.
  57232. +program=`echo "$1" | sed '
  57233. + s/^gnu-//; t
  57234. + s/^gnu//; t
  57235. + s/^g//; t'`
  57236. +
  57237. # Now exit if we have it, but it failed. Also exit now if we
  57238. # don't have it and --version was passed (most likely to detect
  57239. -# the program).
  57240. +# the program). This is about non-GNU programs, so use $1 not
  57241. +# $program.
  57242. case $1 in
  57243. - lex|yacc)
  57244. + lex*|yacc*)
  57245. # Not GNU programs, they don't have --version.
  57246. ;;
  57247. - tar)
  57248. + tar*)
  57249. if test -n "$run"; then
  57250. echo 1>&2 "ERROR: \`tar' requires --run"
  57251. exit 1
  57252. @@ -138,7 +146,7 @@
  57253. # If it does not exist, or fails to run (possibly an outdated version),
  57254. # try to emulate it.
  57255. -case $1 in
  57256. +case $program in
  57257. aclocal*)
  57258. echo 1>&2 "\
  57259. WARNING: \`$1' is $msg. You should only need it if
  57260. @@ -148,7 +156,7 @@
  57261. touch aclocal.m4
  57262. ;;
  57263. - autoconf)
  57264. + autoconf*)
  57265. echo 1>&2 "\
  57266. WARNING: \`$1' is $msg. You should only need it if
  57267. you modified \`${configure_ac}'. You might want to install the
  57268. @@ -157,7 +165,7 @@
  57269. touch configure
  57270. ;;
  57271. - autoheader)
  57272. + autoheader*)
  57273. echo 1>&2 "\
  57274. WARNING: \`$1' is $msg. You should only need it if
  57275. you modified \`acconfig.h' or \`${configure_ac}'. You might want
  57276. @@ -187,7 +195,7 @@
  57277. while read f; do touch "$f"; done
  57278. ;;
  57279. - autom4te)
  57280. + autom4te*)
  57281. echo 1>&2 "\
  57282. WARNING: \`$1' is needed, but is $msg.
  57283. You might have modified some files without having the
  57284. @@ -210,7 +218,7 @@
  57285. fi
  57286. ;;
  57287. - bison|yacc)
  57288. + bison*|yacc*)
  57289. echo 1>&2 "\
  57290. WARNING: \`$1' $msg. You should only need it if
  57291. you modified a \`.y' file. You may need the \`Bison' package
  57292. @@ -240,7 +248,7 @@
  57293. fi
  57294. ;;
  57295. - lex|flex)
  57296. + lex*|flex*)
  57297. echo 1>&2 "\
  57298. WARNING: \`$1' is $msg. You should only need it if
  57299. you modified a \`.l' file. You may need the \`Flex' package
  57300. @@ -263,7 +271,7 @@
  57301. fi
  57302. ;;
  57303. - help2man)
  57304. + help2man*)
  57305. echo 1>&2 "\
  57306. WARNING: \`$1' is $msg. You should only need it if
  57307. you modified a dependency of a manual page. You may need the
  57308. @@ -277,11 +285,11 @@
  57309. else
  57310. test -z "$file" || exec >$file
  57311. echo ".ab help2man is required to generate this page"
  57312. - exit 1
  57313. + exit $?
  57314. fi
  57315. ;;
  57316. - makeinfo)
  57317. + makeinfo*)
  57318. echo 1>&2 "\
  57319. WARNING: \`$1' is $msg. You should only need it if
  57320. you modified a \`.texi' or \`.texinfo' file, or any other file
  57321. @@ -310,7 +318,7 @@
  57322. touch $file
  57323. ;;
  57324. - tar)
  57325. + tar*)
  57326. shift
  57327. # We have already tried tar in the generic part.
  57328. @@ -363,5 +371,6 @@
  57329. # eval: (add-hook 'write-file-hooks 'time-stamp)
  57330. # time-stamp-start: "scriptversion="
  57331. # time-stamp-format: "%:y-%02m-%02d.%02H"
  57332. -# time-stamp-end: "$"
  57333. +# time-stamp-time-zone: "UTC"
  57334. +# time-stamp-end: "; # UTC"
  57335. # End:
  57336. diff -Nur owfs-2.7p38.orig/src/scripts/install/mkinstalldirs owfs-2.7p38/src/scripts/install/mkinstalldirs
  57337. --- owfs-2.7p38.orig/src/scripts/install/mkinstalldirs 2003-10-08 08:42:29.000000000 +0200
  57338. +++ owfs-2.7p38/src/scripts/install/mkinstalldirs 2010-07-09 16:01:01.295003068 +0200
  57339. @@ -1,40 +1,162 @@
  57340. #! /bin/sh
  57341. # mkinstalldirs --- make directory hierarchy
  57342. -# Author: Noah Friedman <friedman@prep.ai.mit.edu>
  57343. -# Created: 1993-05-16
  57344. -# Public domain
  57345. -# $Id: mkinstalldirs,v 1.2 2003/10/08 06:42:29 vtt Exp $
  57346. +scriptversion=2009-04-28.21; # UTC
  57347. +# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
  57348. +# Created: 1993-05-16
  57349. +# Public domain.
  57350. +#
  57351. +# This file is maintained in Automake, please report
  57352. +# bugs to <bug-automake@gnu.org> or send patches to
  57353. +# <automake-patches@gnu.org>.
  57354. +
  57355. +nl='
  57356. +'
  57357. +IFS=" "" $nl"
  57358. errstatus=0
  57359. +dirmode=
  57360. +
  57361. +usage="\
  57362. +Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
  57363. +
  57364. +Create each directory DIR (with mode MODE, if specified), including all
  57365. +leading file name components.
  57366. +
  57367. +Report bugs to <bug-automake@gnu.org>."
  57368. +
  57369. +# process command line arguments
  57370. +while test $# -gt 0 ; do
  57371. + case $1 in
  57372. + -h | --help | --h*) # -h for help
  57373. + echo "$usage"
  57374. + exit $?
  57375. + ;;
  57376. + -m) # -m PERM arg
  57377. + shift
  57378. + test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
  57379. + dirmode=$1
  57380. + shift
  57381. + ;;
  57382. + --version)
  57383. + echo "$0 $scriptversion"
  57384. + exit $?
  57385. + ;;
  57386. + --) # stop option processing
  57387. + shift
  57388. + break
  57389. + ;;
  57390. + -*) # unknown option
  57391. + echo "$usage" 1>&2
  57392. + exit 1
  57393. + ;;
  57394. + *) # first non-opt arg
  57395. + break
  57396. + ;;
  57397. + esac
  57398. +done
  57399. for file
  57400. do
  57401. - set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
  57402. - shift
  57403. + if test -d "$file"; then
  57404. + shift
  57405. + else
  57406. + break
  57407. + fi
  57408. +done
  57409. +
  57410. +case $# in
  57411. + 0) exit 0 ;;
  57412. +esac
  57413. +
  57414. +# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and
  57415. +# mkdir -p a/c at the same time, both will detect that a is missing,
  57416. +# one will create a, then the other will try to create a and die with
  57417. +# a "File exists" error. This is a problem when calling mkinstalldirs
  57418. +# from a parallel make. We use --version in the probe to restrict
  57419. +# ourselves to GNU mkdir, which is thread-safe.
  57420. +case $dirmode in
  57421. + '')
  57422. + if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  57423. + echo "mkdir -p -- $*"
  57424. + exec mkdir -p -- "$@"
  57425. + else
  57426. + # On NextStep and OpenStep, the `mkdir' command does not
  57427. + # recognize any option. It will interpret all options as
  57428. + # directories to create, and then abort because `.' already
  57429. + # exists.
  57430. + test -d ./-p && rmdir ./-p
  57431. + test -d ./--version && rmdir ./--version
  57432. + fi
  57433. + ;;
  57434. + *)
  57435. + if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
  57436. + test ! -d ./--version; then
  57437. + echo "mkdir -m $dirmode -p -- $*"
  57438. + exec mkdir -m "$dirmode" -p -- "$@"
  57439. + else
  57440. + # Clean up after NextStep and OpenStep mkdir.
  57441. + for d in ./-m ./-p ./--version "./$dirmode";
  57442. + do
  57443. + test -d $d && rmdir $d
  57444. + done
  57445. + fi
  57446. + ;;
  57447. +esac
  57448. - pathcomp=
  57449. - for d
  57450. - do
  57451. - pathcomp="$pathcomp$d"
  57452. - case "$pathcomp" in
  57453. - -* ) pathcomp=./$pathcomp ;;
  57454. - esac
  57455. -
  57456. - if test ! -d "$pathcomp"; then
  57457. - echo "mkdir $pathcomp"
  57458. -
  57459. - mkdir "$pathcomp" || lasterr=$?
  57460. -
  57461. - if test ! -d "$pathcomp"; then
  57462. - errstatus=$lasterr
  57463. - fi
  57464. - fi
  57465. +for file
  57466. +do
  57467. + case $file in
  57468. + /*) pathcomp=/ ;;
  57469. + *) pathcomp= ;;
  57470. + esac
  57471. + oIFS=$IFS
  57472. + IFS=/
  57473. + set fnord $file
  57474. + shift
  57475. + IFS=$oIFS
  57476. +
  57477. + for d
  57478. + do
  57479. + test "x$d" = x && continue
  57480. +
  57481. + pathcomp=$pathcomp$d
  57482. + case $pathcomp in
  57483. + -*) pathcomp=./$pathcomp ;;
  57484. + esac
  57485. +
  57486. + if test ! -d "$pathcomp"; then
  57487. + echo "mkdir $pathcomp"
  57488. +
  57489. + mkdir "$pathcomp" || lasterr=$?
  57490. +
  57491. + if test ! -d "$pathcomp"; then
  57492. + errstatus=$lasterr
  57493. + else
  57494. + if test ! -z "$dirmode"; then
  57495. + echo "chmod $dirmode $pathcomp"
  57496. + lasterr=
  57497. + chmod "$dirmode" "$pathcomp" || lasterr=$?
  57498. +
  57499. + if test ! -z "$lasterr"; then
  57500. + errstatus=$lasterr
  57501. + fi
  57502. + fi
  57503. + fi
  57504. + fi
  57505. - pathcomp="$pathcomp/"
  57506. - done
  57507. + pathcomp=$pathcomp/
  57508. + done
  57509. done
  57510. exit $errstatus
  57511. -# mkinstalldirs ends here
  57512. +# Local Variables:
  57513. +# mode: shell-script
  57514. +# sh-indentation: 2
  57515. +# eval: (add-hook 'write-file-hooks 'time-stamp)
  57516. +# time-stamp-start: "scriptversion="
  57517. +# time-stamp-format: "%:y-%02m-%02d.%02H"
  57518. +# time-stamp-time-zone: "UTC"
  57519. +# time-stamp-end: "; # UTC"
  57520. +# End:
  57521. diff -Nur owfs-2.7p38.orig/src/scripts/Makefile.in owfs-2.7p38/src/scripts/Makefile.in
  57522. --- owfs-2.7p38.orig/src/scripts/Makefile.in 2010-06-04 03:00:41.000000000 +0200
  57523. +++ owfs-2.7p38/src/scripts/Makefile.in 2010-07-09 16:01:00.642998779 +0200
  57524. @@ -1,8 +1,9 @@
  57525. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  57526. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  57527. # @configure_input@
  57528. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  57529. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  57530. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  57531. +# Inc.
  57532. # This Makefile.in is free software; the Free Software Foundation
  57533. # gives unlimited permission to copy and/or distribute it,
  57534. # with or without modifications, as long as this notice is preserved.
  57535. @@ -15,8 +16,9 @@
  57536. @SET_MAKE@
  57537. VPATH = @srcdir@
  57538. pkgdatadir = $(datadir)/@PACKAGE@
  57539. -pkglibdir = $(libdir)/@PACKAGE@
  57540. pkgincludedir = $(includedir)/@PACKAGE@
  57541. +pkglibdir = $(libdir)/@PACKAGE@
  57542. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  57543. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  57544. install_sh_DATA = $(install_sh) -c -m 644
  57545. install_sh_PROGRAM = $(install_sh) -c
  57546. @@ -35,8 +37,10 @@
  57547. subdir = src/scripts
  57548. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  57549. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  57550. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  57551. - $(top_srcdir)/acx_pthread.m4 \
  57552. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  57553. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  57554. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  57555. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  57556. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  57557. $(top_srcdir)/module/swig/php/php.m4 \
  57558. $(top_srcdir)/module/swig/python/python.m4 \
  57559. @@ -47,6 +51,7 @@
  57560. $(top_srcdir)/src/scripts/install/mkinstalldirs
  57561. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  57562. CONFIG_CLEAN_FILES =
  57563. +CONFIG_CLEAN_VPATH_FILES =
  57564. SOURCES =
  57565. DIST_SOURCES =
  57566. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  57567. @@ -58,10 +63,38 @@
  57568. ps-recursive uninstall-recursive
  57569. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  57570. distclean-recursive maintainer-clean-recursive
  57571. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  57572. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  57573. + distdir
  57574. ETAGS = etags
  57575. CTAGS = ctags
  57576. DIST_SUBDIRS = $(SUBDIRS)
  57577. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  57578. +am__relativize = \
  57579. + dir0=`pwd`; \
  57580. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  57581. + sed_rest='s,^[^/]*/*,,'; \
  57582. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  57583. + sed_butlast='s,/*[^/]*$$,,'; \
  57584. + while test -n "$$dir1"; do \
  57585. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  57586. + if test "$$first" != "."; then \
  57587. + if test "$$first" = ".."; then \
  57588. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  57589. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  57590. + else \
  57591. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  57592. + if test "$$first2" = "$$first"; then \
  57593. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  57594. + else \
  57595. + dir2="../$$dir2"; \
  57596. + fi; \
  57597. + dir0="$$dir0"/"$$first"; \
  57598. + fi; \
  57599. + fi; \
  57600. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  57601. + done; \
  57602. + reldir="$$dir2"
  57603. ACLOCAL = @ACLOCAL@
  57604. AMTAR = @AMTAR@
  57605. AR = @AR@
  57606. @@ -155,6 +188,7 @@
  57607. LT_RELEASE = @LT_RELEASE@
  57608. LT_REVISION = @LT_REVISION@
  57609. MAKEINFO = @MAKEINFO@
  57610. +MANIFEST_TOOL = @MANIFEST_TOOL@
  57611. MKDIR_P = @MKDIR_P@
  57612. NM = @NM@
  57613. NMEDIT = @NMEDIT@
  57614. @@ -186,6 +220,7 @@
  57615. PACKAGE_NAME = @PACKAGE_NAME@
  57616. PACKAGE_STRING = @PACKAGE_STRING@
  57617. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  57618. +PACKAGE_URL = @PACKAGE_URL@
  57619. PACKAGE_VERSION = @PACKAGE_VERSION@
  57620. PATH_SEPARATOR = @PATH_SEPARATOR@
  57621. PERL = @PERL@
  57622. @@ -291,7 +326,6 @@
  57623. libexecdir = @libexecdir@
  57624. localedir = @localedir@
  57625. localstatedir = @localstatedir@
  57626. -lt_ECHO = @lt_ECHO@
  57627. mandir = @mandir@
  57628. mkdir_p = @mkdir_p@
  57629. oldincludedir = @oldincludedir@
  57630. @@ -324,9 +358,9 @@
  57631. exit 1;; \
  57632. esac; \
  57633. done; \
  57634. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/scripts/Makefile'; \
  57635. - cd $(top_srcdir) && \
  57636. - $(AUTOMAKE) --gnu src/scripts/Makefile
  57637. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/scripts/Makefile'; \
  57638. + $(am__cd) $(top_srcdir) && \
  57639. + $(AUTOMAKE) --gnu src/scripts/Makefile
  57640. .PRECIOUS: Makefile
  57641. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  57642. @case '$?' in \
  57643. @@ -344,6 +378,7 @@
  57644. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  57645. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  57646. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  57647. +$(am__aclocal_m4_deps):
  57648. mostlyclean-libtool:
  57649. -rm -f *.lo
  57650. @@ -358,7 +393,7 @@
  57651. # (which will cause the Makefiles to be regenerated when you run `make');
  57652. # (2) otherwise, pass the desired values on the `make' command line.
  57653. $(RECURSIVE_TARGETS):
  57654. - @failcom='exit 1'; \
  57655. + @fail= failcom='exit 1'; \
  57656. for f in x $$MAKEFLAGS; do \
  57657. case $$f in \
  57658. *=* | --[!k]*);; \
  57659. @@ -375,7 +410,7 @@
  57660. else \
  57661. local_target="$$target"; \
  57662. fi; \
  57663. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  57664. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  57665. || eval $$failcom; \
  57666. done; \
  57667. if test "$$dot_seen" = "no"; then \
  57668. @@ -383,7 +418,7 @@
  57669. fi; test -z "$$fail"
  57670. $(RECURSIVE_CLEAN_TARGETS):
  57671. - @failcom='exit 1'; \
  57672. + @fail= failcom='exit 1'; \
  57673. for f in x $$MAKEFLAGS; do \
  57674. case $$f in \
  57675. *=* | --[!k]*);; \
  57676. @@ -409,16 +444,16 @@
  57677. else \
  57678. local_target="$$target"; \
  57679. fi; \
  57680. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  57681. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  57682. || eval $$failcom; \
  57683. done && test -z "$$fail"
  57684. tags-recursive:
  57685. list='$(SUBDIRS)'; for subdir in $$list; do \
  57686. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  57687. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  57688. done
  57689. ctags-recursive:
  57690. list='$(SUBDIRS)'; for subdir in $$list; do \
  57691. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  57692. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  57693. done
  57694. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  57695. @@ -433,7 +468,7 @@
  57696. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  57697. $(TAGS_FILES) $(LISP)
  57698. - tags=; \
  57699. + set x; \
  57700. here=`pwd`; \
  57701. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  57702. include_option=--etags-include; \
  57703. @@ -445,7 +480,7 @@
  57704. list='$(SUBDIRS)'; for subdir in $$list; do \
  57705. if test "$$subdir" = .; then :; else \
  57706. test ! -f $$subdir/TAGS || \
  57707. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  57708. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  57709. fi; \
  57710. done; \
  57711. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  57712. @@ -454,29 +489,34 @@
  57713. done | \
  57714. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  57715. END { if (nonempty) { for (i in files) print i; }; }'`; \
  57716. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  57717. + shift; \
  57718. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  57719. test -n "$$unique" || unique=$$empty_fix; \
  57720. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  57721. - $$tags $$unique; \
  57722. + if test $$# -gt 0; then \
  57723. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  57724. + "$$@" $$unique; \
  57725. + else \
  57726. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  57727. + $$unique; \
  57728. + fi; \
  57729. fi
  57730. ctags: CTAGS
  57731. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  57732. $(TAGS_FILES) $(LISP)
  57733. - tags=; \
  57734. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  57735. unique=`for i in $$list; do \
  57736. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  57737. done | \
  57738. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  57739. END { if (nonempty) { for (i in files) print i; }; }'`; \
  57740. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  57741. + test -z "$(CTAGS_ARGS)$$unique" \
  57742. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  57743. - $$tags $$unique
  57744. + $$unique
  57745. GTAGS:
  57746. here=`$(am__cd) $(top_builddir) && pwd` \
  57747. - && cd $(top_srcdir) \
  57748. - && gtags -i $(GTAGS_ARGS) $$here
  57749. + && $(am__cd) $(top_srcdir) \
  57750. + && gtags -i $(GTAGS_ARGS) "$$here"
  57751. distclean-tags:
  57752. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  57753. @@ -497,29 +537,44 @@
  57754. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  57755. if test -d $$d/$$file; then \
  57756. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  57757. + if test -d "$(distdir)/$$file"; then \
  57758. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  57759. + fi; \
  57760. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  57761. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  57762. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  57763. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  57764. fi; \
  57765. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  57766. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  57767. else \
  57768. - test -f $(distdir)/$$file \
  57769. - || cp -p $$d/$$file $(distdir)/$$file \
  57770. + test -f "$(distdir)/$$file" \
  57771. + || cp -p $$d/$$file "$(distdir)/$$file" \
  57772. || exit 1; \
  57773. fi; \
  57774. done
  57775. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  57776. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  57777. if test "$$subdir" = .; then :; else \
  57778. test -d "$(distdir)/$$subdir" \
  57779. || $(MKDIR_P) "$(distdir)/$$subdir" \
  57780. || exit 1; \
  57781. - distdir=`$(am__cd) $(distdir) && pwd`; \
  57782. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  57783. - (cd $$subdir && \
  57784. + fi; \
  57785. + done
  57786. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  57787. + if test "$$subdir" = .; then :; else \
  57788. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  57789. + $(am__relativize); \
  57790. + new_distdir=$$reldir; \
  57791. + dir1=$$subdir; dir2="$(top_distdir)"; \
  57792. + $(am__relativize); \
  57793. + new_top_distdir=$$reldir; \
  57794. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  57795. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  57796. + ($(am__cd) $$subdir && \
  57797. $(MAKE) $(AM_MAKEFLAGS) \
  57798. - top_distdir="$$top_distdir" \
  57799. - distdir="$$distdir/$$subdir" \
  57800. + top_distdir="$$new_top_distdir" \
  57801. + distdir="$$new_distdir" \
  57802. am__remove_distdir=: \
  57803. am__skip_length_check=: \
  57804. + am__skip_mode_fix=: \
  57805. distdir) \
  57806. || exit 1; \
  57807. fi; \
  57808. @@ -547,6 +602,7 @@
  57809. distclean-generic:
  57810. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  57811. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  57812. maintainer-clean-generic:
  57813. @echo "This command is intended for maintainers to use"
  57814. @@ -565,6 +621,8 @@
  57815. html: html-recursive
  57816. +html-am:
  57817. +
  57818. info: info-recursive
  57819. info-am:
  57820. @@ -573,18 +631,28 @@
  57821. install-dvi: install-dvi-recursive
  57822. +install-dvi-am:
  57823. +
  57824. install-exec-am:
  57825. install-html: install-html-recursive
  57826. +install-html-am:
  57827. +
  57828. install-info: install-info-recursive
  57829. +install-info-am:
  57830. +
  57831. install-man:
  57832. install-pdf: install-pdf-recursive
  57833. +install-pdf-am:
  57834. +
  57835. install-ps: install-ps-recursive
  57836. +install-ps-am:
  57837. +
  57838. installcheck-am:
  57839. maintainer-clean: maintainer-clean-recursive
  57840. @@ -605,8 +673,8 @@
  57841. uninstall-am:
  57842. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  57843. - install-strip
  57844. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  57845. + install-am install-strip tags-recursive
  57846. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  57847. all all-am check check-am clean clean-generic clean-libtool \
  57848. @@ -626,6 +694,7 @@
  57849. clean-generic:
  57850. @RM@ -f *~ .*~
  57851. +
  57852. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  57853. # Otherwise a system limit (for SysV at least) may be exceeded.
  57854. .NOEXPORT:
  57855. diff -Nur owfs-2.7p38.orig/src/scripts/usb/cygwin/Makefile.in owfs-2.7p38/src/scripts/usb/cygwin/Makefile.in
  57856. --- owfs-2.7p38.orig/src/scripts/usb/cygwin/Makefile.in 2010-06-04 03:00:42.000000000 +0200
  57857. +++ owfs-2.7p38/src/scripts/usb/cygwin/Makefile.in 2010-07-09 16:01:00.943000131 +0200
  57858. @@ -1,8 +1,9 @@
  57859. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  57860. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  57861. # @configure_input@
  57862. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  57863. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  57864. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  57865. +# Inc.
  57866. # This Makefile.in is free software; the Free Software Foundation
  57867. # gives unlimited permission to copy and/or distribute it,
  57868. # with or without modifications, as long as this notice is preserved.
  57869. @@ -16,8 +17,9 @@
  57870. VPATH = @srcdir@
  57871. pkgdatadir = $(datadir)/@PACKAGE@
  57872. -pkglibdir = $(libdir)/@PACKAGE@
  57873. pkgincludedir = $(includedir)/@PACKAGE@
  57874. +pkglibdir = $(libdir)/@PACKAGE@
  57875. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  57876. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  57877. install_sh_DATA = $(install_sh) -c -m 644
  57878. install_sh_PROGRAM = $(install_sh) -c
  57879. @@ -36,8 +38,10 @@
  57880. subdir = src/scripts/usb/cygwin
  57881. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  57882. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  57883. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  57884. - $(top_srcdir)/acx_pthread.m4 \
  57885. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  57886. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  57887. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  57888. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  57889. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  57890. $(top_srcdir)/module/swig/php/php.m4 \
  57891. $(top_srcdir)/module/swig/python/python.m4 \
  57892. @@ -48,6 +52,7 @@
  57893. $(top_srcdir)/src/scripts/install/mkinstalldirs
  57894. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  57895. CONFIG_CLEAN_FILES =
  57896. +CONFIG_CLEAN_VPATH_FILES =
  57897. SOURCES =
  57898. DIST_SOURCES =
  57899. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  57900. @@ -55,9 +60,23 @@
  57901. $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  57902. *) f=$$p;; \
  57903. esac;
  57904. -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  57905. +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  57906. +am__install_max = 40
  57907. +am__nobase_strip_setup = \
  57908. + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  57909. +am__nobase_strip = \
  57910. + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  57911. +am__nobase_list = $(am__nobase_strip_setup); \
  57912. + for p in $$list; do echo "$$p $$p"; done | \
  57913. + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  57914. + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  57915. + if (++n[$$2] == $(am__install_max)) \
  57916. + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  57917. + END { for (dir in files) print dir, files[dir] }'
  57918. +am__base_list = \
  57919. + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  57920. + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  57921. am__installdirs = "$(DESTDIR)$(ds9490cygdriversdir)"
  57922. -ds9490cygdriversDATA_INSTALL = $(INSTALL_DATA)
  57923. DATA = $(ds9490cygdrivers_DATA)
  57924. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  57925. ACLOCAL = @ACLOCAL@
  57926. @@ -153,6 +172,7 @@
  57927. LT_RELEASE = @LT_RELEASE@
  57928. LT_REVISION = @LT_REVISION@
  57929. MAKEINFO = @MAKEINFO@
  57930. +MANIFEST_TOOL = @MANIFEST_TOOL@
  57931. MKDIR_P = @MKDIR_P@
  57932. NM = @NM@
  57933. NMEDIT = @NMEDIT@
  57934. @@ -184,6 +204,7 @@
  57935. PACKAGE_NAME = @PACKAGE_NAME@
  57936. PACKAGE_STRING = @PACKAGE_STRING@
  57937. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  57938. +PACKAGE_URL = @PACKAGE_URL@
  57939. PACKAGE_VERSION = @PACKAGE_VERSION@
  57940. PATH_SEPARATOR = @PATH_SEPARATOR@
  57941. PERL = @PERL@
  57942. @@ -289,7 +310,6 @@
  57943. libexecdir = @libexecdir@
  57944. localedir = @localedir@
  57945. localstatedir = @localstatedir@
  57946. -lt_ECHO = @lt_ECHO@
  57947. mandir = @mandir@
  57948. mkdir_p = @mkdir_p@
  57949. oldincludedir = @oldincludedir@
  57950. @@ -324,9 +344,9 @@
  57951. exit 1;; \
  57952. esac; \
  57953. done; \
  57954. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/scripts/usb/cygwin/Makefile'; \
  57955. - cd $(top_srcdir) && \
  57956. - $(AUTOMAKE) --gnu src/scripts/usb/cygwin/Makefile
  57957. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/scripts/usb/cygwin/Makefile'; \
  57958. + $(am__cd) $(top_srcdir) && \
  57959. + $(AUTOMAKE) --gnu src/scripts/usb/cygwin/Makefile
  57960. .PRECIOUS: Makefile
  57961. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  57962. @case '$?' in \
  57963. @@ -344,6 +364,7 @@
  57964. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  57965. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  57966. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  57967. +$(am__aclocal_m4_deps):
  57968. mostlyclean-libtool:
  57969. -rm -f *.lo
  57970. @@ -353,20 +374,23 @@
  57971. install-ds9490cygdriversDATA: $(ds9490cygdrivers_DATA)
  57972. @$(NORMAL_INSTALL)
  57973. test -z "$(ds9490cygdriversdir)" || $(MKDIR_P) "$(DESTDIR)$(ds9490cygdriversdir)"
  57974. - @list='$(ds9490cygdrivers_DATA)'; for p in $$list; do \
  57975. + @list='$(ds9490cygdrivers_DATA)'; test -n "$(ds9490cygdriversdir)" || list=; \
  57976. + for p in $$list; do \
  57977. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  57978. - f=$(am__strip_dir) \
  57979. - echo " $(ds9490cygdriversDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(ds9490cygdriversdir)/$$f'"; \
  57980. - $(ds9490cygdriversDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(ds9490cygdriversdir)/$$f"; \
  57981. + echo "$$d$$p"; \
  57982. + done | $(am__base_list) | \
  57983. + while read files; do \
  57984. + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(ds9490cygdriversdir)'"; \
  57985. + $(INSTALL_DATA) $$files "$(DESTDIR)$(ds9490cygdriversdir)" || exit $$?; \
  57986. done
  57987. uninstall-ds9490cygdriversDATA:
  57988. @$(NORMAL_UNINSTALL)
  57989. - @list='$(ds9490cygdrivers_DATA)'; for p in $$list; do \
  57990. - f=$(am__strip_dir) \
  57991. - echo " rm -f '$(DESTDIR)$(ds9490cygdriversdir)/$$f'"; \
  57992. - rm -f "$(DESTDIR)$(ds9490cygdriversdir)/$$f"; \
  57993. - done
  57994. + @list='$(ds9490cygdrivers_DATA)'; test -n "$(ds9490cygdriversdir)" || list=; \
  57995. + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  57996. + test -n "$$files" || exit 0; \
  57997. + echo " ( cd '$(DESTDIR)$(ds9490cygdriversdir)' && rm -f" $$files ")"; \
  57998. + cd "$(DESTDIR)$(ds9490cygdriversdir)" && rm -f $$files
  57999. tags: TAGS
  58000. TAGS:
  58001. @@ -390,13 +414,17 @@
  58002. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  58003. if test -d $$d/$$file; then \
  58004. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  58005. + if test -d "$(distdir)/$$file"; then \
  58006. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  58007. + fi; \
  58008. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  58009. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  58010. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  58011. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  58012. fi; \
  58013. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  58014. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  58015. else \
  58016. - test -f $(distdir)/$$file \
  58017. - || cp -p $$d/$$file $(distdir)/$$file \
  58018. + test -f "$(distdir)/$$file" \
  58019. + || cp -p $$d/$$file "$(distdir)/$$file" \
  58020. || exit 1; \
  58021. fi; \
  58022. done
  58023. @@ -425,6 +453,7 @@
  58024. distclean-generic:
  58025. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  58026. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  58027. maintainer-clean-generic:
  58028. @echo "This command is intended for maintainers to use"
  58029. @@ -444,6 +473,8 @@
  58030. html: html-am
  58031. +html-am:
  58032. +
  58033. info: info-am
  58034. info-am:
  58035. @@ -452,18 +483,28 @@
  58036. install-dvi: install-dvi-am
  58037. +install-dvi-am:
  58038. +
  58039. install-exec-am:
  58040. install-html: install-html-am
  58041. +install-html-am:
  58042. +
  58043. install-info: install-info-am
  58044. +install-info-am:
  58045. +
  58046. install-man:
  58047. install-pdf: install-pdf-am
  58048. +install-pdf-am:
  58049. +
  58050. install-ps: install-ps-am
  58051. +install-ps-am:
  58052. +
  58053. installcheck-am:
  58054. maintainer-clean: maintainer-clean-am
  58055. @@ -514,6 +555,7 @@
  58056. clean-generic:
  58057. @RM@ -f *~ .*~
  58058. +
  58059. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  58060. # Otherwise a system limit (for SysV at least) may be exceeded.
  58061. .NOEXPORT:
  58062. diff -Nur owfs-2.7p38.orig/src/scripts/usb/Makefile.in owfs-2.7p38/src/scripts/usb/Makefile.in
  58063. --- owfs-2.7p38.orig/src/scripts/usb/Makefile.in 2010-06-04 03:00:41.000000000 +0200
  58064. +++ owfs-2.7p38/src/scripts/usb/Makefile.in 2010-07-09 16:01:00.790998926 +0200
  58065. @@ -1,8 +1,9 @@
  58066. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  58067. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  58068. # @configure_input@
  58069. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  58070. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  58071. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  58072. +# Inc.
  58073. # This Makefile.in is free software; the Free Software Foundation
  58074. # gives unlimited permission to copy and/or distribute it,
  58075. # with or without modifications, as long as this notice is preserved.
  58076. @@ -15,8 +16,9 @@
  58077. @SET_MAKE@
  58078. VPATH = @srcdir@
  58079. pkgdatadir = $(datadir)/@PACKAGE@
  58080. -pkglibdir = $(libdir)/@PACKAGE@
  58081. pkgincludedir = $(includedir)/@PACKAGE@
  58082. +pkglibdir = $(libdir)/@PACKAGE@
  58083. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  58084. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  58085. install_sh_DATA = $(install_sh) -c -m 644
  58086. install_sh_PROGRAM = $(install_sh) -c
  58087. @@ -35,8 +37,10 @@
  58088. subdir = src/scripts/usb
  58089. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  58090. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  58091. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  58092. - $(top_srcdir)/acx_pthread.m4 \
  58093. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  58094. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  58095. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  58096. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  58097. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  58098. $(top_srcdir)/module/swig/php/php.m4 \
  58099. $(top_srcdir)/module/swig/python/python.m4 \
  58100. @@ -47,6 +51,7 @@
  58101. $(top_srcdir)/src/scripts/install/mkinstalldirs
  58102. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  58103. CONFIG_CLEAN_FILES =
  58104. +CONFIG_CLEAN_VPATH_FILES =
  58105. SOURCES =
  58106. DIST_SOURCES =
  58107. RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  58108. @@ -58,10 +63,38 @@
  58109. ps-recursive uninstall-recursive
  58110. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  58111. distclean-recursive maintainer-clean-recursive
  58112. +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  58113. + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  58114. + distdir
  58115. ETAGS = etags
  58116. CTAGS = ctags
  58117. DIST_SUBDIRS = $(SUBDIRS)
  58118. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  58119. +am__relativize = \
  58120. + dir0=`pwd`; \
  58121. + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  58122. + sed_rest='s,^[^/]*/*,,'; \
  58123. + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  58124. + sed_butlast='s,/*[^/]*$$,,'; \
  58125. + while test -n "$$dir1"; do \
  58126. + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  58127. + if test "$$first" != "."; then \
  58128. + if test "$$first" = ".."; then \
  58129. + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  58130. + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  58131. + else \
  58132. + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  58133. + if test "$$first2" = "$$first"; then \
  58134. + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  58135. + else \
  58136. + dir2="../$$dir2"; \
  58137. + fi; \
  58138. + dir0="$$dir0"/"$$first"; \
  58139. + fi; \
  58140. + fi; \
  58141. + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  58142. + done; \
  58143. + reldir="$$dir2"
  58144. ACLOCAL = @ACLOCAL@
  58145. AMTAR = @AMTAR@
  58146. AR = @AR@
  58147. @@ -155,6 +188,7 @@
  58148. LT_RELEASE = @LT_RELEASE@
  58149. LT_REVISION = @LT_REVISION@
  58150. MAKEINFO = @MAKEINFO@
  58151. +MANIFEST_TOOL = @MANIFEST_TOOL@
  58152. MKDIR_P = @MKDIR_P@
  58153. NM = @NM@
  58154. NMEDIT = @NMEDIT@
  58155. @@ -186,6 +220,7 @@
  58156. PACKAGE_NAME = @PACKAGE_NAME@
  58157. PACKAGE_STRING = @PACKAGE_STRING@
  58158. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  58159. +PACKAGE_URL = @PACKAGE_URL@
  58160. PACKAGE_VERSION = @PACKAGE_VERSION@
  58161. PATH_SEPARATOR = @PATH_SEPARATOR@
  58162. PERL = @PERL@
  58163. @@ -291,7 +326,6 @@
  58164. libexecdir = @libexecdir@
  58165. localedir = @localedir@
  58166. localstatedir = @localstatedir@
  58167. -lt_ECHO = @lt_ECHO@
  58168. mandir = @mandir@
  58169. mkdir_p = @mkdir_p@
  58170. oldincludedir = @oldincludedir@
  58171. @@ -325,9 +359,9 @@
  58172. exit 1;; \
  58173. esac; \
  58174. done; \
  58175. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/scripts/usb/Makefile'; \
  58176. - cd $(top_srcdir) && \
  58177. - $(AUTOMAKE) --gnu src/scripts/usb/Makefile
  58178. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/scripts/usb/Makefile'; \
  58179. + $(am__cd) $(top_srcdir) && \
  58180. + $(AUTOMAKE) --gnu src/scripts/usb/Makefile
  58181. .PRECIOUS: Makefile
  58182. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  58183. @case '$?' in \
  58184. @@ -345,6 +379,7 @@
  58185. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  58186. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  58187. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  58188. +$(am__aclocal_m4_deps):
  58189. mostlyclean-libtool:
  58190. -rm -f *.lo
  58191. @@ -359,7 +394,7 @@
  58192. # (which will cause the Makefiles to be regenerated when you run `make');
  58193. # (2) otherwise, pass the desired values on the `make' command line.
  58194. $(RECURSIVE_TARGETS):
  58195. - @failcom='exit 1'; \
  58196. + @fail= failcom='exit 1'; \
  58197. for f in x $$MAKEFLAGS; do \
  58198. case $$f in \
  58199. *=* | --[!k]*);; \
  58200. @@ -376,7 +411,7 @@
  58201. else \
  58202. local_target="$$target"; \
  58203. fi; \
  58204. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  58205. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  58206. || eval $$failcom; \
  58207. done; \
  58208. if test "$$dot_seen" = "no"; then \
  58209. @@ -384,7 +419,7 @@
  58210. fi; test -z "$$fail"
  58211. $(RECURSIVE_CLEAN_TARGETS):
  58212. - @failcom='exit 1'; \
  58213. + @fail= failcom='exit 1'; \
  58214. for f in x $$MAKEFLAGS; do \
  58215. case $$f in \
  58216. *=* | --[!k]*);; \
  58217. @@ -410,16 +445,16 @@
  58218. else \
  58219. local_target="$$target"; \
  58220. fi; \
  58221. - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  58222. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  58223. || eval $$failcom; \
  58224. done && test -z "$$fail"
  58225. tags-recursive:
  58226. list='$(SUBDIRS)'; for subdir in $$list; do \
  58227. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  58228. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  58229. done
  58230. ctags-recursive:
  58231. list='$(SUBDIRS)'; for subdir in $$list; do \
  58232. - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  58233. + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  58234. done
  58235. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  58236. @@ -434,7 +469,7 @@
  58237. TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  58238. $(TAGS_FILES) $(LISP)
  58239. - tags=; \
  58240. + set x; \
  58241. here=`pwd`; \
  58242. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  58243. include_option=--etags-include; \
  58244. @@ -446,7 +481,7 @@
  58245. list='$(SUBDIRS)'; for subdir in $$list; do \
  58246. if test "$$subdir" = .; then :; else \
  58247. test ! -f $$subdir/TAGS || \
  58248. - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
  58249. + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  58250. fi; \
  58251. done; \
  58252. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  58253. @@ -455,29 +490,34 @@
  58254. done | \
  58255. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  58256. END { if (nonempty) { for (i in files) print i; }; }'`; \
  58257. - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
  58258. + shift; \
  58259. + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  58260. test -n "$$unique" || unique=$$empty_fix; \
  58261. - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  58262. - $$tags $$unique; \
  58263. + if test $$# -gt 0; then \
  58264. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  58265. + "$$@" $$unique; \
  58266. + else \
  58267. + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  58268. + $$unique; \
  58269. + fi; \
  58270. fi
  58271. ctags: CTAGS
  58272. CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  58273. $(TAGS_FILES) $(LISP)
  58274. - tags=; \
  58275. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  58276. unique=`for i in $$list; do \
  58277. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  58278. done | \
  58279. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  58280. END { if (nonempty) { for (i in files) print i; }; }'`; \
  58281. - test -z "$(CTAGS_ARGS)$$tags$$unique" \
  58282. + test -z "$(CTAGS_ARGS)$$unique" \
  58283. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  58284. - $$tags $$unique
  58285. + $$unique
  58286. GTAGS:
  58287. here=`$(am__cd) $(top_builddir) && pwd` \
  58288. - && cd $(top_srcdir) \
  58289. - && gtags -i $(GTAGS_ARGS) $$here
  58290. + && $(am__cd) $(top_srcdir) \
  58291. + && gtags -i $(GTAGS_ARGS) "$$here"
  58292. distclean-tags:
  58293. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  58294. @@ -498,29 +538,44 @@
  58295. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  58296. if test -d $$d/$$file; then \
  58297. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  58298. + if test -d "$(distdir)/$$file"; then \
  58299. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  58300. + fi; \
  58301. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  58302. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  58303. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  58304. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  58305. fi; \
  58306. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  58307. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  58308. else \
  58309. - test -f $(distdir)/$$file \
  58310. - || cp -p $$d/$$file $(distdir)/$$file \
  58311. + test -f "$(distdir)/$$file" \
  58312. + || cp -p $$d/$$file "$(distdir)/$$file" \
  58313. || exit 1; \
  58314. fi; \
  58315. done
  58316. - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  58317. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  58318. if test "$$subdir" = .; then :; else \
  58319. test -d "$(distdir)/$$subdir" \
  58320. || $(MKDIR_P) "$(distdir)/$$subdir" \
  58321. || exit 1; \
  58322. - distdir=`$(am__cd) $(distdir) && pwd`; \
  58323. - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
  58324. - (cd $$subdir && \
  58325. + fi; \
  58326. + done
  58327. + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  58328. + if test "$$subdir" = .; then :; else \
  58329. + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  58330. + $(am__relativize); \
  58331. + new_distdir=$$reldir; \
  58332. + dir1=$$subdir; dir2="$(top_distdir)"; \
  58333. + $(am__relativize); \
  58334. + new_top_distdir=$$reldir; \
  58335. + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  58336. + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  58337. + ($(am__cd) $$subdir && \
  58338. $(MAKE) $(AM_MAKEFLAGS) \
  58339. - top_distdir="$$top_distdir" \
  58340. - distdir="$$distdir/$$subdir" \
  58341. + top_distdir="$$new_top_distdir" \
  58342. + distdir="$$new_distdir" \
  58343. am__remove_distdir=: \
  58344. am__skip_length_check=: \
  58345. + am__skip_mode_fix=: \
  58346. distdir) \
  58347. || exit 1; \
  58348. fi; \
  58349. @@ -548,6 +603,7 @@
  58350. distclean-generic:
  58351. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  58352. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  58353. maintainer-clean-generic:
  58354. @echo "This command is intended for maintainers to use"
  58355. @@ -566,6 +622,8 @@
  58356. html: html-recursive
  58357. +html-am:
  58358. +
  58359. info: info-recursive
  58360. info-am:
  58361. @@ -574,18 +632,28 @@
  58362. install-dvi: install-dvi-recursive
  58363. +install-dvi-am:
  58364. +
  58365. install-exec-am:
  58366. install-html: install-html-recursive
  58367. +install-html-am:
  58368. +
  58369. install-info: install-info-recursive
  58370. +install-info-am:
  58371. +
  58372. install-man:
  58373. install-pdf: install-pdf-recursive
  58374. +install-pdf-am:
  58375. +
  58376. install-ps: install-ps-recursive
  58377. +install-ps-am:
  58378. +
  58379. installcheck-am:
  58380. maintainer-clean: maintainer-clean-recursive
  58381. @@ -606,8 +674,8 @@
  58382. uninstall-am:
  58383. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
  58384. - install-strip
  58385. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  58386. + install-am install-strip tags-recursive
  58387. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  58388. all all-am check check-am clean clean-generic clean-libtool \
  58389. @@ -627,6 +695,7 @@
  58390. clean-generic:
  58391. @RM@ -f *~ .*~
  58392. +
  58393. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  58394. # Otherwise a system limit (for SysV at least) may be exceeded.
  58395. .NOEXPORT:
  58396. diff -Nur owfs-2.7p38.orig/src/scripts/usb/windows/Makefile.in owfs-2.7p38/src/scripts/usb/windows/Makefile.in
  58397. --- owfs-2.7p38.orig/src/scripts/usb/windows/Makefile.in 2010-06-04 03:00:42.000000000 +0200
  58398. +++ owfs-2.7p38/src/scripts/usb/windows/Makefile.in 2010-07-09 16:01:01.091004726 +0200
  58399. @@ -1,8 +1,9 @@
  58400. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  58401. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  58402. # @configure_input@
  58403. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  58404. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  58405. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  58406. +# Inc.
  58407. # This Makefile.in is free software; the Free Software Foundation
  58408. # gives unlimited permission to copy and/or distribute it,
  58409. # with or without modifications, as long as this notice is preserved.
  58410. @@ -15,8 +16,9 @@
  58411. @SET_MAKE@
  58412. VPATH = @srcdir@
  58413. pkgdatadir = $(datadir)/@PACKAGE@
  58414. -pkglibdir = $(libdir)/@PACKAGE@
  58415. pkgincludedir = $(includedir)/@PACKAGE@
  58416. +pkglibdir = $(libdir)/@PACKAGE@
  58417. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  58418. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  58419. install_sh_DATA = $(install_sh) -c -m 644
  58420. install_sh_PROGRAM = $(install_sh) -c
  58421. @@ -35,8 +37,10 @@
  58422. subdir = src/scripts/usb/windows
  58423. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  58424. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  58425. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  58426. - $(top_srcdir)/acx_pthread.m4 \
  58427. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  58428. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  58429. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  58430. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  58431. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  58432. $(top_srcdir)/module/swig/php/php.m4 \
  58433. $(top_srcdir)/module/swig/python/python.m4 \
  58434. @@ -47,6 +51,7 @@
  58435. $(top_srcdir)/src/scripts/install/mkinstalldirs
  58436. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  58437. CONFIG_CLEAN_FILES =
  58438. +CONFIG_CLEAN_VPATH_FILES =
  58439. SOURCES =
  58440. DIST_SOURCES =
  58441. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  58442. @@ -143,6 +148,7 @@
  58443. LT_RELEASE = @LT_RELEASE@
  58444. LT_REVISION = @LT_REVISION@
  58445. MAKEINFO = @MAKEINFO@
  58446. +MANIFEST_TOOL = @MANIFEST_TOOL@
  58447. MKDIR_P = @MKDIR_P@
  58448. NM = @NM@
  58449. NMEDIT = @NMEDIT@
  58450. @@ -174,6 +180,7 @@
  58451. PACKAGE_NAME = @PACKAGE_NAME@
  58452. PACKAGE_STRING = @PACKAGE_STRING@
  58453. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  58454. +PACKAGE_URL = @PACKAGE_URL@
  58455. PACKAGE_VERSION = @PACKAGE_VERSION@
  58456. PATH_SEPARATOR = @PATH_SEPARATOR@
  58457. PERL = @PERL@
  58458. @@ -279,7 +286,6 @@
  58459. libexecdir = @libexecdir@
  58460. localedir = @localedir@
  58461. localstatedir = @localstatedir@
  58462. -lt_ECHO = @lt_ECHO@
  58463. mandir = @mandir@
  58464. mkdir_p = @mkdir_p@
  58465. oldincludedir = @oldincludedir@
  58466. @@ -312,9 +318,9 @@
  58467. exit 1;; \
  58468. esac; \
  58469. done; \
  58470. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/scripts/usb/windows/Makefile'; \
  58471. - cd $(top_srcdir) && \
  58472. - $(AUTOMAKE) --gnu src/scripts/usb/windows/Makefile
  58473. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/scripts/usb/windows/Makefile'; \
  58474. + $(am__cd) $(top_srcdir) && \
  58475. + $(AUTOMAKE) --gnu src/scripts/usb/windows/Makefile
  58476. .PRECIOUS: Makefile
  58477. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  58478. @case '$?' in \
  58479. @@ -332,6 +338,7 @@
  58480. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  58481. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  58482. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  58483. +$(am__aclocal_m4_deps):
  58484. mostlyclean-libtool:
  58485. -rm -f *.lo
  58486. @@ -361,13 +368,17 @@
  58487. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  58488. if test -d $$d/$$file; then \
  58489. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  58490. + if test -d "$(distdir)/$$file"; then \
  58491. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  58492. + fi; \
  58493. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  58494. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  58495. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  58496. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  58497. fi; \
  58498. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  58499. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  58500. else \
  58501. - test -f $(distdir)/$$file \
  58502. - || cp -p $$d/$$file $(distdir)/$$file \
  58503. + test -f "$(distdir)/$$file" \
  58504. + || cp -p $$d/$$file "$(distdir)/$$file" \
  58505. || exit 1; \
  58506. fi; \
  58507. done
  58508. @@ -393,6 +404,7 @@
  58509. distclean-generic:
  58510. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  58511. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  58512. maintainer-clean-generic:
  58513. @echo "This command is intended for maintainers to use"
  58514. @@ -411,6 +423,8 @@
  58515. html: html-am
  58516. +html-am:
  58517. +
  58518. info: info-am
  58519. info-am:
  58520. @@ -419,18 +433,28 @@
  58521. install-dvi: install-dvi-am
  58522. +install-dvi-am:
  58523. +
  58524. install-exec-am:
  58525. install-html: install-html-am
  58526. +install-html-am:
  58527. +
  58528. install-info: install-info-am
  58529. +install-info-am:
  58530. +
  58531. install-man:
  58532. install-pdf: install-pdf-am
  58533. +install-pdf-am:
  58534. +
  58535. install-ps: install-ps-am
  58536. +install-ps-am:
  58537. +
  58538. installcheck-am:
  58539. maintainer-clean: maintainer-clean-am
  58540. @@ -475,6 +499,7 @@
  58541. clean-generic:
  58542. @RM@ -f *~ .*~
  58543. +
  58544. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  58545. # Otherwise a system limit (for SysV at least) may be exceeded.
  58546. .NOEXPORT:
  58547. diff -Nur owfs-2.7p38.orig/src/scripts/windows/Makefile.in owfs-2.7p38/src/scripts/windows/Makefile.in
  58548. --- owfs-2.7p38.orig/src/scripts/windows/Makefile.in 2010-06-04 03:00:42.000000000 +0200
  58549. +++ owfs-2.7p38/src/scripts/windows/Makefile.in 2010-07-09 16:01:01.226999151 +0200
  58550. @@ -1,8 +1,9 @@
  58551. -# Makefile.in generated by automake 1.10.2 from Makefile.am.
  58552. +# Makefile.in generated by automake 1.11.1 from Makefile.am.
  58553. # @configure_input@
  58554. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  58555. -# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  58556. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  58557. +# Inc.
  58558. # This Makefile.in is free software; the Free Software Foundation
  58559. # gives unlimited permission to copy and/or distribute it,
  58560. # with or without modifications, as long as this notice is preserved.
  58561. @@ -15,8 +16,9 @@
  58562. @SET_MAKE@
  58563. VPATH = @srcdir@
  58564. pkgdatadir = $(datadir)/@PACKAGE@
  58565. -pkglibdir = $(libdir)/@PACKAGE@
  58566. pkgincludedir = $(includedir)/@PACKAGE@
  58567. +pkglibdir = $(libdir)/@PACKAGE@
  58568. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  58569. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  58570. install_sh_DATA = $(install_sh) -c -m 644
  58571. install_sh_PROGRAM = $(install_sh) -c
  58572. @@ -36,8 +38,10 @@
  58573. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  58574. $(srcdir)/owfs.nsi.in
  58575. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  58576. -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  58577. - $(top_srcdir)/acx_pthread.m4 \
  58578. +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  58579. + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  58580. + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  58581. + $(top_srcdir)/acinclude.m4 $(top_srcdir)/acx_pthread.m4 \
  58582. $(top_srcdir)/module/swig/perl5/perl5.m4 \
  58583. $(top_srcdir)/module/swig/php/php.m4 \
  58584. $(top_srcdir)/module/swig/python/python.m4 \
  58585. @@ -48,6 +52,7 @@
  58586. $(top_srcdir)/src/scripts/install/mkinstalldirs
  58587. CONFIG_HEADER = $(top_builddir)/src/include/config.h
  58588. CONFIG_CLEAN_FILES = owfs.nsi
  58589. +CONFIG_CLEAN_VPATH_FILES =
  58590. SOURCES =
  58591. DIST_SOURCES =
  58592. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  58593. @@ -144,6 +149,7 @@
  58594. LT_RELEASE = @LT_RELEASE@
  58595. LT_REVISION = @LT_REVISION@
  58596. MAKEINFO = @MAKEINFO@
  58597. +MANIFEST_TOOL = @MANIFEST_TOOL@
  58598. MKDIR_P = @MKDIR_P@
  58599. NM = @NM@
  58600. NMEDIT = @NMEDIT@
  58601. @@ -175,6 +181,7 @@
  58602. PACKAGE_NAME = @PACKAGE_NAME@
  58603. PACKAGE_STRING = @PACKAGE_STRING@
  58604. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  58605. +PACKAGE_URL = @PACKAGE_URL@
  58606. PACKAGE_VERSION = @PACKAGE_VERSION@
  58607. PATH_SEPARATOR = @PATH_SEPARATOR@
  58608. PERL = @PERL@
  58609. @@ -280,7 +287,6 @@
  58610. libexecdir = @libexecdir@
  58611. localedir = @localedir@
  58612. localstatedir = @localstatedir@
  58613. -lt_ECHO = @lt_ECHO@
  58614. mandir = @mandir@
  58615. mkdir_p = @mkdir_p@
  58616. oldincludedir = @oldincludedir@
  58617. @@ -313,9 +319,9 @@
  58618. exit 1;; \
  58619. esac; \
  58620. done; \
  58621. - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/scripts/windows/Makefile'; \
  58622. - cd $(top_srcdir) && \
  58623. - $(AUTOMAKE) --gnu src/scripts/windows/Makefile
  58624. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/scripts/windows/Makefile'; \
  58625. + $(am__cd) $(top_srcdir) && \
  58626. + $(AUTOMAKE) --gnu src/scripts/windows/Makefile
  58627. .PRECIOUS: Makefile
  58628. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  58629. @case '$?' in \
  58630. @@ -333,6 +339,7 @@
  58631. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  58632. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  58633. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  58634. +$(am__aclocal_m4_deps):
  58635. owfs.nsi: $(top_builddir)/config.status $(srcdir)/owfs.nsi.in
  58636. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
  58637. @@ -364,13 +371,17 @@
  58638. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  58639. if test -d $$d/$$file; then \
  58640. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  58641. + if test -d "$(distdir)/$$file"; then \
  58642. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  58643. + fi; \
  58644. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  58645. - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
  58646. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  58647. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  58648. fi; \
  58649. - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
  58650. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  58651. else \
  58652. - test -f $(distdir)/$$file \
  58653. - || cp -p $$d/$$file $(distdir)/$$file \
  58654. + test -f "$(distdir)/$$file" \
  58655. + || cp -p $$d/$$file "$(distdir)/$$file" \
  58656. || exit 1; \
  58657. fi; \
  58658. done
  58659. @@ -396,6 +407,7 @@
  58660. distclean-generic:
  58661. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  58662. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  58663. maintainer-clean-generic:
  58664. @echo "This command is intended for maintainers to use"
  58665. @@ -415,6 +427,8 @@
  58666. html: html-am
  58667. +html-am:
  58668. +
  58669. info: info-am
  58670. info-am:
  58671. @@ -423,18 +437,28 @@
  58672. install-dvi: install-dvi-am
  58673. +install-dvi-am:
  58674. +
  58675. install-exec-am:
  58676. install-html: install-html-am
  58677. +install-html-am:
  58678. +
  58679. install-info: install-info-am
  58680. +install-info-am:
  58681. +
  58682. install-man:
  58683. install-pdf: install-pdf-am
  58684. +install-pdf-am:
  58685. +
  58686. install-ps: install-ps-am
  58687. +install-ps-am:
  58688. +
  58689. installcheck-am:
  58690. maintainer-clean: maintainer-clean-am
  58691. @@ -477,6 +501,7 @@
  58692. clean-generic:
  58693. @RM@ -f *~ .*~ libdnssd.dll.a dnssd.def
  58694. +
  58695. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  58696. # Otherwise a system limit (for SysV at least) may be exceeded.
  58697. .NOEXPORT: